user32: Hardcode the GetWindowLong values for the desktop window to avoid a server...
[wine.git] / configure
blob68a79c032587aa3bdc8991c3537a67d3ddc62391
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.0'
584 PACKAGE_STRING='Wine 2.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_apphelp
1040 enable_appwiz_cpl
1041 enable_atl
1042 enable_atl100
1043 enable_atl110
1044 enable_atl80
1045 enable_atl90
1046 enable_authz
1047 enable_avicap32
1048 enable_avifil32
1049 enable_avrt
1050 enable_bcrypt
1051 enable_bluetoothapis
1052 enable_browseui
1053 enable_bthprops_cpl
1054 enable_cabinet
1055 enable_capi2032
1056 enable_cards
1057 enable_cfgmgr32
1058 enable_clusapi
1059 enable_combase
1060 enable_comcat
1061 enable_comctl32
1062 enable_comdlg32
1063 enable_compstui
1064 enable_comsvcs
1065 enable_concrt140
1066 enable_connect
1067 enable_credui
1068 enable_crtdll
1069 enable_crypt32
1070 enable_cryptdlg
1071 enable_cryptdll
1072 enable_cryptext
1073 enable_cryptnet
1074 enable_cryptui
1075 enable_ctapi32
1076 enable_ctl3d32
1077 enable_d2d1
1078 enable_d3d10
1079 enable_d3d10_1
1080 enable_d3d10core
1081 enable_d3d11
1082 enable_d3d8
1083 enable_d3d9
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1097 enable_d3dim
1098 enable_d3drm
1099 enable_d3dx10_33
1100 enable_d3dx10_34
1101 enable_d3dx10_35
1102 enable_d3dx10_36
1103 enable_d3dx10_37
1104 enable_d3dx10_38
1105 enable_d3dx10_39
1106 enable_d3dx10_40
1107 enable_d3dx10_41
1108 enable_d3dx10_42
1109 enable_d3dx10_43
1110 enable_d3dx11_42
1111 enable_d3dx11_43
1112 enable_d3dx9_24
1113 enable_d3dx9_25
1114 enable_d3dx9_26
1115 enable_d3dx9_27
1116 enable_d3dx9_28
1117 enable_d3dx9_29
1118 enable_d3dx9_30
1119 enable_d3dx9_31
1120 enable_d3dx9_32
1121 enable_d3dx9_33
1122 enable_d3dx9_34
1123 enable_d3dx9_35
1124 enable_d3dx9_36
1125 enable_d3dx9_37
1126 enable_d3dx9_38
1127 enable_d3dx9_39
1128 enable_d3dx9_40
1129 enable_d3dx9_41
1130 enable_d3dx9_42
1131 enable_d3dx9_43
1132 enable_d3dxof
1133 enable_davclnt
1134 enable_dbgeng
1135 enable_dbghelp
1136 enable_dciman32
1137 enable_ddraw
1138 enable_ddrawex
1139 enable_devenum
1140 enable_dhcpcsvc
1141 enable_difxapi
1142 enable_dinput
1143 enable_dinput8
1144 enable_dispex
1145 enable_dmband
1146 enable_dmcompos
1147 enable_dmime
1148 enable_dmloader
1149 enable_dmscript
1150 enable_dmstyle
1151 enable_dmsynth
1152 enable_dmusic
1153 enable_dmusic32
1154 enable_dnsapi
1155 enable_dplay
1156 enable_dplayx
1157 enable_dpnaddr
1158 enable_dpnet
1159 enable_dpnhpast
1160 enable_dpnlobby
1161 enable_dpvoice
1162 enable_dpwsockx
1163 enable_drmclien
1164 enable_dsound
1165 enable_dssenh
1166 enable_dswave
1167 enable_dwmapi
1168 enable_dwrite
1169 enable_dxdiagn
1170 enable_dxgi
1171 enable_dxva2
1172 enable_esent
1173 enable_evr
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1192 enable_faultrep
1193 enable_fltlib
1194 enable_fltmgr_sys
1195 enable_fntcache
1196 enable_fontsub
1197 enable_fusion
1198 enable_fwpuclnt
1199 enable_gameux
1200 enable_gdi32
1201 enable_gdiplus
1202 enable_glu32
1203 enable_gphoto2_ds
1204 enable_gpkcsp
1205 enable_hal
1206 enable_hhctrl_ocx
1207 enable_hid
1208 enable_hidclass_sys
1209 enable_hlink
1210 enable_hnetcfg
1211 enable_httpapi
1212 enable_iccvid
1213 enable_icmp
1214 enable_ieframe
1215 enable_imaadp32_acm
1216 enable_imagehlp
1217 enable_imm32
1218 enable_inetcomm
1219 enable_inetcpl_cpl
1220 enable_inetmib1
1221 enable_infosoft
1222 enable_initpki
1223 enable_inkobj
1224 enable_inseng
1225 enable_iphlpapi
1226 enable_iprop
1227 enable_irprops_cpl
1228 enable_itircl
1229 enable_itss
1230 enable_joy_cpl
1231 enable_jscript
1232 enable_jsproxy
1233 enable_kernel32
1234 enable_kernelbase
1235 enable_ksuser
1236 enable_ktmw32
1237 enable_loadperf
1238 enable_localspl
1239 enable_localui
1240 enable_lz32
1241 enable_mapi32
1242 enable_mapistub
1243 enable_mciavi32
1244 enable_mcicda
1245 enable_mciqtz32
1246 enable_mciseq
1247 enable_mciwave
1248 enable_mf
1249 enable_mf3216
1250 enable_mfplat
1251 enable_mfreadwrite
1252 enable_mgmtapi
1253 enable_midimap
1254 enable_mlang
1255 enable_mmcndmgr
1256 enable_mmdevapi
1257 enable_mountmgr_sys
1258 enable_mpr
1259 enable_mprapi
1260 enable_msacm32_drv
1261 enable_msacm32
1262 enable_msadp32_acm
1263 enable_msasn1
1264 enable_mscat32
1265 enable_mscms
1266 enable_mscoree
1267 enable_msctf
1268 enable_msctfp
1269 enable_msdaps
1270 enable_msdelta
1271 enable_msdmo
1272 enable_msdrm
1273 enable_msftedit
1274 enable_msg711_acm
1275 enable_msgsm32_acm
1276 enable_mshtml_tlb
1277 enable_mshtml
1278 enable_msi
1279 enable_msident
1280 enable_msimg32
1281 enable_msimsg
1282 enable_msimtf
1283 enable_msisip
1284 enable_msisys_ocx
1285 enable_msls31
1286 enable_msnet32
1287 enable_mspatcha
1288 enable_msports
1289 enable_msrle32
1290 enable_msscript_ocx
1291 enable_mssign32
1292 enable_mssip32
1293 enable_mstask
1294 enable_msvcirt
1295 enable_msvcm80
1296 enable_msvcm90
1297 enable_msvcp100
1298 enable_msvcp110
1299 enable_msvcp120
1300 enable_msvcp120_app
1301 enable_msvcp140
1302 enable_msvcp60
1303 enable_msvcp70
1304 enable_msvcp71
1305 enable_msvcp80
1306 enable_msvcp90
1307 enable_msvcr100
1308 enable_msvcr110
1309 enable_msvcr120
1310 enable_msvcr120_app
1311 enable_msvcr70
1312 enable_msvcr71
1313 enable_msvcr80
1314 enable_msvcr90
1315 enable_msvcrt
1316 enable_msvcrt20
1317 enable_msvcrt40
1318 enable_msvcrtd
1319 enable_msvfw32
1320 enable_msvidc32
1321 enable_mswsock
1322 enable_msxml
1323 enable_msxml2
1324 enable_msxml3
1325 enable_msxml4
1326 enable_msxml6
1327 enable_ncrypt
1328 enable_nddeapi
1329 enable_ndis_sys
1330 enable_netapi32
1331 enable_netcfgx
1332 enable_netprofm
1333 enable_newdev
1334 enable_normaliz
1335 enable_npmshtml
1336 enable_npptools
1337 enable_ntdll
1338 enable_ntdsapi
1339 enable_ntoskrnl_exe
1340 enable_ntprint
1341 enable_objsel
1342 enable_odbc32
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_openal32
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_qcap
1368 enable_qedit
1369 enable_qmgr
1370 enable_qmgrprxy
1371 enable_quartz
1372 enable_query
1373 enable_rasapi32
1374 enable_rasdlg
1375 enable_regapi
1376 enable_resutils
1377 enable_riched20
1378 enable_riched32
1379 enable_rpcrt4
1380 enable_rsabase
1381 enable_rsaenh
1382 enable_rstrtmgr
1383 enable_rtutils
1384 enable_samlib
1385 enable_sane_ds
1386 enable_scarddlg
1387 enable_sccbase
1388 enable_schannel
1389 enable_schedsvc
1390 enable_scrobj
1391 enable_scrrun
1392 enable_scsiport_sys
1393 enable_secur32
1394 enable_security
1395 enable_sensapi
1396 enable_serialui
1397 enable_setupapi
1398 enable_sfc
1399 enable_sfc_os
1400 enable_shdoclc
1401 enable_shdocvw
1402 enable_shell32
1403 enable_shfolder
1404 enable_shlwapi
1405 enable_slbcsp
1406 enable_slc
1407 enable_snmpapi
1408 enable_softpub
1409 enable_spoolss
1410 enable_sspicli
1411 enable_stdole2_tlb
1412 enable_stdole32_tlb
1413 enable_sti
1414 enable_svrapi
1415 enable_sxs
1416 enable_t2embed
1417 enable_tapi32
1418 enable_taskschd
1419 enable_tdi_sys
1420 enable_traffic
1421 enable_twain_32
1422 enable_ucrtbase
1423 enable_unicows
1424 enable_updspapi
1425 enable_url
1426 enable_urlmon
1427 enable_usbd_sys
1428 enable_user32
1429 enable_userenv
1430 enable_usp10
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vdmdbg
1441 enable_version
1442 enable_vssapi
1443 enable_wbemdisp
1444 enable_wbemprox
1445 enable_webservices
1446 enable_wer
1447 enable_wevtapi
1448 enable_wiaservc
1449 enable_wimgapi
1450 enable_windowscodecs
1451 enable_windowscodecsext
1452 enable_winealsa_drv
1453 enable_winebus_sys
1454 enable_winecoreaudio_drv
1455 enable_wined3d
1456 enable_winegstreamer
1457 enable_winehid_sys
1458 enable_winejoystick_drv
1459 enable_winemac_drv
1460 enable_winemapi
1461 enable_winemp3_acm
1462 enable_wineoss_drv
1463 enable_wineps_drv
1464 enable_winepulse_drv
1465 enable_wineqtdecoder
1466 enable_winex11_drv
1467 enable_wing32
1468 enable_winhttp
1469 enable_wininet
1470 enable_winmm
1471 enable_winnls32
1472 enable_winscard
1473 enable_winspool_drv
1474 enable_winsta
1475 enable_wintab32
1476 enable_wintrust
1477 enable_wlanapi
1478 enable_wldap32
1479 enable_wmasf
1480 enable_wmi
1481 enable_wmiutils
1482 enable_wmp
1483 enable_wmvcore
1484 enable_wnaspi32
1485 enable_wpc
1486 enable_wpcap
1487 enable_ws2_32
1488 enable_wshom_ocx
1489 enable_wsnmp32
1490 enable_wsock32
1491 enable_wtsapi32
1492 enable_wuapi
1493 enable_wuaueng
1494 enable_x3daudio1_0
1495 enable_x3daudio1_1
1496 enable_x3daudio1_2
1497 enable_x3daudio1_3
1498 enable_x3daudio1_4
1499 enable_x3daudio1_5
1500 enable_x3daudio1_6
1501 enable_x3daudio1_7
1502 enable_xapofx1_1
1503 enable_xapofx1_2
1504 enable_xapofx1_3
1505 enable_xapofx1_4
1506 enable_xapofx1_5
1507 enable_xaudio2_0
1508 enable_xaudio2_1
1509 enable_xaudio2_2
1510 enable_xaudio2_3
1511 enable_xaudio2_4
1512 enable_xaudio2_5
1513 enable_xaudio2_6
1514 enable_xaudio2_7
1515 enable_xaudio2_8
1516 enable_xaudio2_9
1517 enable_xinput1_1
1518 enable_xinput1_2
1519 enable_xinput1_3
1520 enable_xinput1_4
1521 enable_xinput9_1_0
1522 enable_xmllite
1523 enable_xolehlp
1524 enable_xpsprint
1525 enable_xpssvcs
1526 enable_fonts
1527 enable_include
1528 enable_libs_port
1529 enable_libs_wine
1530 enable_libs_wpp
1531 enable_loader
1532 enable_po
1533 enable_arp
1534 enable_aspnet_regiis
1535 enable_attrib
1536 enable_cabarc
1537 enable_cacls
1538 enable_clock
1539 enable_cmd
1540 enable_conhost
1541 enable_control
1542 enable_cscript
1543 enable_dpnsvr
1544 enable_dxdiag
1545 enable_eject
1546 enable_expand
1547 enable_explorer
1548 enable_extrac32
1549 enable_findstr
1550 enable_fsutil
1551 enable_hh
1552 enable_hostname
1553 enable_icacls
1554 enable_icinfo
1555 enable_iexplore
1556 enable_ipconfig
1557 enable_lodctr
1558 enable_mofcomp
1559 enable_mshta
1560 enable_msiexec
1561 enable_msinfo32
1562 enable_net
1563 enable_netsh
1564 enable_netstat
1565 enable_ngen
1566 enable_notepad
1567 enable_oleview
1568 enable_ping
1569 enable_plugplay
1570 enable_presentationfontcache
1571 enable_progman
1572 enable_reg
1573 enable_regasm
1574 enable_regedit
1575 enable_regsvcs
1576 enable_regsvr32
1577 enable_rpcss
1578 enable_rundll32
1579 enable_sc
1580 enable_schtasks
1581 enable_sdbinst
1582 enable_secedit
1583 enable_servicemodelreg
1584 enable_services
1585 enable_shutdown
1586 enable_spoolsv
1587 enable_start
1588 enable_subst
1589 enable_svchost
1590 enable_systeminfo
1591 enable_taskkill
1592 enable_tasklist
1593 enable_taskmgr
1594 enable_termsv
1595 enable_uninstaller
1596 enable_unlodctr
1597 enable_view
1598 enable_wevtutil
1599 enable_wineboot
1600 enable_winebrowser
1601 enable_winecfg
1602 enable_wineconsole
1603 enable_winedbg
1604 enable_winedevice
1605 enable_winefile
1606 enable_winemenubuilder
1607 enable_winemine
1608 enable_winemsibuilder
1609 enable_winepath
1610 enable_winetest
1611 enable_winhlp32
1612 enable_winver
1613 enable_wmic
1614 enable_wmplayer
1615 enable_wordpad
1616 enable_write
1617 enable_wscript
1618 enable_wusa
1619 enable_xcopy
1620 enable_server
1621 enable_tools
1623 ac_precious_vars='build_alias
1624 host_alias
1625 target_alias
1627 CFLAGS
1628 LDFLAGS
1629 LIBS
1630 CPPFLAGS
1632 CXXFLAGS
1635 XMKMF
1636 XML2_CFLAGS
1637 XML2_LIBS
1638 XSLT_CFLAGS
1639 XSLT_LIBS
1640 DBUS_CFLAGS
1641 DBUS_LIBS
1642 HAL_CFLAGS
1643 HAL_LIBS
1644 GNUTLS_CFLAGS
1645 GNUTLS_LIBS
1646 SANE_CFLAGS
1647 SANE_LIBS
1648 GPHOTO2_CFLAGS
1649 GPHOTO2_LIBS
1650 GPHOTO2_PORT_CFLAGS
1651 GPHOTO2_PORT_LIBS
1652 LCMS2_CFLAGS
1653 LCMS2_LIBS
1654 FREETYPE_CFLAGS
1655 FREETYPE_LIBS
1656 PULSE_CFLAGS
1657 PULSE_LIBS
1658 GSTREAMER_CFLAGS
1659 GSTREAMER_LIBS
1660 UDEV_CFLAGS
1661 UDEV_LIBS
1662 CAPI20_CFLAGS
1663 CAPI20_LIBS
1664 FONTCONFIG_CFLAGS
1665 FONTCONFIG_LIBS
1666 JPEG_CFLAGS
1667 JPEG_LIBS
1668 PNG_CFLAGS
1669 PNG_LIBS
1670 TIFF_CFLAGS
1671 TIFF_LIBS
1672 MPG123_CFLAGS
1673 MPG123_LIBS
1674 NETAPI_CFLAGS
1675 NETAPI_LIBS'
1678 # Initialize some variables set by options.
1679 ac_init_help=
1680 ac_init_version=false
1681 ac_unrecognized_opts=
1682 ac_unrecognized_sep=
1683 # The variables have the same names as the options, with
1684 # dashes changed to underlines.
1685 cache_file=/dev/null
1686 exec_prefix=NONE
1687 no_create=
1688 no_recursion=
1689 prefix=NONE
1690 program_prefix=NONE
1691 program_suffix=NONE
1692 program_transform_name=s,x,x,
1693 silent=
1694 site=
1695 srcdir=
1696 verbose=
1697 x_includes=NONE
1698 x_libraries=NONE
1700 # Installation directory options.
1701 # These are left unexpanded so users can "make install exec_prefix=/foo"
1702 # and all the variables that are supposed to be based on exec_prefix
1703 # by default will actually change.
1704 # Use braces instead of parens because sh, perl, etc. also accept them.
1705 # (The list follows the same order as the GNU Coding Standards.)
1706 bindir='${exec_prefix}/bin'
1707 sbindir='${exec_prefix}/sbin'
1708 libexecdir='${exec_prefix}/libexec'
1709 datarootdir='${prefix}/share'
1710 datadir='${datarootdir}'
1711 sysconfdir='${prefix}/etc'
1712 sharedstatedir='${prefix}/com'
1713 localstatedir='${prefix}/var'
1714 runstatedir='${localstatedir}/run'
1715 includedir='${prefix}/include'
1716 oldincludedir='/usr/include'
1717 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1718 infodir='${datarootdir}/info'
1719 htmldir='${docdir}'
1720 dvidir='${docdir}'
1721 pdfdir='${docdir}'
1722 psdir='${docdir}'
1723 libdir='${exec_prefix}/lib'
1724 localedir='${datarootdir}/locale'
1725 mandir='${datarootdir}/man'
1727 ac_prev=
1728 ac_dashdash=
1729 for ac_option
1731 # If the previous option needs an argument, assign it.
1732 if test -n "$ac_prev"; then
1733 eval $ac_prev=\$ac_option
1734 ac_prev=
1735 continue
1738 case $ac_option in
1739 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1740 *=) ac_optarg= ;;
1741 *) ac_optarg=yes ;;
1742 esac
1744 # Accept the important Cygnus configure options, so we can diagnose typos.
1746 case $ac_dashdash$ac_option in
1748 ac_dashdash=yes ;;
1750 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1751 ac_prev=bindir ;;
1752 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1753 bindir=$ac_optarg ;;
1755 -build | --build | --buil | --bui | --bu)
1756 ac_prev=build_alias ;;
1757 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1758 build_alias=$ac_optarg ;;
1760 -cache-file | --cache-file | --cache-fil | --cache-fi \
1761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1762 ac_prev=cache_file ;;
1763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1765 cache_file=$ac_optarg ;;
1767 --config-cache | -C)
1768 cache_file=config.cache ;;
1770 -datadir | --datadir | --datadi | --datad)
1771 ac_prev=datadir ;;
1772 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1773 datadir=$ac_optarg ;;
1775 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1776 | --dataroo | --dataro | --datar)
1777 ac_prev=datarootdir ;;
1778 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1779 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1780 datarootdir=$ac_optarg ;;
1782 -disable-* | --disable-*)
1783 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1786 as_fn_error $? "invalid feature name: $ac_useropt"
1787 ac_useropt_orig=$ac_useropt
1788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1791 "enable_$ac_useropt"
1792 "*) ;;
1793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1794 ac_unrecognized_sep=', ';;
1795 esac
1796 eval enable_$ac_useropt=no ;;
1798 -docdir | --docdir | --docdi | --doc | --do)
1799 ac_prev=docdir ;;
1800 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1801 docdir=$ac_optarg ;;
1803 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1804 ac_prev=dvidir ;;
1805 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1806 dvidir=$ac_optarg ;;
1808 -enable-* | --enable-*)
1809 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1810 # Reject names that are not valid shell variable names.
1811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1812 as_fn_error $? "invalid feature name: $ac_useropt"
1813 ac_useropt_orig=$ac_useropt
1814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1815 case $ac_user_opts in
1817 "enable_$ac_useropt"
1818 "*) ;;
1819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1820 ac_unrecognized_sep=', ';;
1821 esac
1822 eval enable_$ac_useropt=\$ac_optarg ;;
1824 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1825 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1826 | --exec | --exe | --ex)
1827 ac_prev=exec_prefix ;;
1828 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1829 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1830 | --exec=* | --exe=* | --ex=*)
1831 exec_prefix=$ac_optarg ;;
1833 -gas | --gas | --ga | --g)
1834 # Obsolete; use --with-gas.
1835 with_gas=yes ;;
1837 -help | --help | --hel | --he | -h)
1838 ac_init_help=long ;;
1839 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1840 ac_init_help=recursive ;;
1841 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1842 ac_init_help=short ;;
1844 -host | --host | --hos | --ho)
1845 ac_prev=host_alias ;;
1846 -host=* | --host=* | --hos=* | --ho=*)
1847 host_alias=$ac_optarg ;;
1849 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1850 ac_prev=htmldir ;;
1851 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1852 | --ht=*)
1853 htmldir=$ac_optarg ;;
1855 -includedir | --includedir | --includedi | --included | --include \
1856 | --includ | --inclu | --incl | --inc)
1857 ac_prev=includedir ;;
1858 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1859 | --includ=* | --inclu=* | --incl=* | --inc=*)
1860 includedir=$ac_optarg ;;
1862 -infodir | --infodir | --infodi | --infod | --info | --inf)
1863 ac_prev=infodir ;;
1864 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1865 infodir=$ac_optarg ;;
1867 -libdir | --libdir | --libdi | --libd)
1868 ac_prev=libdir ;;
1869 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1870 libdir=$ac_optarg ;;
1872 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1873 | --libexe | --libex | --libe)
1874 ac_prev=libexecdir ;;
1875 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1876 | --libexe=* | --libex=* | --libe=*)
1877 libexecdir=$ac_optarg ;;
1879 -localedir | --localedir | --localedi | --localed | --locale)
1880 ac_prev=localedir ;;
1881 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1882 localedir=$ac_optarg ;;
1884 -localstatedir | --localstatedir | --localstatedi | --localstated \
1885 | --localstate | --localstat | --localsta | --localst | --locals)
1886 ac_prev=localstatedir ;;
1887 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1888 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1889 localstatedir=$ac_optarg ;;
1891 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1892 ac_prev=mandir ;;
1893 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1894 mandir=$ac_optarg ;;
1896 -nfp | --nfp | --nf)
1897 # Obsolete; use --without-fp.
1898 with_fp=no ;;
1900 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1901 | --no-cr | --no-c | -n)
1902 no_create=yes ;;
1904 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1905 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1906 no_recursion=yes ;;
1908 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1909 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1910 | --oldin | --oldi | --old | --ol | --o)
1911 ac_prev=oldincludedir ;;
1912 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1913 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1914 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1915 oldincludedir=$ac_optarg ;;
1917 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1918 ac_prev=prefix ;;
1919 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1920 prefix=$ac_optarg ;;
1922 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1923 | --program-pre | --program-pr | --program-p)
1924 ac_prev=program_prefix ;;
1925 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1926 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1927 program_prefix=$ac_optarg ;;
1929 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1930 | --program-suf | --program-su | --program-s)
1931 ac_prev=program_suffix ;;
1932 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1933 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1934 program_suffix=$ac_optarg ;;
1936 -program-transform-name | --program-transform-name \
1937 | --program-transform-nam | --program-transform-na \
1938 | --program-transform-n | --program-transform- \
1939 | --program-transform | --program-transfor \
1940 | --program-transfo | --program-transf \
1941 | --program-trans | --program-tran \
1942 | --progr-tra | --program-tr | --program-t)
1943 ac_prev=program_transform_name ;;
1944 -program-transform-name=* | --program-transform-name=* \
1945 | --program-transform-nam=* | --program-transform-na=* \
1946 | --program-transform-n=* | --program-transform-=* \
1947 | --program-transform=* | --program-transfor=* \
1948 | --program-transfo=* | --program-transf=* \
1949 | --program-trans=* | --program-tran=* \
1950 | --progr-tra=* | --program-tr=* | --program-t=*)
1951 program_transform_name=$ac_optarg ;;
1953 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1954 ac_prev=pdfdir ;;
1955 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1956 pdfdir=$ac_optarg ;;
1958 -psdir | --psdir | --psdi | --psd | --ps)
1959 ac_prev=psdir ;;
1960 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1961 psdir=$ac_optarg ;;
1963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1964 | -silent | --silent | --silen | --sile | --sil)
1965 silent=yes ;;
1967 -runstatedir | --runstatedir | --runstatedi | --runstated \
1968 | --runstate | --runstat | --runsta | --runst | --runs \
1969 | --run | --ru | --r)
1970 ac_prev=runstatedir ;;
1971 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1972 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1973 | --run=* | --ru=* | --r=*)
1974 runstatedir=$ac_optarg ;;
1976 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1977 ac_prev=sbindir ;;
1978 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1979 | --sbi=* | --sb=*)
1980 sbindir=$ac_optarg ;;
1982 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1983 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1984 | --sharedst | --shareds | --shared | --share | --shar \
1985 | --sha | --sh)
1986 ac_prev=sharedstatedir ;;
1987 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1988 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1989 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1990 | --sha=* | --sh=*)
1991 sharedstatedir=$ac_optarg ;;
1993 -site | --site | --sit)
1994 ac_prev=site ;;
1995 -site=* | --site=* | --sit=*)
1996 site=$ac_optarg ;;
1998 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1999 ac_prev=srcdir ;;
2000 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2001 srcdir=$ac_optarg ;;
2003 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2004 | --syscon | --sysco | --sysc | --sys | --sy)
2005 ac_prev=sysconfdir ;;
2006 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2007 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2008 sysconfdir=$ac_optarg ;;
2010 -target | --target | --targe | --targ | --tar | --ta | --t)
2011 ac_prev=target_alias ;;
2012 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2013 target_alias=$ac_optarg ;;
2015 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2016 verbose=yes ;;
2018 -version | --version | --versio | --versi | --vers | -V)
2019 ac_init_version=: ;;
2021 -with-* | --with-*)
2022 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2023 # Reject names that are not valid shell variable names.
2024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2025 as_fn_error $? "invalid package name: $ac_useropt"
2026 ac_useropt_orig=$ac_useropt
2027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2028 case $ac_user_opts in
2030 "with_$ac_useropt"
2031 "*) ;;
2032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2033 ac_unrecognized_sep=', ';;
2034 esac
2035 eval with_$ac_useropt=\$ac_optarg ;;
2037 -without-* | --without-*)
2038 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2039 # Reject names that are not valid shell variable names.
2040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2041 as_fn_error $? "invalid package name: $ac_useropt"
2042 ac_useropt_orig=$ac_useropt
2043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2044 case $ac_user_opts in
2046 "with_$ac_useropt"
2047 "*) ;;
2048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2049 ac_unrecognized_sep=', ';;
2050 esac
2051 eval with_$ac_useropt=no ;;
2053 --x)
2054 # Obsolete; use --with-x.
2055 with_x=yes ;;
2057 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2058 | --x-incl | --x-inc | --x-in | --x-i)
2059 ac_prev=x_includes ;;
2060 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2061 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2062 x_includes=$ac_optarg ;;
2064 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2065 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2066 ac_prev=x_libraries ;;
2067 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2068 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2069 x_libraries=$ac_optarg ;;
2071 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2072 Try \`$0 --help' for more information"
2075 *=*)
2076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2077 # Reject names that are not valid shell variable names.
2078 case $ac_envvar in #(
2079 '' | [0-9]* | *[!_$as_cr_alnum]* )
2080 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2081 esac
2082 eval $ac_envvar=\$ac_optarg
2083 export $ac_envvar ;;
2086 # FIXME: should be removed in autoconf 3.0.
2087 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2089 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2090 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2093 esac
2094 done
2096 if test -n "$ac_prev"; then
2097 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2098 as_fn_error $? "missing argument to $ac_option"
2101 if test -n "$ac_unrecognized_opts"; then
2102 case $enable_option_checking in
2103 no) ;;
2104 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2105 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2106 esac
2109 # Check all directory arguments for consistency.
2110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2111 datadir sysconfdir sharedstatedir localstatedir includedir \
2112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2113 libdir localedir mandir runstatedir
2115 eval ac_val=\$$ac_var
2116 # Remove trailing slashes.
2117 case $ac_val in
2118 */ )
2119 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2120 eval $ac_var=\$ac_val;;
2121 esac
2122 # Be sure to have absolute directory names.
2123 case $ac_val in
2124 [\\/$]* | ?:[\\/]* ) continue;;
2125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2126 esac
2127 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2128 done
2130 # There might be people who depend on the old broken behavior: `$host'
2131 # used to hold the argument of --host etc.
2132 # FIXME: To remove some day.
2133 build=$build_alias
2134 host=$host_alias
2135 target=$target_alias
2137 # FIXME: To remove some day.
2138 if test "x$host_alias" != x; then
2139 if test "x$build_alias" = x; then
2140 cross_compiling=maybe
2141 elif test "x$build_alias" != "x$host_alias"; then
2142 cross_compiling=yes
2146 ac_tool_prefix=
2147 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2149 test "$silent" = yes && exec 6>/dev/null
2152 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2153 ac_ls_di=`ls -di .` &&
2154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2155 as_fn_error $? "working directory cannot be determined"
2156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2157 as_fn_error $? "pwd does not report name of working directory"
2160 # Find the source files, if location was not specified.
2161 if test -z "$srcdir"; then
2162 ac_srcdir_defaulted=yes
2163 # Try the directory containing this script, then the parent directory.
2164 ac_confdir=`$as_dirname -- "$as_myself" ||
2165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2166 X"$as_myself" : 'X\(//\)[^/]' \| \
2167 X"$as_myself" : 'X\(//\)$' \| \
2168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2169 $as_echo X"$as_myself" |
2170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2171 s//\1/
2174 /^X\(\/\/\)[^/].*/{
2175 s//\1/
2178 /^X\(\/\/\)$/{
2179 s//\1/
2182 /^X\(\/\).*/{
2183 s//\1/
2186 s/.*/./; q'`
2187 srcdir=$ac_confdir
2188 if test ! -r "$srcdir/$ac_unique_file"; then
2189 srcdir=..
2191 else
2192 ac_srcdir_defaulted=no
2194 if test ! -r "$srcdir/$ac_unique_file"; then
2195 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2196 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2199 ac_abs_confdir=`(
2200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2201 pwd)`
2202 # When building in place, set srcdir=.
2203 if test "$ac_abs_confdir" = "$ac_pwd"; then
2204 srcdir=.
2206 # Remove unnecessary trailing slashes from srcdir.
2207 # Double slashes in file names in object file debugging info
2208 # mess up M-x gdb in Emacs.
2209 case $srcdir in
2210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2211 esac
2212 for ac_var in $ac_precious_vars; do
2213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2214 eval ac_env_${ac_var}_value=\$${ac_var}
2215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2217 done
2220 # Report the --help message.
2222 if test "$ac_init_help" = "long"; then
2223 # Omit some internal or obsolete options to make the list less imposing.
2224 # This message is too long to be a string in the A/UX 3.1 sh.
2225 cat <<_ACEOF
2226 \`configure' configures Wine 2.0 to adapt to many kinds of systems.
2228 Usage: $0 [OPTION]... [VAR=VALUE]...
2230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2231 VAR=VALUE. See below for descriptions of some of the useful variables.
2233 Defaults for the options are specified in brackets.
2235 Configuration:
2236 -h, --help display this help and exit
2237 --help=short display options specific to this package
2238 --help=recursive display the short help of all the included packages
2239 -V, --version display version information and exit
2240 -q, --quiet, --silent do not print \`checking ...' messages
2241 --cache-file=FILE cache test results in FILE [disabled]
2242 -C, --config-cache alias for \`--cache-file=config.cache'
2243 -n, --no-create do not create output files
2244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2246 Installation directories:
2247 --prefix=PREFIX install architecture-independent files in PREFIX
2248 [$ac_default_prefix]
2249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2250 [PREFIX]
2252 By default, \`make install' will install all the files in
2253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2255 for instance \`--prefix=\$HOME'.
2257 For better control, use the options below.
2259 Fine tuning of the installation directories:
2260 --bindir=DIR user executables [EPREFIX/bin]
2261 --sbindir=DIR system admin executables [EPREFIX/sbin]
2262 --libexecdir=DIR program executables [EPREFIX/libexec]
2263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2266 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2267 --libdir=DIR object code libraries [EPREFIX/lib]
2268 --includedir=DIR C header files [PREFIX/include]
2269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2272 --infodir=DIR info documentation [DATAROOTDIR/info]
2273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2274 --mandir=DIR man documentation [DATAROOTDIR/man]
2275 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2276 --htmldir=DIR html documentation [DOCDIR]
2277 --dvidir=DIR dvi documentation [DOCDIR]
2278 --pdfdir=DIR pdf documentation [DOCDIR]
2279 --psdir=DIR ps documentation [DOCDIR]
2280 _ACEOF
2282 cat <<\_ACEOF
2284 X features:
2285 --x-includes=DIR X include files are in DIR
2286 --x-libraries=DIR X library files are in DIR
2288 System types:
2289 --build=BUILD configure for building on BUILD [guessed]
2290 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2291 _ACEOF
2294 if test -n "$ac_init_help"; then
2295 case $ac_init_help in
2296 short | recursive ) echo "Configuration of Wine 2.0:";;
2297 esac
2298 cat <<\_ACEOF
2300 Optional Features:
2301 --disable-option-checking ignore unrecognized --enable/--with options
2302 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2303 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2304 --disable-win16 do not include Win16 support
2305 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2306 binaries)
2307 --disable-tests do not build the regression tests
2308 --enable-maintainer-mode
2309 enable maintainer-specific build rules
2310 --disable-largefile omit support for large files
2312 Optional Packages:
2313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2315 --without-alsa do not use the Alsa sound support
2316 --without-capi do not use CAPI (ISDN support)
2317 --without-cms do not use CMS (color management support)
2318 --without-coreaudio do not use the CoreAudio sound support
2319 --without-cups do not use CUPS
2320 --without-curses do not use (n)curses
2321 --without-dbus do not use DBus (dynamic device support)
2322 --without-fontconfig do not use fontconfig
2323 --without-freetype do not use the FreeType library
2324 --without-gettext do not use gettext
2325 --with-gettextpo use the GetTextPO library to rebuild po files
2326 --without-gphoto do not use gphoto (Digital Camera support)
2327 --without-glu do not use the GLU library
2328 --without-gnutls do not use GnuTLS (schannel support)
2329 --without-gsm do not use libgsm (GSM 06.10 codec support)
2330 --without-gstreamer do not use GStreamer (codecs support)
2331 --without-hal do not use HAL (dynamic device support)
2332 --without-jpeg do not use JPEG
2333 --without-ldap do not use LDAP
2334 --without-mpg123 do not use the mpg123 library
2335 --without-netapi do not use the Samba NetAPI library
2336 --without-openal do not use OpenAL
2337 --without-opencl do not use OpenCL
2338 --without-opengl do not use OpenGL
2339 --without-osmesa do not use the OSMesa library
2340 --without-oss do not use the OSS sound support
2341 --without-pcap do not use the Packet Capture library
2342 --without-png do not use PNG
2343 --without-pthread do not use the pthread library
2344 --without-pulse do not use PulseAudio sound support
2345 --without-sane do not use SANE (scanner support)
2346 --without-tiff do not use TIFF
2347 --without-udev do not use udev (plug and play support)
2348 --without-v4l do not use v4l1 (v4l support)
2349 --without-xcomposite do not use the Xcomposite extension
2350 --without-xcursor do not use the Xcursor extension
2351 --without-xinerama do not use Xinerama (multi-monitor support)
2352 --without-xinput do not use the Xinput extension
2353 --without-xinput2 do not use the Xinput 2 extension
2354 --without-xml do not use XML
2355 --without-xrandr do not use Xrandr (resolution changes)
2356 --without-xrender do not use the Xrender extension
2357 --without-xshape do not use the Xshape extension
2358 --without-xshm do not use XShm (shared memory extension)
2359 --without-xslt do not use XSLT
2360 --without-xxf86vm do not use XFree video mode extension
2361 --without-zlib do not use Zlib (data compression)
2362 --with-wine-tools=DIR use Wine tools from directory DIR
2363 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2364 --with-x use the X Window System
2366 Some influential environment variables:
2367 CC C compiler command
2368 CFLAGS C compiler flags
2369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2370 nonstandard directory <lib dir>
2371 LIBS libraries to pass to the linker, e.g. -l<library>
2372 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2373 you have headers in a nonstandard directory <include dir>
2374 CXX C++ compiler command
2375 CXXFLAGS C++ compiler flags
2376 CPP C preprocessor
2377 XMKMF Path to xmkmf, Makefile generator for X Window System
2378 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2379 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2380 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2381 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2382 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2383 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2384 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2385 HAL_LIBS Linker flags for hal, overriding pkg-config
2386 GNUTLS_CFLAGS
2387 C compiler flags for gnutls, overriding pkg-config
2388 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2389 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2390 SANE_LIBS Linker flags for libsane, overriding pkg-config
2391 GPHOTO2_CFLAGS
2392 C compiler flags for libgphoto2, overriding pkg-config
2393 GPHOTO2_LIBS
2394 Linker flags for libgphoto2, overriding pkg-config
2395 GPHOTO2_PORT_CFLAGS
2396 C compiler flags for libgphoto2_port, overriding pkg-config
2397 GPHOTO2_PORT_LIBS
2398 Linker flags for libgphoto2_port, overriding pkg-config
2399 LCMS2_CFLAGS
2400 C compiler flags for lcms2, overriding pkg-config
2401 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2402 FREETYPE_CFLAGS
2403 C compiler flags for freetype2, overriding pkg-config
2404 FREETYPE_LIBS
2405 Linker flags for freetype2, overriding pkg-config
2406 PULSE_CFLAGS
2407 C compiler flags for libpulse, overriding pkg-config
2408 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2409 GSTREAMER_CFLAGS
2410 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2411 gstreamer-audio-1.0, overriding pkg-config
2412 GSTREAMER_LIBS
2413 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2414 gstreamer-audio-1.0, overriding pkg-config
2415 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2416 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2417 CAPI20_CFLAGS
2418 C compiler flags for capi20, overriding pkg-config
2419 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2420 FONTCONFIG_CFLAGS
2421 C compiler flags for fontconfig, overriding pkg-config
2422 FONTCONFIG_LIBS
2423 Linker flags for fontconfig, overriding pkg-config
2424 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2425 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2426 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2427 PNG_LIBS Linker flags for libpng, overriding pkg-config
2428 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2429 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2430 MPG123_CFLAGS
2431 C compiler flags for libmpg123, overriding pkg-config
2432 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2433 NETAPI_CFLAGS
2434 C compiler flags for netapi, overriding pkg-config
2435 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2437 Use these variables to override the choices made by `configure' or to help
2438 it to find libraries and programs with nonstandard names/locations.
2440 Report bugs to <wine-devel@winehq.org>.
2441 Wine home page: <http://www.winehq.org>.
2442 _ACEOF
2443 ac_status=$?
2446 if test "$ac_init_help" = "recursive"; then
2447 # If there are subdirs, report their specific --help.
2448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2449 test -d "$ac_dir" ||
2450 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2451 continue
2452 ac_builddir=.
2454 case "$ac_dir" in
2455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2457 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2458 # A ".." for each directory in $ac_dir_suffix.
2459 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2460 case $ac_top_builddir_sub in
2461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2463 esac ;;
2464 esac
2465 ac_abs_top_builddir=$ac_pwd
2466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2467 # for backward compatibility:
2468 ac_top_builddir=$ac_top_build_prefix
2470 case $srcdir in
2471 .) # We are building in place.
2472 ac_srcdir=.
2473 ac_top_srcdir=$ac_top_builddir_sub
2474 ac_abs_top_srcdir=$ac_pwd ;;
2475 [\\/]* | ?:[\\/]* ) # Absolute name.
2476 ac_srcdir=$srcdir$ac_dir_suffix;
2477 ac_top_srcdir=$srcdir
2478 ac_abs_top_srcdir=$srcdir ;;
2479 *) # Relative name.
2480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2481 ac_top_srcdir=$ac_top_build_prefix$srcdir
2482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2483 esac
2484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2486 cd "$ac_dir" || { ac_status=$?; continue; }
2487 # Check for guested configure.
2488 if test -f "$ac_srcdir/configure.gnu"; then
2489 echo &&
2490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2491 elif test -f "$ac_srcdir/configure"; then
2492 echo &&
2493 $SHELL "$ac_srcdir/configure" --help=recursive
2494 else
2495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2496 fi || ac_status=$?
2497 cd "$ac_pwd" || { ac_status=$?; break; }
2498 done
2501 test -n "$ac_init_help" && exit $ac_status
2502 if $ac_init_version; then
2503 cat <<\_ACEOF
2504 Wine configure 2.0
2505 generated by GNU Autoconf 2.69
2507 Copyright (C) 2012 Free Software Foundation, Inc.
2508 This configure script is free software; the Free Software Foundation
2509 gives unlimited permission to copy, distribute and modify it.
2510 _ACEOF
2511 exit
2514 ## ------------------------ ##
2515 ## Autoconf initialization. ##
2516 ## ------------------------ ##
2518 # ac_fn_c_try_compile LINENO
2519 # --------------------------
2520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2521 ac_fn_c_try_compile ()
2523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 rm -f conftest.$ac_objext
2525 if { { ac_try="$ac_compile"
2526 case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529 esac
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_compile") 2>conftest.err
2533 ac_status=$?
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then :
2544 ac_retval=0
2545 else
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 ac_retval=1
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2554 } # ac_fn_c_try_compile
2556 # ac_fn_cxx_try_compile LINENO
2557 # ----------------------------
2558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2559 ac_fn_cxx_try_compile ()
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 rm -f conftest.$ac_objext
2563 if { { ac_try="$ac_compile"
2564 case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2567 esac
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_compile") 2>conftest.err
2571 ac_status=$?
2572 if test -s conftest.err; then
2573 grep -v '^ *+' conftest.err >conftest.er1
2574 cat conftest.er1 >&5
2575 mv -f conftest.er1 conftest.err
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; } && {
2579 test -z "$ac_cxx_werror_flag" ||
2580 test ! -s conftest.err
2581 } && test -s conftest.$ac_objext; then :
2582 ac_retval=0
2583 else
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2587 ac_retval=1
2589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2590 as_fn_set_status $ac_retval
2592 } # ac_fn_cxx_try_compile
2594 # ac_fn_c_try_link LINENO
2595 # -----------------------
2596 # Try to link conftest.$ac_ext, and return whether this succeeded.
2597 ac_fn_c_try_link ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 rm -f conftest.$ac_objext conftest$ac_exeext
2601 if { { ac_try="$ac_link"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607 $as_echo "$ac_try_echo"; } >&5
2608 (eval "$ac_link") 2>conftest.err
2609 ac_status=$?
2610 if test -s conftest.err; then
2611 grep -v '^ *+' conftest.err >conftest.er1
2612 cat conftest.er1 >&5
2613 mv -f conftest.er1 conftest.err
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; } && {
2617 test -z "$ac_c_werror_flag" ||
2618 test ! -s conftest.err
2619 } && test -s conftest$ac_exeext && {
2620 test "$cross_compiling" = yes ||
2621 test -x conftest$ac_exeext
2622 }; then :
2623 ac_retval=0
2624 else
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2628 ac_retval=1
2630 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2631 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2632 # interfere with the next link command; also delete a directory that is
2633 # left behind by Apple's compiler. We do this before executing the actions.
2634 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2636 as_fn_set_status $ac_retval
2638 } # ac_fn_c_try_link
2640 # ac_fn_c_try_cpp LINENO
2641 # ----------------------
2642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2643 ac_fn_c_try_cpp ()
2645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2646 if { { ac_try="$ac_cpp conftest.$ac_ext"
2647 case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650 esac
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 $as_echo "$ac_try_echo"; } >&5
2653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2654 ac_status=$?
2655 if test -s conftest.err; then
2656 grep -v '^ *+' conftest.err >conftest.er1
2657 cat conftest.er1 >&5
2658 mv -f conftest.er1 conftest.err
2660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661 test $ac_status = 0; } > conftest.i && {
2662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2663 test ! -s conftest.err
2664 }; then :
2665 ac_retval=0
2666 else
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 ac_retval=1
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status $ac_retval
2675 } # ac_fn_c_try_cpp
2677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2678 # -------------------------------------------------------
2679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2680 # the include files in INCLUDES and setting the cache variable VAR
2681 # accordingly.
2682 ac_fn_c_check_header_mongrel ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 if eval \${$3+:} false; then :
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2687 $as_echo_n "checking for $2... " >&6; }
2688 if eval \${$3+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 eval ac_res=\$$3
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2693 $as_echo "$ac_res" >&6; }
2694 else
2695 # Is the header compilable?
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2697 $as_echo_n "checking $2 usability... " >&6; }
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2701 #include <$2>
2702 _ACEOF
2703 if ac_fn_c_try_compile "$LINENO"; then :
2704 ac_header_compiler=yes
2705 else
2706 ac_header_compiler=no
2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2710 $as_echo "$ac_header_compiler" >&6; }
2712 # Is the header present?
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2714 $as_echo_n "checking $2 presence... " >&6; }
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2717 #include <$2>
2718 _ACEOF
2719 if ac_fn_c_try_cpp "$LINENO"; then :
2720 ac_header_preproc=yes
2721 else
2722 ac_header_preproc=no
2724 rm -f conftest.err conftest.i conftest.$ac_ext
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2726 $as_echo "$ac_header_preproc" >&6; }
2728 # So? What about this header?
2729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2730 yes:no: )
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2736 no:yes:* )
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2747 ( $as_echo "## ------------------------------------ ##
2748 ## Report this to wine-devel@winehq.org ##
2749 ## ------------------------------------ ##"
2750 ) | sed "s/^/$as_me: WARNING: /" >&2
2752 esac
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval \${$3+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 eval "$3=\$ac_header_compiler"
2760 eval ac_res=\$$3
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_header_mongrel
2768 # ac_fn_c_try_run LINENO
2769 # ----------------------
2770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2771 # that executables *can* be run.
2772 ac_fn_c_try_run ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 if { { ac_try="$ac_link"
2776 case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2779 esac
2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2781 $as_echo "$ac_try_echo"; } >&5
2782 (eval "$ac_link") 2>&5
2783 ac_status=$?
2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2786 { { case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789 esac
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_try") 2>&5
2793 ac_status=$?
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; }; then :
2796 ac_retval=0
2797 else
2798 $as_echo "$as_me: program exited with status $ac_status" >&5
2799 $as_echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 ac_retval=$ac_status
2804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 as_fn_set_status $ac_retval
2808 } # ac_fn_c_try_run
2810 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2811 # -------------------------------------------------------
2812 # Tests whether HEADER exists and can be compiled using the include files in
2813 # INCLUDES, setting the cache variable VAR accordingly.
2814 ac_fn_c_check_header_compile ()
2816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2818 $as_echo_n "checking for $2... " >&6; }
2819 if eval \${$3+:} false; then :
2820 $as_echo_n "(cached) " >&6
2821 else
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2825 #include <$2>
2826 _ACEOF
2827 if ac_fn_c_try_compile "$LINENO"; then :
2828 eval "$3=yes"
2829 else
2830 eval "$3=no"
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 eval ac_res=\$$3
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2836 $as_echo "$ac_res" >&6; }
2837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2839 } # ac_fn_c_check_header_compile
2841 # ac_fn_c_check_func LINENO FUNC VAR
2842 # ----------------------------------
2843 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2844 ac_fn_c_check_func ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 $as_echo_n "checking for $2... " >&6; }
2849 if eval \${$3+:} false; then :
2850 $as_echo_n "(cached) " >&6
2851 else
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2854 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2856 #define $2 innocuous_$2
2858 /* System header to define __stub macros and hopefully few prototypes,
2859 which can conflict with char $2 (); below.
2860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2861 <limits.h> exists even on freestanding compilers. */
2863 #ifdef __STDC__
2864 # include <limits.h>
2865 #else
2866 # include <assert.h>
2867 #endif
2869 #undef $2
2871 /* Override any GCC internal prototype to avoid an error.
2872 Use char because int might match the return type of a GCC
2873 builtin and then its argument prototype would still apply. */
2874 #ifdef __cplusplus
2875 extern "C"
2876 #endif
2877 char $2 ();
2878 /* The GNU C library defines this for functions which it implements
2879 to always fail with ENOSYS. Some functions are actually named
2880 something starting with __ and the normal name is an alias. */
2881 #if defined __stub_$2 || defined __stub___$2
2882 choke me
2883 #endif
2886 main ()
2888 return $2 ();
2890 return 0;
2892 _ACEOF
2893 if ac_fn_c_try_link "$LINENO"; then :
2894 eval "$3=yes"
2895 else
2896 eval "$3=no"
2898 rm -f core conftest.err conftest.$ac_objext \
2899 conftest$ac_exeext conftest.$ac_ext
2901 eval ac_res=\$$3
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2903 $as_echo "$ac_res" >&6; }
2904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2906 } # ac_fn_c_check_func
2908 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2909 # ----------------------------------------------------
2910 # Tries to find if the field MEMBER exists in type AGGR, after including
2911 # INCLUDES, setting cache variable VAR accordingly.
2912 ac_fn_c_check_member ()
2914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2916 $as_echo_n "checking for $2.$3... " >&6; }
2917 if eval \${$4+:} false; then :
2918 $as_echo_n "(cached) " >&6
2919 else
2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2924 main ()
2926 static $2 ac_aggr;
2927 if (ac_aggr.$3)
2928 return 0;
2930 return 0;
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 eval "$4=yes"
2935 else
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2940 main ()
2942 static $2 ac_aggr;
2943 if (sizeof ac_aggr.$3)
2944 return 0;
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_compile "$LINENO"; then :
2950 eval "$4=yes"
2951 else
2952 eval "$4=no"
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 eval ac_res=\$$4
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_member
2965 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2966 # -------------------------------------------
2967 # Tests whether TYPE exists after having included INCLUDES, setting cache
2968 # variable VAR accordingly.
2969 ac_fn_c_check_type ()
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2973 $as_echo_n "checking for $2... " >&6; }
2974 if eval \${$3+:} false; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 eval "$3=no"
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2982 main ()
2984 if (sizeof ($2))
2985 return 0;
2987 return 0;
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2997 if (sizeof (($2)))
2998 return 0;
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"; then :
3005 else
3006 eval "$3=yes"
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 eval ac_res=\$$3
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3014 $as_echo "$ac_res" >&6; }
3015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3017 } # ac_fn_c_check_type
3018 cat >config.log <<_ACEOF
3019 This file contains any messages produced by compilers while
3020 running configure, to aid debugging if configure makes a mistake.
3022 It was created by Wine $as_me 2.0, which was
3023 generated by GNU Autoconf 2.69. Invocation command line was
3025 $ $0 $@
3027 _ACEOF
3028 exec 5>>config.log
3030 cat <<_ASUNAME
3031 ## --------- ##
3032 ## Platform. ##
3033 ## --------- ##
3035 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3036 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3037 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3038 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3039 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3041 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3042 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3044 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3045 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3046 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3047 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3048 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3049 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3050 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3052 _ASUNAME
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 for as_dir in $PATH
3057 IFS=$as_save_IFS
3058 test -z "$as_dir" && as_dir=.
3059 $as_echo "PATH: $as_dir"
3060 done
3061 IFS=$as_save_IFS
3063 } >&5
3065 cat >&5 <<_ACEOF
3068 ## ----------- ##
3069 ## Core tests. ##
3070 ## ----------- ##
3072 _ACEOF
3075 # Keep a trace of the command line.
3076 # Strip out --no-create and --no-recursion so they do not pile up.
3077 # Strip out --silent because we don't want to record it for future runs.
3078 # Also quote any args containing shell meta-characters.
3079 # Make two passes to allow for proper duplicate-argument suppression.
3080 ac_configure_args=
3081 ac_configure_args0=
3082 ac_configure_args1=
3083 ac_must_keep_next=false
3084 for ac_pass in 1 2
3086 for ac_arg
3088 case $ac_arg in
3089 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3091 | -silent | --silent | --silen | --sile | --sil)
3092 continue ;;
3093 *\'*)
3094 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3095 esac
3096 case $ac_pass in
3097 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3099 as_fn_append ac_configure_args1 " '$ac_arg'"
3100 if test $ac_must_keep_next = true; then
3101 ac_must_keep_next=false # Got value, back to normal.
3102 else
3103 case $ac_arg in
3104 *=* | --config-cache | -C | -disable-* | --disable-* \
3105 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3106 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3107 | -with-* | --with-* | -without-* | --without-* | --x)
3108 case "$ac_configure_args0 " in
3109 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3110 esac
3112 -* ) ac_must_keep_next=true ;;
3113 esac
3115 as_fn_append ac_configure_args " '$ac_arg'"
3117 esac
3118 done
3119 done
3120 { ac_configure_args0=; unset ac_configure_args0;}
3121 { ac_configure_args1=; unset ac_configure_args1;}
3123 # When interrupted or exit'd, cleanup temporary files, and complete
3124 # config.log. We remove comments because anyway the quotes in there
3125 # would cause problems or look ugly.
3126 # WARNING: Use '\'' to represent an apostrophe within the trap.
3127 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3128 trap 'exit_status=$?
3129 # Save into config.log some information that might help in debugging.
3131 echo
3133 $as_echo "## ---------------- ##
3134 ## Cache variables. ##
3135 ## ---------------- ##"
3136 echo
3137 # The following way of writing the cache mishandles newlines in values,
3139 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3140 eval ac_val=\$$ac_var
3141 case $ac_val in #(
3142 *${as_nl}*)
3143 case $ac_var in #(
3144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3146 esac
3147 case $ac_var in #(
3148 _ | IFS | as_nl) ;; #(
3149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3150 *) { eval $ac_var=; unset $ac_var;} ;;
3151 esac ;;
3152 esac
3153 done
3154 (set) 2>&1 |
3155 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3156 *${as_nl}ac_space=\ *)
3157 sed -n \
3158 "s/'\''/'\''\\\\'\'''\''/g;
3159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3160 ;; #(
3162 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3164 esac |
3165 sort
3167 echo
3169 $as_echo "## ----------------- ##
3170 ## Output variables. ##
3171 ## ----------------- ##"
3172 echo
3173 for ac_var in $ac_subst_vars
3175 eval ac_val=\$$ac_var
3176 case $ac_val in
3177 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3178 esac
3179 $as_echo "$ac_var='\''$ac_val'\''"
3180 done | sort
3181 echo
3183 if test -n "$ac_subst_files"; then
3184 $as_echo "## ------------------- ##
3185 ## File substitutions. ##
3186 ## ------------------- ##"
3187 echo
3188 for ac_var in $ac_subst_files
3190 eval ac_val=\$$ac_var
3191 case $ac_val in
3192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3193 esac
3194 $as_echo "$ac_var='\''$ac_val'\''"
3195 done | sort
3196 echo
3199 if test -s confdefs.h; then
3200 $as_echo "## ----------- ##
3201 ## confdefs.h. ##
3202 ## ----------- ##"
3203 echo
3204 cat confdefs.h
3205 echo
3207 test "$ac_signal" != 0 &&
3208 $as_echo "$as_me: caught signal $ac_signal"
3209 $as_echo "$as_me: exit $exit_status"
3210 } >&5
3211 rm -f core *.core core.conftest.* &&
3212 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3213 exit $exit_status
3215 for ac_signal in 1 2 13 15; do
3216 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3217 done
3218 ac_signal=0
3220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3221 rm -f -r conftest* confdefs.h
3223 $as_echo "/* confdefs.h */" > confdefs.h
3225 # Predefined preprocessor variables.
3227 cat >>confdefs.h <<_ACEOF
3228 #define PACKAGE_NAME "$PACKAGE_NAME"
3229 _ACEOF
3231 cat >>confdefs.h <<_ACEOF
3232 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3233 _ACEOF
3235 cat >>confdefs.h <<_ACEOF
3236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3237 _ACEOF
3239 cat >>confdefs.h <<_ACEOF
3240 #define PACKAGE_STRING "$PACKAGE_STRING"
3241 _ACEOF
3243 cat >>confdefs.h <<_ACEOF
3244 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3245 _ACEOF
3247 cat >>confdefs.h <<_ACEOF
3248 #define PACKAGE_URL "$PACKAGE_URL"
3249 _ACEOF
3252 # Let the site file select an alternate cache file if it wants to.
3253 # Prefer an explicitly selected file to automatically selected ones.
3254 ac_site_file1=NONE
3255 ac_site_file2=NONE
3256 if test -n "$CONFIG_SITE"; then
3257 # We do not want a PATH search for config.site.
3258 case $CONFIG_SITE in #((
3259 -*) ac_site_file1=./$CONFIG_SITE;;
3260 */*) ac_site_file1=$CONFIG_SITE;;
3261 *) ac_site_file1=./$CONFIG_SITE;;
3262 esac
3263 elif test "x$prefix" != xNONE; then
3264 ac_site_file1=$prefix/share/config.site
3265 ac_site_file2=$prefix/etc/config.site
3266 else
3267 ac_site_file1=$ac_default_prefix/share/config.site
3268 ac_site_file2=$ac_default_prefix/etc/config.site
3270 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3272 test "x$ac_site_file" = xNONE && continue
3273 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3275 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3276 sed 's/^/| /' "$ac_site_file" >&5
3277 . "$ac_site_file" \
3278 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 as_fn_error $? "failed to load site script $ac_site_file
3281 See \`config.log' for more details" "$LINENO" 5; }
3283 done
3285 if test -r "$cache_file"; then
3286 # Some versions of bash will fail to source /dev/null (special files
3287 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3288 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3290 $as_echo "$as_me: loading cache $cache_file" >&6;}
3291 case $cache_file in
3292 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3293 *) . "./$cache_file";;
3294 esac
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3298 $as_echo "$as_me: creating cache $cache_file" >&6;}
3299 >$cache_file
3302 # Check that the precious variables saved in the cache have kept the same
3303 # value.
3304 ac_cache_corrupted=false
3305 for ac_var in $ac_precious_vars; do
3306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3307 eval ac_new_set=\$ac_env_${ac_var}_set
3308 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3309 eval ac_new_val=\$ac_env_${ac_var}_value
3310 case $ac_old_set,$ac_new_set in
3311 set,)
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3313 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3314 ac_cache_corrupted=: ;;
3315 ,set)
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3317 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3318 ac_cache_corrupted=: ;;
3319 ,);;
3321 if test "x$ac_old_val" != "x$ac_new_val"; then
3322 # differences in whitespace do not lead to failure.
3323 ac_old_val_w=`echo x $ac_old_val`
3324 ac_new_val_w=`echo x $ac_new_val`
3325 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3327 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3328 ac_cache_corrupted=:
3329 else
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3331 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3332 eval $ac_var=\$ac_old_val
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3335 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3337 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3338 fi;;
3339 esac
3340 # Pass precious variables to config.status.
3341 if test "$ac_new_set" = set; then
3342 case $ac_new_val in
3343 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3344 *) ac_arg=$ac_var=$ac_new_val ;;
3345 esac
3346 case " $ac_configure_args " in
3347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3348 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3349 esac
3351 done
3352 if $ac_cache_corrupted; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3356 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3357 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3359 ## -------------------- ##
3360 ## Main body of script. ##
3361 ## -------------------- ##
3363 ac_ext=c
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371 ac_config_headers="$ac_config_headers include/config.h"
3373 ac_aux_dir=
3374 for ac_dir in tools "$srcdir"/tools; do
3375 if test -f "$ac_dir/install-sh"; then
3376 ac_aux_dir=$ac_dir
3377 ac_install_sh="$ac_aux_dir/install-sh -c"
3378 break
3379 elif test -f "$ac_dir/install.sh"; then
3380 ac_aux_dir=$ac_dir
3381 ac_install_sh="$ac_aux_dir/install.sh -c"
3382 break
3383 elif test -f "$ac_dir/shtool"; then
3384 ac_aux_dir=$ac_dir
3385 ac_install_sh="$ac_aux_dir/shtool install -c"
3386 break
3388 done
3389 if test -z "$ac_aux_dir"; then
3390 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3393 # These three variables are undocumented and unsupported,
3394 # and are intended to be withdrawn in a future Autoconf release.
3395 # They can cause serious problems if a builder's source tree is in a directory
3396 # whose full name contains unusual characters.
3397 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3398 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3399 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3403 libwine_version="1.0"
3407 # Check whether --enable-win16 was given.
3408 if test "${enable_win16+set}" = set; then :
3409 enableval=$enable_win16;
3412 # Check whether --enable-win64 was given.
3413 if test "${enable_win64+set}" = set; then :
3414 enableval=$enable_win64;
3417 # Check whether --enable-tests was given.
3418 if test "${enable_tests+set}" = set; then :
3419 enableval=$enable_tests;
3422 # Check whether --enable-maintainer-mode was given.
3423 if test "${enable_maintainer_mode+set}" = set; then :
3424 enableval=$enable_maintainer_mode;
3429 # Check whether --with-alsa was given.
3430 if test "${with_alsa+set}" = set; then :
3431 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3435 # Check whether --with-capi was given.
3436 if test "${with_capi+set}" = set; then :
3437 withval=$with_capi;
3441 # Check whether --with-cms was given.
3442 if test "${with_cms+set}" = set; then :
3443 withval=$with_cms;
3447 # Check whether --with-coreaudio was given.
3448 if test "${with_coreaudio+set}" = set; then :
3449 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3453 # Check whether --with-cups was given.
3454 if test "${with_cups+set}" = set; then :
3455 withval=$with_cups;
3459 # Check whether --with-curses was given.
3460 if test "${with_curses+set}" = set; then :
3461 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3465 # Check whether --with-dbus was given.
3466 if test "${with_dbus+set}" = set; then :
3467 withval=$with_dbus;
3471 # Check whether --with-fontconfig was given.
3472 if test "${with_fontconfig+set}" = set; then :
3473 withval=$with_fontconfig;
3477 # Check whether --with-freetype was given.
3478 if test "${with_freetype+set}" = set; then :
3479 withval=$with_freetype;
3483 # Check whether --with-gettext was given.
3484 if test "${with_gettext+set}" = set; then :
3485 withval=$with_gettext;
3489 # Check whether --with-gettextpo was given.
3490 if test "${with_gettextpo+set}" = set; then :
3491 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3495 # Check whether --with-gphoto was given.
3496 if test "${with_gphoto+set}" = set; then :
3497 withval=$with_gphoto;
3501 # Check whether --with-glu was given.
3502 if test "${with_glu+set}" = set; then :
3503 withval=$with_glu;
3507 # Check whether --with-gnutls was given.
3508 if test "${with_gnutls+set}" = set; then :
3509 withval=$with_gnutls;
3513 # Check whether --with-gsm was given.
3514 if test "${with_gsm+set}" = set; then :
3515 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3519 # Check whether --with-gstreamer was given.
3520 if test "${with_gstreamer+set}" = set; then :
3521 withval=$with_gstreamer;
3525 # Check whether --with-hal was given.
3526 if test "${with_hal+set}" = set; then :
3527 withval=$with_hal;
3531 # Check whether --with-jpeg was given.
3532 if test "${with_jpeg+set}" = set; then :
3533 withval=$with_jpeg;
3537 # Check whether --with-ldap was given.
3538 if test "${with_ldap+set}" = set; then :
3539 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3543 # Check whether --with-mpg123 was given.
3544 if test "${with_mpg123+set}" = set; then :
3545 withval=$with_mpg123;
3549 # Check whether --with-netapi was given.
3550 if test "${with_netapi+set}" = set; then :
3551 withval=$with_netapi;
3555 # Check whether --with-openal was given.
3556 if test "${with_openal+set}" = set; then :
3557 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3561 # Check whether --with-opencl was given.
3562 if test "${with_opencl+set}" = set; then :
3563 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3567 # Check whether --with-opengl was given.
3568 if test "${with_opengl+set}" = set; then :
3569 withval=$with_opengl;
3573 # Check whether --with-osmesa was given.
3574 if test "${with_osmesa+set}" = set; then :
3575 withval=$with_osmesa;
3579 # Check whether --with-oss was given.
3580 if test "${with_oss+set}" = set; then :
3581 withval=$with_oss;
3585 # Check whether --with-pcap was given.
3586 if test "${with_pcap+set}" = set; then :
3587 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3591 # Check whether --with-png was given.
3592 if test "${with_png+set}" = set; then :
3593 withval=$with_png;
3597 # Check whether --with-pthread was given.
3598 if test "${with_pthread+set}" = set; then :
3599 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3603 # Check whether --with-pulse was given.
3604 if test "${with_pulse+set}" = set; then :
3605 withval=$with_pulse;
3609 # Check whether --with-sane was given.
3610 if test "${with_sane+set}" = set; then :
3611 withval=$with_sane;
3615 # Check whether --with-tiff was given.
3616 if test "${with_tiff+set}" = set; then :
3617 withval=$with_tiff;
3621 # Check whether --with-udev was given.
3622 if test "${with_udev+set}" = set; then :
3623 withval=$with_udev;
3627 # Check whether --with-v4l was given.
3628 if test "${with_v4l+set}" = set; then :
3629 withval=$with_v4l;
3633 # Check whether --with-xcomposite was given.
3634 if test "${with_xcomposite+set}" = set; then :
3635 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3639 # Check whether --with-xcursor was given.
3640 if test "${with_xcursor+set}" = set; then :
3641 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3645 # Check whether --with-xinerama was given.
3646 if test "${with_xinerama+set}" = set; then :
3647 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3651 # Check whether --with-xinput was given.
3652 if test "${with_xinput+set}" = set; then :
3653 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3657 # Check whether --with-xinput2 was given.
3658 if test "${with_xinput2+set}" = set; then :
3659 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3663 # Check whether --with-xml was given.
3664 if test "${with_xml+set}" = set; then :
3665 withval=$with_xml;
3669 # Check whether --with-xrandr was given.
3670 if test "${with_xrandr+set}" = set; then :
3671 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3675 # Check whether --with-xrender was given.
3676 if test "${with_xrender+set}" = set; then :
3677 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3681 # Check whether --with-xshape was given.
3682 if test "${with_xshape+set}" = set; then :
3683 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3687 # Check whether --with-xshm was given.
3688 if test "${with_xshm+set}" = set; then :
3689 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3693 # Check whether --with-xslt was given.
3694 if test "${with_xslt+set}" = set; then :
3695 withval=$with_xslt;
3699 # Check whether --with-xxf86vm was given.
3700 if test "${with_xxf86vm+set}" = set; then :
3701 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
3705 # Check whether --with-zlib was given.
3706 if test "${with_zlib+set}" = set; then :
3707 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3712 # Check whether --with-wine-tools was given.
3713 if test "${with_wine_tools+set}" = set; then :
3714 withval=$with_wine_tools;
3718 # Check whether --with-wine64 was given.
3719 if test "${with_wine64+set}" = set; then :
3720 withval=$with_wine64;
3724 # Make sure we can run config.sub.
3725 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3726 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3729 $as_echo_n "checking build system type... " >&6; }
3730 if ${ac_cv_build+:} false; then :
3731 $as_echo_n "(cached) " >&6
3732 else
3733 ac_build_alias=$build_alias
3734 test "x$ac_build_alias" = x &&
3735 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3736 test "x$ac_build_alias" = x &&
3737 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3738 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3739 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3743 $as_echo "$ac_cv_build" >&6; }
3744 case $ac_cv_build in
3745 *-*-*) ;;
3746 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3747 esac
3748 build=$ac_cv_build
3749 ac_save_IFS=$IFS; IFS='-'
3750 set x $ac_cv_build
3751 shift
3752 build_cpu=$1
3753 build_vendor=$2
3754 shift; shift
3755 # Remember, the first character of IFS is used to create $*,
3756 # except with old shells:
3757 build_os=$*
3758 IFS=$ac_save_IFS
3759 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3763 $as_echo_n "checking host system type... " >&6; }
3764 if ${ac_cv_host+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 if test "x$host_alias" = x; then
3768 ac_cv_host=$ac_cv_build
3769 else
3770 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3771 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3776 $as_echo "$ac_cv_host" >&6; }
3777 case $ac_cv_host in
3778 *-*-*) ;;
3779 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3780 esac
3781 host=$ac_cv_host
3782 ac_save_IFS=$IFS; IFS='-'
3783 set x $ac_cv_host
3784 shift
3785 host_cpu=$1
3786 host_vendor=$2
3787 shift; shift
3788 # Remember, the first character of IFS is used to create $*,
3789 # except with old shells:
3790 host_os=$*
3791 IFS=$ac_save_IFS
3792 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3796 case "$srcdir" in
3797 .) ;;
3798 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3799 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3800 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3801 fi ;;
3802 esac
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3807 set x ${MAKE-make}
3808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3809 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 cat >conftest.make <<\_ACEOF
3813 SHELL = /bin/sh
3814 all:
3815 @echo '@@@%%%=$(MAKE)=@@@%%%'
3816 _ACEOF
3817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3819 *@@@%%%=?*=@@@%%%*)
3820 eval ac_cv_prog_make_${ac_make}_set=yes;;
3822 eval ac_cv_prog_make_${ac_make}_set=no;;
3823 esac
3824 rm -f conftest.make
3826 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3828 $as_echo "yes" >&6; }
3829 SET_MAKE=
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3833 SET_MAKE="MAKE=${MAKE-make}"
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841 if test -n "$ac_tool_prefix"; then
3842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3843 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_CC+:} false; then :
3847 $as_echo_n "(cached) " >&6
3848 else
3849 if test -n "$CC"; then
3850 ac_cv_prog_CC="$CC" # Let the user override the test.
3851 else
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3863 done
3864 done
3865 IFS=$as_save_IFS
3869 CC=$ac_cv_prog_CC
3870 if test -n "$CC"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3872 $as_echo "$CC" >&6; }
3873 else
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3880 if test -z "$ac_cv_prog_CC"; then
3881 ac_ct_CC=$CC
3882 # Extract the first word of "gcc", so it can be a program name with args.
3883 set dummy gcc; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3887 $as_echo_n "(cached) " >&6
3888 else
3889 if test -n "$ac_ct_CC"; then
3890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3895 IFS=$as_save_IFS
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_ac_ct_CC="gcc"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 break 2
3903 done
3904 done
3905 IFS=$as_save_IFS
3909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3910 if test -n "$ac_ct_CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3912 $as_echo "$ac_ct_CC" >&6; }
3913 else
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3918 if test "x$ac_ct_CC" = x; then
3919 CC=""
3920 else
3921 case $cross_compiling:$ac_tool_warned in
3922 yes:)
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3925 ac_tool_warned=yes ;;
3926 esac
3927 CC=$ac_ct_CC
3929 else
3930 CC="$ac_cv_prog_CC"
3933 if test -z "$CC"; then
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3936 set dummy ${ac_tool_prefix}cc; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_prog_CC+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC="$CC" # Let the user override the test.
3944 else
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_CC="${ac_tool_prefix}cc"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 break 2
3956 done
3957 done
3958 IFS=$as_save_IFS
3962 CC=$ac_cv_prog_CC
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3974 if test -z "$CC"; then
3975 # Extract the first word of "cc", so it can be a program name with args.
3976 set dummy cc; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if ${ac_cv_prog_CC+:} false; then :
3980 $as_echo_n "(cached) " >&6
3981 else
3982 if test -n "$CC"; then
3983 ac_cv_prog_CC="$CC" # Let the user override the test.
3984 else
3985 ac_prog_rejected=no
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 for as_dir in $PATH
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3994 ac_prog_rejected=yes
3995 continue
3997 ac_cv_prog_CC="cc"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4003 IFS=$as_save_IFS
4005 if test $ac_prog_rejected = yes; then
4006 # We found a bogon in the path, so make sure we never use it.
4007 set dummy $ac_cv_prog_CC
4008 shift
4009 if test $# != 0; then
4010 # We chose a different compiler from the bogus one.
4011 # However, it has the same basename, so the bogon will be chosen
4012 # first if we set CC to just the basename; use the full file name.
4013 shift
4014 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4030 if test -z "$CC"; then
4031 if test -n "$ac_tool_prefix"; then
4032 for ac_prog in cl.exe
4034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if ${ac_cv_prog_CC+:} false; then :
4039 $as_echo_n "(cached) " >&6
4040 else
4041 if test -n "$CC"; then
4042 ac_cv_prog_CC="$CC" # Let the user override the test.
4043 else
4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4047 IFS=$as_save_IFS
4048 test -z "$as_dir" && as_dir=.
4049 for ac_exec_ext in '' $ac_executable_extensions; do
4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 break 2
4055 done
4056 done
4057 IFS=$as_save_IFS
4061 CC=$ac_cv_prog_CC
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4065 else
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4071 test -n "$CC" && break
4072 done
4074 if test -z "$CC"; then
4075 ac_ct_CC=$CC
4076 for ac_prog in cl.exe
4078 # Extract the first word of "$ac_prog", so it can be a program name with args.
4079 set dummy $ac_prog; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 if test -n "$ac_ct_CC"; then
4086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4087 else
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH
4091 IFS=$as_save_IFS
4092 test -z "$as_dir" && as_dir=.
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_ac_ct_CC="$ac_prog"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 break 2
4099 done
4100 done
4101 IFS=$as_save_IFS
4105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4106 if test -n "$ac_ct_CC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4108 $as_echo "$ac_ct_CC" >&6; }
4109 else
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4115 test -n "$ac_ct_CC" && break
4116 done
4118 if test "x$ac_ct_CC" = x; then
4119 CC=""
4120 else
4121 case $cross_compiling:$ac_tool_warned in
4122 yes:)
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4125 ac_tool_warned=yes ;;
4126 esac
4127 CC=$ac_ct_CC
4134 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error $? "no acceptable C compiler found in \$PATH
4137 See \`config.log' for more details" "$LINENO" 5; }
4139 # Provide some information about the compiler.
4140 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4141 set X $ac_compile
4142 ac_compiler=$2
4143 for ac_option in --version -v -V -qversion; do
4144 { { ac_try="$ac_compiler $ac_option >&5"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150 $as_echo "$ac_try_echo"; } >&5
4151 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4152 ac_status=$?
4153 if test -s conftest.err; then
4154 sed '10a\
4155 ... rest of stderr output deleted ...
4156 10q' conftest.err >conftest.er1
4157 cat conftest.er1 >&5
4159 rm -f conftest.er1 conftest.err
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }
4162 done
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 ac_clean_files_save=$ac_clean_files
4176 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4177 # Try to create an executable without -o first, disregard a.out.
4178 # It will help us diagnose broken compilers, and finding out an intuition
4179 # of exeext.
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4181 $as_echo_n "checking whether the C compiler works... " >&6; }
4182 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4184 # The possible output files:
4185 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4187 ac_rmfiles=
4188 for ac_file in $ac_files
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4192 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4193 esac
4194 done
4195 rm -f $ac_rmfiles
4197 if { { ac_try="$ac_link_default"
4198 case "(($ac_try" in
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4201 esac
4202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4203 $as_echo "$ac_try_echo"; } >&5
4204 (eval "$ac_link_default") 2>&5
4205 ac_status=$?
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }; then :
4208 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4209 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4210 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4211 # so that the user can short-circuit this test for compilers unknown to
4212 # Autoconf.
4213 for ac_file in $ac_files ''
4215 test -f "$ac_file" || continue
4216 case $ac_file in
4217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4219 [ab].out )
4220 # We found the default executable, but exeext='' is most
4221 # certainly right.
4222 break;;
4223 *.* )
4224 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4225 then :; else
4226 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4228 # We set ac_cv_exeext here because the later test for it is not
4229 # safe: cross compilers may not add the suffix if given an `-o'
4230 # argument, so we may need to know it at that point already.
4231 # Even if this section looks crufty: it has the advantage of
4232 # actually working.
4233 break;;
4235 break;;
4236 esac
4237 done
4238 test "$ac_cv_exeext" = no && ac_cv_exeext=
4240 else
4241 ac_file=''
4243 if test -z "$ac_file"; then :
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4246 $as_echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4251 as_fn_error 77 "C compiler cannot create executables
4252 See \`config.log' for more details" "$LINENO" 5; }
4253 else
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4255 $as_echo "yes" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4258 $as_echo_n "checking for C compiler default output file name... " >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4260 $as_echo "$ac_file" >&6; }
4261 ac_exeext=$ac_cv_exeext
4263 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4264 ac_clean_files=$ac_clean_files_save
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4266 $as_echo_n "checking for suffix of executables... " >&6; }
4267 if { { ac_try="$ac_link"
4268 case "(($ac_try" in
4269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4271 esac
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_link") 2>&5
4275 ac_status=$?
4276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4277 test $ac_status = 0; }; then :
4278 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4279 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4280 # work properly (i.e., refer to `conftest.exe'), while it won't with
4281 # `rm'.
4282 for ac_file in conftest.exe conftest conftest.*; do
4283 test -f "$ac_file" || continue
4284 case $ac_file in
4285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4286 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4287 break;;
4288 * ) break;;
4289 esac
4290 done
4291 else
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4295 See \`config.log' for more details" "$LINENO" 5; }
4297 rm -f conftest conftest$ac_cv_exeext
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4299 $as_echo "$ac_cv_exeext" >&6; }
4301 rm -f conftest.$ac_ext
4302 EXEEXT=$ac_cv_exeext
4303 ac_exeext=$EXEEXT
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4306 #include <stdio.h>
4308 main ()
4310 FILE *f = fopen ("conftest.out", "w");
4311 return ferror (f) || fclose (f) != 0;
4314 return 0;
4316 _ACEOF
4317 ac_clean_files="$ac_clean_files conftest.out"
4318 # Check that the compiler produces executables we can run. If not, either
4319 # the compiler is broken, or we cross compile.
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4321 $as_echo_n "checking whether we are cross compiling... " >&6; }
4322 if test "$cross_compiling" != yes; then
4323 { { ac_try="$ac_link"
4324 case "(($ac_try" in
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4327 esac
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_link") 2>&5
4331 ac_status=$?
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }
4334 if { ac_try='./conftest$ac_cv_exeext'
4335 { { case "(($ac_try" in
4336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4337 *) ac_try_echo=$ac_try;;
4338 esac
4339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4340 $as_echo "$ac_try_echo"; } >&5
4341 (eval "$ac_try") 2>&5
4342 ac_status=$?
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }; }; then
4345 cross_compiling=no
4346 else
4347 if test "$cross_compiling" = maybe; then
4348 cross_compiling=yes
4349 else
4350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4352 as_fn_error $? "cannot run C compiled programs.
4353 If you meant to cross compile, use \`--host'.
4354 See \`config.log' for more details" "$LINENO" 5; }
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4359 $as_echo "$cross_compiling" >&6; }
4361 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4362 ac_clean_files=$ac_clean_files_save
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4364 $as_echo_n "checking for suffix of object files... " >&6; }
4365 if ${ac_cv_objext+:} false; then :
4366 $as_echo_n "(cached) " >&6
4367 else
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4372 main ()
4376 return 0;
4378 _ACEOF
4379 rm -f conftest.o conftest.obj
4380 if { { ac_try="$ac_compile"
4381 case "(($ac_try" in
4382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383 *) ac_try_echo=$ac_try;;
4384 esac
4385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4386 $as_echo "$ac_try_echo"; } >&5
4387 (eval "$ac_compile") 2>&5
4388 ac_status=$?
4389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4390 test $ac_status = 0; }; then :
4391 for ac_file in conftest.o conftest.obj conftest.*; do
4392 test -f "$ac_file" || continue;
4393 case $ac_file in
4394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4395 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4396 break;;
4397 esac
4398 done
4399 else
4400 $as_echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 as_fn_error $? "cannot compute suffix of object files: cannot compile
4406 See \`config.log' for more details" "$LINENO" 5; }
4408 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4411 $as_echo "$ac_cv_objext" >&6; }
4412 OBJEXT=$ac_cv_objext
4413 ac_objext=$OBJEXT
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4416 if ${ac_cv_c_compiler_gnu+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4423 main ()
4425 #ifndef __GNUC__
4426 choke me
4427 #endif
4430 return 0;
4432 _ACEOF
4433 if ac_fn_c_try_compile "$LINENO"; then :
4434 ac_compiler_gnu=yes
4435 else
4436 ac_compiler_gnu=no
4438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4444 if test $ac_compiler_gnu = yes; then
4445 GCC=yes
4446 else
4447 GCC=
4449 ac_test_CFLAGS=${CFLAGS+set}
4450 ac_save_CFLAGS=$CFLAGS
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4453 if ${ac_cv_prog_cc_g+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 ac_save_c_werror_flag=$ac_c_werror_flag
4457 ac_c_werror_flag=yes
4458 ac_cv_prog_cc_g=no
4459 CFLAGS="-g"
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4464 main ()
4468 return 0;
4470 _ACEOF
4471 if ac_fn_c_try_compile "$LINENO"; then :
4472 ac_cv_prog_cc_g=yes
4473 else
4474 CFLAGS=""
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_c_try_compile "$LINENO"; then :
4488 else
4489 ac_c_werror_flag=$ac_save_c_werror_flag
4490 CFLAGS="-g"
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4495 main ()
4499 return 0;
4501 _ACEOF
4502 if ac_fn_c_try_compile "$LINENO"; then :
4503 ac_cv_prog_cc_g=yes
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 ac_c_werror_flag=$ac_save_c_werror_flag
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4513 $as_echo "$ac_cv_prog_cc_g" >&6; }
4514 if test "$ac_test_CFLAGS" = set; then
4515 CFLAGS=$ac_save_CFLAGS
4516 elif test $ac_cv_prog_cc_g = yes; then
4517 if test "$GCC" = yes; then
4518 CFLAGS="-g -O2"
4519 else
4520 CFLAGS="-g"
4522 else
4523 if test "$GCC" = yes; then
4524 CFLAGS="-O2"
4525 else
4526 CFLAGS=
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4531 if ${ac_cv_prog_cc_c89+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533 else
4534 ac_cv_prog_cc_c89=no
4535 ac_save_CC=$CC
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4538 #include <stdarg.h>
4539 #include <stdio.h>
4540 struct stat;
4541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4542 struct buf { int x; };
4543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4544 static char *e (p, i)
4545 char **p;
4546 int i;
4548 return p[i];
4550 static char *f (char * (*g) (char **, int), char **p, ...)
4552 char *s;
4553 va_list v;
4554 va_start (v,p);
4555 s = g (p, va_arg (v,int));
4556 va_end (v);
4557 return s;
4560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4561 function prototypes and stuff, but not '\xHH' hex character constants.
4562 These don't provoke an error unfortunately, instead are silently treated
4563 as 'x'. The following induces an error, until -std is added to get
4564 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4565 array size at least. It's necessary to write '\x00'==0 to get something
4566 that's true only with -std. */
4567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4570 inside strings and character constants. */
4571 #define FOO(x) 'x'
4572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4574 int test (int i, double x);
4575 struct s1 {int (*f) (int a);};
4576 struct s2 {int (*f) (double a);};
4577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4578 int argc;
4579 char **argv;
4581 main ()
4583 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4585 return 0;
4587 _ACEOF
4588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4589 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4591 CC="$ac_save_CC $ac_arg"
4592 if ac_fn_c_try_compile "$LINENO"; then :
4593 ac_cv_prog_cc_c89=$ac_arg
4595 rm -f core conftest.err conftest.$ac_objext
4596 test "x$ac_cv_prog_cc_c89" != "xno" && break
4597 done
4598 rm -f conftest.$ac_ext
4599 CC=$ac_save_CC
4602 # AC_CACHE_VAL
4603 case "x$ac_cv_prog_cc_c89" in
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4606 $as_echo "none needed" >&6; } ;;
4607 xno)
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4609 $as_echo "unsupported" >&6; } ;;
4611 CC="$CC $ac_cv_prog_cc_c89"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4614 esac
4615 if test "x$ac_cv_prog_cc_c89" != xno; then :
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625 ac_ext=cpp
4626 ac_cpp='$CXXCPP $CPPFLAGS'
4627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4630 if test -z "$CXX"; then
4631 if test -n "$CCC"; then
4632 CXX=$CCC
4633 else
4634 if test -n "$ac_tool_prefix"; then
4635 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_CXX+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 if test -n "$CXX"; then
4645 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 break 2
4658 done
4659 done
4660 IFS=$as_save_IFS
4664 CXX=$ac_cv_prog_CXX
4665 if test -n "$CXX"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4667 $as_echo "$CXX" >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4674 test -n "$CXX" && break
4675 done
4677 if test -z "$CXX"; then
4678 ac_ct_CXX=$CXX
4679 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4681 # Extract the first word of "$ac_prog", so it can be a program name with args.
4682 set dummy $ac_prog; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4686 $as_echo_n "(cached) " >&6
4687 else
4688 if test -n "$ac_ct_CXX"; then
4689 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4694 IFS=$as_save_IFS
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_ac_ct_CXX="$ac_prog"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 break 2
4702 done
4703 done
4704 IFS=$as_save_IFS
4708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4709 if test -n "$ac_ct_CXX"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4711 $as_echo "$ac_ct_CXX" >&6; }
4712 else
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4718 test -n "$ac_ct_CXX" && break
4719 done
4721 if test "x$ac_ct_CXX" = x; then
4722 CXX="g++"
4723 else
4724 case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730 CXX=$ac_ct_CXX
4736 # Provide some information about the compiler.
4737 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4738 set X $ac_compile
4739 ac_compiler=$2
4740 for ac_option in --version -v -V -qversion; do
4741 { { ac_try="$ac_compiler $ac_option >&5"
4742 case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4745 esac
4746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4747 $as_echo "$ac_try_echo"; } >&5
4748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4749 ac_status=$?
4750 if test -s conftest.err; then
4751 sed '10a\
4752 ... rest of stderr output deleted ...
4753 10q' conftest.err >conftest.er1
4754 cat conftest.er1 >&5
4756 rm -f conftest.er1 conftest.err
4757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4758 test $ac_status = 0; }
4759 done
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4762 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4763 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4770 main ()
4772 #ifndef __GNUC__
4773 choke me
4774 #endif
4777 return 0;
4779 _ACEOF
4780 if ac_fn_cxx_try_compile "$LINENO"; then :
4781 ac_compiler_gnu=yes
4782 else
4783 ac_compiler_gnu=no
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4790 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4791 if test $ac_compiler_gnu = yes; then
4792 GXX=yes
4793 else
4794 GXX=
4796 ac_test_CXXFLAGS=${CXXFLAGS+set}
4797 ac_save_CXXFLAGS=$CXXFLAGS
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4799 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4800 if ${ac_cv_prog_cxx_g+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4804 ac_cxx_werror_flag=yes
4805 ac_cv_prog_cxx_g=no
4806 CXXFLAGS="-g"
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 if ac_fn_cxx_try_compile "$LINENO"; then :
4819 ac_cv_prog_cxx_g=yes
4820 else
4821 CXXFLAGS=""
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4826 main ()
4830 return 0;
4832 _ACEOF
4833 if ac_fn_cxx_try_compile "$LINENO"; then :
4835 else
4836 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4837 CXXFLAGS="-g"
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4842 main ()
4846 return 0;
4848 _ACEOF
4849 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 ac_cv_prog_cxx_g=yes
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4860 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4861 if test "$ac_test_CXXFLAGS" = set; then
4862 CXXFLAGS=$ac_save_CXXFLAGS
4863 elif test $ac_cv_prog_cxx_g = yes; then
4864 if test "$GXX" = yes; then
4865 CXXFLAGS="-g -O2"
4866 else
4867 CXXFLAGS="-g"
4869 else
4870 if test "$GXX" = yes; then
4871 CXXFLAGS="-O2"
4872 else
4873 CXXFLAGS=
4876 ac_ext=c
4877 ac_cpp='$CPP $CPPFLAGS'
4878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_CPPBIN+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$CPPBIN"; then
4891 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 CPPBIN=$ac_cv_prog_CPPBIN
4911 if test -n "$CPPBIN"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4913 $as_echo "$CPPBIN" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4921 if test -z "$ac_cv_prog_CPPBIN"; then
4922 ac_ct_CPPBIN=$CPPBIN
4923 # Extract the first word of "cpp", so it can be a program name with args.
4924 set dummy cpp; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$ac_ct_CPPBIN"; then
4931 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_CPPBIN="cpp"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4951 if test -n "$ac_ct_CPPBIN"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4953 $as_echo "$ac_ct_CPPBIN" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4959 if test "x$ac_ct_CPPBIN" = x; then
4960 CPPBIN="cpp"
4961 else
4962 case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968 CPPBIN=$ac_ct_CPPBIN
4970 else
4971 CPPBIN="$ac_cv_prog_CPPBIN"
4975 cat >>confdefs.h <<_ACEOF
4976 #define EXEEXT "$ac_exeext"
4977 _ACEOF
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}ld; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_LD+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD="$LD" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4993 IFS=$as_save_IFS
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD="${ac_tool_prefix}ld"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 break 2
5001 done
5002 done
5003 IFS=$as_save_IFS
5007 LD=$ac_cv_prog_LD
5008 if test -n "$LD"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5010 $as_echo "$LD" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5018 if test -z "$ac_cv_prog_LD"; then
5019 ac_ct_LD=$LD
5020 # Extract the first word of "ld", so it can be a program name with args.
5021 set dummy ld; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$ac_ct_LD"; then
5028 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_ac_ct_LD="ld"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5048 if test -n "$ac_ct_LD"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5050 $as_echo "$ac_ct_LD" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5056 if test "x$ac_ct_LD" = x; then
5057 LD=""
5058 else
5059 case $cross_compiling:$ac_tool_warned in
5060 yes:)
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned=yes ;;
5064 esac
5065 LD=$ac_ct_LD
5067 else
5068 LD="$ac_cv_prog_LD"
5072 case $host in
5073 *-darwin*)
5074 with_fontconfig=${with_fontconfig:-no}
5076 *-mingw32*|*-cygwin*)
5077 enable_win16=${enable_win16:-no}
5078 CFLAGS="$CFLAGS -D_WIN32"
5080 esac
5082 case $host in
5083 x86_64*|amd64*)
5084 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5085 then
5086 CC="$CC -m32"
5087 CXX="$CXX -m32"
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5089 $as_echo_n "checking whether $CC works... " >&6; }
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5095 main ()
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_link "$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5110 rm -f core conftest.err conftest.$ac_objext \
5111 conftest$ac_exeext conftest.$ac_ext
5112 host_cpu="i386"
5113 notice_platform="32-bit "
5114 TARGETFLAGS="-m32"
5116 enable_win16=${enable_win16:-yes}
5117 else
5118 if test "x${GCC}" = "xyes"
5119 then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5121 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124 #include <stdarg.h>
5126 main ()
5128 void func(__builtin_ms_va_list *args);
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5135 $as_echo "yes" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5143 CC="$CC -m64"
5144 CXX="$CXX -m64"
5145 host_cpu="x86_64"
5146 notice_platform="64-bit "
5147 TARGETFLAGS="-m64"
5151 arm*)
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5153 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5156 int ac_test(int i) { return i; }
5158 main ()
5160 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5162 return 0;
5164 _ACEOF
5165 if ac_fn_c_try_link "$LINENO"; then :
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5167 $as_echo "yes" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5171 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5173 rm -f core conftest.err conftest.$ac_objext \
5174 conftest$ac_exeext conftest.$ac_ext
5175 CFLAGS="$CFLAGS -marm"
5176 TARGETFLAGS="-marm"
5179 i[3456789]86*)
5180 enable_win16=${enable_win16:-yes}
5182 esac
5184 enable_win16=${enable_win16:-no}
5185 enable_win64=${enable_win64:-no}
5187 enable_winetest=${enable_winetest:-$enable_tests}
5189 if test -n "$with_wine64"
5190 then
5191 if test "x$enable_win64" = "xyes"
5192 then
5193 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5194 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5196 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5197 You should create a separate build directory and run configure from there." "$LINENO" 5
5198 enable_fonts=${enable_fonts:-no}
5199 enable_server=${enable_server:-no}
5200 elif test "x$enable_win64" = "xyes"
5201 then
5202 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5206 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5207 if ${wine_cv_toolsdir+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 wine_cv_toolsdir="$with_wine_tools"
5211 if test -z "$with_wine_tools"; then
5212 if test "$cross_compiling" = "yes"; then
5213 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5214 elif test -n "$with_wine64"; then
5215 wine_cv_toolsdir="$with_wine64"
5218 if test -z "$wine_cv_toolsdir"; then
5219 wine_makedep=tools/makedep
5220 wine_cv_toolsdir="\$(top_builddir)"
5221 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5222 wine_makedep=$wine_cv_toolsdir/tools/makedep
5223 case "$wine_cv_toolsdir" in
5224 /*) ;;
5225 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5226 esac
5227 enable_tools=${enable_tools:-no}
5228 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5229 else
5230 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5234 $as_echo "$wine_cv_toolsdir" >&6; }
5235 TOOLSDIR=$wine_cv_toolsdir
5237 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5238 then
5239 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5243 for ac_prog in flex
5245 # Extract the first word of "$ac_prog", so it can be a program name with args.
5246 set dummy $ac_prog; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_FLEX+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 if test -n "$FLEX"; then
5253 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_FLEX="$ac_prog"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5266 done
5267 done
5268 IFS=$as_save_IFS
5272 FLEX=$ac_cv_prog_FLEX
5273 if test -n "$FLEX"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5275 $as_echo "$FLEX" >&6; }
5276 else
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5282 test -n "$FLEX" && break
5283 done
5284 test -n "$FLEX" || FLEX="none"
5286 if test "$FLEX" = "none"
5287 then
5288 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5291 $as_echo_n "checking whether flex is recent enough... " >&6; }
5292 cat >conftest.l <<EOF
5293 %top{
5294 #include "prediluvian.h"
5298 if $FLEX -t conftest.l >/dev/null 2>&5
5299 then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5301 $as_echo "yes" >&6; }
5302 else
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5304 $as_echo "no" >&6; }
5305 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5308 for ac_prog in bison
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy $ac_prog; ac_word=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_BISON+:} false; then :
5315 $as_echo_n "(cached) " >&6
5316 else
5317 if test -n "$BISON"; then
5318 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_BISON="$ac_prog"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5333 IFS=$as_save_IFS
5337 BISON=$ac_cv_prog_BISON
5338 if test -n "$BISON"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5340 $as_echo "$BISON" >&6; }
5341 else
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5347 test -n "$BISON" && break
5348 done
5349 test -n "$BISON" || BISON="none"
5351 if test "$BISON" = "none"
5352 then
5353 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5356 if test -n "$ac_tool_prefix"; then
5357 for ac_prog in ar gar
5359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_AR+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 if test -n "$AR"; then
5367 ac_cv_prog_AR="$AR" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 AR=$ac_cv_prog_AR
5387 if test -n "$AR"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5389 $as_echo "$AR" >&6; }
5390 else
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5396 test -n "$AR" && break
5397 done
5399 if test -z "$AR"; then
5400 ac_ct_AR=$AR
5401 for ac_prog in ar gar
5403 # Extract the first word of "$ac_prog", so it can be a program name with args.
5404 set dummy $ac_prog; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5408 $as_echo_n "(cached) " >&6
5409 else
5410 if test -n "$ac_ct_AR"; then
5411 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_ac_ct_AR="$ac_prog"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 break 2
5424 done
5425 done
5426 IFS=$as_save_IFS
5430 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5431 if test -n "$ac_ct_AR"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5433 $as_echo "$ac_ct_AR" >&6; }
5434 else
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5440 test -n "$ac_ct_AR" && break
5441 done
5443 if test "x$ac_ct_AR" = x; then
5444 AR="ar"
5445 else
5446 case $cross_compiling:$ac_tool_warned in
5447 yes:)
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5450 ac_tool_warned=yes ;;
5451 esac
5452 AR=$ac_ct_AR
5456 if test -n "$ac_tool_prefix"; then
5457 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5458 set dummy ${ac_tool_prefix}strip; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_STRIP+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$STRIP"; then
5465 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 STRIP=$ac_cv_prog_STRIP
5485 if test -n "$STRIP"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5487 $as_echo "$STRIP" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5495 if test -z "$ac_cv_prog_STRIP"; then
5496 ac_ct_STRIP=$STRIP
5497 # Extract the first word of "strip", so it can be a program name with args.
5498 set dummy strip; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$ac_ct_STRIP"; then
5505 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_ac_ct_STRIP="strip"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5525 if test -n "$ac_ct_STRIP"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5527 $as_echo "$ac_ct_STRIP" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5533 if test "x$ac_ct_STRIP" = x; then
5534 STRIP="strip"
5535 else
5536 case $cross_compiling:$ac_tool_warned in
5537 yes:)
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5541 esac
5542 STRIP=$ac_ct_STRIP
5544 else
5545 STRIP="$ac_cv_prog_STRIP"
5548 ARFLAGS=rc
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_RANLIB+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$RANLIB"; then
5559 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 RANLIB=$ac_cv_prog_RANLIB
5579 if test -n "$RANLIB"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5581 $as_echo "$RANLIB" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test -z "$ac_cv_prog_RANLIB"; then
5590 ac_ct_RANLIB=$RANLIB
5591 # Extract the first word of "ranlib", so it can be a program name with args.
5592 set dummy ranlib; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$ac_ct_RANLIB"; then
5599 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_RANLIB="ranlib"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5619 if test -n "$ac_ct_RANLIB"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5621 $as_echo "$ac_ct_RANLIB" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5627 if test "x$ac_ct_RANLIB" = x; then
5628 RANLIB=":"
5629 else
5630 case $cross_compiling:$ac_tool_warned in
5631 yes:)
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5635 esac
5636 RANLIB=$ac_ct_RANLIB
5638 else
5639 RANLIB="$ac_cv_prog_RANLIB"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5643 $as_echo_n "checking whether ln -s works... " >&6; }
5644 LN_S=$as_ln_s
5645 if test "$LN_S" = "ln -s"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5647 $as_echo "yes" >&6; }
5648 else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5650 $as_echo "no, using $LN_S" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5654 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5655 if ${ac_cv_path_GREP+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if test -z "$GREP"; then
5659 ac_path_GREP_found=false
5660 # Loop through the user's path and test for each of PROGNAME-LIST
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5664 IFS=$as_save_IFS
5665 test -z "$as_dir" && as_dir=.
5666 for ac_prog in grep ggrep; do
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5669 as_fn_executable_p "$ac_path_GREP" || continue
5670 # Check for GNU ac_path_GREP and select it if it is found.
5671 # Check for GNU $ac_path_GREP
5672 case `"$ac_path_GREP" --version 2>&1` in
5673 *GNU*)
5674 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5676 ac_count=0
5677 $as_echo_n 0123456789 >"conftest.in"
5678 while :
5680 cat "conftest.in" "conftest.in" >"conftest.tmp"
5681 mv "conftest.tmp" "conftest.in"
5682 cp "conftest.in" "conftest.nl"
5683 $as_echo 'GREP' >> "conftest.nl"
5684 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5685 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5686 as_fn_arith $ac_count + 1 && ac_count=$as_val
5687 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5688 # Best one so far, save it but keep looking for a better one
5689 ac_cv_path_GREP="$ac_path_GREP"
5690 ac_path_GREP_max=$ac_count
5692 # 10*(2^10) chars as input seems more than enough
5693 test $ac_count -gt 10 && break
5694 done
5695 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5696 esac
5698 $ac_path_GREP_found && break 3
5699 done
5700 done
5701 done
5702 IFS=$as_save_IFS
5703 if test -z "$ac_cv_path_GREP"; then
5704 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5706 else
5707 ac_cv_path_GREP=$GREP
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5712 $as_echo "$ac_cv_path_GREP" >&6; }
5713 GREP="$ac_cv_path_GREP"
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5717 $as_echo_n "checking for egrep... " >&6; }
5718 if ${ac_cv_path_EGREP+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5722 then ac_cv_path_EGREP="$GREP -E"
5723 else
5724 if test -z "$EGREP"; then
5725 ac_path_EGREP_found=false
5726 # Loop through the user's path and test for each of PROGNAME-LIST
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_prog in egrep; do
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5735 as_fn_executable_p "$ac_path_EGREP" || continue
5736 # Check for GNU ac_path_EGREP and select it if it is found.
5737 # Check for GNU $ac_path_EGREP
5738 case `"$ac_path_EGREP" --version 2>&1` in
5739 *GNU*)
5740 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5742 ac_count=0
5743 $as_echo_n 0123456789 >"conftest.in"
5744 while :
5746 cat "conftest.in" "conftest.in" >"conftest.tmp"
5747 mv "conftest.tmp" "conftest.in"
5748 cp "conftest.in" "conftest.nl"
5749 $as_echo 'EGREP' >> "conftest.nl"
5750 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5751 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5752 as_fn_arith $ac_count + 1 && ac_count=$as_val
5753 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5754 # Best one so far, save it but keep looking for a better one
5755 ac_cv_path_EGREP="$ac_path_EGREP"
5756 ac_path_EGREP_max=$ac_count
5758 # 10*(2^10) chars as input seems more than enough
5759 test $ac_count -gt 10 && break
5760 done
5761 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5762 esac
5764 $ac_path_EGREP_found && break 3
5765 done
5766 done
5767 done
5768 IFS=$as_save_IFS
5769 if test -z "$ac_cv_path_EGREP"; then
5770 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5772 else
5773 ac_cv_path_EGREP=$EGREP
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5779 $as_echo "$ac_cv_path_EGREP" >&6; }
5780 EGREP="$ac_cv_path_EGREP"
5783 # Extract the first word of "ldconfig", so it can be a program name with args.
5784 set dummy ldconfig; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_path_LDCONFIG+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 case $LDCONFIG in
5791 [\\/]* | ?:[\\/]*)
5792 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 for as_dir in /sbin /usr/sbin $PATH
5798 IFS=$as_save_IFS
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 break 2
5806 done
5807 done
5808 IFS=$as_save_IFS
5810 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5812 esac
5814 LDCONFIG=$ac_cv_path_LDCONFIG
5815 if test -n "$LDCONFIG"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5817 $as_echo "$LDCONFIG" >&6; }
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5824 for ac_prog in msgfmt
5826 # Extract the first word of "$ac_prog", so it can be a program name with args.
5827 set dummy $ac_prog; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_MSGFMT+:} false; then :
5831 $as_echo_n "(cached) " >&6
5832 else
5833 if test -n "$MSGFMT"; then
5834 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_MSGFMT="$ac_prog"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 MSGFMT=$ac_cv_prog_MSGFMT
5854 if test -n "$MSGFMT"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5856 $as_echo "$MSGFMT" >&6; }
5857 else
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5863 test -n "$MSGFMT" && break
5864 done
5865 test -n "$MSGFMT" || MSGFMT="false"
5867 if ${ac_tool_prefix+:} false; then :
5868 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5869 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$PKG_CONFIG"; then
5876 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5889 done
5890 done
5891 IFS=$as_save_IFS
5895 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5896 if test -n "$PKG_CONFIG"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5898 $as_echo "$PKG_CONFIG" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5906 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5907 if test "x$cross_compiling" = xyes; then :
5909 else
5910 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5911 # Extract the first word of "pkg-config", so it can be a program name with args.
5912 set dummy pkg-config; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5916 $as_echo_n "(cached) " >&6
5917 else
5918 if test -n "$PKG_CONFIG"; then
5919 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5920 else
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 for as_dir in $PATH
5924 IFS=$as_save_IFS
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_PKG_CONFIG="pkg-config"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 break 2
5932 done
5933 done
5934 IFS=$as_save_IFS
5938 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5939 if test -n "$PKG_CONFIG"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5941 $as_echo "$PKG_CONFIG" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5949 else
5950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5953 if test "x$enable_maintainer_mode" != "xyes"
5954 then
5955 FONTFORGE=""
5956 RSVG=""
5957 CONVERT=""
5958 ICOTOOL=""
5959 else
5960 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5961 for ac_prog in fontforge
5963 # Extract the first word of "$ac_prog", so it can be a program name with args.
5964 set dummy $ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_FONTFORGE+:} false; then :
5968 $as_echo_n "(cached) " >&6
5969 else
5970 if test -n "$FONTFORGE"; then
5971 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_FONTFORGE="$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 FONTFORGE=$ac_cv_prog_FONTFORGE
5991 if test -n "$FONTFORGE"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5993 $as_echo "$FONTFORGE" >&6; }
5994 else
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$FONTFORGE" && break
6001 done
6002 test -n "$FONTFORGE" || FONTFORGE="false"
6004 for ac_prog in rsvg-convert rsvg
6006 # Extract the first word of "$ac_prog", so it can be a program name with args.
6007 set dummy $ac_prog; ac_word=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_RSVG+:} false; then :
6011 $as_echo_n "(cached) " >&6
6012 else
6013 if test -n "$RSVG"; then
6014 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 test -z "$as_dir" && as_dir=.
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_RSVG="$ac_prog"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 break 2
6027 done
6028 done
6029 IFS=$as_save_IFS
6033 RSVG=$ac_cv_prog_RSVG
6034 if test -n "$RSVG"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6036 $as_echo "$RSVG" >&6; }
6037 else
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6043 test -n "$RSVG" && break
6044 done
6045 test -n "$RSVG" || RSVG="false"
6047 for ac_prog in convert
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy $ac_prog; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_CONVERT+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 if test -n "$CONVERT"; then
6057 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6058 else
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_CONVERT="$ac_prog"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 CONVERT=$ac_cv_prog_CONVERT
6077 if test -n "$CONVERT"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6079 $as_echo "$CONVERT" >&6; }
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6086 test -n "$CONVERT" && break
6087 done
6088 test -n "$CONVERT" || CONVERT="false"
6090 for ac_prog in icotool
6092 # Extract the first word of "$ac_prog", so it can be a program name with args.
6093 set dummy $ac_prog; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ICOTOOL+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ICOTOOL"; then
6100 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ICOTOOL="$ac_prog"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 ICOTOOL=$ac_cv_prog_ICOTOOL
6120 if test -n "$ICOTOOL"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6122 $as_echo "$ICOTOOL" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6129 test -n "$ICOTOOL" && break
6130 done
6131 test -n "$ICOTOOL" || ICOTOOL="false"
6133 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6134 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6136 if test "$CONVERT" = false
6137 then
6138 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6141 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6142 convert_version=`convert --version | head -n1`
6143 if test "x$convert_version" != "x"
6144 then
6145 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6146 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6147 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6148 then
6149 CONVERT=false
6152 if test "$CONVERT" = false
6153 then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6155 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6156 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6157 else
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6159 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6163 if test "$ICOTOOL" = false
6164 then
6165 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6168 $as_echo_n "checking for recent enough icotool... " >&6; }
6169 icotool_version=`icotool --version | head -n1`
6170 if test "x$icotool_version" != "x"
6171 then
6172 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6173 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6174 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6175 then
6176 ICOTOOL=false
6177 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6180 if test "$ICOTOOL" = false
6181 then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6183 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6184 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6185 else
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6187 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6191 with_gettext=yes
6192 with_gettextpo=yes
6193 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6196 test "x$with_gettext" != xno || MSGFMT=false
6197 if test "$MSGFMT" != "false"
6198 then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6200 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6201 cat >conftest.po <<EOF
6202 # comment
6203 msgctxt "ctxt"
6204 msgid "id"
6205 msgstr "str"
6207 if $MSGFMT -o /dev/null conftest.po 2>&5
6208 then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6210 $as_echo "yes" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6214 MSGFMT=false
6217 if test "$MSGFMT" = false; then :
6218 case "x$with_gettext" in
6219 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6220 xno) ;;
6221 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6222 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6223 esac
6224 enable_po=${enable_po:-no}
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6229 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6230 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 ac_check_lib_save_LIBS=$LIBS
6234 LIBS="-li386 $LIBS"
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6238 /* Override any GCC internal prototype to avoid an error.
6239 Use char because int might match the return type of a GCC
6240 builtin and then its argument prototype would still apply. */
6241 #ifdef __cplusplus
6242 extern "C"
6243 #endif
6244 char i386_set_ldt ();
6246 main ()
6248 return i386_set_ldt ();
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_link "$LINENO"; then :
6254 ac_cv_lib_i386_i386_set_ldt=yes
6255 else
6256 ac_cv_lib_i386_i386_set_ldt=no
6258 rm -f core conftest.err conftest.$ac_objext \
6259 conftest$ac_exeext conftest.$ac_ext
6260 LIBS=$ac_check_lib_save_LIBS
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6263 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6264 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6265 cat >>confdefs.h <<_ACEOF
6266 #define HAVE_LIBI386 1
6267 _ACEOF
6269 LIBS="-li386 $LIBS"
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6274 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6275 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277 else
6278 ac_check_lib_save_LIBS=$LIBS
6279 LIBS="-lossaudio $LIBS"
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6286 #ifdef __cplusplus
6287 extern "C"
6288 #endif
6289 char _oss_ioctl ();
6291 main ()
6293 return _oss_ioctl ();
6295 return 0;
6297 _ACEOF
6298 if ac_fn_c_try_link "$LINENO"; then :
6299 ac_cv_lib_ossaudio__oss_ioctl=yes
6300 else
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 OPENGL_LIBS=""
6323 # Check whether --enable-largefile was given.
6324 if test "${enable_largefile+set}" = set; then :
6325 enableval=$enable_largefile;
6328 if test "$enable_largefile" != no; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6331 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6332 if ${ac_cv_sys_largefile_CC+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 ac_cv_sys_largefile_CC=no
6336 if test "$GCC" != yes; then
6337 ac_save_CC=$CC
6338 while :; do
6339 # IRIX 6.2 and later do not support large files by default,
6340 # so use the C compiler's -n32 option if that helps.
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <sys/types.h>
6344 /* Check that off_t can represent 2**63 - 1 correctly.
6345 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6346 since some C++ compilers masquerading as C compilers
6347 incorrectly reject 9223372036854775807. */
6348 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6349 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6350 && LARGE_OFF_T % 2147483647 == 1)
6351 ? 1 : -1];
6353 main ()
6357 return 0;
6359 _ACEOF
6360 if ac_fn_c_try_compile "$LINENO"; then :
6361 break
6363 rm -f core conftest.err conftest.$ac_objext
6364 CC="$CC -n32"
6365 if ac_fn_c_try_compile "$LINENO"; then :
6366 ac_cv_sys_largefile_CC=' -n32'; break
6368 rm -f core conftest.err conftest.$ac_objext
6369 break
6370 done
6371 CC=$ac_save_CC
6372 rm -f conftest.$ac_ext
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6376 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6377 if test "$ac_cv_sys_largefile_CC" != no; then
6378 CC=$CC$ac_cv_sys_largefile_CC
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6382 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6383 if ${ac_cv_sys_file_offset_bits+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 while :; do
6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #include <sys/types.h>
6390 /* Check that off_t can represent 2**63 - 1 correctly.
6391 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6392 since some C++ compilers masquerading as C compilers
6393 incorrectly reject 9223372036854775807. */
6394 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6395 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6396 && LARGE_OFF_T % 2147483647 == 1)
6397 ? 1 : -1];
6399 main ()
6403 return 0;
6405 _ACEOF
6406 if ac_fn_c_try_compile "$LINENO"; then :
6407 ac_cv_sys_file_offset_bits=no; break
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #define _FILE_OFFSET_BITS 64
6413 #include <sys/types.h>
6414 /* Check that off_t can represent 2**63 - 1 correctly.
6415 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6416 since some C++ compilers masquerading as C compilers
6417 incorrectly reject 9223372036854775807. */
6418 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6419 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6420 && LARGE_OFF_T % 2147483647 == 1)
6421 ? 1 : -1];
6423 main ()
6427 return 0;
6429 _ACEOF
6430 if ac_fn_c_try_compile "$LINENO"; then :
6431 ac_cv_sys_file_offset_bits=64; break
6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6434 ac_cv_sys_file_offset_bits=unknown
6435 break
6436 done
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6439 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6440 case $ac_cv_sys_file_offset_bits in #(
6441 no | unknown) ;;
6443 cat >>confdefs.h <<_ACEOF
6444 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6445 _ACEOF
6447 esac
6448 rm -rf conftest*
6449 if test $ac_cv_sys_file_offset_bits = unknown; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6451 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6452 if ${ac_cv_sys_large_files+:} false; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 while :; do
6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h. */
6458 #include <sys/types.h>
6459 /* Check that off_t can represent 2**63 - 1 correctly.
6460 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6461 since some C++ compilers masquerading as C compilers
6462 incorrectly reject 9223372036854775807. */
6463 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6464 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6465 && LARGE_OFF_T % 2147483647 == 1)
6466 ? 1 : -1];
6468 main ()
6472 return 0;
6474 _ACEOF
6475 if ac_fn_c_try_compile "$LINENO"; then :
6476 ac_cv_sys_large_files=no; break
6478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #define _LARGE_FILES 1
6482 #include <sys/types.h>
6483 /* Check that off_t can represent 2**63 - 1 correctly.
6484 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6485 since some C++ compilers masquerading as C compilers
6486 incorrectly reject 9223372036854775807. */
6487 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6488 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6489 && LARGE_OFF_T % 2147483647 == 1)
6490 ? 1 : -1];
6492 main ()
6496 return 0;
6498 _ACEOF
6499 if ac_fn_c_try_compile "$LINENO"; then :
6500 ac_cv_sys_large_files=1; break
6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6503 ac_cv_sys_large_files=unknown
6504 break
6505 done
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6508 $as_echo "$ac_cv_sys_large_files" >&6; }
6509 case $ac_cv_sys_large_files in #(
6510 no | unknown) ;;
6512 cat >>confdefs.h <<_ACEOF
6513 #define _LARGE_FILES $ac_cv_sys_large_files
6514 _ACEOF
6516 esac
6517 rm -rf conftest*
6524 ac_ext=c
6525 ac_cpp='$CPP $CPPFLAGS'
6526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6530 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6531 # On Suns, sometimes $CPP names a directory.
6532 if test -n "$CPP" && test -d "$CPP"; then
6533 CPP=
6535 if test -z "$CPP"; then
6536 if ${ac_cv_prog_CPP+:} false; then :
6537 $as_echo_n "(cached) " >&6
6538 else
6539 # Double quotes because CPP needs to be expanded
6540 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6542 ac_preproc_ok=false
6543 for ac_c_preproc_warn_flag in '' yes
6545 # Use a header file that comes with gcc, so configuring glibc
6546 # with a fresh cross-compiler works.
6547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6548 # <limits.h> exists even on freestanding compilers.
6549 # On the NeXT, cc -E runs the code through the compiler's parser,
6550 # not just through cpp. "Syntax error" is here to catch this case.
6551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6552 /* end confdefs.h. */
6553 #ifdef __STDC__
6554 # include <limits.h>
6555 #else
6556 # include <assert.h>
6557 #endif
6558 Syntax error
6559 _ACEOF
6560 if ac_fn_c_try_cpp "$LINENO"; then :
6562 else
6563 # Broken: fails on valid input.
6564 continue
6566 rm -f conftest.err conftest.i conftest.$ac_ext
6568 # OK, works on sane cases. Now check whether nonexistent headers
6569 # can be detected and how.
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <ac_nonexistent.h>
6573 _ACEOF
6574 if ac_fn_c_try_cpp "$LINENO"; then :
6575 # Broken: success on invalid input.
6576 continue
6577 else
6578 # Passes both tests.
6579 ac_preproc_ok=:
6580 break
6582 rm -f conftest.err conftest.i conftest.$ac_ext
6584 done
6585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6586 rm -f conftest.i conftest.err conftest.$ac_ext
6587 if $ac_preproc_ok; then :
6588 break
6591 done
6592 ac_cv_prog_CPP=$CPP
6595 CPP=$ac_cv_prog_CPP
6596 else
6597 ac_cv_prog_CPP=$CPP
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6600 $as_echo "$CPP" >&6; }
6601 ac_preproc_ok=false
6602 for ac_c_preproc_warn_flag in '' yes
6604 # Use a header file that comes with gcc, so configuring glibc
6605 # with a fresh cross-compiler works.
6606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6607 # <limits.h> exists even on freestanding compilers.
6608 # On the NeXT, cc -E runs the code through the compiler's parser,
6609 # not just through cpp. "Syntax error" is here to catch this case.
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 #ifdef __STDC__
6613 # include <limits.h>
6614 #else
6615 # include <assert.h>
6616 #endif
6617 Syntax error
6618 _ACEOF
6619 if ac_fn_c_try_cpp "$LINENO"; then :
6621 else
6622 # Broken: fails on valid input.
6623 continue
6625 rm -f conftest.err conftest.i conftest.$ac_ext
6627 # OK, works on sane cases. Now check whether nonexistent headers
6628 # can be detected and how.
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <ac_nonexistent.h>
6632 _ACEOF
6633 if ac_fn_c_try_cpp "$LINENO"; then :
6634 # Broken: success on invalid input.
6635 continue
6636 else
6637 # Passes both tests.
6638 ac_preproc_ok=:
6639 break
6641 rm -f conftest.err conftest.i conftest.$ac_ext
6643 done
6644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6645 rm -f conftest.i conftest.err conftest.$ac_ext
6646 if $ac_preproc_ok; then :
6648 else
6649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6651 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6652 See \`config.log' for more details" "$LINENO" 5; }
6655 ac_ext=c
6656 ac_cpp='$CPP $CPPFLAGS'
6657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6663 $as_echo_n "checking for ANSI C header files... " >&6; }
6664 if ${ac_cv_header_stdc+:} false; then :
6665 $as_echo_n "(cached) " >&6
6666 else
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <stdlib.h>
6670 #include <stdarg.h>
6671 #include <string.h>
6672 #include <float.h>
6675 main ()
6679 return 0;
6681 _ACEOF
6682 if ac_fn_c_try_compile "$LINENO"; then :
6683 ac_cv_header_stdc=yes
6684 else
6685 ac_cv_header_stdc=no
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6689 if test $ac_cv_header_stdc = yes; then
6690 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 #include <string.h>
6695 _ACEOF
6696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6697 $EGREP "memchr" >/dev/null 2>&1; then :
6699 else
6700 ac_cv_header_stdc=no
6702 rm -f conftest*
6706 if test $ac_cv_header_stdc = yes; then
6707 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 #include <stdlib.h>
6712 _ACEOF
6713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6714 $EGREP "free" >/dev/null 2>&1; then :
6716 else
6717 ac_cv_header_stdc=no
6719 rm -f conftest*
6723 if test $ac_cv_header_stdc = yes; then
6724 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6725 if test "$cross_compiling" = yes; then :
6727 else
6728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6730 #include <ctype.h>
6731 #include <stdlib.h>
6732 #if ((' ' & 0x0FF) == 0x020)
6733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6735 #else
6736 # define ISLOWER(c) \
6737 (('a' <= (c) && (c) <= 'i') \
6738 || ('j' <= (c) && (c) <= 'r') \
6739 || ('s' <= (c) && (c) <= 'z'))
6740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6741 #endif
6743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6745 main ()
6747 int i;
6748 for (i = 0; i < 256; i++)
6749 if (XOR (islower (i), ISLOWER (i))
6750 || toupper (i) != TOUPPER (i))
6751 return 2;
6752 return 0;
6754 _ACEOF
6755 if ac_fn_c_try_run "$LINENO"; then :
6757 else
6758 ac_cv_header_stdc=no
6760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6761 conftest.$ac_objext conftest.beam conftest.$ac_ext
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6767 $as_echo "$ac_cv_header_stdc" >&6; }
6768 if test $ac_cv_header_stdc = yes; then
6770 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6774 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6775 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6776 inttypes.h stdint.h unistd.h
6777 do :
6778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6779 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6781 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6782 cat >>confdefs.h <<_ACEOF
6783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6784 _ACEOF
6788 done
6791 for ac_header in \
6792 AL/al.h \
6793 ApplicationServices/ApplicationServices.h \
6794 AudioToolbox/AudioConverter.h \
6795 AudioUnit/AudioUnit.h \
6796 AudioUnit/AudioComponent.h \
6797 CL/cl.h \
6798 Carbon/Carbon.h \
6799 CommonCrypto/CommonDigest.h \
6800 CoreAudio/CoreAudio.h \
6801 CoreServices/CoreServices.h \
6802 DiskArbitration/DiskArbitration.h \
6803 IOKit/IOKitLib.h \
6804 IOKit/hid/IOHIDLib.h \
6805 OpenAL/al.h \
6806 OpenCL/opencl.h \
6807 QuickTime/ImageCompression.h \
6808 Security/Security.h \
6809 alias.h \
6810 alsa/asoundlib.h \
6811 arpa/inet.h \
6812 arpa/nameser.h \
6813 asm/types.h \
6814 asm/user.h \
6815 curses.h \
6816 direct.h \
6817 dirent.h \
6818 dlfcn.h \
6819 elf.h \
6820 float.h \
6821 fnmatch.h \
6822 getopt.h \
6823 gettext-po.h \
6824 grp.h \
6825 gsm.h \
6826 gsm/gsm.h \
6827 ieeefp.h \
6828 inet/mib2.h \
6829 io.h \
6830 kstat.h \
6831 lber.h \
6832 ldap.h \
6833 libproc.h \
6834 link.h \
6835 linux/cdrom.h \
6836 linux/compiler.h \
6837 linux/filter.h \
6838 linux/hdreg.h \
6839 linux/hidraw.h \
6840 linux/input.h \
6841 linux/ioctl.h \
6842 linux/joystick.h \
6843 linux/major.h \
6844 linux/param.h \
6845 linux/serial.h \
6846 linux/types.h \
6847 linux/ucdrom.h \
6848 lwp.h \
6849 mach-o/nlist.h \
6850 mach-o/loader.h \
6851 mach/mach.h \
6852 mach/machine.h \
6853 machine/cpu.h \
6854 machine/limits.h \
6855 machine/sysarch.h \
6856 mntent.h \
6857 ncurses.h \
6858 netdb.h \
6859 netinet/in.h \
6860 netinet/in_systm.h \
6861 netinet/tcp.h \
6862 netinet/tcp_fsm.h \
6863 pcap/pcap.h \
6864 poll.h \
6865 port.h \
6866 process.h \
6867 pthread.h \
6868 pwd.h \
6869 sched.h \
6870 scsi/scsi.h \
6871 scsi/scsi_ioctl.h \
6872 scsi/sg.h \
6873 stdbool.h \
6874 stdint.h \
6875 stropts.h \
6876 sys/asoundlib.h \
6877 sys/attr.h \
6878 sys/cdio.h \
6879 sys/elf32.h \
6880 sys/epoll.h \
6881 sys/event.h \
6882 sys/exec_elf.h \
6883 sys/filio.h \
6884 sys/inotify.h \
6885 sys/ioctl.h \
6886 sys/ipc.h \
6887 sys/limits.h \
6888 sys/link.h \
6889 sys/mman.h \
6890 sys/modem.h \
6891 sys/msg.h \
6892 sys/mtio.h \
6893 sys/param.h \
6894 sys/poll.h \
6895 sys/prctl.h \
6896 sys/protosw.h \
6897 sys/ptrace.h \
6898 sys/queue.h \
6899 sys/resource.h \
6900 sys/scsiio.h \
6901 sys/shm.h \
6902 sys/signal.h \
6903 sys/socket.h \
6904 sys/socketvar.h \
6905 sys/sockio.h \
6906 sys/statvfs.h \
6907 sys/strtio.h \
6908 sys/syscall.h \
6909 sys/sysinfo.h \
6910 sys/tihdr.h \
6911 sys/time.h \
6912 sys/timeout.h \
6913 sys/times.h \
6914 sys/uio.h \
6915 sys/user.h \
6916 sys/utsname.h \
6917 sys/vm86.h \
6918 sys/vnode.h \
6919 sys/wait.h \
6920 syscall.h \
6921 termios.h \
6922 unistd.h \
6923 utime.h \
6924 valgrind/memcheck.h \
6925 valgrind/valgrind.h \
6926 zlib.h
6928 do :
6929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6931 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6932 cat >>confdefs.h <<_ACEOF
6933 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6934 _ACEOF
6938 done
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6941 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6942 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 #include <sys/types.h>
6949 main ()
6951 return makedev(0, 0);
6953 return 0;
6955 _ACEOF
6956 if ac_fn_c_try_link "$LINENO"; then :
6957 ac_cv_header_sys_types_h_makedev=yes
6958 else
6959 ac_cv_header_sys_types_h_makedev=no
6961 rm -f core conftest.err conftest.$ac_objext \
6962 conftest$ac_exeext conftest.$ac_ext
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6966 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6968 if test $ac_cv_header_sys_types_h_makedev = no; then
6969 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6970 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6972 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6978 if test $ac_cv_header_sys_mkdev_h = no; then
6979 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6980 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6982 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6991 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6992 if ${ac_cv_header_stat_broken+:} false; then :
6993 $as_echo_n "(cached) " >&6
6994 else
6995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #include <sys/types.h>
6998 #include <sys/stat.h>
7000 #if defined S_ISBLK && defined S_IFDIR
7001 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7002 #endif
7004 #if defined S_ISBLK && defined S_IFCHR
7005 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7006 #endif
7008 #if defined S_ISLNK && defined S_IFREG
7009 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7010 #endif
7012 #if defined S_ISSOCK && defined S_IFREG
7013 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7014 #endif
7016 _ACEOF
7017 if ac_fn_c_try_compile "$LINENO"; then :
7018 ac_cv_header_stat_broken=no
7019 else
7020 ac_cv_header_stat_broken=yes
7022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7025 $as_echo "$ac_cv_header_stat_broken" >&6; }
7026 if test $ac_cv_header_stat_broken = yes; then
7028 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7034 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7035 do :
7036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7038 #ifdef HAVE_SYS_PARAM_H
7039 # include <sys/param.h>
7040 #endif
7042 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7043 cat >>confdefs.h <<_ACEOF
7044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7045 _ACEOF
7049 done
7052 for ac_header in \
7053 netinet/ip.h \
7054 net/if.h \
7055 net/if_arp.h \
7056 net/if_dl.h \
7057 net/if_types.h \
7058 net/route.h \
7059 netinet/if_ether.h \
7060 netinet/if_inarp.h \
7061 netinet/in_pcb.h \
7062 netinet/ip_icmp.h \
7063 netinet/ip_var.h \
7064 netinet/udp.h \
7065 netipx/ipx.h \
7066 sys/un.h \
7068 do :
7069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7071 #ifdef HAVE_SYS_SOCKET_H
7072 # include <sys/socket.h>
7073 #endif
7074 #ifdef HAVE_SYS_SOCKETVAR_H
7075 # include <sys/socketvar.h>
7076 #endif
7077 #ifdef HAVE_NET_ROUTE_H
7078 # include <net/route.h>
7079 #endif
7080 #ifdef HAVE_NETINET_IN_H
7081 # include <netinet/in.h>
7082 #endif
7083 #ifdef HAVE_NETINET_IN_SYSTM_H
7084 # include <netinet/in_systm.h>
7085 #endif
7086 #ifdef HAVE_NET_IF_H
7087 # include <net/if.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IP_H
7090 # include <netinet/ip.h>
7091 #endif
7093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7094 cat >>confdefs.h <<_ACEOF
7095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7096 _ACEOF
7100 done
7103 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7104 do :
7105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7107 #ifdef HAVE_ALIAS_H
7108 # include <alias.h>
7109 #endif
7110 #ifdef HAVE_SYS_SOCKET_H
7111 # include <sys/socket.h>
7112 #endif
7113 #ifdef HAVE_SYS_SOCKETVAR_H
7114 # include <sys/socketvar.h>
7115 #endif
7116 #ifdef HAVE_SYS_TIMEOUT_H
7117 # include <sys/timeout.h>
7118 #endif
7119 #ifdef HAVE_NETINET_IN_H
7120 # include <netinet/in.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IN_SYSTM_H
7123 # include <netinet/in_systm.h>
7124 #endif
7125 #ifdef HAVE_NETINET_IP_H
7126 # include <netinet/ip.h>
7127 #endif
7128 #ifdef HAVE_NETINET_IP_VAR_H
7129 # include <netinet/ip_var.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IP_ICMP_H
7132 # include <netinet/ip_icmp.h>
7133 #endif
7134 #ifdef HAVE_NETINET_UDP_H
7135 # include <netinet/udp.h>
7136 #endif
7137 #ifdef HAVE_NETINET_TCP_H
7138 # include <netinet/tcp.h>
7139 #endif
7140 #ifdef HAVE_NETINET_TCP_TIMER_H
7141 #include <netinet/tcp_timer.h>
7142 #endif
7144 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7145 cat >>confdefs.h <<_ACEOF
7146 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7147 _ACEOF
7151 done
7154 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7155 do :
7156 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7158 #ifdef HAVE_ASM_TYPES_H
7159 # include <asm/types.h>
7160 #endif
7161 #ifdef HAVE_SYS_SOCKET_H
7162 # include <sys/socket.h>
7163 #endif
7164 #ifdef HAVE_LINUX_TYPES_H
7165 # include <linux/types.h>
7166 #endif
7168 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7169 cat >>confdefs.h <<_ACEOF
7170 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7171 _ACEOF
7175 done
7178 for ac_header in mach-o/dyld_images.h
7179 do :
7180 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7181 # include <stdbool.h>
7182 #endif
7183 #ifdef HAVE_STDINT_H
7184 # include <stdint.h>
7185 #endif
7187 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7188 cat >>confdefs.h <<_ACEOF
7189 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7190 _ACEOF
7194 done
7197 for ac_header in resolv.h
7198 do :
7199 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7200 #ifdef HAVE_SYS_SOCKET_H
7201 # include <sys/socket.h>
7202 #endif
7203 #ifdef HAVE_NETINET_IN_H
7204 # include <netinet/in.h>
7205 #endif
7206 #ifdef HAVE_ARPA_NAMESER_H
7207 # include <arpa/nameser.h>
7208 #endif
7210 if test "x$ac_cv_header_resolv_h" = xyes; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define HAVE_RESOLV_H 1
7213 _ACEOF
7217 done
7220 for ac_header in ifaddrs.h
7221 do :
7222 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7224 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_IFADDRS_H 1
7227 _ACEOF
7231 done
7234 for ac_header in sys/ucontext.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7238 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_SYS_UCONTEXT_H 1
7241 _ACEOF
7245 done
7248 for ac_header in sys/thr.h
7249 do :
7250 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7251 #ifdef HAVE_SYS_UCONTEXT_H
7252 #include <sys/ucontext.h>
7253 #endif
7255 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_SYS_THR_H 1
7258 _ACEOF
7262 done
7265 for ac_header in pthread_np.h
7266 do :
7267 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7268 #include <pthread.h>
7269 #endif
7271 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define HAVE_PTHREAD_NP_H 1
7274 _ACEOF
7278 done
7281 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7282 do :
7283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7285 #include <sys/time.h>
7286 #endif
7287 #include <sys/types.h>
7288 #ifdef HAVE_ASM_TYPES_H
7289 #include <asm/types.h>
7290 #endif
7292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7293 cat >>confdefs.h <<_ACEOF
7294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295 _ACEOF
7299 done
7302 for ac_header in libprocstat.h
7303 do :
7304 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7305 #include <sys/param.h>
7306 #endif
7307 #ifdef HAVE_SYS_QUEUE_H
7308 #include <sys/queue.h>
7309 #endif
7310 #ifdef HAVE_SYS_SOCKET_H
7311 #include <sys/socket.h>
7312 #endif
7314 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7315 cat >>confdefs.h <<_ACEOF
7316 #define HAVE_LIBPROCSTAT_H 1
7317 _ACEOF
7321 done
7325 dlldir="\${libdir}/wine"
7327 DLLFLAGS="-D_REENTRANT"
7329 LDRPATH_INSTALL=""
7331 LDRPATH_LOCAL=""
7333 LDEXECFLAGS=""
7335 LIBEXT="so"
7336 DLLEXT=".so"
7337 IMPLIBEXT="def"
7338 # Extract the first word of "ldd", so it can be a program name with args.
7339 set dummy ldd; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_path_LDD+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 case $LDD in
7346 [\\/]* | ?:[\\/]*)
7347 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 as_dummy="/sbin:/usr/sbin:$PATH"
7352 for as_dir in $as_dummy
7354 IFS=$as_save_IFS
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7366 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7368 esac
7370 LDD=$ac_cv_path_LDD
7371 if test -n "$LDD"; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7373 $as_echo "$LDD" >&6; }
7374 else
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 $as_echo "no" >&6; }
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}otool; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if ${ac_cv_prog_OTOOL+:} false; then :
7386 $as_echo_n "(cached) " >&6
7387 else
7388 if test -n "$OTOOL"; then
7389 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7394 IFS=$as_save_IFS
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 break 2
7402 done
7403 done
7404 IFS=$as_save_IFS
7408 OTOOL=$ac_cv_prog_OTOOL
7409 if test -n "$OTOOL"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7411 $as_echo "$OTOOL" >&6; }
7412 else
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 if test -z "$ac_cv_prog_OTOOL"; then
7420 ac_ct_OTOOL=$OTOOL
7421 # Extract the first word of "otool", so it can be a program name with args.
7422 set dummy otool; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 if test -n "$ac_ct_OTOOL"; then
7429 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7430 else
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 for as_dir in $PATH
7434 IFS=$as_save_IFS
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7438 ac_cv_prog_ac_ct_OTOOL="otool"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 break 2
7442 done
7443 done
7444 IFS=$as_save_IFS
7448 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7449 if test -n "$ac_ct_OTOOL"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7451 $as_echo "$ac_ct_OTOOL" >&6; }
7452 else
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7457 if test "x$ac_ct_OTOOL" = x; then
7458 OTOOL="otool"
7459 else
7460 case $cross_compiling:$ac_tool_warned in
7461 yes:)
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned=yes ;;
7465 esac
7466 OTOOL=$ac_ct_OTOOL
7468 else
7469 OTOOL="$ac_cv_prog_OTOOL"
7472 if test -n "$ac_tool_prefix"; then
7473 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_READELF+:} false; then :
7478 $as_echo_n "(cached) " >&6
7479 else
7480 if test -n "$READELF"; then
7481 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7486 IFS=$as_save_IFS
7487 test -z "$as_dir" && as_dir=.
7488 for ac_exec_ext in '' $ac_executable_extensions; do
7489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 break 2
7494 done
7495 done
7496 IFS=$as_save_IFS
7500 READELF=$ac_cv_prog_READELF
7501 if test -n "$READELF"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7503 $as_echo "$READELF" >&6; }
7504 else
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7511 if test -z "$ac_cv_prog_READELF"; then
7512 ac_ct_READELF=$READELF
7513 # Extract the first word of "readelf", so it can be a program name with args.
7514 set dummy readelf; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7518 $as_echo_n "(cached) " >&6
7519 else
7520 if test -n "$ac_ct_READELF"; then
7521 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7526 IFS=$as_save_IFS
7527 test -z "$as_dir" && as_dir=.
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7530 ac_cv_prog_ac_ct_READELF="readelf"
7531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 break 2
7534 done
7535 done
7536 IFS=$as_save_IFS
7540 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7541 if test -n "$ac_ct_READELF"; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7543 $as_echo "$ac_ct_READELF" >&6; }
7544 else
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7549 if test "x$ac_ct_READELF" = x; then
7550 READELF="true"
7551 else
7552 case $cross_compiling:$ac_tool_warned in
7553 yes:)
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7557 esac
7558 READELF=$ac_ct_READELF
7560 else
7561 READELF="$ac_cv_prog_READELF"
7564 wine_rules_file=conf$$rules.make
7565 rm -f $wine_rules_file
7566 SUBDIRS=""
7568 DISABLED_SUBDIRS=""
7570 CONFIGURE_TARGETS=""
7572 ALL_TEST_RESOURCES=""
7575 wine_fn_append_file ()
7577 as_fn_append $1 " \\$as_nl $2"
7580 wine_fn_append_rule ()
7582 $as_echo "$1" >>$wine_rules_file
7585 wine_fn_has_flag ()
7587 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7590 wine_fn_all_rules ()
7592 wine_fn_append_file SUBDIRS $ac_dir
7593 wine_fn_append_rule \
7594 "all: $ac_dir
7595 .PHONY: $ac_dir
7596 $ac_dir: dummy
7597 @cd $ac_dir && \$(MAKE)"
7600 wine_fn_install_rules ()
7602 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7604 wine_fn_append_rule \
7605 ".PHONY: $ac_dir/install $ac_dir/uninstall
7606 $ac_dir/install:: $ac_dir
7607 @cd $ac_dir && \$(MAKE) install
7608 $ac_dir/uninstall::
7609 @cd $ac_dir && \$(MAKE) uninstall
7610 install:: $ac_dir/install
7611 __uninstall__: $ac_dir/uninstall"
7613 if wine_fn_has_flag install-lib
7614 then
7615 wine_fn_append_rule \
7616 ".PHONY: $ac_dir/install-lib
7617 $ac_dir/install-lib:: $ac_dir
7618 @cd $ac_dir && \$(MAKE) install-lib
7619 install-lib:: $ac_dir/install-lib"
7622 if wine_fn_has_flag install-dev
7623 then
7624 wine_fn_append_rule \
7625 ".PHONY: $ac_dir/install-dev
7626 $ac_dir/install-dev:: $ac_dir
7627 @cd $ac_dir && \$(MAKE) install-dev
7628 install-dev:: $ac_dir/install-dev"
7632 wine_fn_clean_rules ()
7634 ac_clean=$@
7636 if wine_fn_has_flag clean
7637 then
7638 wine_fn_append_rule \
7639 "$ac_dir/clean: dummy
7640 @cd $ac_dir && \$(MAKE) clean"
7641 else
7642 wine_fn_append_rule \
7643 "$ac_dir/clean: dummy
7644 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7646 wine_fn_append_rule \
7647 "__clean__: $ac_dir/clean
7648 .PHONY: $ac_dir/clean"
7651 wine_fn_disabled_rules ()
7653 ac_clean=$@
7655 wine_fn_append_file SUBDIRS $ac_dir
7656 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7657 wine_fn_append_rule \
7658 "__clean__: $ac_dir/clean
7659 .PHONY: $ac_dir/clean
7660 $ac_dir/clean: dummy
7661 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7664 wine_fn_config_makefile ()
7666 ac_dir=$1
7667 ac_enable=$2
7668 ac_flags=$3
7670 case $ac_dir in
7671 fonts|server) test -z "$with_wine64" || return ;;
7672 esac
7673 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7674 wine_fn_disabled_rules; return
7676 wine_fn_all_rules
7677 wine_fn_install_rules
7678 wine_fn_clean_rules
7681 wine_fn_config_lib ()
7683 ac_name=$1
7684 ac_flags=$2
7685 ac_dir=dlls/$ac_name
7686 ac_deps="include"
7688 if test "x$enable_tools" = xno; then :
7690 else
7691 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7693 wine_fn_all_rules
7694 wine_fn_clean_rules
7696 wine_fn_append_rule \
7697 ".PHONY: $ac_dir/install $ac_dir/uninstall
7698 $ac_dir/install:: $ac_dir
7699 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7700 $ac_dir/uninstall::
7701 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7702 install install-dev:: $ac_dir/install
7703 __uninstall__: $ac_dir/uninstall
7704 __builddeps__: $ac_dir
7705 $ac_dir: $ac_deps"
7708 wine_fn_config_dll ()
7710 ac_name=$1
7711 ac_dir=dlls/$ac_name
7712 ac_enable=$2
7713 ac_flags=$3
7714 ac_implib=${4:-$ac_name}
7715 ac_file=$ac_dir/lib$ac_implib
7716 ac_dll=$ac_name
7717 ac_deps="include"
7718 ac_implibflags=""
7720 if test "x$enable_tools" = xno; then :
7722 else
7723 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7725 case $ac_name in
7726 *.*16) ac_implibflags=" -m16" ;;
7727 *.*) ;;
7728 *) ac_dll=$ac_dll.dll ;;
7729 esac
7731 ac_clean=
7732 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7733 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7735 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7736 if test "$ac_enable" != enable_win16
7737 then
7738 wine_fn_clean_rules $ac_clean
7739 wine_fn_append_file SUBDIRS $ac_dir
7740 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7741 else
7742 wine_fn_disabled_rules $ac_clean
7743 return
7745 else
7746 wine_fn_all_rules
7747 wine_fn_clean_rules $ac_clean
7748 wine_fn_append_rule \
7749 "$ac_dir: __builddeps__
7750 manpages htmlpages sgmlpages xmlpages::
7751 @cd $ac_dir && \$(MAKE) \$@
7752 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7753 install install-lib:: $ac_dir/install-lib
7754 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$DLLEXT"
7756 then
7757 wine_fn_append_rule \
7758 "$ac_dir/install-lib:: $ac_dir
7759 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7760 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7761 $ac_dir/uninstall::
7762 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7763 else
7764 wine_fn_append_rule \
7765 "$ac_dir/install-lib:: $ac_dir
7766 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7772 if wine_fn_has_flag staticimplib
7773 then
7774 wine_fn_append_rule \
7775 "__builddeps__: $ac_file.a
7776 $ac_file.a $ac_file.cross.a: $ac_deps
7777 $ac_file.a: dummy
7778 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7779 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7780 $ac_dir/install-dev:: $ac_file.a
7781 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7784 install install-dev:: $ac_dir/install-dev
7785 __uninstall__: $ac_dir/uninstall"
7787 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7788 then
7789 wine_fn_append_rule \
7790 "__builddeps__: $ac_file.cross.a
7791 $ac_file.cross.a: dummy
7792 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7795 elif wine_fn_has_flag implib
7796 then
7797 wine_fn_append_rule \
7798 "__builddeps__: $ac_file.$IMPLIBEXT
7799 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7800 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7801 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7802 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7803 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7804 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7805 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7806 $ac_dir/uninstall::
7807 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7808 install install-dev:: $ac_dir/install-dev
7809 __uninstall__: $ac_dir/uninstall"
7810 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7811 then
7812 wine_fn_append_rule \
7813 "__builddeps__: $ac_file.cross.a
7814 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7815 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7820 wine_fn_config_program ()
7822 ac_name=$1
7823 ac_dir=programs/$ac_name
7824 ac_enable=$2
7825 ac_flags=$3
7826 ac_program=$ac_name
7828 case $ac_name in
7829 *.*) ;;
7830 *) ac_program=$ac_program.exe ;;
7831 esac
7833 ac_clean=
7834 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7835 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7837 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7838 wine_fn_disabled_rules $ac_clean; return
7841 wine_fn_all_rules
7842 wine_fn_clean_rules $ac_clean
7843 wine_fn_append_rule "$ac_dir: __builddeps__"
7845 wine_fn_has_flag install || return
7846 wine_fn_append_rule \
7847 ".PHONY: $ac_dir/install $ac_dir/uninstall
7848 install install-lib:: $ac_dir/install
7849 __uninstall__: $ac_dir/uninstall"
7851 if test -n "$DLLEXT"
7852 then
7853 wine_fn_append_rule \
7854 "$ac_dir/install:: $ac_dir
7855 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7856 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7857 $ac_dir/uninstall::
7858 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7860 if test -z "$with_wine64" && wine_fn_has_flag installbin
7861 then
7862 wine_fn_append_rule \
7863 "$ac_dir/install:: __tooldeps__
7864 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7865 $ac_dir/uninstall::
7866 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7868 else
7869 wine_fn_append_rule \
7870 "$ac_dir/install:: $ac_dir
7871 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7872 $ac_dir/uninstall::
7873 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7876 if test -z "$with_wine64" && wine_fn_has_flag manpage
7877 then
7878 wine_fn_append_rule \
7879 "$ac_dir/install:: $ac_dir
7880 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7881 $ac_dir/uninstall::
7882 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7886 wine_fn_config_test ()
7888 ac_dir=$1
7889 ac_name=$2
7890 ac_flags=$3
7892 ac_clean=
7893 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7894 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7896 if test "x$enable_tests" = xno; then :
7897 wine_fn_disabled_rules $ac_clean; return
7900 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7901 wine_fn_all_rules
7902 wine_fn_clean_rules $ac_clean
7904 wine_fn_append_rule \
7905 "$ac_dir: __builddeps__
7906 programs/winetest: $ac_dir
7907 check test: $ac_dir/test
7908 .PHONY: $ac_dir/test
7909 $ac_dir/test: dummy
7910 @cd $ac_dir && \$(MAKE) test
7911 testclean::
7912 \$(RM) $ac_dir/*.ok"
7914 if test -n "$CROSSTARGET"
7915 then
7916 wine_fn_append_rule \
7917 "crosstest: $ac_dir/crosstest
7918 .PHONY: $ac_dir/crosstest
7919 $ac_dir/crosstest: __builddeps__ dummy
7920 @cd $ac_dir && \$(MAKE) crosstest"
7924 wine_fn_config_tool ()
7926 ac_dir=$1
7927 ac_flags=$2
7928 if test "x$enable_tools" = xno; then :
7929 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7932 wine_fn_all_rules
7933 wine_fn_install_rules
7934 wine_fn_clean_rules
7936 wine_fn_append_rule "__tooldeps__: $ac_dir"
7937 wine_fn_append_rule "$ac_dir: libs/port"
7938 case $ac_dir in
7939 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7940 esac
7943 wine_fn_config_symlink ()
7945 ac_linkdir=
7946 if test "x$1" = "x-d"
7947 then
7948 ac_linkdir=$2
7949 shift; shift
7951 ac_links=$@
7952 wine_fn_append_rule \
7953 "$ac_links:
7954 @./config.status \$@"
7955 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7956 test -n "$ac_linkdir" || return
7957 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7960 wine_binary="wine"
7961 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7962 WINELOADER_PROGRAMS="$wine_binary"
7964 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7966 case $host_os in
7967 cygwin*|mingw32*)
7968 if test -n "$ac_tool_prefix"; then
7969 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7970 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_prog_DLLTOOL+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 if test -n "$DLLTOOL"; then
7977 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7978 else
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980 for as_dir in $PATH
7982 IFS=$as_save_IFS
7983 test -z "$as_dir" && as_dir=.
7984 for ac_exec_ext in '' $ac_executable_extensions; do
7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 break 2
7990 done
7991 done
7992 IFS=$as_save_IFS
7996 DLLTOOL=$ac_cv_prog_DLLTOOL
7997 if test -n "$DLLTOOL"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7999 $as_echo "$DLLTOOL" >&6; }
8000 else
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002 $as_echo "no" >&6; }
8007 if test -z "$ac_cv_prog_DLLTOOL"; then
8008 ac_ct_DLLTOOL=$DLLTOOL
8009 # Extract the first word of "dlltool", so it can be a program name with args.
8010 set dummy dlltool; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$ac_ct_DLLTOOL"; then
8017 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8037 if test -n "$ac_ct_DLLTOOL"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8039 $as_echo "$ac_ct_DLLTOOL" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8045 if test "x$ac_ct_DLLTOOL" = x; then
8046 DLLTOOL="false"
8047 else
8048 case $cross_compiling:$ac_tool_warned in
8049 yes:)
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8052 ac_tool_warned=yes ;;
8053 esac
8054 DLLTOOL=$ac_ct_DLLTOOL
8056 else
8057 DLLTOOL="$ac_cv_prog_DLLTOOL"
8060 LIBEXT="dll"
8061 DLLEXT=""
8062 IMPLIBEXT="a"
8063 enable_iphlpapi=${enable_iphlpapi:-no}
8064 enable_kernel32=${enable_kernel32:-no}
8065 enable_msvcrt=${enable_msvcrt:-no}
8066 enable_ntdll=${enable_ntdll:-no}
8067 enable_ws2_32=${enable_ws2_32:-no}
8068 enable_loader=${enable_loader:-no}
8069 enable_server=${enable_server:-no}
8070 with_x=${with_x:-no}
8071 with_pthread=${with_pthread:-no}
8073 crtlibs=""
8074 case $host_os in
8075 mingw32*)
8076 crtlibs="-lmsvcrt"
8077 SOCKET_LIBS="-lws2_32"
8079 esac
8081 LIBWINE_SHAREDLIB="libwine.dll"
8083 LIBWINE_IMPORTLIB="libwine.a"
8085 LIBWINE_INSTALL_LIB="libwine.dll"
8087 LIBWINE_INSTALL_DEV="libwine.a"
8089 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8091 LIBWINE_DEPENDS="wine.def"
8095 darwin*|macosx*)
8096 for ac_header in libunwind.h
8097 do :
8098 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8100 cat >>confdefs.h <<_ACEOF
8101 #define HAVE_LIBUNWIND_H 1
8102 _ACEOF
8106 done
8108 LIBEXT="dylib"
8109 DLLFLAGS="$DLLFLAGS -fPIC"
8110 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8111 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8112 COREFOUNDATION_LIBS="-framework CoreFoundation"
8114 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8116 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8118 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8120 CORESERVICES_LIBS="-framework CoreServices"
8122 APPKIT_LIBS="-framework AppKit"
8124 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8126 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8127 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8128 $as_echo_n "(cached) " >&6
8129 else
8130 ac_wine_try_cflags_saved=$CFLAGS
8131 CFLAGS="$CFLAGS -Wl,-no_pie"
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 int main(int argc, char **argv) { return 0; }
8135 _ACEOF
8136 if ac_fn_c_try_link "$LINENO"; then :
8137 ac_cv_cflags__Wl__no_pie=yes
8138 else
8139 ac_cv_cflags__Wl__no_pie=no
8141 rm -f core conftest.err conftest.$ac_objext \
8142 conftest$ac_exeext conftest.$ac_ext
8143 CFLAGS=$ac_wine_try_cflags_saved
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8146 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8147 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8148 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8150 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8151 then
8152 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8155 if test "$ac_cv_header_Security_Security_h" = "yes"
8156 then
8157 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8159 ac_save_LIBS="$LIBS"
8160 LIBS="$LIBS $SECURITY_LIBS"
8161 for ac_func in SSLCopyPeerCertificates
8162 do :
8163 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8164 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8165 cat >>confdefs.h <<_ACEOF
8166 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8167 _ACEOF
8170 done
8172 LIBS="$ac_save_LIBS"
8173 with_gnutls=${with_gnutls:-no}
8175 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8176 then
8177 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8178 then
8179 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8181 else
8182 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8185 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8186 ac_save_LIBS="$LIBS"
8187 LIBS="$LIBS $COREAUDIO_LIBS"
8188 for ac_func in AUGraphAddNode
8189 do :
8190 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8191 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8192 cat >>confdefs.h <<_ACEOF
8193 #define HAVE_AUGRAPHADDNODE 1
8194 _ACEOF
8197 done
8199 LIBS="$ac_save_LIBS"
8201 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8202 then
8203 OPENAL_LIBS="-framework OpenAL"
8206 cat >>confdefs.h <<_ACEOF
8207 #define HAVE_OPENAL 1
8208 _ACEOF
8210 ac_cv_lib_openal=yes
8212 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8213 then
8214 OPENCL_LIBS="-framework OpenCL"
8216 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8218 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8219 then
8220 ac_save_LIBS="$LIBS"
8221 LIBS="$LIBS $IOKIT_LIBS"
8222 for ac_func in IOHIDManagerCreate
8223 do :
8224 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8225 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8226 cat >>confdefs.h <<_ACEOF
8227 #define HAVE_IOHIDMANAGERCREATE 1
8228 _ACEOF
8231 done
8233 LIBS="$ac_save_LIBS"
8235 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8236 then
8237 ac_save_LIBS="$LIBS"
8238 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8240 $as_echo_n "checking for the QuickTime framework... " >&6; }
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 #include <QuickTime/ImageCompression.h>
8245 main ()
8247 CodecManagerVersion(NULL);
8249 return 0;
8251 _ACEOF
8252 if ac_fn_c_try_link "$LINENO"; then :
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8254 $as_echo "yes" >&6; }
8255 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8257 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8261 ac_cv_header_QuickTime_ImageCompression_h=no
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 LIBS="$ac_save_LIBS"
8267 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8268 then
8269 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8271 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8272 then
8273 CARBON_LIBS="-framework Carbon"
8277 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8278 then
8279 ac_save_LIBS="$LIBS"
8280 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8281 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8282 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8283 enable_winemac_drv=${enable_winemac_drv:-yes}
8286 LIBS="$ac_save_LIBS"
8289 if test "x$enable_win16" = "xyes"
8290 then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8292 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8293 if test "$cross_compiling" = yes; then :
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8295 $as_echo "cross-compiling, assuming yes" >&6; }
8296 else
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 asm(".text\n"
8300 "bad:\tnop;nop\n"
8301 "good:\tnop;nop\n\t"
8302 ".globl _testfunc\n"
8303 "_testfunc:\tcallw good");
8304 extern void testfunc();
8306 main ()
8308 unsigned short *p = (unsigned short *)testfunc;
8309 return p[0] != 0xe866 || p[1] != 0xfffa
8311 return 0;
8313 _ACEOF
8314 if ac_fn_c_try_run "$LINENO"; then :
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8316 $as_echo "yes" >&6; }
8317 else
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8320 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
8322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8323 conftest.$ac_objext conftest.beam conftest.$ac_ext
8328 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8330 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8332 LIBWINE_INSTALL_DEV="libwine.dylib"
8334 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8336 WINELOADER_DEPENDS="wine_info.plist"
8340 linux-android*)
8341 DLLFLAGS="$DLLFLAGS -fPIC"
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8343 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8344 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_wine_try_cflags_saved=$CFLAGS
8348 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8355 else
8356 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8363 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8364 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8365 LDEXECFLAGS="-Wl,--export-dynamic"
8367 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8370 if eval \${$as_ac_var+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 ac_wine_try_cflags_saved=$CFLAGS
8374 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 eval "$as_ac_var=yes"
8381 else
8382 eval "$as_ac_var=no"
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 CFLAGS=$ac_wine_try_cflags_saved
8388 eval ac_res=\$$as_ac_var
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8390 $as_echo "$ac_res" >&6; }
8391 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8392 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8393 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8394 else
8395 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8397 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8398 if eval \${$as_ac_var+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 ac_wine_try_cflags_saved=$CFLAGS
8402 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8404 /* end confdefs.h. */
8405 int main(int argc, char **argv) { return 0; }
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 eval "$as_ac_var=yes"
8409 else
8410 eval "$as_ac_var=no"
8412 rm -f core conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 CFLAGS=$ac_wine_try_cflags_saved
8416 eval ac_res=\$$as_ac_var
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8418 $as_echo "$ac_res" >&6; }
8419 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8420 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8421 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8426 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8427 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_wine_try_cflags_saved=$CFLAGS
8431 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 int main(int argc, char **argv) { return 0; }
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 ac_cv_cflags__Wl___enable_new_dtags=yes
8438 else
8439 ac_cv_cflags__Wl___enable_new_dtags=no
8441 rm -f core conftest.err conftest.$ac_objext \
8442 conftest$ac_exeext conftest.$ac_ext
8443 CFLAGS=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8446 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8447 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8448 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8451 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8452 if ${ac_cv_cflags__Wl__pie+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_wine_try_cflags_saved=$CFLAGS
8456 CFLAGS="$CFLAGS -Wl,-pie"
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8460 _ACEOF
8461 if ac_fn_c_try_link "$LINENO"; then :
8462 ac_cv_cflags__Wl__pie=yes
8463 else
8464 ac_cv_cflags__Wl__pie=no
8466 rm -f core conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468 CFLAGS=$ac_wine_try_cflags_saved
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8471 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8472 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8473 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8476 LIBWINE_SHAREDLIB="libwine.so"
8478 LIBWINE_INSTALL_LIB="libwine.so"
8480 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8485 DLLFLAGS="$DLLFLAGS -fPIC"
8486 LDEXECFLAGS=""
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8488 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8489 if ${ac_cv_c_dll_gnuelf+:} false; then :
8490 $as_echo_n "(cached) " >&6
8491 else
8492 ac_wine_try_cflags_saved=$CFLAGS
8493 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 void myfunc() {}
8497 _ACEOF
8498 if ac_fn_c_try_link "$LINENO"; then :
8499 ac_cv_c_dll_gnuelf="yes"
8500 else
8501 ac_cv_c_dll_gnuelf="no"
8503 rm -f core conftest.err conftest.$ac_objext \
8504 conftest$ac_exeext conftest.$ac_ext
8505 CFLAGS=$ac_wine_try_cflags_saved
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8508 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8509 if test "$ac_cv_c_dll_gnuelf" = "yes"
8510 then
8511 LIBWINE_LDFLAGS="-shared"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8513 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8514 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_wine_try_cflags_saved=$CFLAGS
8518 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 int main(int argc, char **argv) { return 0; }
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8525 else
8526 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 CFLAGS=$ac_wine_try_cflags_saved
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8533 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8534 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8535 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8539 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8550 else
8551 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8560 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8564 echo '{ global: *; };' >conftest.map
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8566 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8567 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 ac_wine_try_cflags_saved=$CFLAGS
8571 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8573 /* end confdefs.h. */
8574 int main(int argc, char **argv) { return 0; }
8575 _ACEOF
8576 if ac_fn_c_try_link "$LINENO"; then :
8577 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8578 else
8579 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8586 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8587 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8588 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8590 rm -f conftest.map
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8593 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8594 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8605 else
8606 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8613 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8614 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8615 LDEXECFLAGS="-Wl,--export-dynamic"
8618 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8620 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8621 if eval \${$as_ac_var+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 ac_wine_try_cflags_saved=$CFLAGS
8625 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 int main(int argc, char **argv) { return 0; }
8629 _ACEOF
8630 if ac_fn_c_try_link "$LINENO"; then :
8631 eval "$as_ac_var=yes"
8632 else
8633 eval "$as_ac_var=no"
8635 rm -f core conftest.err conftest.$ac_objext \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 eval ac_res=\$$as_ac_var
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8641 $as_echo "$ac_res" >&6; }
8642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8643 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8645 else
8646 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8648 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8649 if eval \${$as_ac_var+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8656 int main(int argc, char **argv) { return 0; }
8657 _ACEOF
8658 if ac_fn_c_try_link "$LINENO"; then :
8659 eval "$as_ac_var=yes"
8660 else
8661 eval "$as_ac_var=no"
8663 rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665 CFLAGS=$ac_wine_try_cflags_saved
8667 eval ac_res=\$$as_ac_var
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8669 $as_echo "$ac_res" >&6; }
8670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8671 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8672 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8678 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl___enable_new_dtags=yes
8689 else
8690 ac_cv_cflags__Wl___enable_new_dtags=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8697 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8698 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8699 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8702 case $host_cpu in
8703 *i[3456789]86* | x86_64)
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8705 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8706 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 int main(int argc, char **argv) { return 0; }
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8717 else
8718 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8720 rm -f core conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8725 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8726 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8727 case $host_os in
8728 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8729 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8730 esac
8731 else
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8733 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8734 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8735 $as_echo_n "(cached) " >&6
8736 else
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 int main(int argc, char **argv) { return 0; }
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8745 else
8746 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8748 rm -f core conftest.err conftest.$ac_objext \
8749 conftest$ac_exeext conftest.$ac_ext
8750 CFLAGS=$ac_wine_try_cflags_saved
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8753 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8754 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8755 case $host_os in
8756 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8757 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8758 esac
8760 # Extract the first word of "prelink", so it can be a program name with args.
8761 set dummy prelink; ac_word=$2
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8763 $as_echo_n "checking for $ac_word... " >&6; }
8764 if ${ac_cv_path_PRELINK+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 case $PRELINK in
8768 [\\/]* | ?:[\\/]*)
8769 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8773 for as_dir in /sbin /usr/sbin $PATH
8775 IFS=$as_save_IFS
8776 test -z "$as_dir" && as_dir=.
8777 for ac_exec_ext in '' $ac_executable_extensions; do
8778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8779 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8781 break 2
8783 done
8784 done
8785 IFS=$as_save_IFS
8787 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8789 esac
8791 PRELINK=$ac_cv_path_PRELINK
8792 if test -n "$PRELINK"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8794 $as_echo "$PRELINK" >&6; }
8795 else
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 $as_echo "no" >&6; }
8801 if test "x$PRELINK" = xfalse
8802 then
8803 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8807 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8808 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8819 else
8820 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8827 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8828 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8829 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8832 esac
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8836 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8837 if ${ac_cv_c_dll_unixware+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 void myfunc() {}
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_c_dll_unixware="yes"
8848 else
8849 ac_cv_c_dll_unixware="no"
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8856 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8857 if test "$ac_cv_c_dll_unixware" = "yes"
8858 then
8859 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8862 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8864 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8866 LIBWINE_INSTALL_DEV="libwine.so"
8868 LIBWINE_DEPENDS="wine.map"
8871 esac
8873 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8874 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8875 enable_winemac_drv=${enable_winemac_drv:-no}
8876 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8878 CROSSTARGET=""
8880 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8881 then
8882 case "$host_cpu" in
8883 arm*)
8884 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8885 i[3456789]86*)
8886 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
8887 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8888 mingw32-gcc" ;;
8889 x86_64)
8890 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
8891 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8893 ac_prefix_list="" ;;
8894 esac
8895 for ac_prog in $ac_prefix_list
8897 # Extract the first word of "$ac_prog", so it can be a program name with args.
8898 set dummy $ac_prog; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900 $as_echo_n "checking for $ac_word... " >&6; }
8901 if ${ac_cv_prog_CROSSCC+:} false; then :
8902 $as_echo_n "(cached) " >&6
8903 else
8904 if test -n "$CROSSCC"; then
8905 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8906 else
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 for as_dir in $PATH
8910 IFS=$as_save_IFS
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8914 ac_cv_prog_CROSSCC="$ac_prog"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 break 2
8918 done
8919 done
8920 IFS=$as_save_IFS
8924 CROSSCC=$ac_cv_prog_CROSSCC
8925 if test -n "$CROSSCC"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8927 $as_echo "$CROSSCC" >&6; }
8928 else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8934 test -n "$CROSSCC" && break
8935 done
8936 test -n "$CROSSCC" || CROSSCC="false"
8938 if test "$CROSSCC" != "false"
8939 then
8940 ac_save_CC="$CC"
8941 CC="$CROSSCC"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8943 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8948 main ()
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_compile "$LINENO"; then :
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8957 $as_echo "yes" >&6; }
8958 set x $CROSSCC
8959 shift
8960 while test $# -ge 1
8962 case "$1" in
8963 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8964 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8965 esac
8966 shift
8967 done
8968 else
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8973 CC="$ac_save_CC"
8978 if test "$ac_cv_header_pthread_h" = "yes"
8979 then
8980 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8981 if test "x$ac_cv_func_pthread_create" = xyes; then :
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8985 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8986 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 ac_check_lib_save_LIBS=$LIBS
8990 LIBS="-lpthread $LIBS"
8991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
8994 /* Override any GCC internal prototype to avoid an error.
8995 Use char because int might match the return type of a GCC
8996 builtin and then its argument prototype would still apply. */
8997 #ifdef __cplusplus
8998 extern "C"
8999 #endif
9000 char pthread_create ();
9002 main ()
9004 return pthread_create ();
9006 return 0;
9008 _ACEOF
9009 if ac_fn_c_try_link "$LINENO"; then :
9010 ac_cv_lib_pthread_pthread_create=yes
9011 else
9012 ac_cv_lib_pthread_pthread_create=no
9014 rm -f core conftest.err conftest.$ac_objext \
9015 conftest$ac_exeext conftest.$ac_ext
9016 LIBS=$ac_check_lib_save_LIBS
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9019 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9020 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9021 PTHREAD_LIBS="-lpthread"
9028 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9029 case "x$with_pthread" in
9030 xno) ;;
9031 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9032 Wine cannot support threads without libpthread.
9033 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9034 esac
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9040 $as_echo_n "checking for X... " >&6; }
9043 # Check whether --with-x was given.
9044 if test "${with_x+set}" = set; then :
9045 withval=$with_x;
9048 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9049 if test "x$with_x" = xno; then
9050 # The user explicitly disabled X.
9051 have_x=disabled
9052 else
9053 case $x_includes,$x_libraries in #(
9054 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9055 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9056 $as_echo_n "(cached) " >&6
9057 else
9058 # One or both of the vars are not set, and there is no cached value.
9059 ac_x_includes=no ac_x_libraries=no
9060 rm -f -r conftest.dir
9061 if mkdir conftest.dir; then
9062 cd conftest.dir
9063 cat >Imakefile <<'_ACEOF'
9064 incroot:
9065 @echo incroot='${INCROOT}'
9066 usrlibdir:
9067 @echo usrlibdir='${USRLIBDIR}'
9068 libdir:
9069 @echo libdir='${LIBDIR}'
9070 _ACEOF
9071 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9072 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9073 for ac_var in incroot usrlibdir libdir; do
9074 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9075 done
9076 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9077 for ac_extension in a so sl dylib la dll; do
9078 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9079 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9080 ac_im_usrlibdir=$ac_im_libdir; break
9082 done
9083 # Screen out bogus values from the imake configuration. They are
9084 # bogus both because they are the default anyway, and because
9085 # using them would break gcc on systems where it needs fixed includes.
9086 case $ac_im_incroot in
9087 /usr/include) ac_x_includes= ;;
9088 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9089 esac
9090 case $ac_im_usrlibdir in
9091 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9092 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9093 esac
9095 cd ..
9096 rm -f -r conftest.dir
9099 # Standard set of common directories for X headers.
9100 # Check X11 before X11Rn because it is often a symlink to the current release.
9101 ac_x_header_dirs='
9102 /usr/X11/include
9103 /usr/X11R7/include
9104 /usr/X11R6/include
9105 /usr/X11R5/include
9106 /usr/X11R4/include
9108 /usr/include/X11
9109 /usr/include/X11R7
9110 /usr/include/X11R6
9111 /usr/include/X11R5
9112 /usr/include/X11R4
9114 /usr/local/X11/include
9115 /usr/local/X11R7/include
9116 /usr/local/X11R6/include
9117 /usr/local/X11R5/include
9118 /usr/local/X11R4/include
9120 /usr/local/include/X11
9121 /usr/local/include/X11R7
9122 /usr/local/include/X11R6
9123 /usr/local/include/X11R5
9124 /usr/local/include/X11R4
9126 /usr/X386/include
9127 /usr/x386/include
9128 /usr/XFree86/include/X11
9130 /usr/include
9131 /usr/local/include
9132 /usr/unsupported/include
9133 /usr/athena/include
9134 /usr/local/x11r5/include
9135 /usr/lpp/Xamples/include
9137 /usr/openwin/include
9138 /usr/openwin/share/include'
9140 if test "$ac_x_includes" = no; then
9141 # Guess where to find include files, by looking for Xlib.h.
9142 # First, try using that file with no special directory specified.
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 #include <X11/Xlib.h>
9146 _ACEOF
9147 if ac_fn_c_try_cpp "$LINENO"; then :
9148 # We can compile using X headers with no special include directory.
9149 ac_x_includes=
9150 else
9151 for ac_dir in $ac_x_header_dirs; do
9152 if test -r "$ac_dir/X11/Xlib.h"; then
9153 ac_x_includes=$ac_dir
9154 break
9156 done
9158 rm -f conftest.err conftest.i conftest.$ac_ext
9159 fi # $ac_x_includes = no
9161 if test "$ac_x_libraries" = no; then
9162 # Check for the libraries.
9163 # See if we find them without any special options.
9164 # Don't add to $LIBS permanently.
9165 ac_save_LIBS=$LIBS
9166 LIBS="-lX11 $LIBS"
9167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9169 #include <X11/Xlib.h>
9171 main ()
9173 XrmInitialize ()
9175 return 0;
9177 _ACEOF
9178 if ac_fn_c_try_link "$LINENO"; then :
9179 LIBS=$ac_save_LIBS
9180 # We can link X programs with no special library path.
9181 ac_x_libraries=
9182 else
9183 LIBS=$ac_save_LIBS
9184 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9186 # Don't even attempt the hair of trying to link an X program!
9187 for ac_extension in a so sl dylib la dll; do
9188 if test -r "$ac_dir/libX11.$ac_extension"; then
9189 ac_x_libraries=$ac_dir
9190 break 2
9192 done
9193 done
9195 rm -f core conftest.err conftest.$ac_objext \
9196 conftest$ac_exeext conftest.$ac_ext
9197 fi # $ac_x_libraries = no
9199 case $ac_x_includes,$ac_x_libraries in #(
9200 no,* | *,no | *\'*)
9201 # Didn't find X, or a directory has "'" in its name.
9202 ac_cv_have_x="have_x=no";; #(
9204 # Record where we found X for the cache.
9205 ac_cv_have_x="have_x=yes\
9206 ac_x_includes='$ac_x_includes'\
9207 ac_x_libraries='$ac_x_libraries'"
9208 esac
9210 ;; #(
9211 *) have_x=yes;;
9212 esac
9213 eval "$ac_cv_have_x"
9214 fi # $with_x != no
9216 if test "$have_x" != yes; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9218 $as_echo "$have_x" >&6; }
9219 no_x=yes
9220 else
9221 # If each of the values was on the command line, it overrides each guess.
9222 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9223 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9224 # Update the cache value to reflect the command line values.
9225 ac_cv_have_x="have_x=yes\
9226 ac_x_includes='$x_includes'\
9227 ac_x_libraries='$x_libraries'"
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9229 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9232 if test "$no_x" = yes; then
9233 # Not all programs may use this symbol, but it does not hurt to define it.
9235 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9237 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9238 else
9239 if test -n "$x_includes"; then
9240 X_CFLAGS="$X_CFLAGS -I$x_includes"
9243 # It would also be nice to do this for all -L options, not just this one.
9244 if test -n "$x_libraries"; then
9245 X_LIBS="$X_LIBS -L$x_libraries"
9246 # For Solaris; some versions of Sun CC require a space after -R and
9247 # others require no space. Words are not sufficient . . . .
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9249 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9250 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9251 ac_xsave_c_werror_flag=$ac_c_werror_flag
9252 ac_c_werror_flag=yes
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9257 main ()
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9266 $as_echo "no" >&6; }
9267 X_LIBS="$X_LIBS -R$x_libraries"
9268 else
9269 LIBS="$ac_xsave_LIBS -R $x_libraries"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9274 main ()
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9283 $as_echo "yes" >&6; }
9284 X_LIBS="$X_LIBS -R $x_libraries"
9285 else
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9287 $as_echo "neither works" >&6; }
9289 rm -f core conftest.err conftest.$ac_objext \
9290 conftest$ac_exeext conftest.$ac_ext
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 ac_c_werror_flag=$ac_xsave_c_werror_flag
9295 LIBS=$ac_xsave_LIBS
9298 # Check for system-dependent libraries X programs must link with.
9299 # Do this before checking for the system-independent R6 libraries
9300 # (-lICE), since we may need -lsocket or whatever for X linking.
9302 if test "$ISC" = yes; then
9303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9304 else
9305 # Martyn Johnson says this is needed for Ultrix, if the X
9306 # libraries were built with DECnet support. And Karl Berry says
9307 # the Alpha needs dnet_stub (dnet does not exist).
9308 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9315 #ifdef __cplusplus
9316 extern "C"
9317 #endif
9318 char XOpenDisplay ();
9320 main ()
9322 return XOpenDisplay ();
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9329 else
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9331 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9332 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_check_lib_save_LIBS=$LIBS
9336 LIBS="-ldnet $LIBS"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9343 #ifdef __cplusplus
9344 extern "C"
9345 #endif
9346 char dnet_ntoa ();
9348 main ()
9350 return dnet_ntoa ();
9352 return 0;
9354 _ACEOF
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 ac_cv_lib_dnet_dnet_ntoa=yes
9357 else
9358 ac_cv_lib_dnet_dnet_ntoa=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_lib_save_LIBS
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9365 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9366 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9367 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9370 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9372 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9373 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_check_lib_save_LIBS=$LIBS
9377 LIBS="-ldnet_stub $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char dnet_ntoa ();
9389 main ()
9391 return dnet_ntoa ();
9393 return 0;
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9398 else
9399 ac_cv_lib_dnet_stub_dnet_ntoa=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_lib_save_LIBS
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9406 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9407 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS="$ac_xsave_LIBS"
9417 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9418 # to get the SysV transport functions.
9419 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9420 # needs -lnsl.
9421 # The nsl library prevents programs from opening the X display
9422 # on Irix 5.2, according to T.E. Dickey.
9423 # The functions gethostbyname, getservbyname, and inet_addr are
9424 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9425 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9426 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9430 if test $ac_cv_func_gethostbyname = no; then
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9432 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9433 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9434 $as_echo_n "(cached) " >&6
9435 else
9436 ac_check_lib_save_LIBS=$LIBS
9437 LIBS="-lnsl $LIBS"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9444 #ifdef __cplusplus
9445 extern "C"
9446 #endif
9447 char gethostbyname ();
9449 main ()
9451 return gethostbyname ();
9453 return 0;
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9457 ac_cv_lib_nsl_gethostbyname=yes
9458 else
9459 ac_cv_lib_nsl_gethostbyname=no
9461 rm -f core conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_lib_save_LIBS
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9466 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9467 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9468 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9471 if test $ac_cv_lib_nsl_gethostbyname = no; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9473 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9474 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_check_lib_save_LIBS=$LIBS
9478 LIBS="-lbsd $LIBS"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9485 #ifdef __cplusplus
9486 extern "C"
9487 #endif
9488 char gethostbyname ();
9490 main ()
9492 return gethostbyname ();
9494 return 0;
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_lib_bsd_gethostbyname=yes
9499 else
9500 ac_cv_lib_bsd_gethostbyname=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 LIBS=$ac_check_lib_save_LIBS
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9507 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9508 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9509 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9515 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9516 # socket/setsockopt and other routines are undefined under SCO ODT
9517 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9518 # on later versions), says Simon Leinen: it contains gethostby*
9519 # variants that don't use the name server (or something). -lsocket
9520 # must be given before -lnsl if both are needed. We assume that
9521 # if connect needs -lnsl, so does gethostbyname.
9522 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9523 if test "x$ac_cv_func_connect" = xyes; then :
9527 if test $ac_cv_func_connect = no; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9529 $as_echo_n "checking for connect in -lsocket... " >&6; }
9530 if ${ac_cv_lib_socket_connect+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_lib_save_LIBS=$LIBS
9534 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char connect ();
9546 main ()
9548 return connect ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 ac_cv_lib_socket_connect=yes
9555 else
9556 ac_cv_lib_socket_connect=no
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9563 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9564 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9565 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9570 # Guillermo Gomez says -lposix is necessary on A/UX.
9571 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9572 if test "x$ac_cv_func_remove" = xyes; then :
9576 if test $ac_cv_func_remove = no; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9578 $as_echo_n "checking for remove in -lposix... " >&6; }
9579 if ${ac_cv_lib_posix_remove+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lposix $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char remove ();
9595 main ()
9597 return remove ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_posix_remove=yes
9604 else
9605 ac_cv_lib_posix_remove=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9612 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9613 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9619 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9620 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9621 if test "x$ac_cv_func_shmat" = xyes; then :
9625 if test $ac_cv_func_shmat = no; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9627 $as_echo_n "checking for shmat in -lipc... " >&6; }
9628 if ${ac_cv_lib_ipc_shmat+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_check_lib_save_LIBS=$LIBS
9632 LIBS="-lipc $LIBS"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9639 #ifdef __cplusplus
9640 extern "C"
9641 #endif
9642 char shmat ();
9644 main ()
9646 return shmat ();
9648 return 0;
9650 _ACEOF
9651 if ac_fn_c_try_link "$LINENO"; then :
9652 ac_cv_lib_ipc_shmat=yes
9653 else
9654 ac_cv_lib_ipc_shmat=no
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 LIBS=$ac_check_lib_save_LIBS
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9661 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9662 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9669 # Check for libraries that X11R6 Xt/Xaw programs need.
9670 ac_save_LDFLAGS=$LDFLAGS
9671 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9672 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9673 # check for ICE first), but we must link in the order -lSM -lICE or
9674 # we get undefined symbols. So assume we have SM if we have ICE.
9675 # These have to be linked with before -lX11, unlike the other
9676 # libraries we check for below, so use a different variable.
9677 # John Interrante, Karl Berry
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9679 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9680 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 ac_check_lib_save_LIBS=$LIBS
9684 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char IceConnectionNumber ();
9696 main ()
9698 return IceConnectionNumber ();
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 ac_cv_lib_ICE_IceConnectionNumber=yes
9705 else
9706 ac_cv_lib_ICE_IceConnectionNumber=no
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9713 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9714 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9715 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9718 LDFLAGS=$ac_save_LDFLAGS
9723 if test "$have_x" = "yes"
9724 then
9725 ac_save_CPPFLAGS="$CPPFLAGS"
9726 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9729 $as_echo_n "checking for -lX11... " >&6; }
9730 if ${ac_cv_lib_soname_X11+:} false; then :
9731 $as_echo_n "(cached) " >&6
9732 else
9733 ac_check_soname_save_LIBS=$LIBS
9734 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char XCreateWindow ();
9746 main ()
9748 return XCreateWindow ();
9750 return 0;
9752 _ACEOF
9753 if ac_fn_c_try_link "$LINENO"; then :
9754 case "$LIBEXT" in
9755 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9758 if ${ac_cv_lib_soname_X11:+false} :; then :
9759 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9760 fi ;;
9761 esac
9763 rm -f core conftest.err conftest.$ac_objext \
9764 conftest$ac_exeext conftest.$ac_ext
9765 LIBS=$ac_check_soname_save_LIBS
9767 if ${ac_cv_lib_soname_X11:+false} :; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9769 $as_echo "not found" >&6; }
9771 else
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9773 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9775 cat >>confdefs.h <<_ACEOF
9776 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9777 _ACEOF
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9782 $as_echo_n "checking for -lXext... " >&6; }
9783 if ${ac_cv_lib_soname_Xext+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_check_soname_save_LIBS=$LIBS
9787 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9791 /* Override any GCC internal prototype to avoid an error.
9792 Use char because int might match the return type of a GCC
9793 builtin and then its argument prototype would still apply. */
9794 #ifdef __cplusplus
9795 extern "C"
9796 #endif
9797 char XextCreateExtension ();
9799 main ()
9801 return XextCreateExtension ();
9803 return 0;
9805 _ACEOF
9806 if ac_fn_c_try_link "$LINENO"; then :
9807 case "$LIBEXT" in
9808 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9809 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'` ;;
9810 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9811 if ${ac_cv_lib_soname_Xext:+false} :; then :
9812 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9813 fi ;;
9814 esac
9816 rm -f core conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 LIBS=$ac_check_soname_save_LIBS
9820 if ${ac_cv_lib_soname_Xext:+false} :; then :
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9822 $as_echo "not found" >&6; }
9824 else
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9826 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9828 cat >>confdefs.h <<_ACEOF
9829 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9830 _ACEOF
9832 X_LIBS="$X_LIBS -lXext"
9834 X_LIBS="$X_LIBS -lX11"
9836 for ac_header in X11/Xlib.h \
9837 X11/XKBlib.h \
9838 X11/Xutil.h \
9839 X11/Xcursor/Xcursor.h \
9840 X11/extensions/shape.h \
9841 X11/extensions/XInput.h \
9842 X11/extensions/XInput2.h \
9843 X11/extensions/XShm.h \
9844 X11/extensions/Xcomposite.h \
9845 X11/extensions/Xinerama.h \
9846 X11/extensions/Xrandr.h \
9847 X11/extensions/Xrender.h \
9848 X11/extensions/xf86vmode.h \
9849 X11/extensions/xf86vmproto.h
9850 do :
9851 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9853 # include <X11/Xlib.h>
9854 #endif
9855 #ifdef HAVE_X11_XUTIL_H
9856 # include <X11/Xutil.h>
9857 #endif
9859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9860 cat >>confdefs.h <<_ACEOF
9861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9862 _ACEOF
9866 done
9869 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9870 then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9872 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9873 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_check_lib_save_LIBS=$LIBS
9877 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9884 #ifdef __cplusplus
9885 extern "C"
9886 #endif
9887 char XkbQueryExtension ();
9889 main ()
9891 return XkbQueryExtension ();
9893 return 0;
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_lib_X11_XkbQueryExtension=yes
9898 else
9899 ac_cv_lib_X11_XkbQueryExtension=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9906 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9907 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9909 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9915 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9916 then
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9918 $as_echo_n "checking for -lXcursor... " >&6; }
9919 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_check_soname_save_LIBS=$LIBS
9923 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9930 #ifdef __cplusplus
9931 extern "C"
9932 #endif
9933 char XcursorImageLoadCursor ();
9935 main ()
9937 return XcursorImageLoadCursor ();
9939 return 0;
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 case "$LIBEXT" in
9944 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9945 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'` ;;
9946 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9947 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9948 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9949 fi ;;
9950 esac
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_soname_save_LIBS
9956 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9958 $as_echo "not found" >&6; }
9960 else
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9962 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9964 cat >>confdefs.h <<_ACEOF
9965 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9966 _ACEOF
9971 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9972 case "x$with_xcursor" in
9973 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9974 xno) ;;
9975 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9976 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9977 esac
9981 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9982 then
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9984 $as_echo_n "checking for -lXi... " >&6; }
9985 if ${ac_cv_lib_soname_Xi+:} false; then :
9986 $as_echo_n "(cached) " >&6
9987 else
9988 ac_check_soname_save_LIBS=$LIBS
9989 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 #ifdef __cplusplus
9997 extern "C"
9998 #endif
9999 char XOpenDevice ();
10001 main ()
10003 return XOpenDevice ();
10005 return 0;
10007 _ACEOF
10008 if ac_fn_c_try_link "$LINENO"; then :
10009 case "$LIBEXT" in
10010 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10011 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'` ;;
10012 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10013 if ${ac_cv_lib_soname_Xi:+false} :; then :
10014 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10015 fi ;;
10016 esac
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 LIBS=$ac_check_soname_save_LIBS
10022 if ${ac_cv_lib_soname_Xi:+false} :; then :
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10024 $as_echo "not found" >&6; }
10026 else
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10028 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10030 cat >>confdefs.h <<_ACEOF
10031 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10032 _ACEOF
10037 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10038 case "x$with_xinput" in
10039 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10040 xno) ;;
10041 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10042 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10043 esac
10047 if test "x$ac_cv_lib_soname_Xi" != x
10048 then
10049 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10050 case "x$with_xinput2" in
10051 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10054 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10055 esac
10060 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10061 then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10063 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10064 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XShmQueryExtension ();
10080 main ()
10082 return XShmQueryExtension ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_Xext_XShmQueryExtension=yes
10089 else
10090 ac_cv_lib_Xext_XShmQueryExtension=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10097 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10098 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10100 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10105 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10106 case "x$with_xshm" in
10107 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10108 xno) ;;
10109 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10110 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10111 esac
10115 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10116 then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10118 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10119 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_lib_save_LIBS=$LIBS
10123 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XShapeQueryExtension ();
10135 main ()
10137 return XShapeQueryExtension ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 ac_cv_lib_Xext_XShapeQueryExtension=yes
10144 else
10145 ac_cv_lib_Xext_XShapeQueryExtension=no
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10152 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10153 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10155 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10160 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10161 case "x$with_xshape" in
10162 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10163 xno) ;;
10164 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10165 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10166 esac
10170 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10171 then
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10173 $as_echo_n "checking for -lXxf86vm... " >&6; }
10174 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_check_soname_save_LIBS=$LIBS
10178 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10182 /* Override any GCC internal prototype to avoid an error.
10183 Use char because int might match the return type of a GCC
10184 builtin and then its argument prototype would still apply. */
10185 #ifdef __cplusplus
10186 extern "C"
10187 #endif
10188 char XF86VidModeQueryExtension ();
10190 main ()
10192 return XF86VidModeQueryExtension ();
10194 return 0;
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 case "$LIBEXT" in
10199 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10200 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'` ;;
10201 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10202 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10203 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10204 fi ;;
10205 esac
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_soname_save_LIBS
10211 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10213 $as_echo "not found" >&6; }
10215 else
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10217 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10219 cat >>confdefs.h <<_ACEOF
10220 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10221 _ACEOF
10226 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10227 case "x$with_xxf86vm" in
10228 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10229 xno) ;;
10230 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10231 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10232 esac
10236 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10237 then
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10239 $as_echo_n "checking for -lXrender... " >&6; }
10240 if ${ac_cv_lib_soname_Xrender+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_soname_save_LIBS=$LIBS
10244 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char XRenderQueryExtension ();
10256 main ()
10258 return XRenderQueryExtension ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 case "$LIBEXT" in
10265 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10269 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10281 else
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10283 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10285 cat >>confdefs.h <<_ACEOF
10286 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10287 _ACEOF
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10290 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10291 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_check_lib_save_LIBS=$LIBS
10295 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10302 #ifdef __cplusplus
10303 extern "C"
10304 #endif
10305 char XRenderSetPictureTransform ();
10307 main ()
10309 return XRenderSetPictureTransform ();
10311 return 0;
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10316 else
10317 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 LIBS=$ac_check_lib_save_LIBS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10324 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10325 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10327 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10332 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10333 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_check_lib_save_LIBS=$LIBS
10337 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10341 /* Override any GCC internal prototype to avoid an error.
10342 Use char because int might match the return type of a GCC
10343 builtin and then its argument prototype would still apply. */
10344 #ifdef __cplusplus
10345 extern "C"
10346 #endif
10347 char XRenderCreateLinearGradient ();
10349 main ()
10351 return XRenderCreateLinearGradient ();
10353 return 0;
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10358 else
10359 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 LIBS=$ac_check_lib_save_LIBS
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10366 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10367 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10369 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10376 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10377 case "x$with_xrender" in
10378 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10379 xno) ;;
10380 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10381 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10382 esac
10386 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10387 then
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 #include <X11/Xlib.h>
10391 #include <X11/extensions/Xrandr.h>
10393 main ()
10395 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_compile "$LINENO"; then :
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10402 $as_echo_n "checking for -lXrandr... " >&6; }
10403 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_check_soname_save_LIBS=$LIBS
10407 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char XRRQueryExtension ();
10419 main ()
10421 return XRRQueryExtension ();
10423 return 0;
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 case "$LIBEXT" in
10428 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10431 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10432 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10433 fi ;;
10434 esac
10436 rm -f core conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_soname_save_LIBS
10440 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10442 $as_echo "not found" >&6; }
10444 else
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10446 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10448 cat >>confdefs.h <<_ACEOF
10449 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10450 _ACEOF
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454 #include <X11/Xlib.h>
10455 #include <X11/extensions/Xrandr.h>
10457 main ()
10459 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10461 return 0;
10463 _ACEOF
10464 if ac_fn_c_try_compile "$LINENO"; then :
10466 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10474 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10475 case "x$with_xrandr" in
10476 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10477 xno) ;;
10478 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10479 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10480 esac
10484 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10485 then
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10488 #include <X11/Xlib.h>
10489 #include <X11/extensions/Xinerama.h>
10491 main ()
10493 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10495 return 0;
10497 _ACEOF
10498 if ac_fn_c_try_compile "$LINENO"; then :
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10500 $as_echo_n "checking for -lXinerama... " >&6; }
10501 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_check_soname_save_LIBS=$LIBS
10505 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char XineramaQueryScreens ();
10517 main ()
10519 return XineramaQueryScreens ();
10521 return 0;
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 case "$LIBEXT" in
10526 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10527 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'` ;;
10528 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10529 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10530 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10531 fi ;;
10532 esac
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 LIBS=$ac_check_soname_save_LIBS
10538 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10540 $as_echo "not found" >&6; }
10542 else
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10544 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10546 cat >>confdefs.h <<_ACEOF
10547 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10548 _ACEOF
10553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10555 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10556 case "x$with_xinerama" in
10557 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10558 xno) ;;
10559 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10560 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10561 esac
10565 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10566 then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10568 $as_echo_n "checking for -lXcomposite... " >&6; }
10569 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_check_soname_save_LIBS=$LIBS
10573 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 char XCompositeRedirectWindow ();
10585 main ()
10587 return XCompositeRedirectWindow ();
10589 return 0;
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 case "$LIBEXT" in
10594 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10595 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'` ;;
10596 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10597 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10598 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10599 fi ;;
10600 esac
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_soname_save_LIBS
10606 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10608 $as_echo "not found" >&6; }
10610 else
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10612 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10614 cat >>confdefs.h <<_ACEOF
10615 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10616 _ACEOF
10621 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10622 case "x$with_xcomposite" in
10623 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10624 xno) ;;
10625 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10626 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10627 esac
10631 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10632 #include <X11/Xlib.h>
10633 #endif
10635 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10637 cat >>confdefs.h <<_ACEOF
10638 #define HAVE_XICCALLBACK_CALLBACK 1
10639 _ACEOF
10643 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10644 #include <X11/Xlib.h>
10645 #endif
10647 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_XEVENT_XCOOKIE 1
10651 _ACEOF
10658 opengl_msg=""
10659 if test "x$with_opengl" != "xno"
10660 then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10662 $as_echo_n "checking for -lGL... " >&6; }
10663 if ${ac_cv_lib_soname_GL+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_check_soname_save_LIBS=$LIBS
10667 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char glXCreateContext ();
10679 main ()
10681 return glXCreateContext ();
10683 return 0;
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687 case "$LIBEXT" in
10688 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10689 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'` ;;
10690 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10691 if ${ac_cv_lib_soname_GL:+false} :; then :
10692 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10693 fi ;;
10694 esac
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_soname_save_LIBS
10700 if ${ac_cv_lib_soname_GL:+false} :; then :
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10702 $as_echo "not found" >&6; }
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10704 $as_echo_n "checking for -lGL... " >&6; }
10705 if ${ac_cv_lib_soname_GL+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_soname_save_LIBS=$LIBS
10709 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char glXCreateContext ();
10721 main ()
10723 return glXCreateContext ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 case "$LIBEXT" in
10730 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10731 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10732 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10733 if ${ac_cv_lib_soname_GL:+false} :; then :
10734 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10735 fi ;;
10736 esac
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_soname_save_LIBS
10742 if ${ac_cv_lib_soname_GL:+false} :; then :
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10744 $as_echo "not found" >&6; }
10745 if test -f /usr/X11R6/lib/libGL.a
10746 then
10747 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10748 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10749 else
10750 opengl_msg="No OpenGL library found on this system."
10752 else
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10754 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10756 cat >>confdefs.h <<_ACEOF
10757 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10758 _ACEOF
10760 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"
10762 else
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10764 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10766 cat >>confdefs.h <<_ACEOF
10767 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10768 _ACEOF
10770 OPENGL_LIBS="-lGL"
10772 if test "x$with_glu" != "xno"
10773 then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10775 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10776 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10777 $as_echo_n "(cached) " >&6
10778 else
10779 ac_check_lib_save_LIBS=$LIBS
10780 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 char gluLookAt ();
10792 main ()
10794 return gluLookAt ();
10796 return 0;
10798 _ACEOF
10799 if ac_fn_c_try_link "$LINENO"; then :
10800 ac_cv_lib_GLU_gluLookAt=yes
10801 else
10802 ac_cv_lib_GLU_gluLookAt=no
10804 rm -f core conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10809 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10810 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10814 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10815 case "x$with_glu" in
10816 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10817 xno) ;;
10818 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10819 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10820 esac
10825 if test "x$with_osmesa" != "xno"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10828 $as_echo_n "checking for -lOSMesa... " >&6; }
10829 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_soname_save_LIBS=$LIBS
10833 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char glAccum ();
10845 main ()
10847 return glAccum ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 case "$LIBEXT" in
10854 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10855 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'` ;;
10856 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10857 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10858 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10859 fi ;;
10860 esac
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_soname_save_LIBS
10866 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10868 $as_echo "not found" >&6; }
10870 else
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10872 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10874 cat >>confdefs.h <<_ACEOF
10875 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10876 _ACEOF
10880 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10881 case "x$with_osmesa" in
10882 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10883 xno) ;;
10884 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10885 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10886 esac
10891 if test -n "$opengl_msg"; then :
10892 case "x$with_opengl" in
10893 x) as_fn_append wine_warnings "|$opengl_msg
10894 OpenGL and Direct3D won't be supported." ;;
10895 xno) ;;
10896 *) as_fn_error $? "$opengl_msg
10897 OpenGL and Direct3D won't be supported.
10898 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10899 esac
10903 CPPFLAGS="$ac_save_CPPFLAGS"
10904 else
10905 X_CFLAGS=""
10906 X_LIBS=""
10908 if test "x$X_LIBS" = "x"; then :
10909 case "x$with_x" in
10910 xno) ;;
10911 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10912 without X support, which probably isn't what you want. You will need
10913 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10914 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10915 esac
10916 enable_winex11_drv=${enable_winex11_drv:-no}
10919 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10921 if test "$ac_cv_header_CL_cl_h" = "yes"
10922 then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10924 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10925 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10926 $as_echo_n "(cached) " >&6
10927 else
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-lOpenCL $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char clGetPlatformInfo ();
10941 main ()
10943 return clGetPlatformInfo ();
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10950 else
10951 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10958 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10959 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10960 OPENCL_LIBS="-lOpenCL"
10965 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10966 case "x$with_opencl" in
10967 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10968 xno) ;;
10969 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10970 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10971 esac
10972 enable_opencl=${enable_opencl:-no}
10975 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10976 then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10978 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10979 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10980 $as_echo_n "(cached) " >&6
10981 else
10982 ac_check_lib_save_LIBS=$LIBS
10983 LIBS="-lpcap $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10990 #ifdef __cplusplus
10991 extern "C"
10992 #endif
10993 char pcap_create ();
10995 main ()
10997 return pcap_create ();
10999 return 0;
11001 _ACEOF
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 ac_cv_lib_pcap_pcap_create=yes
11004 else
11005 ac_cv_lib_pcap_pcap_create=no
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_lib_save_LIBS
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11012 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11013 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11014 PCAP_LIBS="-lpcap"
11019 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11020 case "x$with_pcap" in
11021 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11022 xno) ;;
11023 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11024 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11025 esac
11026 enable_wpcap=${enable_wpcap:-no}
11030 if test "x$with_xml" != "xno"
11031 then
11032 if ${XML2_CFLAGS:+false} :; then :
11033 if ${PKG_CONFIG+:} false; then :
11034 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11037 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11038 if ${XML2_LIBS:+false} :; then :
11039 if ${PKG_CONFIG+:} false; then :
11040 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11043 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11044 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11045 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11047 ac_save_CPPFLAGS=$CPPFLAGS
11048 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11049 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11050 do :
11051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11052 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11054 cat >>confdefs.h <<_ACEOF
11055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11056 _ACEOF
11060 done
11062 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"
11063 then
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11065 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11066 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-lxml2 $XML2_LIBS $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char xmlParseMemory ();
11082 main ()
11084 return xmlParseMemory ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11090 ac_cv_lib_xml2_xmlParseMemory=yes
11091 else
11092 ac_cv_lib_xml2_xmlParseMemory=no
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11099 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11100 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11102 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11104 else
11105 XML2_LIBS=""
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11109 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11110 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_lib_save_LIBS=$LIBS
11114 LIBS="-lxml2 $XML2_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char xmlReadMemory ();
11126 main ()
11128 return xmlReadMemory ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_xml2_xmlReadMemory=yes
11135 else
11136 ac_cv_lib_xml2_xmlReadMemory=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11143 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11144 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11146 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11151 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11152 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 ac_check_lib_save_LIBS=$LIBS
11156 LIBS="-lxml2 $XML2_LIBS $LIBS"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11160 /* Override any GCC internal prototype to avoid an error.
11161 Use char because int might match the return type of a GCC
11162 builtin and then its argument prototype would still apply. */
11163 #ifdef __cplusplus
11164 extern "C"
11165 #endif
11166 char xmlNewDocPI ();
11168 main ()
11170 return xmlNewDocPI ();
11172 return 0;
11174 _ACEOF
11175 if ac_fn_c_try_link "$LINENO"; then :
11176 ac_cv_lib_xml2_xmlNewDocPI=yes
11177 else
11178 ac_cv_lib_xml2_xmlNewDocPI=no
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_lib_save_LIBS
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11185 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11186 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11188 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11193 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11194 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11195 $as_echo_n "(cached) " >&6
11196 else
11197 ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-lxml2 $XML2_LIBS $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11202 /* Override any GCC internal prototype to avoid an error.
11203 Use char because int might match the return type of a GCC
11204 builtin and then its argument prototype would still apply. */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char xmlSchemaSetParserStructuredErrors ();
11210 main ()
11212 return xmlSchemaSetParserStructuredErrors ();
11214 return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11219 else
11220 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223 conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11227 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11228 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11230 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11235 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11236 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11237 $as_echo_n "(cached) " >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lxml2 $XML2_LIBS $LIBS"
11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11247 #ifdef __cplusplus
11248 extern "C"
11249 #endif
11250 char xmlSchemaSetValidStructuredErrors ();
11252 main ()
11254 return xmlSchemaSetValidStructuredErrors ();
11256 return 0;
11258 _ACEOF
11259 if ac_fn_c_try_link "$LINENO"; then :
11260 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11261 else
11262 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11269 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11270 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11272 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11277 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11278 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11279 $as_echo_n "(cached) " >&6
11280 else
11281 ac_check_lib_save_LIBS=$LIBS
11282 LIBS="-lxml2 $XML2_LIBS $LIBS"
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char xmlFirstElementChild ();
11294 main ()
11296 return xmlFirstElementChild ();
11298 return 0;
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_xml2_xmlFirstElementChild=yes
11303 else
11304 ac_cv_lib_xml2_xmlFirstElementChild=no
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11311 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11312 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11314 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11318 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11320 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11322 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11326 else
11327 XML2_CFLAGS=""
11328 XML2_LIBS=""
11330 CPPFLAGS=$ac_save_CPPFLAGS
11331 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11332 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11335 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11336 case "x$with_xml" in
11337 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11338 xno) ;;
11339 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11340 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11341 esac
11345 if test "x$with_xslt" != "xno"
11346 then
11347 if ${XSLT_CFLAGS:+false} :; then :
11348 if ${PKG_CONFIG+:} false; then :
11349 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11352 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11353 if ${XSLT_LIBS:+false} :; then :
11354 if ${PKG_CONFIG+:} false; then :
11355 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11358 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11359 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11360 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11361 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11362 ac_save_CPPFLAGS=$CPPFLAGS
11363 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11364 for ac_header in libxslt/pattern.h libxslt/transform.h
11365 do :
11366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11368 # include <libxslt/pattern.h>
11369 #endif
11371 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11372 cat >>confdefs.h <<_ACEOF
11373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11374 _ACEOF
11378 done
11380 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11381 then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11383 $as_echo_n "checking for -lxslt... " >&6; }
11384 if ${ac_cv_lib_soname_xslt+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lxslt $XSLT_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char xsltCompilePattern ();
11400 main ()
11402 return xsltCompilePattern ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_xslt:+false} :; then :
11413 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_xslt:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11427 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11431 _ACEOF
11435 else
11436 XSLT_CFLAGS=""
11438 CPPFLAGS=$ac_save_CPPFLAGS
11439 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11440 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11443 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11444 case "x$with_xslt" in
11445 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11448 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11449 esac
11453 if test "x$with_dbus" != "xno"
11454 then
11455 if ${DBUS_CFLAGS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11461 if ${DBUS_LIBS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11468 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11469 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11470 ac_save_CPPFLAGS=$CPPFLAGS
11471 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11472 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11473 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11475 $as_echo_n "checking for -ldbus-1... " >&6; }
11476 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char dbus_connection_close ();
11492 main ()
11494 return dbus_connection_close ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'`
11504 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11505 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11516 DBUS_CFLAGS=""
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11519 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11523 _ACEOF
11527 else
11528 DBUS_CFLAGS=""
11532 CPPFLAGS=$ac_save_CPPFLAGS
11533 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11534 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11537 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11538 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11539 case "x$with_dbus" in
11540 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11541 xno) ;;
11542 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11543 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11544 esac
11548 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11549 then
11550 if ${HAL_CFLAGS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11556 if ${HAL_LIBS:+false} :; then :
11557 if ${PKG_CONFIG+:} false; then :
11558 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11562 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11563 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11564 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11565 ac_save_CPPFLAGS=$CPPFLAGS
11566 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11567 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11568 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11570 $as_echo_n "checking for -lhal... " >&6; }
11571 if ${ac_cv_lib_soname_hal+:} false; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-lhal $HAL_LIBS $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char libhal_ctx_new ();
11587 main ()
11589 return libhal_ctx_new ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 case "$LIBEXT" in
11596 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11599 if ${ac_cv_lib_soname_hal:+false} :; then :
11600 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 fi ;;
11602 esac
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_soname_save_LIBS
11608 if ${ac_cv_lib_soname_hal:+false} :; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11610 $as_echo "not found" >&6; }
11611 HAL_CFLAGS=""
11612 else
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11614 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11616 cat >>confdefs.h <<_ACEOF
11617 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11618 _ACEOF
11622 else
11623 HAL_CFLAGS=""
11627 CPPFLAGS=$ac_save_CPPFLAGS
11628 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11629 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11631 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11632 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11633 case "x$with_hal" in
11634 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11635 xno) ;;
11636 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11637 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11638 esac
11643 if test "x$with_gnutls" != "xno"
11644 then
11645 if ${GNUTLS_CFLAGS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11651 if ${GNUTLS_LIBS:+false} :; then :
11652 if ${PKG_CONFIG+:} false; then :
11653 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11658 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11659 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11660 ac_save_CPPFLAGS=$CPPFLAGS
11661 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11662 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11663 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11666 #include <gnutls/gnutls.h>
11667 #include <gnutls/crypto.h>
11669 main ()
11671 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_compile "$LINENO"; then :
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11678 $as_echo_n "checking for -lgnutls... " >&6; }
11679 if ${ac_cv_lib_soname_gnutls+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_soname_save_LIBS=$LIBS
11683 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char gnutls_global_init ();
11695 main ()
11697 return gnutls_global_init ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 case "$LIBEXT" in
11704 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11705 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'` ;;
11706 *) 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'`
11707 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11708 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'`
11709 fi ;;
11710 esac
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11719 GNUTLS_CFLAGS=""
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11722 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11726 _ACEOF
11730 ac_wine_check_funcs_save_LIBS="$LIBS"
11731 LIBS="$LIBS $GNUTLS_LIBS"
11732 for ac_func in gnutls_hash
11733 do :
11734 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11735 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11736 cat >>confdefs.h <<_ACEOF
11737 #define HAVE_GNUTLS_HASH 1
11738 _ACEOF
11740 else
11741 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11743 done
11745 LIBS="$ac_wine_check_funcs_save_LIBS"
11747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11748 else
11749 GNUTLS_CFLAGS=""
11753 CPPFLAGS=$ac_save_CPPFLAGS
11754 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11755 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11758 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11759 case "x$with_gnutls" in
11760 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11761 xno) ;;
11762 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11763 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11764 esac
11768 CURSES_LIBS=""
11769 if test "$ac_cv_header_ncurses_h" = "yes"
11770 then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11772 $as_echo_n "checking for -lncurses... " >&6; }
11773 if ${ac_cv_lib_soname_ncurses+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_soname_save_LIBS=$LIBS
11777 LIBS="-lncurses $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char waddch ();
11789 main ()
11791 return waddch ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 case "$LIBEXT" in
11798 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11799 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'` ;;
11800 *) 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'`
11801 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11802 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11803 fi ;;
11804 esac
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_soname_save_LIBS
11810 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11812 $as_echo "not found" >&6; }
11814 else
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11816 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11818 cat >>confdefs.h <<_ACEOF
11819 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11820 _ACEOF
11822 CURSES_LIBS="-lncurses"
11824 elif test "$ac_cv_header_curses_h" = "yes"
11825 then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11827 $as_echo_n "checking for -lcurses... " >&6; }
11828 if ${ac_cv_lib_soname_curses+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lcurses $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char waddch ();
11844 main ()
11846 return waddch ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_curses:+false} :; then :
11857 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_soname_save_LIBS
11865 if ${ac_cv_lib_soname_curses:+false} :; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11867 $as_echo "not found" >&6; }
11869 else
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11871 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11873 cat >>confdefs.h <<_ACEOF
11874 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11875 _ACEOF
11877 CURSES_LIBS="-lcurses"
11880 ac_save_LIBS="$LIBS"
11881 LIBS="$LIBS $CURSES_LIBS"
11882 for ac_func in mousemask
11883 do :
11884 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11885 if test "x$ac_cv_func_mousemask" = xyes; then :
11886 cat >>confdefs.h <<_ACEOF
11887 #define HAVE_MOUSEMASK 1
11888 _ACEOF
11891 done
11893 LIBS="$ac_save_LIBS"
11894 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11895 case "x$with_curses" in
11896 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11899 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11900 esac
11904 if test "x$with_sane" != "xno"
11905 then
11906 if ${SANE_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11911 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11912 if ${SANE_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11917 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11923 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11924 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11926 $as_echo_n "checking for -lsane... " >&6; }
11927 if ${ac_cv_lib_soname_sane+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_soname_save_LIBS=$LIBS
11931 LIBS="-lsane $SANE_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char sane_init ();
11943 main ()
11945 return sane_init ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 case "$LIBEXT" in
11952 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11955 if ${ac_cv_lib_soname_sane:+false} :; then :
11956 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11957 fi ;;
11958 esac
11960 rm -f core conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_soname_save_LIBS
11964 if ${ac_cv_lib_soname_sane:+false} :; then :
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11966 $as_echo "not found" >&6; }
11967 SANE_CFLAGS=""
11968 else
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11970 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11972 cat >>confdefs.h <<_ACEOF
11973 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11974 _ACEOF
11978 else
11979 SANE_CFLAGS=""
11983 CPPFLAGS=$ac_save_CPPFLAGS
11984 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11985 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11988 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11989 case "x$with_sane" in
11990 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11991 xno) ;;
11992 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11993 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11994 esac
11998 if test "x$with_v4l" != "xno"
11999 then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12001 $as_echo_n "checking for -lv4l1... " >&6; }
12002 if ${ac_cv_lib_soname_v4l1+:} false; then :
12003 $as_echo_n "(cached) " >&6
12004 else
12005 ac_check_soname_save_LIBS=$LIBS
12006 LIBS="-lv4l1 $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 #ifdef __cplusplus
12014 extern "C"
12015 #endif
12016 char v4l1_open ();
12018 main ()
12020 return v4l1_open ();
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_link "$LINENO"; then :
12026 case "$LIBEXT" in
12027 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12028 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'` ;;
12029 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12030 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12031 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12032 fi ;;
12033 esac
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_soname_save_LIBS
12039 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12041 $as_echo "not found" >&6; }
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12045 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12047 cat >>confdefs.h <<_ACEOF
12048 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12049 _ACEOF
12054 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12055 case "x$with_v4l" in
12056 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12059 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "x$with_gphoto" != "xno"
12065 then
12066 if ${GPHOTO2_CFLAGS:+false} :; then :
12067 if ${PKG_CONFIG+:} false; then :
12068 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12071 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12072 if ${GPHOTO2_LIBS:+false} :; then :
12073 if ${PKG_CONFIG+:} false; then :
12074 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12077 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12078 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12079 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12080 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12081 ac_save_CPPFLAGS=$CPPFLAGS
12082 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12083 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12084 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12086 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12087 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12088 $as_echo_n "(cached) " >&6
12089 else
12090 ac_check_lib_save_LIBS=$LIBS
12091 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char gp_camera_new ();
12103 main ()
12105 return gp_camera_new ();
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_link "$LINENO"; then :
12111 ac_cv_lib_gphoto2_gp_camera_new=yes
12112 else
12113 ac_cv_lib_gphoto2_gp_camera_new=no
12115 rm -f core conftest.err conftest.$ac_objext \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12120 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12121 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12123 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12125 else
12126 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12129 else
12130 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12134 CPPFLAGS=$ac_save_CPPFLAGS
12135 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12136 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12138 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12143 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12144 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12149 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12150 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12151 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12152 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12155 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12156 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12158 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12159 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char gp_port_info_list_new ();
12175 main ()
12177 return gp_port_info_list_new ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12184 else
12185 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12192 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12193 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12195 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12197 else
12198 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12201 else
12202 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12206 CPPFLAGS=$ac_save_CPPFLAGS
12207 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12208 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12211 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12212 case "x$with_gphoto" in
12213 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12214 xno) ;;
12215 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12216 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12217 esac
12220 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12221 case "x$with_gphoto" in
12222 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12223 xno) ;;
12224 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12225 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12226 esac
12231 if test "$ac_cv_header_resolv_h" = "yes"
12232 then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12234 $as_echo_n "checking for resolver library... " >&6; }
12235 if ${ac_cv_have_resolv+:} false; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 ac_save_LIBS="$LIBS"
12239 for lib in '' -lresolv
12241 LIBS="$lib $ac_save_LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244 #ifdef HAVE_NETINET_IN_H
12245 #include <netinet/in.h>
12246 #endif
12247 #include <resolv.h>
12249 main ()
12251 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_link "$LINENO"; then :
12257 ac_cv_have_resolv=${lib:-"none required"}
12258 else
12259 ac_cv_have_resolv="not found"
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 test "x$ac_cv_have_resolv" = "xnot found" || break
12264 done
12265 LIBS="$ac_save_LIBS"
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12268 $as_echo "$ac_cv_have_resolv" >&6; }
12270 case "$ac_cv_have_resolv" in
12271 "not found") ;;
12272 "none required")
12274 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12277 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12279 RESOLV_LIBS=$ac_cv_have_resolv
12281 esac
12284 if test "x$with_cms" != "xno"
12285 then
12286 if ${LCMS2_CFLAGS:+false} :; then :
12287 if ${PKG_CONFIG+:} false; then :
12288 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12292 if ${LCMS2_LIBS:+false} :; then :
12293 if ${PKG_CONFIG+:} false; then :
12294 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12298 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12299 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12300 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12301 ac_save_CPPFLAGS=$CPPFLAGS
12302 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12303 for ac_header in lcms2.h
12304 do :
12305 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12306 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define HAVE_LCMS2_H 1
12309 _ACEOF
12313 done
12315 if test "$ac_cv_header_lcms2_h" = "yes"
12316 then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12318 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12319 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_lib_save_LIBS=$LIBS
12323 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char cmsOpenProfileFromFile ();
12335 main ()
12337 return cmsOpenProfileFromFile ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12344 else
12345 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_lib_save_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12352 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12353 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12355 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12357 else
12358 LCMS2_LIBS=""
12361 else
12362 LCMS2_CFLAGS=""
12363 LCMS2_LIBS=""
12365 CPPFLAGS=$ac_save_CPPFLAGS
12366 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12367 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12370 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12371 case "x$with_cms" in
12372 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12373 xno) ;;
12374 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12375 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12376 esac
12380 if test "x$with_freetype" != "xno"
12381 then
12382 if ${FREETYPE_CFLAGS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12387 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12388 if ${FREETYPE_LIBS:+false} :; then :
12389 if ${PKG_CONFIG+:} false; then :
12390 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12393 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12394 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12395 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12397 ac_save_CPPFLAGS=$CPPFLAGS
12398 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12399 for ac_header in ft2build.h
12400 do :
12401 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12402 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12403 cat >>confdefs.h <<_ACEOF
12404 #define HAVE_FT2BUILD_H 1
12405 _ACEOF
12409 done
12411 if test "$ac_cv_header_ft2build_h" = "yes"
12412 then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12414 $as_echo_n "checking for -lfreetype... " >&6; }
12415 if ${ac_cv_lib_soname_freetype+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_soname_save_LIBS=$LIBS
12419 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char FT_Init_FreeType ();
12431 main ()
12433 return FT_Init_FreeType ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 case "$LIBEXT" in
12440 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12441 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'` ;;
12442 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12443 if ${ac_cv_lib_soname_freetype:+false} :; then :
12444 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12445 fi ;;
12446 esac
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_soname_save_LIBS
12452 if ${ac_cv_lib_soname_freetype:+false} :; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12454 $as_echo "not found" >&6; }
12455 FREETYPE_LIBS=""
12456 else
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12458 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12460 cat >>confdefs.h <<_ACEOF
12461 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12462 _ACEOF
12465 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12467 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12468 #include FT_MODULE_H
12470 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12472 cat >>confdefs.h <<_ACEOF
12473 #define HAVE_FT_TRUETYPEENGINETYPE 1
12474 _ACEOF
12480 else
12481 FREETYPE_CFLAGS=""
12482 FREETYPE_LIBS=""
12484 CPPFLAGS=$ac_save_CPPFLAGS
12485 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12486 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12489 if test "x$ac_cv_lib_soname_freetype" = x; then :
12490 case "x$with_freetype" in
12491 xno) ;;
12492 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12493 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12494 esac
12495 enable_fonts=${enable_fonts:-no}
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12499 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12500 if ${ac_cv_c_ppdev+:} false; then :
12501 $as_echo_n "(cached) " >&6
12502 else
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12505 #ifdef HAVE_SYS_IOCTL_H
12506 # include <sys/ioctl.h>
12507 #endif
12508 #include <linux/ppdev.h>
12510 main ()
12512 ioctl (1,PPCLAIM,0)
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_compile "$LINENO"; then :
12518 ac_cv_c_ppdev="yes"
12519 else
12520 ac_cv_c_ppdev="no"
12522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12525 $as_echo "$ac_cv_c_ppdev" >&6; }
12526 if test "$ac_cv_c_ppdev" = "yes"
12527 then
12529 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12533 ac_wine_check_funcs_save_LIBS="$LIBS"
12534 LIBS="$LIBS $PTHREAD_LIBS"
12535 for ac_func in \
12536 pthread_attr_get_np \
12537 pthread_getattr_np \
12538 pthread_getthreadid_np \
12539 pthread_get_stackaddr_np \
12540 pthread_get_stacksize_np
12541 do :
12542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12545 cat >>confdefs.h <<_ACEOF
12546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12547 _ACEOF
12550 done
12552 LIBS="$ac_wine_check_funcs_save_LIBS"
12554 if test "$ac_cv_header_zlib_h" = "yes"
12555 then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12557 $as_echo_n "checking for inflate in -lz... " >&6; }
12558 if ${ac_cv_lib_z_inflate+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lz $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 char inflate ();
12574 main ()
12576 return inflate ();
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_link "$LINENO"; then :
12582 ac_cv_lib_z_inflate=yes
12583 else
12584 ac_cv_lib_z_inflate=no
12586 rm -f core conftest.err conftest.$ac_objext \
12587 conftest$ac_exeext conftest.$ac_ext
12588 LIBS=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12591 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12592 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12594 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12596 Z_LIBS="-lz"
12601 if test "x$Z_LIBS" = "x"; then :
12602 case "x$with_zlib" in
12603 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12604 xno) ;;
12605 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12606 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12607 esac
12611 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12612 then
12613 if test "$ac_cv_header_gettext_po_h" = "yes"
12614 then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12616 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12617 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12618 $as_echo_n "(cached) " >&6
12619 else
12620 ac_check_lib_save_LIBS=$LIBS
12621 LIBS="-lgettextpo $LIBS"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 #ifdef __cplusplus
12629 extern "C"
12630 #endif
12631 char po_message_msgctxt ();
12633 main ()
12635 return po_message_msgctxt ();
12637 return 0;
12639 _ACEOF
12640 if ac_fn_c_try_link "$LINENO"; then :
12641 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12642 else
12643 ac_cv_lib_gettextpo_po_message_msgctxt=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12650 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12651 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12653 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12655 GETTEXTPO_LIBS="-lgettextpo"
12660 if test "x$GETTEXTPO_LIBS" = "x"; then :
12661 case "x$with_gettextpo" in
12662 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12663 xno) ;;
12664 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12665 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12666 esac
12669 if test "$srcdir" != .; then :
12670 case "x$with_gettextpo" in
12671 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12672 xno) ;;
12673 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12674 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12675 esac
12680 if test "x$with_pulse" != "xno";
12681 then
12682 if ${PULSE_CFLAGS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12688 if ${PULSE_LIBS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12695 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12696 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12697 ac_save_CPPFLAGS=$CPPFLAGS
12698 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12699 for ac_header in pulse/pulseaudio.h
12700 do :
12701 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12703 cat >>confdefs.h <<_ACEOF
12704 #define HAVE_PULSE_PULSEAUDIO_H 1
12705 _ACEOF
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12707 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12708 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12709 $as_echo_n "(cached) " >&6
12710 else
12711 ac_check_lib_save_LIBS=$LIBS
12712 LIBS="-lpulse $PULSE_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 #ifdef __cplusplus
12720 extern "C"
12721 #endif
12722 char pa_stream_is_corked ();
12724 main ()
12726 return pa_stream_is_corked ();
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 ac_cv_lib_pulse_pa_stream_is_corked=yes
12733 else
12734 ac_cv_lib_pulse_pa_stream_is_corked=no
12736 rm -f core conftest.err conftest.$ac_objext \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12741 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12742 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12744 else
12745 PULSE_LIBS=""
12748 else
12749 PULSE_LIBS=""
12752 done
12754 CPPFLAGS=$ac_save_CPPFLAGS
12755 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12756 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12759 if test -z "$PULSE_LIBS"; then :
12760 case "x$with_pulse" in
12761 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12762 xno) ;;
12763 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12764 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12765 esac
12766 enable_winepulse_drv=${enable_winepulse_drv:-no}
12769 if test "x$with_gstreamer" != "xno"
12770 then
12771 if ${GSTREAMER_CFLAGS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12777 if ${GSTREAMER_LIBS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12784 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12786 ac_save_CPPFLAGS=$CPPFLAGS
12787 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12788 ac_gst_incl=""
12789 for i in $GSTREAMER_CFLAGS
12791 case "$i" in
12792 -I*) ac_gst_incl="$ac_gst_incl $i";;
12793 esac
12794 done
12795 GSTREAMER_CFLAGS=$ac_gst_incl
12796 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12797 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12798 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12800 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12803 #include <gst/gst.h>
12805 main ()
12807 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_compile "$LINENO"; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12814 $as_echo "yes" >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12816 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12817 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12818 $as_echo_n "(cached) " >&6
12819 else
12820 ac_check_lib_save_LIBS=$LIBS
12821 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12825 /* Override any GCC internal prototype to avoid an error.
12826 Use char because int might match the return type of a GCC
12827 builtin and then its argument prototype would still apply. */
12828 #ifdef __cplusplus
12829 extern "C"
12830 #endif
12831 char gst_pad_new ();
12833 main ()
12835 return gst_pad_new ();
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_link "$LINENO"; then :
12841 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12842 else
12843 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12845 rm -f core conftest.err conftest.$ac_objext \
12846 conftest$ac_exeext conftest.$ac_ext
12847 LIBS=$ac_check_lib_save_LIBS
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12850 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12851 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12855 else
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12858 ac_glib2_broken=yes
12859 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12865 CPPFLAGS=$ac_save_CPPFLAGS
12866 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12867 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12870 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 :
12871 case "x$with_gstreamer" in
12872 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12873 xno) ;;
12874 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12875 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12876 esac
12879 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12881 ALSA_LIBS=""
12883 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12884 then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12886 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12887 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lasound $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char snd_pcm_hw_params_get_access_mask ();
12903 main ()
12905 return snd_pcm_hw_params_get_access_mask ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12912 else
12913 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12920 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12921 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12924 #ifdef HAVE_ALSA_ASOUNDLIB_H
12925 #include <alsa/asoundlib.h>
12926 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12927 #include <sys/asoundlib.h>
12928 #endif
12930 main ()
12932 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"; then :
12938 ALSA_LIBS="-lasound"
12940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12944 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12946 if test "x$with_oss" != xno
12947 then
12948 ac_save_CPPFLAGS="$CPPFLAGS"
12949 if test -f /etc/oss.conf
12950 then
12951 . /etc/oss.conf
12953 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12954 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12955 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12957 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12959 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12961 cat >>confdefs.h <<_ACEOF
12962 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12963 _ACEOF
12965 OSS4_CFLAGS="$ac_oss_incl"
12972 CPPFLAGS="$ac_save_CPPFLAGS"
12974 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12975 case "x$with_oss" in
12976 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12977 xno) ;;
12978 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12979 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12980 esac
12981 enable_wineoss_drv=${enable_wineoss_drv:-no}
12984 if test "x$with_udev" != "xno"
12985 then
12986 if ${UDEV_CFLAGS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12992 if ${UDEV_LIBS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12998 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13000 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13001 ac_save_CPPFLAGS=$CPPFLAGS
13002 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13003 for ac_header in libudev.h
13004 do :
13005 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13006 if test "x$ac_cv_header_libudev_h" = xyes; then :
13007 cat >>confdefs.h <<_ACEOF
13008 #define HAVE_LIBUDEV_H 1
13009 _ACEOF
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13011 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13012 if ${ac_cv_lib_udev_udev_new+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-ludev $UDEV_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char udev_new ();
13028 main ()
13030 return udev_new ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_udev_udev_new=yes
13037 else
13038 ac_cv_lib_udev_udev_new=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13045 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13046 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13048 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13050 else
13051 UDEV_LIBS=""
13054 else
13055 UDEV_LIBS=""
13058 done
13060 CPPFLAGS=$ac_save_CPPFLAGS
13061 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13062 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13065 if test "x$UDEV_LIBS" = "x"; then :
13066 case "x$with_udev" in
13067 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13068 xno) ;;
13069 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13070 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13071 esac
13075 if test "x$with_capi" != "xno"
13076 then
13077 if ${CAPI20_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13083 if ${CAPI20_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13090 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13094 for ac_header in capi20.h linux/capi.h
13095 do :
13096 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13097 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13100 cat >>confdefs.h <<_ACEOF
13101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13102 _ACEOF
13106 done
13108 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13109 then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13111 $as_echo_n "checking for -lcapi20... " >&6; }
13112 if ${ac_cv_lib_soname_capi20+:} false; then :
13113 $as_echo_n "(cached) " >&6
13114 else
13115 ac_check_soname_save_LIBS=$LIBS
13116 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char capi20_register ();
13128 main ()
13130 return capi20_register ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"; then :
13136 case "$LIBEXT" in
13137 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13140 if ${ac_cv_lib_soname_capi20:+false} :; then :
13141 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13142 fi ;;
13143 esac
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_capi20:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13155 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13159 _ACEOF
13164 CPPFLAGS=$ac_save_CPPFLAGS
13165 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13166 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13169 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13170 case "x$with_capi" in
13171 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13172 xno) ;;
13173 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13174 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13175 esac
13179 CUPS_CFLAGS=""
13181 if test "x$with_cups" != "xno"
13182 then
13183 ac_save_CPPFLAGS="$CPPFLAGS"
13184 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13185 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13186 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13187 for ac_header in cups/cups.h
13188 do :
13189 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13190 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13191 cat >>confdefs.h <<_ACEOF
13192 #define HAVE_CUPS_CUPS_H 1
13193 _ACEOF
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13195 $as_echo_n "checking for -lcups... " >&6; }
13196 if ${ac_cv_lib_soname_cups+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_soname_save_LIBS=$LIBS
13200 LIBS="-lcups $ac_cups_libs $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char cupsGetDefault ();
13212 main ()
13214 return cupsGetDefault ();
13216 return 0;
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220 case "$LIBEXT" in
13221 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13222 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'` ;;
13223 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13224 if ${ac_cv_lib_soname_cups:+false} :; then :
13225 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13226 fi ;;
13227 esac
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 LIBS=$ac_check_soname_save_LIBS
13233 if ${ac_cv_lib_soname_cups:+false} :; then :
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13235 $as_echo "not found" >&6; }
13237 else
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13239 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13241 cat >>confdefs.h <<_ACEOF
13242 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13243 _ACEOF
13245 CUPS_CFLAGS="$ac_cups_cflags"
13247 for ac_header in cups/ppd.h
13248 do :
13249 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13250 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13251 cat >>confdefs.h <<_ACEOF
13252 #define HAVE_CUPS_PPD_H 1
13253 _ACEOF
13257 done
13261 done
13263 CPPFLAGS="$ac_save_CPPFLAGS"
13265 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13266 case "x$with_cups" in
13267 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13268 xno) ;;
13269 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13270 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13271 esac
13275 if test "x$with_fontconfig" != "xno"
13276 then
13277 if ${FONTCONFIG_CFLAGS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13282 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13283 if ${FONTCONFIG_LIBS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13288 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13290 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13292 ac_save_CPPFLAGS=$CPPFLAGS
13293 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13294 for ac_header in fontconfig/fontconfig.h
13295 do :
13296 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13297 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13298 cat >>confdefs.h <<_ACEOF
13299 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13300 _ACEOF
13304 done
13306 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13307 then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13309 $as_echo_n "checking for -lfontconfig... " >&6; }
13310 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13311 $as_echo_n "(cached) " >&6
13312 else
13313 ac_check_soname_save_LIBS=$LIBS
13314 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char FcInit ();
13326 main ()
13328 return FcInit ();
13330 return 0;
13332 _ACEOF
13333 if ac_fn_c_try_link "$LINENO"; then :
13334 case "$LIBEXT" in
13335 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13336 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'` ;;
13337 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13338 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13339 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13340 fi ;;
13341 esac
13343 rm -f core conftest.err conftest.$ac_objext \
13344 conftest$ac_exeext conftest.$ac_ext
13345 LIBS=$ac_check_soname_save_LIBS
13347 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13349 $as_echo "not found" >&6; }
13350 FONTCONFIG_CFLAGS=""
13351 else
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13353 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13355 cat >>confdefs.h <<_ACEOF
13356 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13357 _ACEOF
13361 else
13362 FONTCONFIG_CFLAGS=""
13364 CPPFLAGS=$ac_save_CPPFLAGS
13365 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13366 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13369 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13370 case "x$with_fontconfig" in
13371 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13372 xno) ;;
13373 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13374 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13375 esac
13379 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13380 then
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13382 $as_echo_n "checking for -lgsm... " >&6; }
13383 if ${ac_cv_lib_soname_gsm+:} false; then :
13384 $as_echo_n "(cached) " >&6
13385 else
13386 ac_check_soname_save_LIBS=$LIBS
13387 LIBS="-lgsm $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 #ifdef __cplusplus
13395 extern "C"
13396 #endif
13397 char gsm_create ();
13399 main ()
13401 return gsm_create ();
13403 return 0;
13405 _ACEOF
13406 if ac_fn_c_try_link "$LINENO"; then :
13407 case "$LIBEXT" in
13408 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13409 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'` ;;
13410 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13411 if ${ac_cv_lib_soname_gsm:+false} :; then :
13412 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13413 fi ;;
13414 esac
13416 rm -f core conftest.err conftest.$ac_objext \
13417 conftest$ac_exeext conftest.$ac_ext
13418 LIBS=$ac_check_soname_save_LIBS
13420 if ${ac_cv_lib_soname_gsm:+false} :; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13422 $as_echo "not found" >&6; }
13424 else
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13426 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13428 cat >>confdefs.h <<_ACEOF
13429 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13430 _ACEOF
13435 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13436 case "x$with_gsm" in
13437 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13438 xno) ;;
13439 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13440 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13441 esac
13445 if test "x$with_jpeg" != "xno"
13446 then
13447 if ${JPEG_CFLAGS:+false} :; then :
13448 if ${PKG_CONFIG+:} false; then :
13449 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13453 if ${JPEG_LIBS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13460 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13461 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13462 ac_save_CPPFLAGS=$CPPFLAGS
13463 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13464 for ac_header in jpeglib.h
13465 do :
13466 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13467 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13468 cat >>confdefs.h <<_ACEOF
13469 #define HAVE_JPEGLIB_H 1
13470 _ACEOF
13474 done
13476 if test "$ac_cv_header_jpeglib_h" = "yes"
13477 then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13479 $as_echo_n "checking for -ljpeg... " >&6; }
13480 if ${ac_cv_lib_soname_jpeg+:} false; then :
13481 $as_echo_n "(cached) " >&6
13482 else
13483 ac_check_soname_save_LIBS=$LIBS
13484 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13488 /* Override any GCC internal prototype to avoid an error.
13489 Use char because int might match the return type of a GCC
13490 builtin and then its argument prototype would still apply. */
13491 #ifdef __cplusplus
13492 extern "C"
13493 #endif
13494 char jpeg_start_decompress ();
13496 main ()
13498 return jpeg_start_decompress ();
13500 return 0;
13502 _ACEOF
13503 if ac_fn_c_try_link "$LINENO"; then :
13504 case "$LIBEXT" in
13505 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13506 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'` ;;
13507 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13508 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13509 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13510 fi ;;
13511 esac
13513 rm -f core conftest.err conftest.$ac_objext \
13514 conftest$ac_exeext conftest.$ac_ext
13515 LIBS=$ac_check_soname_save_LIBS
13517 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13519 $as_echo "not found" >&6; }
13520 JPEG_CFLAGS=""
13521 else
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13523 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13525 cat >>confdefs.h <<_ACEOF
13526 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13527 _ACEOF
13531 else
13532 JPEG_CFLAGS=""
13534 CPPFLAGS=$ac_save_CPPFLAGS
13535 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13536 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13539 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13540 case "x$with_jpeg" in
13541 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13542 xno) ;;
13543 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13544 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13545 esac
13549 if test "x$with_png" != "xno"
13550 then
13551 if ${PNG_CFLAGS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13556 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13557 if ${PNG_LIBS:+false} :; then :
13558 if ${PKG_CONFIG+:} false; then :
13559 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13562 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13564 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13565 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13566 ac_save_CPPFLAGS=$CPPFLAGS
13567 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13568 for ac_header in png.h
13569 do :
13570 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13571 if test "x$ac_cv_header_png_h" = xyes; then :
13572 cat >>confdefs.h <<_ACEOF
13573 #define HAVE_PNG_H 1
13574 _ACEOF
13578 done
13580 if test "$ac_cv_header_png_h" = "yes"
13581 then
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13583 $as_echo_n "checking for -lpng... " >&6; }
13584 if ${ac_cv_lib_soname_png+:} false; then :
13585 $as_echo_n "(cached) " >&6
13586 else
13587 ac_check_soname_save_LIBS=$LIBS
13588 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 /* end confdefs.h. */
13592 /* Override any GCC internal prototype to avoid an error.
13593 Use char because int might match the return type of a GCC
13594 builtin and then its argument prototype would still apply. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 char png_create_read_struct ();
13600 main ()
13602 return png_create_read_struct ();
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"; then :
13608 case "$LIBEXT" in
13609 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13610 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'` ;;
13611 *) 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'`
13612 if ${ac_cv_lib_soname_png:+false} :; then :
13613 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13614 fi ;;
13615 esac
13617 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_soname_save_LIBS
13621 if ${ac_cv_lib_soname_png:+false} :; then :
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13623 $as_echo "not found" >&6; }
13624 PNG_CFLAGS=""
13625 else
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13627 $as_echo "$ac_cv_lib_soname_png" >&6; }
13629 cat >>confdefs.h <<_ACEOF
13630 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13631 _ACEOF
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <png.h>
13637 main ()
13639 typeof(png_set_expand_gray_1_2_4_to_8) *p
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_compile "$LINENO"; then :
13646 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13651 else
13652 PNG_CFLAGS=""
13654 CPPFLAGS=$ac_save_CPPFLAGS
13655 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13656 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13659 if test "x$ac_cv_lib_soname_png" = "x"; then :
13660 case "x$with_png" in
13661 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13662 xno) ;;
13663 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13664 This is an error since --with-png was requested." "$LINENO" 5 ;;
13665 esac
13669 if test "x$with_tiff" != "xno"
13670 then
13671 if ${TIFF_CFLAGS:+false} :; then :
13672 if ${PKG_CONFIG+:} false; then :
13673 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13677 if ${TIFF_LIBS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13684 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13685 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13686 ac_save_CPPFLAGS=$CPPFLAGS
13687 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13688 for ac_header in tiffio.h
13689 do :
13690 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13691 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define HAVE_TIFFIO_H 1
13694 _ACEOF
13698 done
13700 if test "$ac_cv_header_tiffio_h" = "yes"
13701 then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13703 $as_echo_n "checking for -ltiff... " >&6; }
13704 if ${ac_cv_lib_soname_tiff+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 ac_check_soname_save_LIBS=$LIBS
13708 LIBS="-ltiff $TIFF_LIBS $LIBS"
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13712 /* Override any GCC internal prototype to avoid an error.
13713 Use char because int might match the return type of a GCC
13714 builtin and then its argument prototype would still apply. */
13715 #ifdef __cplusplus
13716 extern "C"
13717 #endif
13718 char TIFFClientOpen ();
13720 main ()
13722 return TIFFClientOpen ();
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 case "$LIBEXT" in
13729 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13730 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'` ;;
13731 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13732 if ${ac_cv_lib_soname_tiff:+false} :; then :
13733 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13734 fi ;;
13735 esac
13737 rm -f core conftest.err conftest.$ac_objext \
13738 conftest$ac_exeext conftest.$ac_ext
13739 LIBS=$ac_check_soname_save_LIBS
13741 if ${ac_cv_lib_soname_tiff:+false} :; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13743 $as_echo "not found" >&6; }
13745 else
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13747 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13749 cat >>confdefs.h <<_ACEOF
13750 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13751 _ACEOF
13756 CPPFLAGS=$ac_save_CPPFLAGS
13757 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13758 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13761 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13762 case "x$with_tiff" in
13763 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13764 xno) ;;
13765 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13766 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13767 esac
13771 if test "x$with_mpg123" != "xno"
13772 then
13773 if ${MPG123_CFLAGS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13779 if ${MPG123_LIBS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13785 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13786 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13787 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13788 ac_save_CPPFLAGS=$CPPFLAGS
13789 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13790 for ac_header in mpg123.h
13791 do :
13792 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13793 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_MPG123_H 1
13796 _ACEOF
13800 done
13802 if test "$ac_cv_header_mpg123_h" = "yes"
13803 then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13805 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13806 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_check_lib_save_LIBS=$LIBS
13810 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13814 /* Override any GCC internal prototype to avoid an error.
13815 Use char because int might match the return type of a GCC
13816 builtin and then its argument prototype would still apply. */
13817 #ifdef __cplusplus
13818 extern "C"
13819 #endif
13820 char mpg123_feed ();
13822 main ()
13824 return mpg123_feed ();
13826 return 0;
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_lib_mpg123_mpg123_feed=yes
13831 else
13832 ac_cv_lib_mpg123_mpg123_feed=no
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LIBS=$ac_check_lib_save_LIBS
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13839 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13840 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13842 else
13843 MPG123_LIBS=""
13846 else
13847 MPG123_CFLAGS=""
13848 MPG123_LIBS=""
13850 CPPFLAGS=$ac_save_CPPFLAGS
13851 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13852 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13855 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13856 case "x$with_mpg123" in
13857 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13858 xno) ;;
13859 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13860 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13861 esac
13862 enable_winemp3_acm=${enable_winemp3_acm:-no}
13865 if test "$ac_cv_header_AL_al_h" = "yes"
13866 then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13868 $as_echo_n "checking for -lopenal... " >&6; }
13869 if ${ac_cv_lib_soname_openal+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_soname_save_LIBS=$LIBS
13873 LIBS="-lopenal $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char alGetSource3i ();
13885 main ()
13887 return alGetSource3i ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 case "$LIBEXT" in
13894 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13895 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'` ;;
13896 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13897 if ${ac_cv_lib_soname_openal:+false} :; then :
13898 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13899 fi ;;
13900 esac
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_soname_save_LIBS
13906 if ${ac_cv_lib_soname_openal:+false} :; then :
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13908 $as_echo "not found" >&6; }
13910 else
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13912 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13914 cat >>confdefs.h <<_ACEOF
13915 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13916 _ACEOF
13918 OPENAL_LIBS="-lopenal"
13920 ac_cv_lib_openal=yes
13922 cat >>confdefs.h <<_ACEOF
13923 #define HAVE_OPENAL 1
13924 _ACEOF
13928 if test "x$ac_cv_lib_openal" != xyes; then :
13929 case "x$with_openal" in
13930 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13931 xno) ;;
13932 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13933 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13934 esac
13935 enable_openal32=${enable_openal32:-no}
13938 if test "x$ac_cv_lib_openal" = xyes
13939 then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13941 $as_echo_n "checking for openal-soft... " >&6; }
13942 if ${ac_cv_have_openalsoft+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 #include <AL/al.h>
13948 #include <AL/alc.h>
13949 #include <AL/alext.h>
13950 LPALCRENDERSAMPLESSOFT x;
13952 main ()
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_compile "$LINENO"; then :
13960 ac_cv_have_openalsoft=yes
13961 else
13962 ac_cv_have_openalsoft=no
13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13967 $as_echo "$ac_cv_have_openalsoft" >&6; }
13969 if test "x$ac_cv_have_openalsoft" != xyes
13970 then
13971 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13972 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13973 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13974 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13975 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13976 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13977 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13978 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13979 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13980 enable_xapofx1_1=${enable_xapofx1_1:-no}
13981 enable_xapofx1_2=${enable_xapofx1_2:-no}
13982 enable_xapofx1_3=${enable_xapofx1_3:-no}
13983 enable_xapofx1_4=${enable_xapofx1_4:-no}
13984 enable_xapofx1_5=${enable_xapofx1_5:-no}
13985 enable_xaudio2_0=${enable_xaudio2_0:-no}
13986 enable_xaudio2_1=${enable_xaudio2_1:-no}
13987 enable_xaudio2_2=${enable_xaudio2_2:-no}
13988 enable_xaudio2_3=${enable_xaudio2_3:-no}
13989 enable_xaudio2_4=${enable_xaudio2_4:-no}
13990 enable_xaudio2_5=${enable_xaudio2_5:-no}
13991 enable_xaudio2_6=${enable_xaudio2_6:-no}
13992 enable_xaudio2_7=${enable_xaudio2_7:-no}
13993 enable_xaudio2_8=${enable_xaudio2_8:-no}
13994 enable_xaudio2_9=${enable_xaudio2_9:-no}
13997 if test "$ac_cv_header_kstat_h" = "yes"
13998 then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14000 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14001 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-lkstat $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char kstat_open ();
14017 main ()
14019 return kstat_open ();
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_link "$LINENO"; then :
14025 ac_cv_lib_kstat_kstat_open=yes
14026 else
14027 ac_cv_lib_kstat_kstat_open=no
14029 rm -f core conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 LIBS=$ac_check_lib_save_LIBS
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14034 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14035 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14037 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14039 KSTAT_LIBS="-lkstat"
14045 if test "$ac_cv_header_libprocstat_h" = "yes"
14046 then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14048 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14049 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 ac_check_lib_save_LIBS=$LIBS
14053 LIBS="-lprocstat $LIBS"
14054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14057 /* Override any GCC internal prototype to avoid an error.
14058 Use char because int might match the return type of a GCC
14059 builtin and then its argument prototype would still apply. */
14060 #ifdef __cplusplus
14061 extern "C"
14062 #endif
14063 char procstat_open_sysctl ();
14065 main ()
14067 return procstat_open_sysctl ();
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_lib_procstat_procstat_open_sysctl=yes
14074 else
14075 ac_cv_lib_procstat_procstat_open_sysctl=no
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14079 LIBS=$ac_check_lib_save_LIBS
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14082 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14083 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14085 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14087 PROCSTAT_LIBS="-lprocstat"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14094 $as_echo_n "checking for -lodbc... " >&6; }
14095 if ${ac_cv_lib_soname_odbc+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_check_soname_save_LIBS=$LIBS
14099 LIBS="-lodbc $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 #ifdef __cplusplus
14107 extern "C"
14108 #endif
14109 char SQLConnect ();
14111 main ()
14113 return SQLConnect ();
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 case "$LIBEXT" in
14120 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14121 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'` ;;
14122 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14123 if ${ac_cv_lib_soname_odbc:+false} :; then :
14124 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14125 fi ;;
14126 esac
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_soname_save_LIBS
14132 if ${ac_cv_lib_soname_odbc:+false} :; then :
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14134 $as_echo "not found" >&6; }
14135 cat >>confdefs.h <<_ACEOF
14136 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14137 _ACEOF
14139 else
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14141 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14143 cat >>confdefs.h <<_ACEOF
14144 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14145 _ACEOF
14150 if test "x$with_netapi" != "xno"
14151 then
14152 if ${NETAPI_CFLAGS:+false} :; then :
14153 if ${PKG_CONFIG+:} false; then :
14154 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14158 if ${NETAPI_LIBS:+false} :; then :
14159 if ${PKG_CONFIG+:} false; then :
14160 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14165 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14166 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14167 ac_save_CPPFLAGS=$CPPFLAGS
14168 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14170 $as_echo_n "checking for -lnetapi... " >&6; }
14171 if ${ac_cv_lib_soname_netapi+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_check_soname_save_LIBS=$LIBS
14175 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 #ifdef __cplusplus
14183 extern "C"
14184 #endif
14185 char libnetapi_init ();
14187 main ()
14189 return libnetapi_init ();
14191 return 0;
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 case "$LIBEXT" in
14196 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14197 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'` ;;
14198 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14199 if ${ac_cv_lib_soname_netapi:+false} :; then :
14200 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14201 fi ;;
14202 esac
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS=$ac_check_soname_save_LIBS
14208 if ${ac_cv_lib_soname_netapi:+false} :; then :
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14210 $as_echo "not found" >&6; }
14211 cat >>confdefs.h <<_ACEOF
14212 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14213 _ACEOF
14215 else
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14217 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14219 cat >>confdefs.h <<_ACEOF
14220 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14221 _ACEOF
14225 CPPFLAGS=$ac_save_CPPFLAGS
14226 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14227 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14231 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14232 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14233 then
14234 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14238 EXTRACFLAGS=""
14240 if test "x${GCC}" = "xyes"
14241 then
14242 EXTRACFLAGS="-Wall -pipe"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14245 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14246 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 if test "$cross_compiling" = yes; then :
14250 ac_cv_c_gcc_strength_bug="no"
14251 else
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int L[4] = {0,1,2,3};
14256 main ()
14258 static int Array[3];
14259 unsigned int B = 3;
14260 int i;
14261 for(i=0; i<B; i++) Array[i] = i - 3;
14262 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14263 L[i] = 4;
14264 return (Array[1] != -2 || L[2] != 3)
14266 return 0;
14268 _ACEOF
14269 if ac_fn_c_try_run "$LINENO"; then :
14270 ac_cv_c_gcc_strength_bug="no"
14271 else
14272 ac_cv_c_gcc_strength_bug="yes"
14274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14275 conftest.$ac_objext conftest.beam conftest.$ac_ext
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14280 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14281 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14282 then
14283 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14287 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14288 if ${ac_cv_cflags__fno_builtin+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 ac_wine_try_cflags_saved=$CFLAGS
14292 CFLAGS="$CFLAGS -fno-builtin"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 int main(int argc, char **argv) { return 0; }
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 ac_cv_cflags__fno_builtin=yes
14299 else
14300 ac_cv_cflags__fno_builtin=no
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14304 CFLAGS=$ac_wine_try_cflags_saved
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14307 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14308 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14309 BUILTINFLAG="-fno-builtin"
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14313 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14314 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14315 $as_echo_n "(cached) " >&6
14316 else
14317 ac_wine_try_cflags_saved=$CFLAGS
14318 CFLAGS="$CFLAGS -fno-strict-aliasing"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14321 int main(int argc, char **argv) { return 0; }
14322 _ACEOF
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_cflags__fno_strict_aliasing=yes
14325 else
14326 ac_cv_cflags__fno_strict_aliasing=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 CFLAGS=$ac_wine_try_cflags_saved
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14333 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14334 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14335 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14338 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14339 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -fexcess-precision=standard"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__fexcess_precision_standard=yes
14350 else
14351 ac_cv_cflags__fexcess_precision_standard=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14358 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14359 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14360 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14363 saved_CFLAGS=$CFLAGS
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14365 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14366 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_wine_try_cflags_saved=$CFLAGS
14370 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 int main(int argc, char **argv) { return 0; }
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"; then :
14376 ac_cv_cflags__Werror_unknown_warning_option=yes
14377 else
14378 ac_cv_cflags__Werror_unknown_warning_option=no
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 CFLAGS=$ac_wine_try_cflags_saved
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14385 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14386 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14387 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14390 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14391 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Wdeclaration_after_statement=yes
14402 else
14403 ac_cv_cflags__Wdeclaration_after_statement=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14410 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14411 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14412 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14415 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14416 if ${ac_cv_cflags__Wempty_body+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wempty-body"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wempty_body=yes
14427 else
14428 ac_cv_cflags__Wempty_body=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14435 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14436 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14440 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14441 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Wignored-qualifiers"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Wignored_qualifiers=yes
14452 else
14453 ac_cv_cflags__Wignored_qualifiers=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14460 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14461 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14465 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14466 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -Wshift-overflow=2"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__Wshift_overflow_2=yes
14477 else
14478 ac_cv_cflags__Wshift_overflow_2=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14485 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14486 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14490 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14491 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Wstrict-prototypes"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Wstrict_prototypes=yes
14502 else
14503 ac_cv_cflags__Wstrict_prototypes=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14510 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14511 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14512 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14515 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14516 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wtype-limits"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wtype_limits=yes
14527 else
14528 ac_cv_cflags__Wtype_limits=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14535 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14536 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14540 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14541 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wunused_but_set_parameter=yes
14552 else
14553 ac_cv_cflags__Wunused_but_set_parameter=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14560 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14561 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14565 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14566 if ${ac_cv_cflags__Wvla+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wvla"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__Wvla=yes
14577 else
14578 ac_cv_cflags__Wvla=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14585 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14586 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14590 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14591 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -Wwrite-strings"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__Wwrite_strings=yes
14602 else
14603 ac_cv_cflags__Wwrite_strings=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14610 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14611 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14612 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14616 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14617 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14618 $as_echo_n "(cached) " >&6
14619 else
14620 ac_wine_try_cflags_saved=$CFLAGS
14621 CFLAGS="$CFLAGS -Wpointer-arith"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 int main(int argc, char **argv) { return 0; }
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_cflags__Wpointer_arith=yes
14628 else
14629 ac_cv_cflags__Wpointer_arith=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 CFLAGS=$ac_wine_try_cflags_saved
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14636 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14637 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14638 saved_string_h_CFLAGS=$CFLAGS
14639 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14641 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14642 if ${ac_cv_c_string_h_warnings+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 #include <string.h>
14649 main ()
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 ac_cv_c_string_h_warnings=no
14658 else
14659 ac_cv_c_string_h_warnings=yes
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14664 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14665 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14666 CFLAGS=$saved_string_h_CFLAGS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14670 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14671 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 ac_wine_try_cflags_saved=$CFLAGS
14675 CFLAGS="$CFLAGS -Wlogical-op"
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_cflags__Wlogical_op=yes
14682 else
14683 ac_cv_cflags__Wlogical_op=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 CFLAGS=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14690 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14691 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14692 saved_string_h_CFLAGS=$CFLAGS
14693 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14695 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14696 if ${ac_cv_c_logicalop_noisy+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701 #include <string.h>
14702 char*f(const char *h,char n) {return strchr(h,n);}
14704 main ()
14708 return 0;
14710 _ACEOF
14711 if ac_fn_c_try_compile "$LINENO"; then :
14712 ac_cv_c_logicalop_noisy=no
14713 else
14714 ac_cv_c_logicalop_noisy=yes
14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14719 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14720 CFLAGS=$saved_string_h_CFLAGS
14721 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14724 CFLAGS=$saved_CFLAGS
14726 for ac_flag in $CFLAGS; do
14727 case $ac_flag in
14728 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14729 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14730 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14731 $as_echo_n "(cached) " >&6
14732 else
14733 ac_wine_try_cflags_saved=$CFLAGS
14734 CFLAGS="$CFLAGS -gdwarf-2"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14737 int main(int argc, char **argv) { return 0; }
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_cflags__gdwarf_2=yes
14741 else
14742 ac_cv_cflags__gdwarf_2=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 CFLAGS=$ac_wine_try_cflags_saved
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14749 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14750 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14751 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14754 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14755 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -gstrict-dwarf"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 int main(int argc, char **argv) { return 0; }
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_cflags__gstrict_dwarf=yes
14766 else
14767 ac_cv_cflags__gstrict_dwarf=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 CFLAGS=$ac_wine_try_cflags_saved
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14774 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14775 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14776 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14777 fi ;;
14778 esac
14779 done
14781 case $host_cpu in
14782 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14783 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14784 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_wine_try_cflags_saved=$CFLAGS
14788 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 int main(int argc, char **argv) { return 0; }
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_cflags__fno_omit_frame_pointer=yes
14795 else
14796 ac_cv_cflags__fno_omit_frame_pointer=no
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 CFLAGS=$ac_wine_try_cflags_saved
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14803 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14804 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14805 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14806 fi ;;
14807 esac
14809 case $host in
14810 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14811 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14812 if ${ac_cv_cflags__Wno_format+:} false; then :
14813 $as_echo_n "(cached) " >&6
14814 else
14815 ac_wine_try_cflags_saved=$CFLAGS
14816 CFLAGS="$CFLAGS -Wno-format"
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 int main(int argc, char **argv) { return 0; }
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_cflags__Wno_format=yes
14823 else
14824 ac_cv_cflags__Wno_format=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 CFLAGS=$ac_wine_try_cflags_saved
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14831 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14832 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14833 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14834 fi ;;
14835 esac
14837 if test "x$enable_maintainer_mode" = "xyes"
14838 then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14840 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14841 if ${ac_cv_cflags__Werror+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 ac_wine_try_cflags_saved=$CFLAGS
14845 CFLAGS="$CFLAGS -Werror"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14848 int main(int argc, char **argv) { return 0; }
14849 _ACEOF
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_cflags__Werror=yes
14852 else
14853 ac_cv_cflags__Werror=no
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14857 CFLAGS=$ac_wine_try_cflags_saved
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14860 $as_echo "$ac_cv_cflags__Werror" >&6; }
14861 if test "x$ac_cv_cflags__Werror" = xyes; then :
14862 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14866 saved_CFLAGS="$CFLAGS"
14867 CFLAGS="$CFLAGS -Werror"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14869 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14870 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14877 main ()
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_compile "$LINENO"; then :
14885 ac_cv_have_ms_hook_prologue="yes"
14886 else
14887 ac_cv_have_ms_hook_prologue="no"
14889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14892 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14893 CFLAGS="$saved_CFLAGS"
14894 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14895 then
14897 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14899 else
14900 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14907 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14908 if ${ac_cv_c_fortify_enabled+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 #include <string.h>
14915 main ()
14917 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14918 #error Fortify enabled
14919 #endif
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_compile "$LINENO"; then :
14925 ac_cv_c_fortify_enabled=no
14926 else
14927 ac_cv_c_fortify_enabled=yes
14929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14932 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14933 if test "$ac_cv_c_fortify_enabled" = yes
14934 then
14935 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14940 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14941 if ${ac_cv_c_extern_prefix+:} false; then :
14942 $as_echo_n "(cached) " >&6
14943 else
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14946 extern int ac_test;
14948 main ()
14950 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_c_extern_prefix="yes"
14957 else
14958 ac_cv_c_extern_prefix="no"
14960 rm -f core conftest.err conftest.$ac_objext \
14961 conftest$ac_exeext conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14964 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14966 case $host_cpu in
14967 *i[3456789]86*)
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14969 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14970 if ${ac_cv_c_stdcall_suffix+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 #ifndef _MSC_VER
14976 #define __stdcall __attribute__((__stdcall__))
14977 #endif
14978 int __stdcall ac_test(int i) { return i; }
14980 main ()
14982 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 ac_cv_c_stdcall_suffix="yes"
14989 else
14990 ac_cv_c_stdcall_suffix="no"
14992 rm -f core conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14996 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14997 *) ac_cv_c_stdcall_suffix="no" ;;
14998 esac
15001 if test "$ac_cv_c_extern_prefix" = "yes"
15002 then
15003 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15005 asm_name_prefix="_"
15006 else
15007 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15009 asm_name_prefix=""
15013 if test "$ac_cv_c_stdcall_suffix" = "yes"
15014 then
15015 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15017 else
15018 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15024 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15025 if ${ac_cv_asm_func_def+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15032 main ()
15034 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_asm_func_def=".def"
15041 else
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15046 main ()
15048 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15050 return 0;
15052 _ACEOF
15053 if ac_fn_c_try_link "$LINENO"; then :
15054 ac_cv_asm_func_def=".type @function"
15055 else
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15060 main ()
15062 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_asm_func_def=".type 2"
15069 else
15070 ac_cv_asm_func_def="unknown"
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15075 rm -f core conftest.err conftest.$ac_objext \
15076 conftest$ac_exeext conftest.$ac_ext
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15082 $as_echo "$ac_cv_asm_func_def" >&6; }
15085 case "$ac_cv_asm_func_def" in
15086 ".def")
15087 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15089 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15090 ".type @function")
15091 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15093 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15094 ".type 2")
15095 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15097 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15099 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15101 asm_func_header="" ;;
15102 esac
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15105 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15106 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 asm(".text\n\t.long 0");
15113 main ()
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"; then :
15121 ac_cv_c_asm_outside_funcs="yes"
15122 else
15123 ac_cv_c_asm_outside_funcs="no"
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15128 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15131 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15132 if ${ac_cv_c_dot_previous+:} false; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15139 main ()
15141 asm(".text\nac_test:\t.long 0\n\t.previous");
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"; then :
15147 ac_cv_c_dot_previous="yes"
15148 else
15149 ac_cv_c_dot_previous="no"
15151 rm -f core conftest.err conftest.$ac_objext \
15152 conftest$ac_exeext conftest.$ac_ext
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15155 $as_echo "$ac_cv_c_dot_previous" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15158 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15159 if ${ac_cv_c_cfi_support+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15166 main ()
15170 return 0;
15172 _ACEOF
15173 if ac_fn_c_try_compile "$LINENO"; then :
15174 ac_cv_c_cfi_support="yes"
15175 else
15176 ac_cv_c_cfi_support="no"
15178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15181 $as_echo "$ac_cv_c_cfi_support" >&6; }
15183 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15184 asm_func_trailer=""
15185 if test "$ac_cv_c_dot_previous" = "yes"
15186 then
15187 asm_func_trailer="\\n\\t.previous"
15189 if test "$ac_cv_c_cfi_support" = "yes"
15190 then
15191 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15192 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15194 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15196 UNWINDFLAGS=-fasynchronous-unwind-tables
15198 else
15199 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15201 if test "x$enable_win64" = "xyes"
15202 then
15203 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15207 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15210 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15211 then
15212 cat >>confdefs.h <<_ACEOF
15213 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15214 _ACEOF
15216 else
15217 cat >>confdefs.h <<_ACEOF
15218 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15219 _ACEOF
15223 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15226 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15230 case $build_os in
15231 cygwin*|mingw32*) TOOLSEXT=".exe"
15233 esac
15235 case $host_os in
15236 linux-android*) ;;
15237 linux*)
15238 case $host_cpu in
15239 *i[3456789]86*|x86_64*)
15240 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15241 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15243 esac
15245 esac
15248 ac_save_CFLAGS="$CFLAGS"
15249 CFLAGS="$CFLAGS $BUILTINFLAG"
15250 for ac_func in \
15251 __res_get_state \
15252 __res_getservers \
15253 _finite \
15254 _isnan \
15255 _pclose \
15256 _popen \
15257 _snprintf \
15258 _spawnvp \
15259 _strdup \
15260 _stricmp \
15261 _strnicmp \
15262 _strtoi64 \
15263 _strtoui64 \
15264 _vsnprintf \
15265 asctime_r \
15266 chsize \
15267 dlopen \
15268 epoll_create \
15269 ffs \
15270 finitef \
15271 fnmatch \
15272 fork \
15273 fpclass \
15274 fstatfs \
15275 fstatvfs \
15276 ftruncate \
15277 futimens \
15278 futimes \
15279 futimesat \
15280 getattrlist \
15281 getopt_long_only \
15282 getpwuid \
15283 gettimeofday \
15284 getuid \
15285 if_nameindex \
15286 isnanf \
15287 kqueue \
15288 lstat \
15289 memmove \
15290 mmap \
15291 pclose \
15292 pipe2 \
15293 poll \
15294 popen \
15295 port_create \
15296 prctl \
15297 pread \
15298 proc_pidinfo \
15299 pwrite \
15300 readdir \
15301 readlink \
15302 sched_yield \
15303 select \
15304 setproctitle \
15305 setprogname \
15306 setrlimit \
15307 settimeofday \
15308 sigaltstack \
15309 sigprocmask \
15310 snprintf \
15311 statfs \
15312 statvfs \
15313 strcasecmp \
15314 strdup \
15315 strerror \
15316 strncasecmp \
15317 strtold \
15318 strtoll \
15319 strtoull \
15320 symlink \
15321 sysinfo \
15322 tcdrain \
15323 thr_kill2 \
15324 timegm \
15325 usleep \
15326 vsnprintf
15328 do :
15329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15332 cat >>confdefs.h <<_ACEOF
15333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15334 _ACEOF
15337 done
15339 CFLAGS="$ac_save_CFLAGS"
15341 if test "$ac_cv_func_dlopen" = no
15342 then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15345 if ${ac_cv_lib_dl_dlopen+:} false; then :
15346 $as_echo_n "(cached) " >&6
15347 else
15348 ac_check_lib_save_LIBS=$LIBS
15349 LIBS="-ldl $LIBS"
15350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15353 /* Override any GCC internal prototype to avoid an error.
15354 Use char because int might match the return type of a GCC
15355 builtin and then its argument prototype would still apply. */
15356 #ifdef __cplusplus
15357 extern "C"
15358 #endif
15359 char dlopen ();
15361 main ()
15363 return dlopen ();
15365 return 0;
15367 _ACEOF
15368 if ac_fn_c_try_link "$LINENO"; then :
15369 ac_cv_lib_dl_dlopen=yes
15370 else
15371 ac_cv_lib_dl_dlopen=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15375 LIBS=$ac_check_lib_save_LIBS
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15379 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15380 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15381 DL_LIBS="-ldl"
15386 ac_wine_check_funcs_save_LIBS="$LIBS"
15387 LIBS="$LIBS $DL_LIBS"
15388 for ac_func in dladdr
15389 do :
15390 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15391 if test "x$ac_cv_func_dladdr" = xyes; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define HAVE_DLADDR 1
15394 _ACEOF
15397 done
15399 LIBS="$ac_wine_check_funcs_save_LIBS"
15401 if test "$ac_cv_func_poll" = no
15402 then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15404 $as_echo_n "checking for poll in -lpoll... " >&6; }
15405 if ${ac_cv_lib_poll_poll+:} false; then :
15406 $as_echo_n "(cached) " >&6
15407 else
15408 ac_check_lib_save_LIBS=$LIBS
15409 LIBS="-lpoll $LIBS"
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15413 /* Override any GCC internal prototype to avoid an error.
15414 Use char because int might match the return type of a GCC
15415 builtin and then its argument prototype would still apply. */
15416 #ifdef __cplusplus
15417 extern "C"
15418 #endif
15419 char poll ();
15421 main ()
15423 return poll ();
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 ac_cv_lib_poll_poll=yes
15430 else
15431 ac_cv_lib_poll_poll=no
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15435 LIBS=$ac_check_lib_save_LIBS
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15438 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15439 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15440 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15441 POLL_LIBS="-lpoll"
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15448 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15449 if ${ac_cv_search_gethostbyname+:} false; then :
15450 $as_echo_n "(cached) " >&6
15451 else
15452 ac_func_search_save_LIBS=$LIBS
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15454 /* end confdefs.h. */
15456 /* Override any GCC internal prototype to avoid an error.
15457 Use char because int might match the return type of a GCC
15458 builtin and then its argument prototype would still apply. */
15459 #ifdef __cplusplus
15460 extern "C"
15461 #endif
15462 char gethostbyname ();
15464 main ()
15466 return gethostbyname ();
15468 return 0;
15470 _ACEOF
15471 for ac_lib in '' nsl; do
15472 if test -z "$ac_lib"; then
15473 ac_res="none required"
15474 else
15475 ac_res=-l$ac_lib
15476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15478 if ac_fn_c_try_link "$LINENO"; then :
15479 ac_cv_search_gethostbyname=$ac_res
15481 rm -f core conftest.err conftest.$ac_objext \
15482 conftest$ac_exeext
15483 if ${ac_cv_search_gethostbyname+:} false; then :
15484 break
15486 done
15487 if ${ac_cv_search_gethostbyname+:} false; then :
15489 else
15490 ac_cv_search_gethostbyname=no
15492 rm conftest.$ac_ext
15493 LIBS=$ac_func_search_save_LIBS
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15496 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15497 ac_res=$ac_cv_search_gethostbyname
15498 if test "$ac_res" != no; then :
15499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15505 $as_echo_n "checking for library containing connect... " >&6; }
15506 if ${ac_cv_search_connect+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509 ac_func_search_save_LIBS=$LIBS
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char connect ();
15521 main ()
15523 return connect ();
15525 return 0;
15527 _ACEOF
15528 for ac_lib in '' socket; do
15529 if test -z "$ac_lib"; then
15530 ac_res="none required"
15531 else
15532 ac_res=-l$ac_lib
15533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 ac_cv_search_connect=$ac_res
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext
15540 if ${ac_cv_search_connect+:} false; then :
15541 break
15543 done
15544 if ${ac_cv_search_connect+:} false; then :
15546 else
15547 ac_cv_search_connect=no
15549 rm conftest.$ac_ext
15550 LIBS=$ac_func_search_save_LIBS
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15553 $as_echo "$ac_cv_search_connect" >&6; }
15554 ac_res=$ac_cv_search_connect
15555 if test "$ac_res" != no; then :
15556 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15562 $as_echo_n "checking for library containing inet_aton... " >&6; }
15563 if ${ac_cv_search_inet_aton+:} false; then :
15564 $as_echo_n "(cached) " >&6
15565 else
15566 ac_func_search_save_LIBS=$LIBS
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15570 /* Override any GCC internal prototype to avoid an error.
15571 Use char because int might match the return type of a GCC
15572 builtin and then its argument prototype would still apply. */
15573 #ifdef __cplusplus
15574 extern "C"
15575 #endif
15576 char inet_aton ();
15578 main ()
15580 return inet_aton ();
15582 return 0;
15584 _ACEOF
15585 for ac_lib in '' resolv; do
15586 if test -z "$ac_lib"; then
15587 ac_res="none required"
15588 else
15589 ac_res=-l$ac_lib
15590 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 ac_cv_search_inet_aton=$ac_res
15595 rm -f core conftest.err conftest.$ac_objext \
15596 conftest$ac_exeext
15597 if ${ac_cv_search_inet_aton+:} false; then :
15598 break
15600 done
15601 if ${ac_cv_search_inet_aton+:} false; then :
15603 else
15604 ac_cv_search_inet_aton=no
15606 rm conftest.$ac_ext
15607 LIBS=$ac_func_search_save_LIBS
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15610 $as_echo "$ac_cv_search_inet_aton" >&6; }
15611 ac_res=$ac_cv_search_inet_aton
15612 if test "$ac_res" != no; then :
15613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15618 for ac_func in \
15619 getaddrinfo \
15620 getnameinfo \
15621 getnetbyname \
15622 getprotobyname \
15623 getprotobynumber \
15624 getservbyport \
15625 inet_addr \
15626 inet_network \
15627 inet_ntop \
15628 inet_pton \
15629 sendmsg \
15630 socketpair \
15632 do :
15633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15635 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15638 _ACEOF
15641 done
15644 ac_save_LIBS=$LIBS
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15646 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15647 if ${ac_cv_search_clock_gettime+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 ac_func_search_save_LIBS=$LIBS
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15654 /* Override any GCC internal prototype to avoid an error.
15655 Use char because int might match the return type of a GCC
15656 builtin and then its argument prototype would still apply. */
15657 #ifdef __cplusplus
15658 extern "C"
15659 #endif
15660 char clock_gettime ();
15662 main ()
15664 return clock_gettime ();
15666 return 0;
15668 _ACEOF
15669 for ac_lib in '' rt; do
15670 if test -z "$ac_lib"; then
15671 ac_res="none required"
15672 else
15673 ac_res=-l$ac_lib
15674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15676 if ac_fn_c_try_link "$LINENO"; then :
15677 ac_cv_search_clock_gettime=$ac_res
15679 rm -f core conftest.err conftest.$ac_objext \
15680 conftest$ac_exeext
15681 if ${ac_cv_search_clock_gettime+:} false; then :
15682 break
15684 done
15685 if ${ac_cv_search_clock_gettime+:} false; then :
15687 else
15688 ac_cv_search_clock_gettime=no
15690 rm conftest.$ac_ext
15691 LIBS=$ac_func_search_save_LIBS
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15694 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15695 ac_res=$ac_cv_search_clock_gettime
15696 if test "$ac_res" != no; then :
15697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15699 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15701 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15705 LIBS=$ac_save_LIBS
15707 LDAP_LIBS=""
15709 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15710 then
15711 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15713 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15715 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15716 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_check_lib_save_LIBS=$LIBS
15720 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15727 #ifdef __cplusplus
15728 extern "C"
15729 #endif
15730 char ldap_initialize ();
15732 main ()
15734 return ldap_initialize ();
15736 return 0;
15738 _ACEOF
15739 if ac_fn_c_try_link "$LINENO"; then :
15740 ac_cv_lib_ldap_r_ldap_initialize=yes
15741 else
15742 ac_cv_lib_ldap_r_ldap_initialize=no
15744 rm -f core conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746 LIBS=$ac_check_lib_save_LIBS
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15749 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15750 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15752 $as_echo_n "checking for ber_init in -llber... " >&6; }
15753 if ${ac_cv_lib_lber_ber_init+:} false; then :
15754 $as_echo_n "(cached) " >&6
15755 else
15756 ac_check_lib_save_LIBS=$LIBS
15757 LIBS="-llber $PTHREAD_LIBS $LIBS"
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 #ifdef __cplusplus
15765 extern "C"
15766 #endif
15767 char ber_init ();
15769 main ()
15771 return ber_init ();
15773 return 0;
15775 _ACEOF
15776 if ac_fn_c_try_link "$LINENO"; then :
15777 ac_cv_lib_lber_ber_init=yes
15778 else
15779 ac_cv_lib_lber_ber_init=no
15781 rm -f core conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783 LIBS=$ac_check_lib_save_LIBS
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15786 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15787 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15789 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15791 LDAP_LIBS="-lldap_r -llber"
15798 ac_wine_check_funcs_save_LIBS="$LIBS"
15799 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15800 for ac_func in \
15801 ldap_count_references \
15802 ldap_first_reference \
15803 ldap_next_reference \
15804 ldap_parse_reference \
15805 ldap_parse_sort_control \
15806 ldap_parse_sortresponse_control \
15807 ldap_parse_vlv_control \
15808 ldap_parse_vlvresponse_control
15809 do :
15810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15815 _ACEOF
15818 done
15820 LIBS="$ac_wine_check_funcs_save_LIBS"
15822 if test "x$LDAP_LIBS" = "x"; then :
15823 case "x$with_ldap" in
15824 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15825 xno) ;;
15826 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15827 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15828 esac
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15833 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15834 if ${wine_cv_one_arg_mkdir+:} false; then :
15835 $as_echo_n "(cached) " >&6
15836 else
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15839 #include <sys/stat.h>
15841 main ()
15843 mkdir("foo");
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_compile "$LINENO"; then :
15849 wine_cv_one_arg_mkdir=yes
15850 else
15851 wine_cv_one_arg_mkdir=no
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15856 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15857 if test "$wine_cv_one_arg_mkdir" = "yes"
15858 then
15860 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15865 $as_echo_n "checking for sched_setaffinity... " >&6; }
15866 if ${wine_cv_have_sched_setaffinity+:} false; then :
15867 $as_echo_n "(cached) " >&6
15868 else
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE
15872 #include <sched.h>
15874 main ()
15876 sched_setaffinity(0, 0, 0);
15878 return 0;
15880 _ACEOF
15881 if ac_fn_c_try_link "$LINENO"; then :
15882 wine_cv_have_sched_setaffinity=yes
15883 else
15884 wine_cv_have_sched_setaffinity=no
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15890 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15891 if test "$wine_cv_have_sched_setaffinity" = "yes"
15892 then
15894 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15899 $as_echo_n "checking for fallocate... " >&6; }
15900 if ${wine_cv_have_fallocate+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #define _GNU_SOURCE
15906 #include <fcntl.h>
15908 main ()
15910 fallocate(-1, 0, 0, 0);
15912 return 0;
15914 _ACEOF
15915 if ac_fn_c_try_link "$LINENO"; then :
15916 wine_cv_have_fallocate=yes
15917 else
15918 wine_cv_have_fallocate=no
15920 rm -f core conftest.err conftest.$ac_objext \
15921 conftest$ac_exeext conftest.$ac_ext
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15924 $as_echo "$wine_cv_have_fallocate" >&6; }
15925 if test "$wine_cv_have_fallocate" = "yes"
15926 then
15928 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15934 $as_echo_n "checking for inline... " >&6; }
15935 if ${ac_cv_c_inline+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15938 ac_cv_c_inline=no
15939 for ac_kw in inline __inline__ __inline; do
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #ifndef __cplusplus
15943 typedef int foo_t;
15944 static $ac_kw foo_t static_foo () {return 0; }
15945 $ac_kw foo_t foo () {return 0; }
15946 #endif
15948 _ACEOF
15949 if ac_fn_c_try_compile "$LINENO"; then :
15950 ac_cv_c_inline=$ac_kw
15952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15953 test "$ac_cv_c_inline" != no && break
15954 done
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15958 $as_echo "$ac_cv_c_inline" >&6; }
15960 case $ac_cv_c_inline in
15961 inline | yes) ;;
15963 case $ac_cv_c_inline in
15964 no) ac_val=;;
15965 *) ac_val=$ac_cv_c_inline;;
15966 esac
15967 cat >>confdefs.h <<_ACEOF
15968 #ifndef __cplusplus
15969 #define inline $ac_val
15970 #endif
15971 _ACEOF
15973 esac
15975 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15976 if test "x$ac_cv_type_mode_t" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_MODE_T 1
15980 _ACEOF
15984 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15985 if test "x$ac_cv_type_off_t" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_OFF_T 1
15989 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_pid_t" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_PID_T 1
15998 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16003 if test "x$ac_cv_type_size_t" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_SIZE_T 1
16007 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16012 if test "x$ac_cv_type_ssize_t" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_SSIZE_T 1
16016 _ACEOF
16020 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16021 if test "x$ac_cv_type_long_long" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_LONG_LONG 1
16025 _ACEOF
16029 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16030 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_FSBLKCNT_T 1
16034 _ACEOF
16038 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16039 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_FSFILCNT_T 1
16043 _ACEOF
16048 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16049 #include <signal.h>
16051 if test "x$ac_cv_type_sigset_t" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_SIGSET_T 1
16055 _ACEOF
16060 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16062 if test "x$ac_cv_type_request_sense" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_REQUEST_SENSE 1
16066 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16073 #ifdef HAVE_SYS_SOCKET_H
16074 #include <sys/socket.h>
16075 #endif
16076 #ifdef HAVE_SYS_SOCKETVAR_H
16077 #include <sys/socketvar.h>
16078 #endif
16079 #ifdef HAVE_NET_ROUTE_H
16080 #include <net/route.h>
16081 #endif
16082 #ifdef HAVE_NETINET_IN_H
16083 #include <netinet/in.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_SYSTM_H
16086 #include <netinet/in_systm.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IP_H
16089 #include <netinet/ip.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_PCB_H
16092 #include <netinet/in_pcb.h>
16093 #endif
16095 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_XINPGEN 1
16099 _ACEOF
16105 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16106 #include <link.h>
16107 #endif
16108 #ifdef HAVE_SYS_LINK_H
16109 #include <sys/link.h>
16110 #endif
16112 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_R_DEBUG 1
16116 _ACEOF
16120 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16121 #include <link.h>
16122 #endif
16123 #ifdef HAVE_SYS_LINK_H
16124 #include <sys/link.h>
16125 #endif
16127 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_LINK_MAP 1
16131 _ACEOF
16137 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16138 #include <linux/input.h>
16139 #endif
16141 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16145 _ACEOF
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16152 $as_echo_n "checking for sigaddset... " >&6; }
16153 if ${wine_cv_have_sigaddset+:} false; then :
16154 $as_echo_n "(cached) " >&6
16155 else
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 #include <signal.h>
16160 main ()
16162 sigset_t set; sigaddset(&set,SIGTERM);
16164 return 0;
16166 _ACEOF
16167 if ac_fn_c_try_link "$LINENO"; then :
16168 wine_cv_have_sigaddset=yes
16169 else
16170 wine_cv_have_sigaddset=no
16172 rm -f core conftest.err conftest.$ac_objext \
16173 conftest$ac_exeext conftest.$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16176 $as_echo "$wine_cv_have_sigaddset" >&6; }
16177 if test "$wine_cv_have_sigaddset" = "yes"
16178 then
16180 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16186 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16187 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16191 /* end confdefs.h. */
16192 #include <netdb.h>
16194 main ()
16197 char *name=0;
16198 struct hostent he;
16199 struct hostent *result;
16200 char *buf=0;
16201 int bufsize=0;
16202 int errnr;
16203 char *addr=0;
16204 int addrlen=0;
16205 int addrtype=0;
16206 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16207 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16210 return 0;
16212 _ACEOF
16213 if ac_fn_c_try_link "$LINENO"; then :
16214 wine_cv_linux_gethostbyname_r_6=yes
16215 else
16216 wine_cv_linux_gethostbyname_r_6=no
16219 rm -f core conftest.err conftest.$ac_objext \
16220 conftest$ac_exeext conftest.$ac_ext
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16224 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16225 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16226 then
16228 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16232 if test "$ac_cv_header_linux_joystick_h" = "yes"
16233 then
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16235 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16236 if ${wine_cv_linux_joystick_22_api+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16242 #include <sys/ioctl.h>
16243 #include <sys/types.h>
16244 #include <linux/joystick.h>
16246 struct js_event blub;
16247 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16248 #error "no 2.2 header"
16249 #endif
16252 main ()
16254 /*empty*/
16256 return 0;
16258 _ACEOF
16259 if ac_fn_c_try_compile "$LINENO"; then :
16260 wine_cv_linux_joystick_22_api=yes
16261 else
16262 wine_cv_linux_joystick_22_api=no
16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16268 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16269 if test "$wine_cv_linux_joystick_22_api" = "yes"
16270 then
16272 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16278 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16279 #ifdef HAVE_SYS_PARAM_H
16280 # include <sys/param.h>
16281 #endif
16282 #ifdef HAVE_SYS_MOUNT_H
16283 # include <sys/mount.h>
16284 #endif
16285 #ifdef HAVE_SYS_VFS_H
16286 # include <sys/vfs.h>
16287 #endif
16288 #ifdef HAVE_SYS_STATFS_H
16289 # include <sys/statfs.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_STATFS_F_BFREE 1
16296 _ACEOF
16300 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16301 #ifdef HAVE_SYS_PARAM_H
16302 # include <sys/param.h>
16303 #endif
16304 #ifdef HAVE_SYS_MOUNT_H
16305 # include <sys/mount.h>
16306 #endif
16307 #ifdef HAVE_SYS_VFS_H
16308 # include <sys/vfs.h>
16309 #endif
16310 #ifdef HAVE_SYS_STATFS_H
16311 # include <sys/statfs.h>
16312 #endif
16314 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16318 _ACEOF
16322 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16323 #ifdef HAVE_SYS_PARAM_H
16324 # include <sys/param.h>
16325 #endif
16326 #ifdef HAVE_SYS_MOUNT_H
16327 # include <sys/mount.h>
16328 #endif
16329 #ifdef HAVE_SYS_VFS_H
16330 # include <sys/vfs.h>
16331 #endif
16332 #ifdef HAVE_SYS_STATFS_H
16333 # include <sys/statfs.h>
16334 #endif
16336 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16340 _ACEOF
16344 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16345 #ifdef HAVE_SYS_PARAM_H
16346 # include <sys/param.h>
16347 #endif
16348 #ifdef HAVE_SYS_MOUNT_H
16349 # include <sys/mount.h>
16350 #endif
16351 #ifdef HAVE_SYS_VFS_H
16352 # include <sys/vfs.h>
16353 #endif
16354 #ifdef HAVE_SYS_STATFS_H
16355 # include <sys/statfs.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_STATFS_F_FFREE 1
16362 _ACEOF
16366 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16367 #ifdef HAVE_SYS_PARAM_H
16368 # include <sys/param.h>
16369 #endif
16370 #ifdef HAVE_SYS_MOUNT_H
16371 # include <sys/mount.h>
16372 #endif
16373 #ifdef HAVE_SYS_VFS_H
16374 # include <sys/vfs.h>
16375 #endif
16376 #ifdef HAVE_SYS_STATFS_H
16377 # include <sys/statfs.h>
16378 #endif
16380 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16384 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16389 #ifdef HAVE_SYS_PARAM_H
16390 # include <sys/param.h>
16391 #endif
16392 #ifdef HAVE_SYS_MOUNT_H
16393 # include <sys/mount.h>
16394 #endif
16395 #ifdef HAVE_SYS_VFS_H
16396 # include <sys/vfs.h>
16397 #endif
16398 #ifdef HAVE_SYS_STATFS_H
16399 # include <sys/statfs.h>
16400 #endif
16402 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16406 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16413 #include <sys/statvfs.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16420 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16427 #include <dirent.h>
16428 #endif
16430 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16434 _ACEOF
16440 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16441 #ifdef HAVE_SYS_SOCKET_H
16442 # include <sys/socket.h>
16443 #endif
16444 #ifdef HAVE_SYS_UN_H
16445 # include <sys/un.h>
16446 #endif
16448 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16450 cat >>confdefs.h <<_ACEOF
16451 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16452 _ACEOF
16456 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16457 #ifdef HAVE_SYS_SOCKET_H
16458 # include <sys/socket.h>
16459 #endif
16460 #ifdef HAVE_SYS_UN_H
16461 # include <sys/un.h>
16462 #endif
16464 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16468 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16473 #ifdef HAVE_SYS_SOCKET_H
16474 # include <sys/socket.h>
16475 #endif
16476 #ifdef HAVE_SYS_UN_H
16477 # include <sys/un.h>
16478 #endif
16480 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16484 _ACEOF
16490 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16491 #ifdef HAVE_SCSI_SG_H
16492 #include <scsi/sg.h>
16493 #endif
16495 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_SCSIREQ_T_CMD 1
16499 _ACEOF
16503 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>
16504 #ifdef HAVE_SCSI_SG_H
16505 #include <scsi/sg.h>
16506 #endif
16508 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16510 cat >>confdefs.h <<_ACEOF
16511 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16512 _ACEOF
16518 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16520 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_SIGINFO_T_SI_FD 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16531 #ifdef HAVE_SYS_MTIO_H
16532 #include <sys/mtio.h>
16533 #endif
16535 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16539 _ACEOF
16543 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16544 #ifdef HAVE_SYS_MTIO_H
16545 #include <sys/mtio.h>
16546 #endif
16548 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16552 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16557 #ifdef HAVE_SYS_MTIO_H
16558 #include <sys/mtio.h>
16559 #endif
16561 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16563 cat >>confdefs.h <<_ACEOF
16564 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16565 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16572 #include <getopt.h>
16573 #endif
16575 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_OPTION_NAME 1
16579 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16586 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16590 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_MTIM 1
16599 _ACEOF
16603 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16608 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_CTIM 1
16617 _ACEOF
16621 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_ATIM 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16658 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16662 _ACEOF
16666 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16667 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16671 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16676 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16680 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16685 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16689 _ACEOF
16695 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
16696 #include <sys/types.h>
16697 #endif
16698 #ifdef HAVE_NETINET_IN_H
16699 #include <netinet/in.h>
16700 #endif
16702 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16706 _ACEOF
16712 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16713 #include <resolv.h>
16714 #endif
16716 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT___RES_STATE 1
16720 _ACEOF
16726 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
16727 #include <resolv.h>
16728 #endif
16730 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16734 _ACEOF
16740 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16741 #include <sys/types.h>
16742 #endif
16743 #ifdef HAVE_NETINET_IN_H
16744 # include <netinet/in.h>
16745 #endif
16746 #ifdef HAVE_ARPA_NAMESER_H
16747 # include <arpa/nameser.h>
16748 #endif
16750 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_NS_MSG__MSG_PTR 1
16754 _ACEOF
16760 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16761 #include <sys/types.h>
16762 #endif
16763 #ifdef HAVE_NETINET_IP_H
16764 #include <netinet/ip.h>
16765 #endif
16766 #ifdef HAVE_NETINET_IP_ICMP_H
16767 #include <netinet/ip_icmp.h>
16768 #endif
16769 #ifdef HAVE_NETINET_ICMP_VAR_H
16770 #include <netinet/icmp_var.h>
16771 #endif
16773 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16775 cat >>confdefs.h <<_ACEOF
16776 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16777 _ACEOF
16783 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16784 #include <sys/types.h>
16785 #endif
16786 #ifdef HAVE_ALIAS_H
16787 #include <alias.h>
16788 #endif
16789 #ifdef HAVE_SYS_SOCKET_H
16790 #include <sys/socket.h>
16791 #endif
16792 #ifdef HAVE_SYS_SOCKETVAR_H
16793 #include <sys/socketvar.h>
16794 #endif
16795 #ifdef HAVE_SYS_TIMEOUT_H
16796 #include <sys/timeout.h>
16797 #endif
16798 #ifdef HAVE_NETINET_IN_H
16799 #include <netinet/in.h>
16800 #endif
16801 #ifdef HAVE_NETINET_IN_SYSTM_H
16802 #include <netinet/in_systm.h>
16803 #endif
16804 #ifdef HAVE_NETINET_IP_H
16805 #include <netinet/ip.h>
16806 #endif
16807 #ifdef HAVE_NETINET_IP_VAR_H
16808 #include <netinet/ip_var.h>
16809 #endif
16810 #ifdef HAVE_NETINET_IP_ICMP_H
16811 #include <netinet/ip_icmp.h>
16812 #endif
16813 #ifdef HAVE_NETINET_ICMP_VAR_H
16814 #include <netinet/icmp_var.h>
16815 #endif
16817 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16821 _ACEOF
16827 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16828 #include <sys/types.h>
16829 #endif
16830 #ifdef HAVE_SYS_SOCKETVAR_H
16831 #include <sys/socketvar.h>
16832 #endif
16833 #ifdef HAVE_NETINET_IN_H
16834 #include <netinet/in.h>
16835 #endif
16836 #ifdef HAVE_NETINET_IP_VAR_H
16837 #include <netinet/ip_var.h>
16838 #endif
16840 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16842 cat >>confdefs.h <<_ACEOF
16843 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16844 _ACEOF
16850 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
16851 #include <netinet/ip_var.h>
16852 #endif
16854 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16858 _ACEOF
16864 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16865 #include <sys/types.h>
16866 #endif
16867 #ifdef HAVE_SYS_SOCKETVAR_H
16868 #include <sys/socketvar.h>
16869 #endif
16870 #ifdef HAVE_NETINET_IN_H
16871 #include <netinet/in.h>
16872 #endif
16873 #ifdef HAVE_NETINET_TCP_H
16874 #include <netinet/tcp.h>
16875 #endif
16876 #ifdef HAVE_NETINET_TCP_VAR_H
16877 #include <netinet/tcp_var.h>
16878 #endif
16880 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16884 _ACEOF
16890 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
16891 #include <netinet/tcp_var.h>
16892 #endif
16894 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16898 _ACEOF
16904 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16905 #include <sys/types.h>
16906 #endif
16907 #ifdef HAVE_NETINET_IN_H
16908 #include <netinet/in.h>
16909 #endif
16910 #ifdef HAVE_NETINET_IP_VAR_H
16911 #include <netinet/ip_var.h>
16912 #endif
16913 #ifdef HAVE_NETINET_UDP_H
16914 #include <netinet/udp.h>
16915 #endif
16916 #ifdef HAVE_NETINET_UDP_VAR_H
16917 #include <netinet/udp_var.h>
16918 #endif
16920 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16922 cat >>confdefs.h <<_ACEOF
16923 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16924 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16931 #include <sys/types.h>
16932 #endif
16933 #ifdef HAVE_NET_IF_H
16934 # include <net/if.h>
16935 #endif
16937 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16941 _ACEOF
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16948 $as_echo_n "checking for timezone variable... " >&6; }
16949 if ${ac_cv_have_timezone+:} false; then :
16950 $as_echo_n "(cached) " >&6
16951 else
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <time.h>
16956 main ()
16958 timezone = 1
16960 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"; then :
16964 ac_cv_have_timezone="yes"
16965 else
16966 ac_cv_have_timezone="no"
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16972 $as_echo "$ac_cv_have_timezone" >&6; }
16973 if test "$ac_cv_have_timezone" = "yes"
16974 then
16976 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16980 $as_echo_n "checking for daylight variable... " >&6; }
16981 if ${ac_cv_have_daylight+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <time.h>
16988 main ()
16990 daylight = 1
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_link "$LINENO"; then :
16996 ac_cv_have_daylight="yes"
16997 else
16998 ac_cv_have_daylight="no"
17000 rm -f core conftest.err conftest.$ac_objext \
17001 conftest$ac_exeext conftest.$ac_ext
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17004 $as_echo "$ac_cv_have_daylight" >&6; }
17005 if test "$ac_cv_have_daylight" = "yes"
17006 then
17008 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17012 ac_save_LIBS="$LIBS"
17013 LIBS="$LIBS -lm"
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17015 $as_echo_n "checking for isfinite... " >&6; }
17016 if ${ac_cv_have_isfinite+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #define _GNU_SOURCE
17022 #include <math.h>
17024 main ()
17026 float f = 0.0; return isfinite(f)
17028 return 0;
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_have_isfinite="yes"
17033 else
17034 ac_cv_have_isfinite="no"
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17040 $as_echo "$ac_cv_have_isfinite" >&6; }
17041 if test "$ac_cv_have_isfinite" = "yes"
17042 then
17044 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17049 $as_echo_n "checking for isinf... " >&6; }
17050 if ${ac_cv_have_isinf+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 #include <math.h>
17057 main ()
17059 float f = 0.0; return isinf(f)
17061 return 0;
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_have_isinf="yes"
17066 else
17067 ac_cv_have_isinf="no"
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17073 $as_echo "$ac_cv_have_isinf" >&6; }
17074 if test "$ac_cv_have_isinf" = "yes"
17075 then
17077 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17082 $as_echo_n "checking for isnan... " >&6; }
17083 if ${ac_cv_have_isnan+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <math.h>
17090 main ()
17092 float f = 0.0; return isnan(f)
17094 return 0;
17096 _ACEOF
17097 if ac_fn_c_try_link "$LINENO"; then :
17098 ac_cv_have_isnan="yes"
17099 else
17100 ac_cv_have_isnan="no"
17102 rm -f core conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17106 $as_echo "$ac_cv_have_isnan" >&6; }
17107 if test "$ac_cv_have_isnan" = "yes"
17108 then
17110 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17114 for ac_func in \
17115 asinh \
17116 asinhf \
17117 cbrt \
17118 cbrtf \
17119 erf \
17120 erff \
17121 exp2 \
17122 exp2f \
17123 lgamma \
17124 lgammaf \
17125 llrint \
17126 llrintf \
17127 llround \
17128 llroundf \
17129 log2 \
17130 log2f \
17131 lrint \
17132 lrintf \
17133 lround \
17134 lroundf \
17135 nearbyint \
17136 nearbyintf \
17137 powl \
17138 remainder \
17139 remainderf \
17140 rint \
17141 rintf \
17142 round \
17143 roundf \
17144 trunc \
17145 truncf
17147 do :
17148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17150 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17153 _ACEOF
17156 done
17158 LIBS="$ac_save_LIBS"
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17161 $as_echo_n "checking for __builtin_clz... " >&6; }
17162 if ${ac_cv_have___builtin_clz+:} false; then :
17163 $as_echo_n "(cached) " >&6
17164 else
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17169 main ()
17171 return __builtin_clz(1)
17173 return 0;
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_have___builtin_clz="yes"
17178 else
17179 ac_cv_have___builtin_clz="no"
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17185 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17186 if test "$ac_cv_have___builtin_clz" = "yes"
17187 then
17189 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17194 $as_echo_n "checking for __builtin_popcount... " >&6; }
17195 if ${ac_cv_have___builtin_popcount+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17202 main ()
17204 return __builtin_popcount(1)
17206 return 0;
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_have___builtin_popcount="yes"
17211 else
17212 ac_cv_have___builtin_popcount="no"
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17218 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17219 if test "$ac_cv_have___builtin_popcount" = "yes"
17220 then
17222 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17227 case $host_cpu in
17228 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17229 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17230 if ${ac_cv_cpp_def___i386__+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #ifndef __i386__
17237 #endif
17238 _ACEOF
17239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17240 $EGREP "yes" >/dev/null 2>&1; then :
17241 ac_cv_cpp_def___i386__=yes
17242 else
17243 ac_cv_cpp_def___i386__=no
17245 rm -f conftest*
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17249 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17250 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17251 CFLAGS="$CFLAGS -D__i386__"
17252 LINTFLAGS="$LINTFLAGS -D__i386__"
17253 fi ;;
17254 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17255 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17256 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17257 $as_echo_n "(cached) " >&6
17258 else
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17261 #ifndef __x86_64__
17263 #endif
17264 _ACEOF
17265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17266 $EGREP "yes" >/dev/null 2>&1; then :
17267 ac_cv_cpp_def___x86_64__=yes
17268 else
17269 ac_cv_cpp_def___x86_64__=no
17271 rm -f conftest*
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17275 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17276 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17277 CFLAGS="$CFLAGS -D__x86_64__"
17278 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17279 fi ;;
17280 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17281 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17282 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #ifndef __sparc64__
17289 #endif
17290 _ACEOF
17291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17292 $EGREP "yes" >/dev/null 2>&1; then :
17293 ac_cv_cpp_def___sparc64__=yes
17294 else
17295 ac_cv_cpp_def___sparc64__=no
17297 rm -f conftest*
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17301 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17302 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17303 CFLAGS="$CFLAGS -D__sparc64__"
17304 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17305 fi ;;
17306 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17307 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17308 if ${ac_cv_cpp_def___sparc__+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 #ifndef __sparc__
17315 #endif
17316 _ACEOF
17317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17318 $EGREP "yes" >/dev/null 2>&1; then :
17319 ac_cv_cpp_def___sparc__=yes
17320 else
17321 ac_cv_cpp_def___sparc__=no
17323 rm -f conftest*
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17327 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17328 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17329 CFLAGS="$CFLAGS -D__sparc__"
17330 LINTFLAGS="$LINTFLAGS -D__sparc__"
17331 fi ;;
17332 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17333 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17334 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338 /* end confdefs.h. */
17339 #ifndef __powerpc64__
17341 #endif
17342 _ACEOF
17343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17344 $EGREP "yes" >/dev/null 2>&1; then :
17345 ac_cv_cpp_def___powerpc64__=yes
17346 else
17347 ac_cv_cpp_def___powerpc64__=no
17349 rm -f conftest*
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17353 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17354 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17355 CFLAGS="$CFLAGS -D__powerpc64__"
17356 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17357 fi ;;
17358 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17359 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17360 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #ifndef __powerpc__
17367 #endif
17368 _ACEOF
17369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17370 $EGREP "yes" >/dev/null 2>&1; then :
17371 ac_cv_cpp_def___powerpc__=yes
17372 else
17373 ac_cv_cpp_def___powerpc__=no
17375 rm -f conftest*
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17379 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17380 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17381 CFLAGS="$CFLAGS -D__powerpc__"
17382 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17383 fi ;;
17384 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17385 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17386 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #ifndef __aarch64__
17393 #endif
17394 _ACEOF
17395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17396 $EGREP "yes" >/dev/null 2>&1; then :
17397 ac_cv_cpp_def___aarch64__=yes
17398 else
17399 ac_cv_cpp_def___aarch64__=no
17401 rm -f conftest*
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17405 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17406 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17407 CFLAGS="$CFLAGS -D__aarch64__"
17408 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17409 fi ;;
17410 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17411 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17412 if ${ac_cv_cpp_def___arm__+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #ifndef __arm__
17419 #endif
17420 _ACEOF
17421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17422 $EGREP "yes" >/dev/null 2>&1; then :
17423 ac_cv_cpp_def___arm__=yes
17424 else
17425 ac_cv_cpp_def___arm__=no
17427 rm -f conftest*
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17431 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17432 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17433 CFLAGS="$CFLAGS -D__arm__"
17434 LINTFLAGS="$LINTFLAGS -D__arm__"
17435 fi ;;
17436 esac
17438 case $host_vendor in
17439 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17440 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17441 if ${ac_cv_cpp_def___sun__+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 #ifndef __sun__
17448 #endif
17449 _ACEOF
17450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17451 $EGREP "yes" >/dev/null 2>&1; then :
17452 ac_cv_cpp_def___sun__=yes
17453 else
17454 ac_cv_cpp_def___sun__=no
17456 rm -f conftest*
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17460 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17461 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17462 CFLAGS="$CFLAGS -D__sun__"
17463 LINTFLAGS="$LINTFLAGS -D__sun__"
17464 fi ;;
17465 esac
17471 ac_config_commands="$ac_config_commands include/stamp-h"
17473 $as_echo_n "creating Makefile rules..." >&6
17475 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17476 SOCKET_LIBS = $SOCKET_LIBS
17477 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17478 IOKIT_LIBS = $IOKIT_LIBS
17479 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17480 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17481 CORESERVICES_LIBS = $CORESERVICES_LIBS
17482 APPKIT_LIBS = $APPKIT_LIBS
17483 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17484 SECURITY_LIBS = $SECURITY_LIBS
17485 COREAUDIO_LIBS = $COREAUDIO_LIBS
17486 OPENAL_LIBS = $OPENAL_LIBS
17487 OPENCL_LIBS = $OPENCL_LIBS
17488 QUICKTIME_LIBS = $QUICKTIME_LIBS
17489 CARBON_LIBS = $CARBON_LIBS
17490 PTHREAD_LIBS = $PTHREAD_LIBS
17491 X_CFLAGS = $X_CFLAGS
17492 X_PRE_LIBS = $X_PRE_LIBS
17493 X_LIBS = $X_LIBS
17494 X_EXTRA_LIBS = $X_EXTRA_LIBS
17495 PCAP_LIBS = $PCAP_LIBS
17496 XML2_CFLAGS = $XML2_CFLAGS
17497 XML2_LIBS = $XML2_LIBS
17498 XSLT_CFLAGS = $XSLT_CFLAGS
17499 XSLT_LIBS = $XSLT_LIBS
17500 DBUS_CFLAGS = $DBUS_CFLAGS
17501 DBUS_LIBS = $DBUS_LIBS
17502 HAL_CFLAGS = $HAL_CFLAGS
17503 HAL_LIBS = $HAL_LIBS
17504 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17505 GNUTLS_LIBS = $GNUTLS_LIBS
17506 SANE_CFLAGS = $SANE_CFLAGS
17507 SANE_LIBS = $SANE_LIBS
17508 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17509 GPHOTO2_LIBS = $GPHOTO2_LIBS
17510 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17511 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17512 RESOLV_LIBS = $RESOLV_LIBS
17513 LCMS2_CFLAGS = $LCMS2_CFLAGS
17514 LCMS2_LIBS = $LCMS2_LIBS
17515 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17516 FREETYPE_LIBS = $FREETYPE_LIBS
17517 Z_LIBS = $Z_LIBS
17518 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17519 PULSE_CFLAGS = $PULSE_CFLAGS
17520 PULSE_LIBS = $PULSE_LIBS
17521 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17522 GSTREAMER_LIBS = $GSTREAMER_LIBS
17523 ALSA_LIBS = $ALSA_LIBS
17524 OSS4_CFLAGS = $OSS4_CFLAGS
17525 UDEV_CFLAGS = $UDEV_CFLAGS
17526 UDEV_LIBS = $UDEV_LIBS
17527 CAPI20_CFLAGS = $CAPI20_CFLAGS
17528 CAPI20_LIBS = $CAPI20_LIBS
17529 CUPS_CFLAGS = $CUPS_CFLAGS
17530 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17531 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17532 JPEG_CFLAGS = $JPEG_CFLAGS
17533 JPEG_LIBS = $JPEG_LIBS
17534 PNG_CFLAGS = $PNG_CFLAGS
17535 PNG_LIBS = $PNG_LIBS
17536 TIFF_CFLAGS = $TIFF_CFLAGS
17537 TIFF_LIBS = $TIFF_LIBS
17538 MPG123_CFLAGS = $MPG123_CFLAGS
17539 MPG123_LIBS = $MPG123_LIBS
17540 KSTAT_LIBS = $KSTAT_LIBS
17541 PROCSTAT_LIBS = $PROCSTAT_LIBS
17542 NETAPI_CFLAGS = $NETAPI_CFLAGS
17543 NETAPI_LIBS = $NETAPI_LIBS
17544 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17545 DL_LIBS = $DL_LIBS
17546 POLL_LIBS = $POLL_LIBS
17547 RT_LIBS = $RT_LIBS
17548 LDAP_LIBS = $LDAP_LIBS
17553 wine_fn_append_rule "
17554 # Rules automatically generated by configure
17556 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17558 .INIT: Makefile
17559 .MAKEFILEDEPS:
17560 all: Makefile
17561 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17562 @./config.status Make.tmp Makefile
17563 depend: \$(MAKEDEP) dummy
17564 \$(MAKEDEP)"
17566 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17567 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17569 if test "x$enable_fonts" != xno; then
17570 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17571 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17572 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17573 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17574 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17575 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17577 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17578 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17579 ac_config_links="$ac_config_links wine:tools/winewrapper"
17580 wine_fn_config_symlink wine
17581 if test "x$enable_win64" != xno; then
17582 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17583 wine_fn_config_symlink wine64
17586 wine_fn_config_dll acledit enable_acledit
17587 wine_fn_config_dll aclui enable_aclui implib
17588 wine_fn_config_dll activeds enable_activeds implib
17589 wine_fn_config_dll actxprxy enable_actxprxy clean
17590 wine_fn_config_lib adsiid
17591 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17592 wine_fn_config_test dlls/advapi32/tests advapi32_test
17593 wine_fn_config_dll advpack enable_advpack implib
17594 wine_fn_config_test dlls/advpack/tests advpack_test
17595 wine_fn_config_dll amstream enable_amstream clean
17596 wine_fn_config_test dlls/amstream/tests amstream_test
17597 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17598 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17613 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17618 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17623 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17624 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17625 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17628 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17631 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17633 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17635 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17637 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17640 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17641 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17642 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17644 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17645 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17646 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17652 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17653 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17664 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17665 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17678 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17682 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17684 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17685 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17687 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17698 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17699 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17705 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17709 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17710 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17711 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17712 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17713 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17714 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17715 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17716 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17720 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17721 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17722 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17723 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17724 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17725 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17726 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17727 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17728 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17729 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17730 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17731 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17732 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17733 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17734 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17735 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17736 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17737 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17738 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17739 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17740 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17741 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17742 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17743 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17744 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17745 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17746 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17747 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17748 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17749 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17750 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17751 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17752 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17753 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17754 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17755 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17756 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17757 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17758 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17759 wine_fn_config_dll apphelp enable_apphelp
17760 wine_fn_config_test dlls/apphelp/tests apphelp_test
17761 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17762 wine_fn_config_dll atl enable_atl clean,implib
17763 wine_fn_config_test dlls/atl/tests atl_test
17764 wine_fn_config_dll atl100 enable_atl100 clean,implib
17765 wine_fn_config_test dlls/atl100/tests atl100_test
17766 wine_fn_config_dll atl110 enable_atl110 clean
17767 wine_fn_config_dll atl80 enable_atl80 clean,implib
17768 wine_fn_config_test dlls/atl80/tests atl80_test
17769 wine_fn_config_dll atl90 enable_atl90 clean
17770 wine_fn_config_dll authz enable_authz
17771 wine_fn_config_dll avicap32 enable_avicap32 implib
17772 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17773 wine_fn_config_test dlls/avifil32/tests avifil32_test
17774 wine_fn_config_dll avifile.dll16 enable_win16
17775 wine_fn_config_dll avrt enable_avrt implib
17776 wine_fn_config_dll bcrypt enable_bcrypt implib
17777 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17778 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17779 wine_fn_config_dll browseui enable_browseui clean
17780 wine_fn_config_test dlls/browseui/tests browseui_test
17781 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17782 wine_fn_config_dll cabinet enable_cabinet implib
17783 wine_fn_config_test dlls/cabinet/tests cabinet_test
17784 wine_fn_config_dll capi2032 enable_capi2032 implib
17785 wine_fn_config_dll cards enable_cards implib
17786 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17787 wine_fn_config_dll clusapi enable_clusapi implib
17788 wine_fn_config_dll combase enable_combase
17789 wine_fn_config_test dlls/combase/tests combase_test
17790 wine_fn_config_dll comcat enable_comcat
17791 wine_fn_config_test dlls/comcat/tests comcat_test
17792 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17793 wine_fn_config_test dlls/comctl32/tests comctl32_test
17794 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17795 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17796 wine_fn_config_dll comm.drv16 enable_win16
17797 wine_fn_config_dll commdlg.dll16 enable_win16
17798 wine_fn_config_dll compobj.dll16 enable_win16
17799 wine_fn_config_dll compstui enable_compstui implib
17800 wine_fn_config_dll comsvcs enable_comsvcs implib
17801 wine_fn_config_dll concrt140 enable_concrt140
17802 wine_fn_config_dll connect enable_connect
17803 wine_fn_config_dll credui enable_credui clean,implib
17804 wine_fn_config_test dlls/credui/tests credui_test
17805 wine_fn_config_dll crtdll enable_crtdll
17806 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17807 wine_fn_config_test dlls/crypt32/tests crypt32_test
17808 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17809 wine_fn_config_dll cryptdll enable_cryptdll implib
17810 wine_fn_config_dll cryptext enable_cryptext
17811 wine_fn_config_dll cryptnet enable_cryptnet implib
17812 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17813 wine_fn_config_dll cryptui enable_cryptui clean,implib
17814 wine_fn_config_test dlls/cryptui/tests cryptui_test
17815 wine_fn_config_dll ctapi32 enable_ctapi32
17816 wine_fn_config_dll ctl3d.dll16 enable_win16
17817 wine_fn_config_dll ctl3d32 enable_ctl3d32
17818 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17819 wine_fn_config_dll d2d1 enable_d2d1 implib
17820 wine_fn_config_test dlls/d2d1/tests d2d1_test
17821 wine_fn_config_dll d3d10 enable_d3d10 implib
17822 wine_fn_config_test dlls/d3d10/tests d3d10_test
17823 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17824 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17825 wine_fn_config_dll d3d10core enable_d3d10core implib
17826 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17827 wine_fn_config_dll d3d11 enable_d3d11 implib
17828 wine_fn_config_test dlls/d3d11/tests d3d11_test
17829 wine_fn_config_dll d3d8 enable_d3d8 implib
17830 wine_fn_config_test dlls/d3d8/tests d3d8_test
17831 wine_fn_config_dll d3d9 enable_d3d9 implib
17832 wine_fn_config_test dlls/d3d9/tests d3d9_test
17833 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17834 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17835 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17836 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17837 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17838 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17839 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17840 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17841 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17842 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17843 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17844 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17845 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17846 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17847 wine_fn_config_dll d3dim enable_d3dim
17848 wine_fn_config_dll d3drm enable_d3drm implib
17849 wine_fn_config_test dlls/d3drm/tests d3drm_test
17850 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17851 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17852 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17853 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17854 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17855 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17856 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17857 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17858 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17859 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17860 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17861 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17862 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17863 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17864 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17865 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17866 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17867 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17868 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17869 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17870 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17871 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17872 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17873 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17874 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17875 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17876 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17877 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17878 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17879 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17880 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17881 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17882 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17883 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17884 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17885 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17886 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17887 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17888 wine_fn_config_dll davclnt enable_davclnt
17889 wine_fn_config_dll dbgeng enable_dbgeng implib
17890 wine_fn_config_dll dbghelp enable_dbghelp implib
17891 wine_fn_config_dll dciman32 enable_dciman32 implib
17892 wine_fn_config_dll ddeml.dll16 enable_win16
17893 wine_fn_config_dll ddraw enable_ddraw clean,implib
17894 wine_fn_config_test dlls/ddraw/tests ddraw_test
17895 wine_fn_config_dll ddrawex enable_ddrawex clean
17896 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17897 wine_fn_config_dll devenum enable_devenum clean
17898 wine_fn_config_test dlls/devenum/tests devenum_test
17899 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17900 wine_fn_config_dll difxapi enable_difxapi
17901 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17902 wine_fn_config_test dlls/dinput/tests dinput_test
17903 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17904 wine_fn_config_test dlls/dinput8/tests dinput8_test
17905 wine_fn_config_dll dispdib.dll16 enable_win16
17906 wine_fn_config_dll dispex enable_dispex clean
17907 wine_fn_config_test dlls/dispex/tests dispex_test
17908 wine_fn_config_dll display.drv16 enable_win16
17909 wine_fn_config_dll dmband enable_dmband clean
17910 wine_fn_config_test dlls/dmband/tests dmband_test
17911 wine_fn_config_dll dmcompos enable_dmcompos clean
17912 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17913 wine_fn_config_dll dmime enable_dmime clean
17914 wine_fn_config_test dlls/dmime/tests dmime_test
17915 wine_fn_config_dll dmloader enable_dmloader clean
17916 wine_fn_config_test dlls/dmloader/tests dmloader_test
17917 wine_fn_config_dll dmscript enable_dmscript clean
17918 wine_fn_config_test dlls/dmscript/tests dmscript_test
17919 wine_fn_config_dll dmstyle enable_dmstyle clean
17920 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17921 wine_fn_config_dll dmsynth enable_dmsynth clean
17922 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17923 wine_fn_config_dll dmusic enable_dmusic clean
17924 wine_fn_config_test dlls/dmusic/tests dmusic_test
17925 wine_fn_config_dll dmusic32 enable_dmusic32
17926 wine_fn_config_dll dnsapi enable_dnsapi implib
17927 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17928 wine_fn_config_dll dplay enable_dplay
17929 wine_fn_config_dll dplayx enable_dplayx clean,implib
17930 wine_fn_config_test dlls/dplayx/tests dplayx_test
17931 wine_fn_config_dll dpnaddr enable_dpnaddr
17932 wine_fn_config_dll dpnet enable_dpnet clean,implib
17933 wine_fn_config_test dlls/dpnet/tests dpnet_test
17934 wine_fn_config_dll dpnhpast enable_dpnhpast
17935 wine_fn_config_dll dpnlobby enable_dpnlobby
17936 wine_fn_config_dll dpvoice enable_dpvoice clean
17937 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17938 wine_fn_config_dll dpwsockx enable_dpwsockx
17939 wine_fn_config_dll drmclien enable_drmclien
17940 wine_fn_config_dll dsound enable_dsound clean,implib
17941 wine_fn_config_test dlls/dsound/tests dsound_test
17942 wine_fn_config_dll dssenh enable_dssenh
17943 wine_fn_config_test dlls/dssenh/tests dssenh_test
17944 wine_fn_config_dll dswave enable_dswave clean
17945 wine_fn_config_test dlls/dswave/tests dswave_test
17946 wine_fn_config_dll dwmapi enable_dwmapi implib
17947 wine_fn_config_dll dwrite enable_dwrite implib
17948 wine_fn_config_test dlls/dwrite/tests dwrite_test
17949 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17950 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17951 wine_fn_config_lib dxerr8
17952 wine_fn_config_lib dxerr9
17953 wine_fn_config_dll dxgi enable_dxgi implib
17954 wine_fn_config_test dlls/dxgi/tests dxgi_test
17955 wine_fn_config_lib dxguid
17956 wine_fn_config_dll dxva2 enable_dxva2
17957 wine_fn_config_dll esent enable_esent
17958 wine_fn_config_dll evr enable_evr
17959 wine_fn_config_dll explorerframe enable_explorerframe clean
17960 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17961 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17962 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17963 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17964 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17965 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17966 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17967 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17968 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17969 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17970 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17971 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17972 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17973 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17974 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17975 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
17976 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17977 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17978 wine_fn_config_dll faultrep enable_faultrep implib
17979 wine_fn_config_test dlls/faultrep/tests faultrep_test
17980 wine_fn_config_dll fltlib enable_fltlib
17981 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17982 wine_fn_config_dll fntcache enable_fntcache
17983 wine_fn_config_dll fontsub enable_fontsub
17984 wine_fn_config_dll fusion enable_fusion
17985 wine_fn_config_test dlls/fusion/tests fusion_test
17986 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17987 wine_fn_config_dll gameux enable_gameux clean
17988 wine_fn_config_test dlls/gameux/tests gameux_test
17989 wine_fn_config_dll gdi.exe16 enable_win16
17990 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17991 wine_fn_config_test dlls/gdi32/tests gdi32_test
17992 wine_fn_config_dll gdiplus enable_gdiplus implib
17993 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17994 wine_fn_config_dll glu32 enable_glu32 implib
17995 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17996 wine_fn_config_dll gpkcsp enable_gpkcsp
17997 wine_fn_config_dll hal enable_hal
17998 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17999 wine_fn_config_dll hid enable_hid implib
18000 wine_fn_config_test dlls/hid/tests hid_test
18001 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18002 wine_fn_config_dll hlink enable_hlink clean,implib
18003 wine_fn_config_test dlls/hlink/tests hlink_test
18004 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18005 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18006 wine_fn_config_dll httpapi enable_httpapi
18007 wine_fn_config_dll iccvid enable_iccvid clean
18008 wine_fn_config_dll icmp enable_icmp
18009 wine_fn_config_dll ieframe enable_ieframe clean,implib
18010 wine_fn_config_test dlls/ieframe/tests ieframe_test
18011 wine_fn_config_dll ifsmgr.vxd enable_win16
18012 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18013 wine_fn_config_dll imagehlp enable_imagehlp implib
18014 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18015 wine_fn_config_dll imm.dll16 enable_win16
18016 wine_fn_config_dll imm32 enable_imm32 implib
18017 wine_fn_config_test dlls/imm32/tests imm32_test
18018 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18019 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18020 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18021 wine_fn_config_dll inetmib1 enable_inetmib1
18022 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18023 wine_fn_config_dll infosoft enable_infosoft clean
18024 wine_fn_config_test dlls/infosoft/tests infosoft_test
18025 wine_fn_config_dll initpki enable_initpki
18026 wine_fn_config_dll inkobj enable_inkobj
18027 wine_fn_config_dll inseng enable_inseng clean
18028 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18029 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18030 wine_fn_config_dll iprop enable_iprop
18031 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18032 wine_fn_config_dll itircl enable_itircl
18033 wine_fn_config_dll itss enable_itss clean
18034 wine_fn_config_test dlls/itss/tests itss_test
18035 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18036 wine_fn_config_dll jscript enable_jscript clean
18037 wine_fn_config_test dlls/jscript/tests jscript_test
18038 wine_fn_config_dll jsproxy enable_jsproxy implib
18039 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18040 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18041 wine_fn_config_test dlls/kernel32/tests kernel32_test
18042 wine_fn_config_dll kernelbase enable_kernelbase
18043 wine_fn_config_dll keyboard.drv16 enable_win16
18044 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18045 wine_fn_config_dll ksuser enable_ksuser
18046 wine_fn_config_dll ktmw32 enable_ktmw32
18047 wine_fn_config_dll loadperf enable_loadperf implib
18048 wine_fn_config_dll localspl enable_localspl clean
18049 wine_fn_config_test dlls/localspl/tests localspl_test
18050 wine_fn_config_dll localui enable_localui clean
18051 wine_fn_config_test dlls/localui/tests localui_test
18052 wine_fn_config_dll lz32 enable_lz32 implib
18053 wine_fn_config_test dlls/lz32/tests lz32_test
18054 wine_fn_config_dll lzexpand.dll16 enable_win16
18055 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18056 wine_fn_config_test dlls/mapi32/tests mapi32_test
18057 wine_fn_config_dll mapistub enable_mapistub
18058 wine_fn_config_dll mciavi32 enable_mciavi32
18059 wine_fn_config_dll mcicda enable_mcicda
18060 wine_fn_config_dll mciqtz32 enable_mciqtz32
18061 wine_fn_config_dll mciseq enable_mciseq
18062 wine_fn_config_dll mciwave enable_mciwave
18063 wine_fn_config_dll mf enable_mf
18064 wine_fn_config_dll mf3216 enable_mf3216
18065 wine_fn_config_dll mfplat enable_mfplat
18066 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18067 wine_fn_config_dll mgmtapi enable_mgmtapi
18068 wine_fn_config_dll midimap enable_midimap
18069 wine_fn_config_dll mlang enable_mlang clean,implib
18070 wine_fn_config_test dlls/mlang/tests mlang_test
18071 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18072 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18073 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18074 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18075 wine_fn_config_dll mmdevldr.vxd enable_win16
18076 wine_fn_config_dll mmsystem.dll16 enable_win16
18077 wine_fn_config_dll monodebg.vxd enable_win16
18078 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18079 wine_fn_config_dll mouse.drv16 enable_win16
18080 wine_fn_config_dll mpr enable_mpr clean,implib
18081 wine_fn_config_test dlls/mpr/tests mpr_test
18082 wine_fn_config_dll mprapi enable_mprapi implib
18083 wine_fn_config_dll msacm.dll16 enable_win16
18084 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18085 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18086 wine_fn_config_test dlls/msacm32/tests msacm32_test
18087 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18088 wine_fn_config_dll msasn1 enable_msasn1 implib
18089 wine_fn_config_dll mscat32 enable_mscat32
18090 wine_fn_config_dll mscms enable_mscms implib
18091 wine_fn_config_test dlls/mscms/tests mscms_test
18092 wine_fn_config_dll mscoree enable_mscoree clean
18093 wine_fn_config_test dlls/mscoree/tests mscoree_test
18094 wine_fn_config_dll msctf enable_msctf clean
18095 wine_fn_config_test dlls/msctf/tests msctf_test
18096 wine_fn_config_dll msctfp enable_msctfp clean
18097 wine_fn_config_dll msdaps enable_msdaps clean
18098 wine_fn_config_dll msdelta enable_msdelta
18099 wine_fn_config_dll msdmo enable_msdmo implib
18100 wine_fn_config_test dlls/msdmo/tests msdmo_test
18101 wine_fn_config_dll msdrm enable_msdrm
18102 wine_fn_config_dll msftedit enable_msftedit
18103 wine_fn_config_dll msg711.acm enable_msg711_acm
18104 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18105 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18106 wine_fn_config_dll mshtml enable_mshtml clean,implib
18107 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18108 wine_fn_config_dll msi enable_msi clean,implib
18109 wine_fn_config_test dlls/msi/tests msi_test
18110 wine_fn_config_dll msident enable_msident clean
18111 wine_fn_config_dll msimg32 enable_msimg32 implib
18112 wine_fn_config_dll msimsg enable_msimsg
18113 wine_fn_config_dll msimtf enable_msimtf clean
18114 wine_fn_config_dll msisip enable_msisip
18115 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18116 wine_fn_config_dll msls31 enable_msls31
18117 wine_fn_config_dll msnet32 enable_msnet32
18118 wine_fn_config_dll mspatcha enable_mspatcha implib
18119 wine_fn_config_dll msports enable_msports
18120 wine_fn_config_dll msrle32 enable_msrle32 clean
18121 wine_fn_config_test dlls/msrle32/tests msrle32_test
18122 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18123 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18124 wine_fn_config_dll mssign32 enable_mssign32
18125 wine_fn_config_dll mssip32 enable_mssip32
18126 wine_fn_config_dll mstask enable_mstask clean
18127 wine_fn_config_test dlls/mstask/tests mstask_test
18128 wine_fn_config_dll msvcirt enable_msvcirt
18129 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18130 wine_fn_config_dll msvcm80 enable_msvcm80
18131 wine_fn_config_dll msvcm90 enable_msvcm90
18132 wine_fn_config_dll msvcp100 enable_msvcp100
18133 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18134 wine_fn_config_dll msvcp110 enable_msvcp110
18135 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18136 wine_fn_config_dll msvcp120 enable_msvcp120
18137 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18138 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18139 wine_fn_config_dll msvcp140 enable_msvcp140
18140 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18141 wine_fn_config_dll msvcp60 enable_msvcp60
18142 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18143 wine_fn_config_dll msvcp70 enable_msvcp70
18144 wine_fn_config_dll msvcp71 enable_msvcp71
18145 wine_fn_config_dll msvcp80 enable_msvcp80
18146 wine_fn_config_dll msvcp90 enable_msvcp90
18147 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18148 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18149 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18150 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18151 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18152 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18153 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18154 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18155 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18156 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18157 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18158 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18159 wine_fn_config_dll msvcrt enable_msvcrt implib
18160 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18161 wine_fn_config_dll msvcrt20 enable_msvcrt20
18162 wine_fn_config_dll msvcrt40 enable_msvcrt40
18163 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18164 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18165 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18166 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18167 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18168 wine_fn_config_dll msvideo.dll16 enable_win16
18169 wine_fn_config_dll mswsock enable_mswsock implib
18170 wine_fn_config_dll msxml enable_msxml clean
18171 wine_fn_config_dll msxml2 enable_msxml2 clean
18172 wine_fn_config_dll msxml3 enable_msxml3 clean
18173 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18174 wine_fn_config_dll msxml4 enable_msxml4 clean
18175 wine_fn_config_dll msxml6 enable_msxml6 clean
18176 wine_fn_config_dll ncrypt enable_ncrypt
18177 wine_fn_config_dll nddeapi enable_nddeapi implib
18178 wine_fn_config_dll ndis.sys enable_ndis_sys
18179 wine_fn_config_dll netapi32 enable_netapi32 implib
18180 wine_fn_config_test dlls/netapi32/tests netapi32_test
18181 wine_fn_config_dll netcfgx enable_netcfgx clean
18182 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18183 wine_fn_config_dll netprofm enable_netprofm clean
18184 wine_fn_config_test dlls/netprofm/tests netprofm_test
18185 wine_fn_config_dll newdev enable_newdev implib
18186 wine_fn_config_dll normaliz enable_normaliz implib
18187 wine_fn_config_dll npmshtml enable_npmshtml
18188 wine_fn_config_dll npptools enable_npptools
18189 wine_fn_config_dll ntdll enable_ntdll implib
18190 wine_fn_config_test dlls/ntdll/tests ntdll_test
18191 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18192 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18193 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18194 wine_fn_config_dll ntprint enable_ntprint
18195 wine_fn_config_test dlls/ntprint/tests ntprint_test
18196 wine_fn_config_dll objsel enable_objsel clean
18197 wine_fn_config_dll odbc32 enable_odbc32 implib
18198 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18199 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18200 wine_fn_config_dll odbccu32 enable_odbccu32
18201 wine_fn_config_dll ole2.dll16 enable_win16
18202 wine_fn_config_dll ole2conv.dll16 enable_win16
18203 wine_fn_config_dll ole2disp.dll16 enable_win16
18204 wine_fn_config_dll ole2nls.dll16 enable_win16
18205 wine_fn_config_dll ole2prox.dll16 enable_win16
18206 wine_fn_config_dll ole2thk.dll16 enable_win16
18207 wine_fn_config_dll ole32 enable_ole32 clean,implib
18208 wine_fn_config_test dlls/ole32/tests ole32_test
18209 wine_fn_config_dll oleacc enable_oleacc clean,implib
18210 wine_fn_config_test dlls/oleacc/tests oleacc_test
18211 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18212 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18213 wine_fn_config_dll olecli.dll16 enable_win16
18214 wine_fn_config_dll olecli32 enable_olecli32 implib
18215 wine_fn_config_dll oledb32 enable_oledb32 clean
18216 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18217 wine_fn_config_dll oledlg enable_oledlg clean,implib
18218 wine_fn_config_test dlls/oledlg/tests oledlg_test
18219 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18220 wine_fn_config_dll olesvr.dll16 enable_win16
18221 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18222 wine_fn_config_dll olethk32 enable_olethk32
18223 wine_fn_config_dll openal32 enable_openal32
18224 wine_fn_config_dll opencl enable_opencl
18225 wine_fn_config_dll opengl32 enable_opengl32 implib
18226 wine_fn_config_test dlls/opengl32/tests opengl32_test
18227 wine_fn_config_dll packager enable_packager clean
18228 wine_fn_config_test dlls/packager/tests packager_test
18229 wine_fn_config_dll pdh enable_pdh implib
18230 wine_fn_config_test dlls/pdh/tests pdh_test
18231 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18232 wine_fn_config_dll pidgen enable_pidgen
18233 wine_fn_config_dll powrprof enable_powrprof implib
18234 wine_fn_config_dll printui enable_printui
18235 wine_fn_config_dll prntvpt enable_prntvpt
18236 wine_fn_config_dll propsys enable_propsys clean,implib
18237 wine_fn_config_test dlls/propsys/tests propsys_test
18238 wine_fn_config_dll psapi enable_psapi implib
18239 wine_fn_config_test dlls/psapi/tests psapi_test
18240 wine_fn_config_dll pstorec enable_pstorec clean
18241 wine_fn_config_dll qcap enable_qcap
18242 wine_fn_config_test dlls/qcap/tests qcap_test
18243 wine_fn_config_dll qedit enable_qedit clean
18244 wine_fn_config_test dlls/qedit/tests qedit_test
18245 wine_fn_config_dll qmgr enable_qmgr clean
18246 wine_fn_config_test dlls/qmgr/tests qmgr_test
18247 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18248 wine_fn_config_dll quartz enable_quartz clean,implib
18249 wine_fn_config_test dlls/quartz/tests quartz_test clean
18250 wine_fn_config_dll query enable_query
18251 wine_fn_config_dll rasapi16.dll16 enable_win16
18252 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18253 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18254 wine_fn_config_dll rasdlg enable_rasdlg implib
18255 wine_fn_config_dll regapi enable_regapi
18256 wine_fn_config_dll resutils enable_resutils implib
18257 wine_fn_config_dll riched20 enable_riched20 clean,implib
18258 wine_fn_config_test dlls/riched20/tests riched20_test
18259 wine_fn_config_dll riched32 enable_riched32
18260 wine_fn_config_test dlls/riched32/tests riched32_test
18261 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18262 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18263 wine_fn_config_dll rsabase enable_rsabase
18264 wine_fn_config_dll rsaenh enable_rsaenh implib
18265 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18266 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18267 wine_fn_config_dll rtutils enable_rtutils implib
18268 wine_fn_config_dll samlib enable_samlib
18269 wine_fn_config_dll sane.ds enable_sane_ds clean
18270 wine_fn_config_dll scarddlg enable_scarddlg
18271 wine_fn_config_dll sccbase enable_sccbase
18272 wine_fn_config_dll schannel enable_schannel
18273 wine_fn_config_test dlls/schannel/tests schannel_test
18274 wine_fn_config_dll schedsvc enable_schedsvc clean
18275 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18276 wine_fn_config_dll scrobj enable_scrobj clean
18277 wine_fn_config_dll scrrun enable_scrrun clean
18278 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18279 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18280 wine_fn_config_dll secur32 enable_secur32 implib
18281 wine_fn_config_test dlls/secur32/tests secur32_test
18282 wine_fn_config_dll security enable_security
18283 wine_fn_config_dll sensapi enable_sensapi implib
18284 wine_fn_config_dll serialui enable_serialui clean
18285 wine_fn_config_test dlls/serialui/tests serialui_test
18286 wine_fn_config_dll setupapi enable_setupapi clean,implib
18287 wine_fn_config_test dlls/setupapi/tests setupapi_test
18288 wine_fn_config_dll setupx.dll16 enable_win16
18289 wine_fn_config_dll sfc enable_sfc implib
18290 wine_fn_config_dll sfc_os enable_sfc_os implib
18291 wine_fn_config_dll shdoclc enable_shdoclc clean
18292 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18293 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18294 wine_fn_config_dll shell.dll16 enable_win16
18295 wine_fn_config_dll shell32 enable_shell32 clean,implib
18296 wine_fn_config_test dlls/shell32/tests shell32_test
18297 wine_fn_config_dll shfolder enable_shfolder implib
18298 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18299 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18300 wine_fn_config_dll slbcsp enable_slbcsp
18301 wine_fn_config_dll slc enable_slc implib
18302 wine_fn_config_test dlls/slc/tests slc_test
18303 wine_fn_config_dll snmpapi enable_snmpapi implib
18304 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18305 wine_fn_config_dll softpub enable_softpub
18306 wine_fn_config_dll sound.drv16 enable_win16
18307 wine_fn_config_dll spoolss enable_spoolss implib
18308 wine_fn_config_test dlls/spoolss/tests spoolss_test
18309 wine_fn_config_dll sspicli enable_sspicli
18310 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18311 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18312 wine_fn_config_dll sti enable_sti clean,implib
18313 wine_fn_config_test dlls/sti/tests sti_test
18314 wine_fn_config_dll storage.dll16 enable_win16
18315 wine_fn_config_dll stress.dll16 enable_win16
18316 wine_fn_config_lib strmbase
18317 wine_fn_config_lib strmiids
18318 wine_fn_config_dll svrapi enable_svrapi
18319 wine_fn_config_dll sxs enable_sxs implib
18320 wine_fn_config_test dlls/sxs/tests sxs_test
18321 wine_fn_config_dll system.drv16 enable_win16
18322 wine_fn_config_dll t2embed enable_t2embed implib
18323 wine_fn_config_test dlls/t2embed/tests t2embed_test
18324 wine_fn_config_dll tapi32 enable_tapi32 implib
18325 wine_fn_config_dll taskschd enable_taskschd clean
18326 wine_fn_config_test dlls/taskschd/tests taskschd_test
18327 wine_fn_config_dll tdi.sys enable_tdi_sys
18328 wine_fn_config_dll toolhelp.dll16 enable_win16
18329 wine_fn_config_dll traffic enable_traffic
18330 wine_fn_config_dll twain.dll16 enable_win16
18331 wine_fn_config_dll twain_32 enable_twain_32
18332 wine_fn_config_test dlls/twain_32/tests twain_32_test
18333 wine_fn_config_dll typelib.dll16 enable_win16
18334 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18335 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18336 wine_fn_config_dll unicows enable_unicows implib
18337 wine_fn_config_dll updspapi enable_updspapi
18338 wine_fn_config_dll url enable_url implib
18339 wine_fn_config_dll urlmon enable_urlmon clean,implib
18340 wine_fn_config_test dlls/urlmon/tests urlmon_test
18341 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18342 wine_fn_config_dll user.exe16 enable_win16
18343 wine_fn_config_dll user32 enable_user32 clean,implib
18344 wine_fn_config_test dlls/user32/tests user32_test
18345 wine_fn_config_dll userenv enable_userenv implib
18346 wine_fn_config_test dlls/userenv/tests userenv_test
18347 wine_fn_config_dll usp10 enable_usp10 implib
18348 wine_fn_config_test dlls/usp10/tests usp10_test
18349 wine_fn_config_lib uuid
18350 wine_fn_config_dll uxtheme enable_uxtheme implib
18351 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18352 wine_fn_config_dll vbscript enable_vbscript clean
18353 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18354 wine_fn_config_dll vcomp enable_vcomp
18355 wine_fn_config_test dlls/vcomp/tests vcomp_test
18356 wine_fn_config_dll vcomp100 enable_vcomp100
18357 wine_fn_config_dll vcomp110 enable_vcomp110
18358 wine_fn_config_dll vcomp120 enable_vcomp120
18359 wine_fn_config_dll vcomp140 enable_vcomp140
18360 wine_fn_config_dll vcomp90 enable_vcomp90
18361 wine_fn_config_dll vcruntime140 enable_vcruntime140
18362 wine_fn_config_dll vdhcp.vxd enable_win16
18363 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18364 wine_fn_config_dll ver.dll16 enable_win16
18365 wine_fn_config_dll version enable_version implib
18366 wine_fn_config_test dlls/version/tests version_test
18367 wine_fn_config_dll vmm.vxd enable_win16
18368 wine_fn_config_dll vnbt.vxd enable_win16
18369 wine_fn_config_dll vnetbios.vxd enable_win16
18370 wine_fn_config_dll vssapi enable_vssapi
18371 wine_fn_config_dll vtdapi.vxd enable_win16
18372 wine_fn_config_dll vwin32.vxd enable_win16
18373 wine_fn_config_dll w32skrnl enable_win16
18374 wine_fn_config_dll w32sys.dll16 enable_win16
18375 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18376 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18377 wine_fn_config_dll wbemprox enable_wbemprox clean
18378 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18379 wine_fn_config_dll webservices enable_webservices implib
18380 wine_fn_config_test dlls/webservices/tests webservices_test
18381 wine_fn_config_dll wer enable_wer implib
18382 wine_fn_config_test dlls/wer/tests wer_test
18383 wine_fn_config_dll wevtapi enable_wevtapi
18384 wine_fn_config_dll wiaservc enable_wiaservc clean
18385 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18386 wine_fn_config_dll wimgapi enable_wimgapi
18387 wine_fn_config_dll win32s16.dll16 enable_win16
18388 wine_fn_config_dll win87em.dll16 enable_win16
18389 wine_fn_config_dll winaspi.dll16 enable_win16
18390 wine_fn_config_dll windebug.dll16 enable_win16
18391 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18392 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18393 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18394 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18395 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18396 wine_fn_config_dll winebus.sys enable_winebus_sys
18397 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18398 wine_fn_config_lib winecrt0
18399 wine_fn_config_dll wined3d enable_wined3d implib
18400 wine_fn_config_dll winegstreamer enable_winegstreamer
18401 wine_fn_config_dll winehid.sys enable_winehid_sys
18402 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18403 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18404 wine_fn_config_dll winemapi enable_winemapi
18405 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18406 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18407 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18408 wine_fn_config_dll wineps16.drv16 enable_win16
18409 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18410 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18411 wine_fn_config_dll winex11.drv enable_winex11_drv
18412 wine_fn_config_dll wing.dll16 enable_win16
18413 wine_fn_config_dll wing32 enable_wing32
18414 wine_fn_config_dll winhttp enable_winhttp clean,implib
18415 wine_fn_config_test dlls/winhttp/tests winhttp_test
18416 wine_fn_config_dll wininet enable_wininet clean,implib
18417 wine_fn_config_test dlls/wininet/tests wininet_test
18418 wine_fn_config_dll winmm enable_winmm clean,implib
18419 wine_fn_config_test dlls/winmm/tests winmm_test
18420 wine_fn_config_dll winnls.dll16 enable_win16
18421 wine_fn_config_dll winnls32 enable_winnls32 implib
18422 wine_fn_config_dll winscard enable_winscard implib
18423 wine_fn_config_dll winsock.dll16 enable_win16
18424 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18425 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18426 wine_fn_config_dll winsta enable_winsta
18427 wine_fn_config_dll wintab.dll16 enable_win16
18428 wine_fn_config_dll wintab32 enable_wintab32 implib
18429 wine_fn_config_test dlls/wintab32/tests wintab32_test
18430 wine_fn_config_dll wintrust enable_wintrust implib
18431 wine_fn_config_test dlls/wintrust/tests wintrust_test
18432 wine_fn_config_dll wlanapi enable_wlanapi implib
18433 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18434 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18435 wine_fn_config_test dlls/wldap32/tests wldap32_test
18436 wine_fn_config_dll wmasf enable_wmasf
18437 wine_fn_config_dll wmi enable_wmi
18438 wine_fn_config_dll wmiutils enable_wmiutils clean
18439 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18440 wine_fn_config_dll wmp enable_wmp clean
18441 wine_fn_config_test dlls/wmp/tests wmp_test
18442 wine_fn_config_dll wmvcore enable_wmvcore
18443 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18444 wine_fn_config_dll wow32 enable_win16 implib
18445 wine_fn_config_dll wpc enable_wpc clean
18446 wine_fn_config_test dlls/wpc/tests wpc_test
18447 wine_fn_config_dll wpcap enable_wpcap
18448 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18449 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18450 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18451 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18452 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18453 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18454 wine_fn_config_dll wsock32 enable_wsock32 implib
18455 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18456 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18457 wine_fn_config_dll wuapi enable_wuapi clean
18458 wine_fn_config_dll wuaueng enable_wuaueng
18459 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18460 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18461 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18462 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18463 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18464 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18465 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18466 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18467 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18468 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18469 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18470 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18471 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18472 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18473 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18474 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18475 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18476 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18477 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18478 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18479 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18480 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18481 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18482 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18483 wine_fn_config_dll xinput1_1 enable_xinput1_1
18484 wine_fn_config_dll xinput1_2 enable_xinput1_2
18485 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18486 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18487 wine_fn_config_dll xinput1_4 enable_xinput1_4
18488 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18489 wine_fn_config_dll xmllite enable_xmllite implib
18490 wine_fn_config_test dlls/xmllite/tests xmllite_test
18491 wine_fn_config_dll xolehlp enable_xolehlp
18492 wine_fn_config_dll xpsprint enable_xpsprint
18493 wine_fn_config_dll xpssvcs enable_xpssvcs
18494 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18495 wine_fn_config_makefile include enable_include clean,install-dev
18496 wine_fn_config_makefile libs/port enable_libs_port
18497 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18498 wine_fn_config_makefile libs/wpp enable_libs_wpp
18499 wine_fn_config_makefile loader enable_loader clean,install-lib
18500 wine_fn_config_makefile po enable_po clean
18501 wine_fn_config_program arp enable_arp install
18502 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18503 wine_fn_config_program attrib enable_attrib clean,install
18504 wine_fn_config_program cabarc enable_cabarc install
18505 wine_fn_config_program cacls enable_cacls install
18506 wine_fn_config_program clock enable_clock clean,install
18507 wine_fn_config_program cmd enable_cmd clean,install
18508 wine_fn_config_test programs/cmd/tests cmd.exe_test
18509 wine_fn_config_program conhost enable_conhost install
18510 wine_fn_config_program control enable_control install
18511 wine_fn_config_program cscript enable_cscript clean,install
18512 wine_fn_config_program dpnsvr enable_dpnsvr install
18513 wine_fn_config_program dxdiag enable_dxdiag clean,install
18514 wine_fn_config_program eject enable_eject install
18515 wine_fn_config_program expand enable_expand install
18516 wine_fn_config_program explorer enable_explorer clean,install
18517 wine_fn_config_program extrac32 enable_extrac32 install
18518 wine_fn_config_program findstr enable_findstr install
18519 wine_fn_config_program fsutil enable_fsutil install
18520 wine_fn_config_program hh enable_hh install
18521 wine_fn_config_program hostname enable_hostname clean,install
18522 wine_fn_config_program icacls enable_icacls install
18523 wine_fn_config_program icinfo enable_icinfo install
18524 wine_fn_config_program iexplore enable_iexplore install
18525 wine_fn_config_program ipconfig enable_ipconfig clean,install
18526 wine_fn_config_program lodctr enable_lodctr install
18527 wine_fn_config_program mofcomp enable_mofcomp install
18528 wine_fn_config_program mshta enable_mshta install
18529 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18530 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18531 wine_fn_config_program net enable_net clean,install
18532 wine_fn_config_program netsh enable_netsh install
18533 wine_fn_config_program netstat enable_netstat clean,install
18534 wine_fn_config_program ngen enable_ngen install
18535 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18536 wine_fn_config_program oleview enable_oleview clean,install
18537 wine_fn_config_program ping enable_ping install
18538 wine_fn_config_program plugplay enable_plugplay install
18539 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18540 wine_fn_config_program progman enable_progman clean,install
18541 wine_fn_config_program reg enable_reg clean,install
18542 wine_fn_config_test programs/reg/tests reg.exe_test
18543 wine_fn_config_program regasm enable_regasm install
18544 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18545 wine_fn_config_test programs/regedit/tests regedit.exe_test
18546 wine_fn_config_program regsvcs enable_regsvcs install
18547 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18548 wine_fn_config_program rpcss enable_rpcss clean,install
18549 wine_fn_config_program rundll.exe16 enable_win16 install
18550 wine_fn_config_program rundll32 enable_rundll32 install
18551 wine_fn_config_program sc enable_sc install
18552 wine_fn_config_program schtasks enable_schtasks install
18553 wine_fn_config_program sdbinst enable_sdbinst install
18554 wine_fn_config_program secedit enable_secedit install
18555 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18556 wine_fn_config_program services enable_services clean,install
18557 wine_fn_config_test programs/services/tests services.exe_test
18558 wine_fn_config_program shutdown enable_shutdown install
18559 wine_fn_config_program spoolsv enable_spoolsv install
18560 wine_fn_config_program start enable_start clean,install
18561 wine_fn_config_program subst enable_subst install
18562 wine_fn_config_program svchost enable_svchost install
18563 wine_fn_config_program systeminfo enable_systeminfo install
18564 wine_fn_config_program taskkill enable_taskkill clean,install
18565 wine_fn_config_program tasklist enable_tasklist install
18566 wine_fn_config_program taskmgr enable_taskmgr clean,install
18567 wine_fn_config_program termsv enable_termsv install
18568 wine_fn_config_program uninstaller enable_uninstaller clean,install
18569 wine_fn_config_program unlodctr enable_unlodctr install
18570 wine_fn_config_program view enable_view clean,install
18571 wine_fn_config_program wevtutil enable_wevtutil install
18572 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18573 wine_fn_config_program winebrowser enable_winebrowser install
18574 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18575 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18576 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18577 wine_fn_config_program winedevice enable_winedevice install
18578 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18579 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18580 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18581 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18582 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18583 wine_fn_config_program winetest enable_winetest clean
18584 wine_fn_config_program winevdm enable_win16 install
18585 wine_fn_config_program winhelp.exe16 enable_win16 install
18586 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18587 wine_fn_config_program winoldap.mod16 enable_win16 install
18588 wine_fn_config_program winver enable_winver install
18589 wine_fn_config_program wmic enable_wmic clean,install
18590 wine_fn_config_program wmplayer enable_wmplayer install
18591 wine_fn_config_program wordpad enable_wordpad clean,install
18592 wine_fn_config_program write enable_write clean,install
18593 wine_fn_config_program wscript enable_wscript clean,install
18594 wine_fn_config_test programs/wscript/tests wscript.exe_test
18595 wine_fn_config_program wusa enable_wusa install
18596 wine_fn_config_program xcopy enable_xcopy clean,install
18597 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18598 wine_fn_config_makefile server enable_server clean,install-lib
18599 wine_fn_config_tool tools clean
18600 wine_fn_config_tool tools/sfnt2fon clean
18601 wine_fn_config_tool tools/widl clean,install-dev
18602 wine_fn_config_tool tools/winebuild clean,install-dev
18603 wine_fn_config_tool tools/winedump clean,install-dev
18604 wine_fn_config_tool tools/winegcc clean,install-dev
18605 wine_fn_config_tool tools/winemaker clean,install-dev
18606 wine_fn_config_tool tools/wmc clean,install-dev
18607 wine_fn_config_tool tools/wrc clean,install-dev
18610 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18611 wine_fn_append_file CONFIGURE_TARGETS "tags"
18612 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18613 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18614 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18615 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18616 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18617 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18619 if test "x$enable_tools" != xno
18620 then
18621 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18622 ac_config_commands="$ac_config_commands tools/makedep"
18626 ac_config_commands="$ac_config_commands Makefile"
18629 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18633 if test "x$enable_maintainer_mode" = xyes
18634 then
18635 wine_fn_append_rule "configure: configure.ac aclocal.m4
18636 autoconf --warnings=all
18637 include/config.h.in: include/stamp-h.in
18638 include/stamp-h.in: configure.ac aclocal.m4
18639 autoheader --warnings=all
18640 @echo timestamp > \$@"
18643 if test "x$enable_tools" != xno
18644 then
18645 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18646 @./config.status tools/makedep
18647 Makefile: tools/makedep$ac_exeext"
18648 else
18649 wine_fn_append_rule "\$(MAKEDEP):
18650 @echo \"You need to run make in $TOOLSDIR first\" && false"
18653 if test -n "$with_wine64"
18654 then
18655 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18656 fonts server:
18657 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18658 $with_wine64/loader/wine:
18659 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18660 $with_wine64/loader/wine-preloader:
18661 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18662 clean::
18663 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18664 else
18665 WINELOADER_INSTALL="wine.inf"
18667 wine_fn_append_rule "install install-lib::
18668 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18669 uninstall::
18670 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18671 case $host_os in
18672 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18673 *) wine_fn_append_rule "install install-lib::
18674 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18675 uninstall::
18676 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18677 esac
18680 $as_echo " done" >&6
18681 cat >confcache <<\_ACEOF
18682 # This file is a shell script that caches the results of configure
18683 # tests run on this system so they can be shared between configure
18684 # scripts and configure runs, see configure's option --config-cache.
18685 # It is not useful on other systems. If it contains results you don't
18686 # want to keep, you may remove or edit it.
18688 # config.status only pays attention to the cache file if you give it
18689 # the --recheck option to rerun configure.
18691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18693 # following values.
18695 _ACEOF
18697 # The following way of writing the cache mishandles newlines in values,
18698 # but we know of no workaround that is simple, portable, and efficient.
18699 # So, we kill variables containing newlines.
18700 # Ultrix sh set writes to stderr and can't be redirected directly,
18701 # and sets the high bit in the cache file unless we assign to the vars.
18703 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18704 eval ac_val=\$$ac_var
18705 case $ac_val in #(
18706 *${as_nl}*)
18707 case $ac_var in #(
18708 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18710 esac
18711 case $ac_var in #(
18712 _ | IFS | as_nl) ;; #(
18713 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18714 *) { eval $ac_var=; unset $ac_var;} ;;
18715 esac ;;
18716 esac
18717 done
18719 (set) 2>&1 |
18720 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18721 *${as_nl}ac_space=\ *)
18722 # `set' does not quote correctly, so add quotes: double-quote
18723 # substitution turns \\\\ into \\, and sed turns \\ into \.
18724 sed -n \
18725 "s/'/'\\\\''/g;
18726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18727 ;; #(
18729 # `set' quotes correctly as required by POSIX, so do not add quotes.
18730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18732 esac |
18733 sort
18735 sed '
18736 /^ac_cv_env_/b end
18737 t clear
18738 :clear
18739 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18740 t end
18741 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18742 :end' >>confcache
18743 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18744 if test -w "$cache_file"; then
18745 if test "x$cache_file" != "x/dev/null"; then
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18747 $as_echo "$as_me: updating cache $cache_file" >&6;}
18748 if test ! -f "$cache_file" || test -h "$cache_file"; then
18749 cat confcache >"$cache_file"
18750 else
18751 case $cache_file in #(
18752 */* | ?:*)
18753 mv -f confcache "$cache_file"$$ &&
18754 mv -f "$cache_file"$$ "$cache_file" ;; #(
18756 mv -f confcache "$cache_file" ;;
18757 esac
18760 else
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18765 rm -f confcache
18767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18768 # Let make expand exec_prefix.
18769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18771 DEFS=-DHAVE_CONFIG_H
18773 ac_libobjs=
18774 ac_ltlibobjs=
18776 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18777 # 1. Remove the extension, and $U if already installed.
18778 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18779 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18780 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18781 # will be set to the directory where LIBOBJS objects are built.
18782 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18783 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18784 done
18785 LIBOBJS=$ac_libobjs
18787 LTLIBOBJS=$ac_ltlibobjs
18791 : "${CONFIG_STATUS=./config.status}"
18792 ac_write_fail=0
18793 ac_clean_files_save=$ac_clean_files
18794 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18796 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18797 as_write_fail=0
18798 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18799 #! $SHELL
18800 # Generated by $as_me.
18801 # Run this file to recreate the current configuration.
18802 # Compiler output produced by configure, useful for debugging
18803 # configure, is in config.log if it exists.
18805 debug=false
18806 ac_cs_recheck=false
18807 ac_cs_silent=false
18809 SHELL=\${CONFIG_SHELL-$SHELL}
18810 export SHELL
18811 _ASEOF
18812 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18813 ## -------------------- ##
18814 ## M4sh Initialization. ##
18815 ## -------------------- ##
18817 # Be more Bourne compatible
18818 DUALCASE=1; export DUALCASE # for MKS sh
18819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18820 emulate sh
18821 NULLCMD=:
18822 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18823 # is contrary to our usage. Disable this feature.
18824 alias -g '${1+"$@"}'='"$@"'
18825 setopt NO_GLOB_SUBST
18826 else
18827 case `(set -o) 2>/dev/null` in #(
18828 *posix*) :
18829 set -o posix ;; #(
18830 *) :
18832 esac
18836 as_nl='
18838 export as_nl
18839 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18840 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18843 # Prefer a ksh shell builtin over an external printf program on Solaris,
18844 # but without wasting forks for bash or zsh.
18845 if test -z "$BASH_VERSION$ZSH_VERSION" \
18846 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18847 as_echo='print -r --'
18848 as_echo_n='print -rn --'
18849 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18850 as_echo='printf %s\n'
18851 as_echo_n='printf %s'
18852 else
18853 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18854 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18855 as_echo_n='/usr/ucb/echo -n'
18856 else
18857 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18858 as_echo_n_body='eval
18859 arg=$1;
18860 case $arg in #(
18861 *"$as_nl"*)
18862 expr "X$arg" : "X\\(.*\\)$as_nl";
18863 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18864 esac;
18865 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18867 export as_echo_n_body
18868 as_echo_n='sh -c $as_echo_n_body as_echo'
18870 export as_echo_body
18871 as_echo='sh -c $as_echo_body as_echo'
18874 # The user is always right.
18875 if test "${PATH_SEPARATOR+set}" != set; then
18876 PATH_SEPARATOR=:
18877 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18878 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18879 PATH_SEPARATOR=';'
18884 # IFS
18885 # We need space, tab and new line, in precisely that order. Quoting is
18886 # there to prevent editors from complaining about space-tab.
18887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18888 # splitting by setting IFS to empty value.)
18889 IFS=" "" $as_nl"
18891 # Find who we are. Look in the path if we contain no directory separator.
18892 as_myself=
18893 case $0 in #((
18894 *[\\/]* ) as_myself=$0 ;;
18895 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18896 for as_dir in $PATH
18898 IFS=$as_save_IFS
18899 test -z "$as_dir" && as_dir=.
18900 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18901 done
18902 IFS=$as_save_IFS
18905 esac
18906 # We did not find ourselves, most probably we were run as `sh COMMAND'
18907 # in which case we are not to be found in the path.
18908 if test "x$as_myself" = x; then
18909 as_myself=$0
18911 if test ! -f "$as_myself"; then
18912 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18913 exit 1
18916 # Unset variables that we do not need and which cause bugs (e.g. in
18917 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18918 # suppresses any "Segmentation fault" message there. '((' could
18919 # trigger a bug in pdksh 5.2.14.
18920 for as_var in BASH_ENV ENV MAIL MAILPATH
18921 do eval test x\${$as_var+set} = xset \
18922 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18923 done
18924 PS1='$ '
18925 PS2='> '
18926 PS4='+ '
18928 # NLS nuisances.
18929 LC_ALL=C
18930 export LC_ALL
18931 LANGUAGE=C
18932 export LANGUAGE
18934 # CDPATH.
18935 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18938 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18939 # ----------------------------------------
18940 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18941 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18942 # script with STATUS, using 1 if that was 0.
18943 as_fn_error ()
18945 as_status=$1; test $as_status -eq 0 && as_status=1
18946 if test "$4"; then
18947 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18948 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18950 $as_echo "$as_me: error: $2" >&2
18951 as_fn_exit $as_status
18952 } # as_fn_error
18955 # as_fn_set_status STATUS
18956 # -----------------------
18957 # Set $? to STATUS, without forking.
18958 as_fn_set_status ()
18960 return $1
18961 } # as_fn_set_status
18963 # as_fn_exit STATUS
18964 # -----------------
18965 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18966 as_fn_exit ()
18968 set +e
18969 as_fn_set_status $1
18970 exit $1
18971 } # as_fn_exit
18973 # as_fn_unset VAR
18974 # ---------------
18975 # Portably unset VAR.
18976 as_fn_unset ()
18978 { eval $1=; unset $1;}
18980 as_unset=as_fn_unset
18981 # as_fn_append VAR VALUE
18982 # ----------------------
18983 # Append the text in VALUE to the end of the definition contained in VAR. Take
18984 # advantage of any shell optimizations that allow amortized linear growth over
18985 # repeated appends, instead of the typical quadratic growth present in naive
18986 # implementations.
18987 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18988 eval 'as_fn_append ()
18990 eval $1+=\$2
18992 else
18993 as_fn_append ()
18995 eval $1=\$$1\$2
18997 fi # as_fn_append
18999 # as_fn_arith ARG...
19000 # ------------------
19001 # Perform arithmetic evaluation on the ARGs, and store the result in the
19002 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19003 # must be portable across $(()) and expr.
19004 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19005 eval 'as_fn_arith ()
19007 as_val=$(( $* ))
19009 else
19010 as_fn_arith ()
19012 as_val=`expr "$@" || test $? -eq 1`
19014 fi # as_fn_arith
19017 if expr a : '\(a\)' >/dev/null 2>&1 &&
19018 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19019 as_expr=expr
19020 else
19021 as_expr=false
19024 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19025 as_basename=basename
19026 else
19027 as_basename=false
19030 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19031 as_dirname=dirname
19032 else
19033 as_dirname=false
19036 as_me=`$as_basename -- "$0" ||
19037 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19038 X"$0" : 'X\(//\)$' \| \
19039 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19040 $as_echo X/"$0" |
19041 sed '/^.*\/\([^/][^/]*\)\/*$/{
19042 s//\1/
19045 /^X\/\(\/\/\)$/{
19046 s//\1/
19049 /^X\/\(\/\).*/{
19050 s//\1/
19053 s/.*/./; q'`
19055 # Avoid depending upon Character Ranges.
19056 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19057 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19058 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19059 as_cr_digits='0123456789'
19060 as_cr_alnum=$as_cr_Letters$as_cr_digits
19062 ECHO_C= ECHO_N= ECHO_T=
19063 case `echo -n x` in #(((((
19064 -n*)
19065 case `echo 'xy\c'` in
19066 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19067 xy) ECHO_C='\c';;
19068 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19069 ECHO_T=' ';;
19070 esac;;
19072 ECHO_N='-n';;
19073 esac
19075 rm -f conf$$ conf$$.exe conf$$.file
19076 if test -d conf$$.dir; then
19077 rm -f conf$$.dir/conf$$.file
19078 else
19079 rm -f conf$$.dir
19080 mkdir conf$$.dir 2>/dev/null
19082 if (echo >conf$$.file) 2>/dev/null; then
19083 if ln -s conf$$.file conf$$ 2>/dev/null; then
19084 as_ln_s='ln -s'
19085 # ... but there are two gotchas:
19086 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19087 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19088 # In both cases, we have to default to `cp -pR'.
19089 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19090 as_ln_s='cp -pR'
19091 elif ln conf$$.file conf$$ 2>/dev/null; then
19092 as_ln_s=ln
19093 else
19094 as_ln_s='cp -pR'
19096 else
19097 as_ln_s='cp -pR'
19099 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19100 rmdir conf$$.dir 2>/dev/null
19103 # as_fn_mkdir_p
19104 # -------------
19105 # Create "$as_dir" as a directory, including parents if necessary.
19106 as_fn_mkdir_p ()
19109 case $as_dir in #(
19110 -*) as_dir=./$as_dir;;
19111 esac
19112 test -d "$as_dir" || eval $as_mkdir_p || {
19113 as_dirs=
19114 while :; do
19115 case $as_dir in #(
19116 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19117 *) as_qdir=$as_dir;;
19118 esac
19119 as_dirs="'$as_qdir' $as_dirs"
19120 as_dir=`$as_dirname -- "$as_dir" ||
19121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19122 X"$as_dir" : 'X\(//\)[^/]' \| \
19123 X"$as_dir" : 'X\(//\)$' \| \
19124 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19125 $as_echo X"$as_dir" |
19126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19127 s//\1/
19130 /^X\(\/\/\)[^/].*/{
19131 s//\1/
19134 /^X\(\/\/\)$/{
19135 s//\1/
19138 /^X\(\/\).*/{
19139 s//\1/
19142 s/.*/./; q'`
19143 test -d "$as_dir" && break
19144 done
19145 test -z "$as_dirs" || eval "mkdir $as_dirs"
19146 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19149 } # as_fn_mkdir_p
19150 if mkdir -p . 2>/dev/null; then
19151 as_mkdir_p='mkdir -p "$as_dir"'
19152 else
19153 test -d ./-p && rmdir ./-p
19154 as_mkdir_p=false
19158 # as_fn_executable_p FILE
19159 # -----------------------
19160 # Test if FILE is an executable regular file.
19161 as_fn_executable_p ()
19163 test -f "$1" && test -x "$1"
19164 } # as_fn_executable_p
19165 as_test_x='test -x'
19166 as_executable_p=as_fn_executable_p
19168 # Sed expression to map a string onto a valid CPP name.
19169 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19171 # Sed expression to map a string onto a valid variable name.
19172 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19175 exec 6>&1
19176 ## ----------------------------------- ##
19177 ## Main body of $CONFIG_STATUS script. ##
19178 ## ----------------------------------- ##
19179 _ASEOF
19180 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19183 # Save the log message, to keep $0 and so on meaningful, and to
19184 # report actual input values of CONFIG_FILES etc. instead of their
19185 # values after options handling.
19186 ac_log="
19187 This file was extended by Wine $as_me 2.0, which was
19188 generated by GNU Autoconf 2.69. Invocation command line was
19190 CONFIG_FILES = $CONFIG_FILES
19191 CONFIG_HEADERS = $CONFIG_HEADERS
19192 CONFIG_LINKS = $CONFIG_LINKS
19193 CONFIG_COMMANDS = $CONFIG_COMMANDS
19194 $ $0 $@
19196 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19199 _ACEOF
19201 case $ac_config_files in *"
19202 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19203 esac
19205 case $ac_config_headers in *"
19206 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19207 esac
19210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19211 # Files that config.status was made for.
19212 config_files="$ac_config_files"
19213 config_headers="$ac_config_headers"
19214 config_links="$ac_config_links"
19215 config_commands="$ac_config_commands"
19217 _ACEOF
19219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19220 ac_cs_usage="\
19221 \`$as_me' instantiates files and other configuration actions
19222 from templates according to the current configuration. Unless the files
19223 and actions are specified as TAGs, all are instantiated by default.
19225 Usage: $0 [OPTION]... [TAG]...
19227 -h, --help print this help, then exit
19228 -V, --version print version number and configuration settings, then exit
19229 --config print configuration, then exit
19230 -q, --quiet, --silent
19231 do not print progress messages
19232 -d, --debug don't remove temporary files
19233 --recheck update $as_me by reconfiguring in the same conditions
19234 --file=FILE[:TEMPLATE]
19235 instantiate the configuration file FILE
19236 --header=FILE[:TEMPLATE]
19237 instantiate the configuration header FILE
19239 Configuration files:
19240 $config_files
19242 Configuration headers:
19243 $config_headers
19245 Configuration links:
19246 $config_links
19248 Configuration commands:
19249 $config_commands
19251 Report bugs to <wine-devel@winehq.org>.
19252 Wine home page: <http://www.winehq.org>."
19254 _ACEOF
19255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19256 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19257 ac_cs_version="\\
19258 Wine config.status 2.0
19259 configured by $0, generated by GNU Autoconf 2.69,
19260 with options \\"\$ac_cs_config\\"
19262 Copyright (C) 2012 Free Software Foundation, Inc.
19263 This config.status script is free software; the Free Software Foundation
19264 gives unlimited permission to copy, distribute and modify it."
19266 ac_pwd='$ac_pwd'
19267 srcdir='$srcdir'
19268 test -n "\$AWK" || AWK=awk
19269 _ACEOF
19271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19272 # The default lists apply if the user does not specify any file.
19273 ac_need_defaults=:
19274 while test $# != 0
19276 case $1 in
19277 --*=?*)
19278 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19279 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19280 ac_shift=:
19282 --*=)
19283 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19284 ac_optarg=
19285 ac_shift=:
19288 ac_option=$1
19289 ac_optarg=$2
19290 ac_shift=shift
19292 esac
19294 case $ac_option in
19295 # Handling of the options.
19296 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19297 ac_cs_recheck=: ;;
19298 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19299 $as_echo "$ac_cs_version"; exit ;;
19300 --config | --confi | --conf | --con | --co | --c )
19301 $as_echo "$ac_cs_config"; exit ;;
19302 --debug | --debu | --deb | --de | --d | -d )
19303 debug=: ;;
19304 --file | --fil | --fi | --f )
19305 $ac_shift
19306 case $ac_optarg in
19307 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19308 '') as_fn_error $? "missing file argument" ;;
19309 esac
19310 as_fn_append CONFIG_FILES " '$ac_optarg'"
19311 ac_need_defaults=false;;
19312 --header | --heade | --head | --hea )
19313 $ac_shift
19314 case $ac_optarg in
19315 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19316 esac
19317 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19318 ac_need_defaults=false;;
19319 --he | --h)
19320 # Conflict between --help and --header
19321 as_fn_error $? "ambiguous option: \`$1'
19322 Try \`$0 --help' for more information.";;
19323 --help | --hel | -h )
19324 $as_echo "$ac_cs_usage"; exit ;;
19325 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19326 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19327 ac_cs_silent=: ;;
19329 # This is an error.
19330 -*) as_fn_error $? "unrecognized option: \`$1'
19331 Try \`$0 --help' for more information." ;;
19333 *) as_fn_append ac_config_targets " $1"
19334 ac_need_defaults=false ;;
19336 esac
19337 shift
19338 done
19340 ac_configure_extra_args=
19342 if $ac_cs_silent; then
19343 exec 6>/dev/null
19344 ac_configure_extra_args="$ac_configure_extra_args --silent"
19347 _ACEOF
19348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19349 if \$ac_cs_recheck; then
19350 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19351 shift
19352 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19353 CONFIG_SHELL='$SHELL'
19354 export CONFIG_SHELL
19355 exec "\$@"
19358 _ACEOF
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 exec 5>>config.log
19362 echo
19363 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19364 ## Running $as_me. ##
19365 _ASBOX
19366 $as_echo "$ac_log"
19367 } >&5
19369 _ACEOF
19370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19372 # INIT-COMMANDS
19374 wine_fn_output_makedep ()
19376 as_dir=tools; as_fn_mkdir_p
19377 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19379 wine_fn_output_makefile ()
19381 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19382 `cat $wine_rules_file`
19383 _WINE_EOF
19384 as_fn_error $? "could not create Makefile" "$LINENO" 5
19387 _ACEOF
19389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19391 # Handling of arguments.
19392 for ac_config_target in $ac_config_targets
19394 case $ac_config_target in
19395 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19396 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19397 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19398 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19399 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19400 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19401 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19402 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19403 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19404 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19405 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19406 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19407 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19409 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19410 esac
19411 done
19414 # If the user did not use the arguments to specify the items to instantiate,
19415 # then the envvar interface is used. Set only those that are not.
19416 # We use the long form for the default assignment because of an extremely
19417 # bizarre bug on SunOS 4.1.3.
19418 if $ac_need_defaults; then
19419 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19420 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19421 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19422 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19425 # Have a temporary directory for convenience. Make it in the build tree
19426 # simply because there is no reason against having it here, and in addition,
19427 # creating and moving files from /tmp can sometimes cause problems.
19428 # Hook for its removal unless debugging.
19429 # Note that there is a small window in which the directory will not be cleaned:
19430 # after its creation but before its name has been assigned to `$tmp'.
19431 $debug ||
19433 tmp= ac_tmp=
19434 trap 'exit_status=$?
19435 : "${ac_tmp:=$tmp}"
19436 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19438 trap 'as_fn_exit 1' 1 2 13 15
19440 # Create a (secure) tmp directory for tmp files.
19443 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19444 test -d "$tmp"
19445 } ||
19447 tmp=./conf$$-$RANDOM
19448 (umask 077 && mkdir "$tmp")
19449 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19450 ac_tmp=$tmp
19452 # Set up the scripts for CONFIG_FILES section.
19453 # No need to generate them if there are no CONFIG_FILES.
19454 # This happens for instance with `./config.status config.h'.
19455 if test -n "$CONFIG_FILES"; then
19458 ac_cr=`echo X | tr X '\015'`
19459 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19460 # But we know of no other shell where ac_cr would be empty at this
19461 # point, so we can use a bashism as a fallback.
19462 if test "x$ac_cr" = x; then
19463 eval ac_cr=\$\'\\r\'
19465 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19466 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19467 ac_cs_awk_cr='\\r'
19468 else
19469 ac_cs_awk_cr=$ac_cr
19472 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19473 _ACEOF
19477 echo "cat >conf$$subs.awk <<_ACEOF" &&
19478 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19479 echo "_ACEOF"
19480 } >conf$$subs.sh ||
19481 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19482 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19483 ac_delim='%!_!# '
19484 for ac_last_try in false false false false false :; do
19485 . ./conf$$subs.sh ||
19486 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19488 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19489 if test $ac_delim_n = $ac_delim_num; then
19490 break
19491 elif $ac_last_try; then
19492 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19493 else
19494 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19496 done
19497 rm -f conf$$subs.sh
19499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19500 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19501 _ACEOF
19502 sed -n '
19504 s/^/S["/; s/!.*/"]=/
19507 s/^[^!]*!//
19508 :repl
19509 t repl
19510 s/'"$ac_delim"'$//
19511 t delim
19514 s/\(.\{148\}\)..*/\1/
19515 t more1
19516 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19519 b repl
19520 :more1
19521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19524 s/.\{148\}//
19525 t nl
19526 :delim
19528 s/\(.\{148\}\)..*/\1/
19529 t more2
19530 s/["\\]/\\&/g; s/^/"/; s/$/"/
19533 :more2
19534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19537 s/.\{148\}//
19538 t delim
19539 ' <conf$$subs.awk | sed '
19540 /^[^""]/{
19542 s/\n//
19544 ' >>$CONFIG_STATUS || ac_write_fail=1
19545 rm -f conf$$subs.awk
19546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19547 _ACAWK
19548 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19549 for (key in S) S_is_set[key] = 1
19550 FS = "\a"
19554 line = $ 0
19555 nfields = split(line, field, "@")
19556 substed = 0
19557 len = length(field[1])
19558 for (i = 2; i < nfields; i++) {
19559 key = field[i]
19560 keylen = length(key)
19561 if (S_is_set[key]) {
19562 value = S[key]
19563 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19564 len += length(value) + length(field[++i])
19565 substed = 1
19566 } else
19567 len += 1 + keylen
19570 print line
19573 _ACAWK
19574 _ACEOF
19575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19576 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19577 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19578 else
19580 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19581 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19582 _ACEOF
19584 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19585 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19586 # trailing colons and then remove the whole line if VPATH becomes empty
19587 # (actually we leave an empty line to preserve line numbers).
19588 if test "x$srcdir" = x.; then
19589 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19591 s///
19592 s/^/:/
19593 s/[ ]*$/:/
19594 s/:\$(srcdir):/:/g
19595 s/:\${srcdir}:/:/g
19596 s/:@srcdir@:/:/g
19597 s/^:*//
19598 s/:*$//
19600 s/\(=[ ]*\).*/\1/
19602 s/\n//
19603 s/^[^=]*=[ ]*$//
19607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19608 fi # test -n "$CONFIG_FILES"
19610 # Set up the scripts for CONFIG_HEADERS section.
19611 # No need to generate them if there are no CONFIG_HEADERS.
19612 # This happens for instance with `./config.status Makefile'.
19613 if test -n "$CONFIG_HEADERS"; then
19614 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19615 BEGIN {
19616 _ACEOF
19618 # Transform confdefs.h into an awk script `defines.awk', embedded as
19619 # here-document in config.status, that substitutes the proper values into
19620 # config.h.in to produce config.h.
19622 # Create a delimiter string that does not exist in confdefs.h, to ease
19623 # handling of long lines.
19624 ac_delim='%!_!# '
19625 for ac_last_try in false false :; do
19626 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19627 if test -z "$ac_tt"; then
19628 break
19629 elif $ac_last_try; then
19630 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19631 else
19632 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19634 done
19636 # For the awk script, D is an array of macro values keyed by name,
19637 # likewise P contains macro parameters if any. Preserve backslash
19638 # newline sequences.
19640 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19641 sed -n '
19642 s/.\{148\}/&'"$ac_delim"'/g
19643 t rset
19644 :rset
19645 s/^[ ]*#[ ]*define[ ][ ]*/ /
19646 t def
19648 :def
19649 s/\\$//
19650 t bsnl
19651 s/["\\]/\\&/g
19652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19653 D["\1"]=" \3"/p
19654 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19656 :bsnl
19657 s/["\\]/\\&/g
19658 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19659 D["\1"]=" \3\\\\\\n"\\/p
19660 t cont
19661 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19662 t cont
19664 :cont
19666 s/.\{148\}/&'"$ac_delim"'/g
19667 t clear
19668 :clear
19669 s/\\$//
19670 t bsnlc
19671 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19673 :bsnlc
19674 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19675 b cont
19676 ' <confdefs.h | sed '
19677 s/'"$ac_delim"'/"\\\
19678 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19681 for (key in D) D_is_set[key] = 1
19682 FS = "\a"
19684 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19685 line = \$ 0
19686 split(line, arg, " ")
19687 if (arg[1] == "#") {
19688 defundef = arg[2]
19689 mac1 = arg[3]
19690 } else {
19691 defundef = substr(arg[1], 2)
19692 mac1 = arg[2]
19694 split(mac1, mac2, "(") #)
19695 macro = mac2[1]
19696 prefix = substr(line, 1, index(line, defundef) - 1)
19697 if (D_is_set[macro]) {
19698 # Preserve the white space surrounding the "#".
19699 print prefix "define", macro P[macro] D[macro]
19700 next
19701 } else {
19702 # Replace #undef with comments. This is necessary, for example,
19703 # in the case of _POSIX_SOURCE, which is predefined and required
19704 # on some systems where configure will not decide to define it.
19705 if (defundef == "undef") {
19706 print "/*", prefix defundef, macro, "*/"
19707 next
19711 { print }
19712 _ACAWK
19713 _ACEOF
19714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19715 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19716 fi # test -n "$CONFIG_HEADERS"
19719 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19720 shift
19721 for ac_tag
19723 case $ac_tag in
19724 :[FHLC]) ac_mode=$ac_tag; continue;;
19725 esac
19726 case $ac_mode$ac_tag in
19727 :[FHL]*:*);;
19728 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19729 :[FH]-) ac_tag=-:-;;
19730 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19731 esac
19732 ac_save_IFS=$IFS
19733 IFS=:
19734 set x $ac_tag
19735 IFS=$ac_save_IFS
19736 shift
19737 ac_file=$1
19738 shift
19740 case $ac_mode in
19741 :L) ac_source=$1;;
19742 :[FH])
19743 ac_file_inputs=
19744 for ac_f
19746 case $ac_f in
19747 -) ac_f="$ac_tmp/stdin";;
19748 *) # Look for the file first in the build tree, then in the source tree
19749 # (if the path is not absolute). The absolute path cannot be DOS-style,
19750 # because $ac_f cannot contain `:'.
19751 test -f "$ac_f" ||
19752 case $ac_f in
19753 [\\/$]*) false;;
19754 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19755 esac ||
19756 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19757 esac
19758 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19759 as_fn_append ac_file_inputs " '$ac_f'"
19760 done
19762 # Let's still pretend it is `configure' which instantiates (i.e., don't
19763 # use $as_me), people would be surprised to read:
19764 # /* config.h. Generated by config.status. */
19765 configure_input='Generated from '`
19766 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19767 `' by configure.'
19768 if test x"$ac_file" != x-; then
19769 configure_input="$ac_file. $configure_input"
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19771 $as_echo "$as_me: creating $ac_file" >&6;}
19773 # Neutralize special characters interpreted by sed in replacement strings.
19774 case $configure_input in #(
19775 *\&* | *\|* | *\\* )
19776 ac_sed_conf_input=`$as_echo "$configure_input" |
19777 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19778 *) ac_sed_conf_input=$configure_input;;
19779 esac
19781 case $ac_tag in
19782 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19784 esac
19786 esac
19788 ac_dir=`$as_dirname -- "$ac_file" ||
19789 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19790 X"$ac_file" : 'X\(//\)[^/]' \| \
19791 X"$ac_file" : 'X\(//\)$' \| \
19792 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19793 $as_echo X"$ac_file" |
19794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19795 s//\1/
19798 /^X\(\/\/\)[^/].*/{
19799 s//\1/
19802 /^X\(\/\/\)$/{
19803 s//\1/
19806 /^X\(\/\).*/{
19807 s//\1/
19810 s/.*/./; q'`
19811 as_dir="$ac_dir"; as_fn_mkdir_p
19812 ac_builddir=.
19814 case "$ac_dir" in
19815 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19817 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19818 # A ".." for each directory in $ac_dir_suffix.
19819 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19820 case $ac_top_builddir_sub in
19821 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19822 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19823 esac ;;
19824 esac
19825 ac_abs_top_builddir=$ac_pwd
19826 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19827 # for backward compatibility:
19828 ac_top_builddir=$ac_top_build_prefix
19830 case $srcdir in
19831 .) # We are building in place.
19832 ac_srcdir=.
19833 ac_top_srcdir=$ac_top_builddir_sub
19834 ac_abs_top_srcdir=$ac_pwd ;;
19835 [\\/]* | ?:[\\/]* ) # Absolute name.
19836 ac_srcdir=$srcdir$ac_dir_suffix;
19837 ac_top_srcdir=$srcdir
19838 ac_abs_top_srcdir=$srcdir ;;
19839 *) # Relative name.
19840 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19841 ac_top_srcdir=$ac_top_build_prefix$srcdir
19842 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19843 esac
19844 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19847 case $ac_mode in
19850 # CONFIG_FILE
19853 _ACEOF
19855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19856 # If the template does not know about datarootdir, expand it.
19857 # FIXME: This hack should be removed a few years after 2.60.
19858 ac_datarootdir_hack=; ac_datarootdir_seen=
19859 ac_sed_dataroot='
19860 /datarootdir/ {
19864 /@datadir@/p
19865 /@docdir@/p
19866 /@infodir@/p
19867 /@localedir@/p
19868 /@mandir@/p'
19869 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19870 *datarootdir*) ac_datarootdir_seen=yes;;
19871 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19873 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19874 _ACEOF
19875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19876 ac_datarootdir_hack='
19877 s&@datadir@&$datadir&g
19878 s&@docdir@&$docdir&g
19879 s&@infodir@&$infodir&g
19880 s&@localedir@&$localedir&g
19881 s&@mandir@&$mandir&g
19882 s&\\\${datarootdir}&$datarootdir&g' ;;
19883 esac
19884 _ACEOF
19886 # Neutralize VPATH when `$srcdir' = `.'.
19887 # Shell code in configure.ac might set extrasub.
19888 # FIXME: do we really want to maintain this feature?
19889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19890 ac_sed_extra="$ac_vpsub
19891 $extrasub
19892 _ACEOF
19893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19896 s|@configure_input@|$ac_sed_conf_input|;t t
19897 s&@top_builddir@&$ac_top_builddir_sub&;t t
19898 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19899 s&@srcdir@&$ac_srcdir&;t t
19900 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19901 s&@top_srcdir@&$ac_top_srcdir&;t t
19902 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19903 s&@builddir@&$ac_builddir&;t t
19904 s&@abs_builddir@&$ac_abs_builddir&;t t
19905 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19906 $ac_datarootdir_hack
19908 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19909 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19911 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19912 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19913 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19914 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19916 which seems to be undefined. Please make sure it is defined" >&5
19917 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19918 which seems to be undefined. Please make sure it is defined" >&2;}
19920 rm -f "$ac_tmp/stdin"
19921 case $ac_file in
19922 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19923 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19924 esac \
19925 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19929 # CONFIG_HEADER
19931 if test x"$ac_file" != x-; then
19933 $as_echo "/* $configure_input */" \
19934 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19935 } >"$ac_tmp/config.h" \
19936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19937 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19939 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19940 else
19941 rm -f "$ac_file"
19942 mv "$ac_tmp/config.h" "$ac_file" \
19943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19945 else
19946 $as_echo "/* $configure_input */" \
19947 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19948 || as_fn_error $? "could not create -" "$LINENO" 5
19953 # CONFIG_LINK
19956 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19958 else
19959 # Prefer the file from the source tree if names are identical.
19960 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19961 ac_source=$srcdir/$ac_source
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19965 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19967 if test ! -r "$ac_source"; then
19968 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19970 rm -f "$ac_file"
19972 # Try a relative symlink, then a hard link, then a copy.
19973 case $ac_source in
19974 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19975 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19976 esac
19977 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19978 ln "$ac_source" "$ac_file" 2>/dev/null ||
19979 cp -p "$ac_source" "$ac_file" ||
19980 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19983 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19984 $as_echo "$as_me: executing $ac_file commands" >&6;}
19986 esac
19989 case $ac_file$ac_mode in
19990 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19991 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19992 "Makefile":C) wine_fn_output_makefile Makefile ;;
19994 esac
19995 done # for ac_tag
19998 as_fn_exit 0
19999 _ACEOF
20000 ac_clean_files=$ac_clean_files_save
20002 test $ac_write_fail = 0 ||
20003 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20006 # configure is writing to config.log, and then calls config.status.
20007 # config.status does its own redirection, appending to config.log.
20008 # Unfortunately, on DOS this fails, as config.log is still kept open
20009 # by configure, so config.status won't be able to write to it; its
20010 # output is simply discarded. So we exec the FD to /dev/null,
20011 # effectively closing config.log, so it can be properly (re)opened and
20012 # appended to by config.status. When coming back to configure, we
20013 # need to make the FD available again.
20014 if test "$no_create" != yes; then
20015 ac_cs_success=:
20016 ac_config_status_args=
20017 test "$silent" = yes &&
20018 ac_config_status_args="$ac_config_status_args --quiet"
20019 exec 5>/dev/null
20020 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20021 exec 5>>config.log
20022 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20023 # would make configure fail if this is the last instruction.
20024 $ac_cs_success || as_fn_exit 1
20026 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20028 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20032 if test "$no_create" = "yes"
20033 then
20034 exit 0
20037 ac_save_IFS="$IFS"
20038 if test "x$wine_notices" != x; then
20039 echo >&6
20040 IFS="|"
20041 for msg in $wine_notices; do
20042 IFS="$ac_save_IFS"
20043 if ${msg:+false} :; then :
20045 else
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20047 $as_echo "$as_me: $msg" >&6;}
20049 done
20051 IFS="|"
20052 for msg in $wine_warnings; do
20053 IFS="$ac_save_IFS"
20054 if ${msg:+false} :; then :
20056 else
20057 echo >&2
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20059 $as_echo "$as_me: WARNING: $msg" >&2;}
20061 done
20062 IFS="$ac_save_IFS"
20064 $as_echo "
20065 $as_me: Finished. Do '${ac_make}' to compile Wine.
20066 " >&6