d3d11: Implement d3d11_immediate_context_CSGetShaderResources().
[wine.git] / configure
blob734a21a445bcfdeb811af5e7ee2355b33b694dc8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.3.
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.3'
584 PACKAGE_STRING='Wine 2.3'
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_uiautomationcore
1424 enable_unicows
1425 enable_updspapi
1426 enable_url
1427 enable_urlmon
1428 enable_usbd_sys
1429 enable_user32
1430 enable_userenv
1431 enable_usp10
1432 enable_uxtheme
1433 enable_vbscript
1434 enable_vcomp
1435 enable_vcomp100
1436 enable_vcomp110
1437 enable_vcomp120
1438 enable_vcomp140
1439 enable_vcomp90
1440 enable_vcruntime140
1441 enable_vdmdbg
1442 enable_version
1443 enable_virtdisk
1444 enable_vssapi
1445 enable_wbemdisp
1446 enable_wbemprox
1447 enable_webservices
1448 enable_wer
1449 enable_wevtapi
1450 enable_wiaservc
1451 enable_wimgapi
1452 enable_windowscodecs
1453 enable_windowscodecsext
1454 enable_winealsa_drv
1455 enable_winebus_sys
1456 enable_winecoreaudio_drv
1457 enable_wined3d
1458 enable_winegstreamer
1459 enable_winehid_sys
1460 enable_winejoystick_drv
1461 enable_winemac_drv
1462 enable_winemapi
1463 enable_winemp3_acm
1464 enable_wineoss_drv
1465 enable_wineps_drv
1466 enable_winepulse_drv
1467 enable_wineqtdecoder
1468 enable_winex11_drv
1469 enable_wing32
1470 enable_winhttp
1471 enable_wininet
1472 enable_winmm
1473 enable_winnls32
1474 enable_winscard
1475 enable_winspool_drv
1476 enable_winsta
1477 enable_wintab32
1478 enable_wintrust
1479 enable_winusb
1480 enable_wlanapi
1481 enable_wldap32
1482 enable_wmasf
1483 enable_wmi
1484 enable_wmiutils
1485 enable_wmp
1486 enable_wmvcore
1487 enable_wnaspi32
1488 enable_wpc
1489 enable_wpcap
1490 enable_ws2_32
1491 enable_wshom_ocx
1492 enable_wsnmp32
1493 enable_wsock32
1494 enable_wtsapi32
1495 enable_wuapi
1496 enable_wuaueng
1497 enable_x3daudio1_0
1498 enable_x3daudio1_1
1499 enable_x3daudio1_2
1500 enable_x3daudio1_3
1501 enable_x3daudio1_4
1502 enable_x3daudio1_5
1503 enable_x3daudio1_6
1504 enable_x3daudio1_7
1505 enable_xapofx1_1
1506 enable_xapofx1_2
1507 enable_xapofx1_3
1508 enable_xapofx1_4
1509 enable_xapofx1_5
1510 enable_xaudio2_0
1511 enable_xaudio2_1
1512 enable_xaudio2_2
1513 enable_xaudio2_3
1514 enable_xaudio2_4
1515 enable_xaudio2_5
1516 enable_xaudio2_6
1517 enable_xaudio2_7
1518 enable_xaudio2_8
1519 enable_xaudio2_9
1520 enable_xinput1_1
1521 enable_xinput1_2
1522 enable_xinput1_3
1523 enable_xinput1_4
1524 enable_xinput9_1_0
1525 enable_xmllite
1526 enable_xolehlp
1527 enable_xpsprint
1528 enable_xpssvcs
1529 enable_fonts
1530 enable_include
1531 enable_libs_port
1532 enable_libs_wine
1533 enable_libs_wpp
1534 enable_loader
1535 enable_po
1536 enable_arp
1537 enable_aspnet_regiis
1538 enable_attrib
1539 enable_cabarc
1540 enable_cacls
1541 enable_clock
1542 enable_cmd
1543 enable_conhost
1544 enable_control
1545 enable_cscript
1546 enable_dpnsvr
1547 enable_dxdiag
1548 enable_eject
1549 enable_expand
1550 enable_explorer
1551 enable_extrac32
1552 enable_findstr
1553 enable_fsutil
1554 enable_hh
1555 enable_hostname
1556 enable_icacls
1557 enable_icinfo
1558 enable_iexplore
1559 enable_ipconfig
1560 enable_lodctr
1561 enable_mofcomp
1562 enable_mshta
1563 enable_msiexec
1564 enable_msinfo32
1565 enable_net
1566 enable_netsh
1567 enable_netstat
1568 enable_ngen
1569 enable_notepad
1570 enable_oleview
1571 enable_ping
1572 enable_plugplay
1573 enable_presentationfontcache
1574 enable_progman
1575 enable_reg
1576 enable_regasm
1577 enable_regedit
1578 enable_regsvcs
1579 enable_regsvr32
1580 enable_rpcss
1581 enable_rundll32
1582 enable_sc
1583 enable_schtasks
1584 enable_sdbinst
1585 enable_secedit
1586 enable_servicemodelreg
1587 enable_services
1588 enable_shutdown
1589 enable_spoolsv
1590 enable_start
1591 enable_subst
1592 enable_svchost
1593 enable_systeminfo
1594 enable_taskkill
1595 enable_tasklist
1596 enable_taskmgr
1597 enable_termsv
1598 enable_uninstaller
1599 enable_unlodctr
1600 enable_view
1601 enable_wevtutil
1602 enable_wineboot
1603 enable_winebrowser
1604 enable_winecfg
1605 enable_wineconsole
1606 enable_winedbg
1607 enable_winedevice
1608 enable_winefile
1609 enable_winemenubuilder
1610 enable_winemine
1611 enable_winemsibuilder
1612 enable_winepath
1613 enable_winetest
1614 enable_winhlp32
1615 enable_winver
1616 enable_wmic
1617 enable_wmplayer
1618 enable_wordpad
1619 enable_write
1620 enable_wscript
1621 enable_wusa
1622 enable_xcopy
1623 enable_server
1624 enable_tools
1626 ac_precious_vars='build_alias
1627 host_alias
1628 target_alias
1630 CFLAGS
1631 LDFLAGS
1632 LIBS
1633 CPPFLAGS
1635 CXXFLAGS
1638 XMKMF
1639 XML2_CFLAGS
1640 XML2_LIBS
1641 XSLT_CFLAGS
1642 XSLT_LIBS
1643 DBUS_CFLAGS
1644 DBUS_LIBS
1645 HAL_CFLAGS
1646 HAL_LIBS
1647 GNUTLS_CFLAGS
1648 GNUTLS_LIBS
1649 SANE_CFLAGS
1650 SANE_LIBS
1651 GPHOTO2_CFLAGS
1652 GPHOTO2_LIBS
1653 GPHOTO2_PORT_CFLAGS
1654 GPHOTO2_PORT_LIBS
1655 LCMS2_CFLAGS
1656 LCMS2_LIBS
1657 FREETYPE_CFLAGS
1658 FREETYPE_LIBS
1659 PULSE_CFLAGS
1660 PULSE_LIBS
1661 GSTREAMER_CFLAGS
1662 GSTREAMER_LIBS
1663 UDEV_CFLAGS
1664 UDEV_LIBS
1665 CAPI20_CFLAGS
1666 CAPI20_LIBS
1667 FONTCONFIG_CFLAGS
1668 FONTCONFIG_LIBS
1669 JPEG_CFLAGS
1670 JPEG_LIBS
1671 PNG_CFLAGS
1672 PNG_LIBS
1673 TIFF_CFLAGS
1674 TIFF_LIBS
1675 MPG123_CFLAGS
1676 MPG123_LIBS
1677 NETAPI_CFLAGS
1678 NETAPI_LIBS'
1681 # Initialize some variables set by options.
1682 ac_init_help=
1683 ac_init_version=false
1684 ac_unrecognized_opts=
1685 ac_unrecognized_sep=
1686 # The variables have the same names as the options, with
1687 # dashes changed to underlines.
1688 cache_file=/dev/null
1689 exec_prefix=NONE
1690 no_create=
1691 no_recursion=
1692 prefix=NONE
1693 program_prefix=NONE
1694 program_suffix=NONE
1695 program_transform_name=s,x,x,
1696 silent=
1697 site=
1698 srcdir=
1699 verbose=
1700 x_includes=NONE
1701 x_libraries=NONE
1703 # Installation directory options.
1704 # These are left unexpanded so users can "make install exec_prefix=/foo"
1705 # and all the variables that are supposed to be based on exec_prefix
1706 # by default will actually change.
1707 # Use braces instead of parens because sh, perl, etc. also accept them.
1708 # (The list follows the same order as the GNU Coding Standards.)
1709 bindir='${exec_prefix}/bin'
1710 sbindir='${exec_prefix}/sbin'
1711 libexecdir='${exec_prefix}/libexec'
1712 datarootdir='${prefix}/share'
1713 datadir='${datarootdir}'
1714 sysconfdir='${prefix}/etc'
1715 sharedstatedir='${prefix}/com'
1716 localstatedir='${prefix}/var'
1717 runstatedir='${localstatedir}/run'
1718 includedir='${prefix}/include'
1719 oldincludedir='/usr/include'
1720 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1721 infodir='${datarootdir}/info'
1722 htmldir='${docdir}'
1723 dvidir='${docdir}'
1724 pdfdir='${docdir}'
1725 psdir='${docdir}'
1726 libdir='${exec_prefix}/lib'
1727 localedir='${datarootdir}/locale'
1728 mandir='${datarootdir}/man'
1730 ac_prev=
1731 ac_dashdash=
1732 for ac_option
1734 # If the previous option needs an argument, assign it.
1735 if test -n "$ac_prev"; then
1736 eval $ac_prev=\$ac_option
1737 ac_prev=
1738 continue
1741 case $ac_option in
1742 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1743 *=) ac_optarg= ;;
1744 *) ac_optarg=yes ;;
1745 esac
1747 # Accept the important Cygnus configure options, so we can diagnose typos.
1749 case $ac_dashdash$ac_option in
1751 ac_dashdash=yes ;;
1753 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1754 ac_prev=bindir ;;
1755 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1756 bindir=$ac_optarg ;;
1758 -build | --build | --buil | --bui | --bu)
1759 ac_prev=build_alias ;;
1760 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1761 build_alias=$ac_optarg ;;
1763 -cache-file | --cache-file | --cache-fil | --cache-fi \
1764 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1765 ac_prev=cache_file ;;
1766 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1767 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1768 cache_file=$ac_optarg ;;
1770 --config-cache | -C)
1771 cache_file=config.cache ;;
1773 -datadir | --datadir | --datadi | --datad)
1774 ac_prev=datadir ;;
1775 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1776 datadir=$ac_optarg ;;
1778 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1779 | --dataroo | --dataro | --datar)
1780 ac_prev=datarootdir ;;
1781 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1782 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1783 datarootdir=$ac_optarg ;;
1785 -disable-* | --disable-*)
1786 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1787 # Reject names that are not valid shell variable names.
1788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1789 as_fn_error $? "invalid feature name: $ac_useropt"
1790 ac_useropt_orig=$ac_useropt
1791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1792 case $ac_user_opts in
1794 "enable_$ac_useropt"
1795 "*) ;;
1796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1797 ac_unrecognized_sep=', ';;
1798 esac
1799 eval enable_$ac_useropt=no ;;
1801 -docdir | --docdir | --docdi | --doc | --do)
1802 ac_prev=docdir ;;
1803 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1804 docdir=$ac_optarg ;;
1806 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1807 ac_prev=dvidir ;;
1808 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1809 dvidir=$ac_optarg ;;
1811 -enable-* | --enable-*)
1812 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1815 as_fn_error $? "invalid feature name: $ac_useropt"
1816 ac_useropt_orig=$ac_useropt
1817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1820 "enable_$ac_useropt"
1821 "*) ;;
1822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1823 ac_unrecognized_sep=', ';;
1824 esac
1825 eval enable_$ac_useropt=\$ac_optarg ;;
1827 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1828 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1829 | --exec | --exe | --ex)
1830 ac_prev=exec_prefix ;;
1831 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1832 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1833 | --exec=* | --exe=* | --ex=*)
1834 exec_prefix=$ac_optarg ;;
1836 -gas | --gas | --ga | --g)
1837 # Obsolete; use --with-gas.
1838 with_gas=yes ;;
1840 -help | --help | --hel | --he | -h)
1841 ac_init_help=long ;;
1842 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1843 ac_init_help=recursive ;;
1844 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1845 ac_init_help=short ;;
1847 -host | --host | --hos | --ho)
1848 ac_prev=host_alias ;;
1849 -host=* | --host=* | --hos=* | --ho=*)
1850 host_alias=$ac_optarg ;;
1852 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1853 ac_prev=htmldir ;;
1854 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1855 | --ht=*)
1856 htmldir=$ac_optarg ;;
1858 -includedir | --includedir | --includedi | --included | --include \
1859 | --includ | --inclu | --incl | --inc)
1860 ac_prev=includedir ;;
1861 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1862 | --includ=* | --inclu=* | --incl=* | --inc=*)
1863 includedir=$ac_optarg ;;
1865 -infodir | --infodir | --infodi | --infod | --info | --inf)
1866 ac_prev=infodir ;;
1867 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1868 infodir=$ac_optarg ;;
1870 -libdir | --libdir | --libdi | --libd)
1871 ac_prev=libdir ;;
1872 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1873 libdir=$ac_optarg ;;
1875 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1876 | --libexe | --libex | --libe)
1877 ac_prev=libexecdir ;;
1878 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1879 | --libexe=* | --libex=* | --libe=*)
1880 libexecdir=$ac_optarg ;;
1882 -localedir | --localedir | --localedi | --localed | --locale)
1883 ac_prev=localedir ;;
1884 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1885 localedir=$ac_optarg ;;
1887 -localstatedir | --localstatedir | --localstatedi | --localstated \
1888 | --localstate | --localstat | --localsta | --localst | --locals)
1889 ac_prev=localstatedir ;;
1890 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1891 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1892 localstatedir=$ac_optarg ;;
1894 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1895 ac_prev=mandir ;;
1896 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1897 mandir=$ac_optarg ;;
1899 -nfp | --nfp | --nf)
1900 # Obsolete; use --without-fp.
1901 with_fp=no ;;
1903 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1904 | --no-cr | --no-c | -n)
1905 no_create=yes ;;
1907 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1908 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1909 no_recursion=yes ;;
1911 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1912 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1913 | --oldin | --oldi | --old | --ol | --o)
1914 ac_prev=oldincludedir ;;
1915 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1916 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1917 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1918 oldincludedir=$ac_optarg ;;
1920 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1921 ac_prev=prefix ;;
1922 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1923 prefix=$ac_optarg ;;
1925 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1926 | --program-pre | --program-pr | --program-p)
1927 ac_prev=program_prefix ;;
1928 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1929 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1930 program_prefix=$ac_optarg ;;
1932 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1933 | --program-suf | --program-su | --program-s)
1934 ac_prev=program_suffix ;;
1935 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1936 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1937 program_suffix=$ac_optarg ;;
1939 -program-transform-name | --program-transform-name \
1940 | --program-transform-nam | --program-transform-na \
1941 | --program-transform-n | --program-transform- \
1942 | --program-transform | --program-transfor \
1943 | --program-transfo | --program-transf \
1944 | --program-trans | --program-tran \
1945 | --progr-tra | --program-tr | --program-t)
1946 ac_prev=program_transform_name ;;
1947 -program-transform-name=* | --program-transform-name=* \
1948 | --program-transform-nam=* | --program-transform-na=* \
1949 | --program-transform-n=* | --program-transform-=* \
1950 | --program-transform=* | --program-transfor=* \
1951 | --program-transfo=* | --program-transf=* \
1952 | --program-trans=* | --program-tran=* \
1953 | --progr-tra=* | --program-tr=* | --program-t=*)
1954 program_transform_name=$ac_optarg ;;
1956 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1957 ac_prev=pdfdir ;;
1958 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1959 pdfdir=$ac_optarg ;;
1961 -psdir | --psdir | --psdi | --psd | --ps)
1962 ac_prev=psdir ;;
1963 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1964 psdir=$ac_optarg ;;
1966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1967 | -silent | --silent | --silen | --sile | --sil)
1968 silent=yes ;;
1970 -runstatedir | --runstatedir | --runstatedi | --runstated \
1971 | --runstate | --runstat | --runsta | --runst | --runs \
1972 | --run | --ru | --r)
1973 ac_prev=runstatedir ;;
1974 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1975 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1976 | --run=* | --ru=* | --r=*)
1977 runstatedir=$ac_optarg ;;
1979 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1980 ac_prev=sbindir ;;
1981 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1982 | --sbi=* | --sb=*)
1983 sbindir=$ac_optarg ;;
1985 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1986 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1987 | --sharedst | --shareds | --shared | --share | --shar \
1988 | --sha | --sh)
1989 ac_prev=sharedstatedir ;;
1990 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1991 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1992 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1993 | --sha=* | --sh=*)
1994 sharedstatedir=$ac_optarg ;;
1996 -site | --site | --sit)
1997 ac_prev=site ;;
1998 -site=* | --site=* | --sit=*)
1999 site=$ac_optarg ;;
2001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2002 ac_prev=srcdir ;;
2003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2004 srcdir=$ac_optarg ;;
2006 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2007 | --syscon | --sysco | --sysc | --sys | --sy)
2008 ac_prev=sysconfdir ;;
2009 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2010 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2011 sysconfdir=$ac_optarg ;;
2013 -target | --target | --targe | --targ | --tar | --ta | --t)
2014 ac_prev=target_alias ;;
2015 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2016 target_alias=$ac_optarg ;;
2018 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2019 verbose=yes ;;
2021 -version | --version | --versio | --versi | --vers | -V)
2022 ac_init_version=: ;;
2024 -with-* | --with-*)
2025 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2026 # Reject names that are not valid shell variable names.
2027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2028 as_fn_error $? "invalid package name: $ac_useropt"
2029 ac_useropt_orig=$ac_useropt
2030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2031 case $ac_user_opts in
2033 "with_$ac_useropt"
2034 "*) ;;
2035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2036 ac_unrecognized_sep=', ';;
2037 esac
2038 eval with_$ac_useropt=\$ac_optarg ;;
2040 -without-* | --without-*)
2041 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2042 # Reject names that are not valid shell variable names.
2043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2044 as_fn_error $? "invalid package name: $ac_useropt"
2045 ac_useropt_orig=$ac_useropt
2046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2047 case $ac_user_opts in
2049 "with_$ac_useropt"
2050 "*) ;;
2051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2052 ac_unrecognized_sep=', ';;
2053 esac
2054 eval with_$ac_useropt=no ;;
2056 --x)
2057 # Obsolete; use --with-x.
2058 with_x=yes ;;
2060 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2061 | --x-incl | --x-inc | --x-in | --x-i)
2062 ac_prev=x_includes ;;
2063 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2064 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2065 x_includes=$ac_optarg ;;
2067 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2068 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2069 ac_prev=x_libraries ;;
2070 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2071 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2072 x_libraries=$ac_optarg ;;
2074 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2075 Try \`$0 --help' for more information"
2078 *=*)
2079 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2080 # Reject names that are not valid shell variable names.
2081 case $ac_envvar in #(
2082 '' | [0-9]* | *[!_$as_cr_alnum]* )
2083 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2084 esac
2085 eval $ac_envvar=\$ac_optarg
2086 export $ac_envvar ;;
2089 # FIXME: should be removed in autoconf 3.0.
2090 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2091 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2092 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2093 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2096 esac
2097 done
2099 if test -n "$ac_prev"; then
2100 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2101 as_fn_error $? "missing argument to $ac_option"
2104 if test -n "$ac_unrecognized_opts"; then
2105 case $enable_option_checking in
2106 no) ;;
2107 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2108 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2109 esac
2112 # Check all directory arguments for consistency.
2113 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2114 datadir sysconfdir sharedstatedir localstatedir includedir \
2115 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2116 libdir localedir mandir runstatedir
2118 eval ac_val=\$$ac_var
2119 # Remove trailing slashes.
2120 case $ac_val in
2121 */ )
2122 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2123 eval $ac_var=\$ac_val;;
2124 esac
2125 # Be sure to have absolute directory names.
2126 case $ac_val in
2127 [\\/$]* | ?:[\\/]* ) continue;;
2128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2129 esac
2130 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2131 done
2133 # There might be people who depend on the old broken behavior: `$host'
2134 # used to hold the argument of --host etc.
2135 # FIXME: To remove some day.
2136 build=$build_alias
2137 host=$host_alias
2138 target=$target_alias
2140 # FIXME: To remove some day.
2141 if test "x$host_alias" != x; then
2142 if test "x$build_alias" = x; then
2143 cross_compiling=maybe
2144 elif test "x$build_alias" != "x$host_alias"; then
2145 cross_compiling=yes
2149 ac_tool_prefix=
2150 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2152 test "$silent" = yes && exec 6>/dev/null
2155 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2156 ac_ls_di=`ls -di .` &&
2157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2158 as_fn_error $? "working directory cannot be determined"
2159 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2160 as_fn_error $? "pwd does not report name of working directory"
2163 # Find the source files, if location was not specified.
2164 if test -z "$srcdir"; then
2165 ac_srcdir_defaulted=yes
2166 # Try the directory containing this script, then the parent directory.
2167 ac_confdir=`$as_dirname -- "$as_myself" ||
2168 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2169 X"$as_myself" : 'X\(//\)[^/]' \| \
2170 X"$as_myself" : 'X\(//\)$' \| \
2171 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2172 $as_echo X"$as_myself" |
2173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2174 s//\1/
2177 /^X\(\/\/\)[^/].*/{
2178 s//\1/
2181 /^X\(\/\/\)$/{
2182 s//\1/
2185 /^X\(\/\).*/{
2186 s//\1/
2189 s/.*/./; q'`
2190 srcdir=$ac_confdir
2191 if test ! -r "$srcdir/$ac_unique_file"; then
2192 srcdir=..
2194 else
2195 ac_srcdir_defaulted=no
2197 if test ! -r "$srcdir/$ac_unique_file"; then
2198 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2199 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2201 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2202 ac_abs_confdir=`(
2203 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2204 pwd)`
2205 # When building in place, set srcdir=.
2206 if test "$ac_abs_confdir" = "$ac_pwd"; then
2207 srcdir=.
2209 # Remove unnecessary trailing slashes from srcdir.
2210 # Double slashes in file names in object file debugging info
2211 # mess up M-x gdb in Emacs.
2212 case $srcdir in
2213 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2214 esac
2215 for ac_var in $ac_precious_vars; do
2216 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2217 eval ac_env_${ac_var}_value=\$${ac_var}
2218 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2219 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2220 done
2223 # Report the --help message.
2225 if test "$ac_init_help" = "long"; then
2226 # Omit some internal or obsolete options to make the list less imposing.
2227 # This message is too long to be a string in the A/UX 3.1 sh.
2228 cat <<_ACEOF
2229 \`configure' configures Wine 2.3 to adapt to many kinds of systems.
2231 Usage: $0 [OPTION]... [VAR=VALUE]...
2233 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2234 VAR=VALUE. See below for descriptions of some of the useful variables.
2236 Defaults for the options are specified in brackets.
2238 Configuration:
2239 -h, --help display this help and exit
2240 --help=short display options specific to this package
2241 --help=recursive display the short help of all the included packages
2242 -V, --version display version information and exit
2243 -q, --quiet, --silent do not print \`checking ...' messages
2244 --cache-file=FILE cache test results in FILE [disabled]
2245 -C, --config-cache alias for \`--cache-file=config.cache'
2246 -n, --no-create do not create output files
2247 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2249 Installation directories:
2250 --prefix=PREFIX install architecture-independent files in PREFIX
2251 [$ac_default_prefix]
2252 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2253 [PREFIX]
2255 By default, \`make install' will install all the files in
2256 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2257 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2258 for instance \`--prefix=\$HOME'.
2260 For better control, use the options below.
2262 Fine tuning of the installation directories:
2263 --bindir=DIR user executables [EPREFIX/bin]
2264 --sbindir=DIR system admin executables [EPREFIX/sbin]
2265 --libexecdir=DIR program executables [EPREFIX/libexec]
2266 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2267 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2268 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2269 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2270 --libdir=DIR object code libraries [EPREFIX/lib]
2271 --includedir=DIR C header files [PREFIX/include]
2272 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2273 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2274 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2275 --infodir=DIR info documentation [DATAROOTDIR/info]
2276 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2277 --mandir=DIR man documentation [DATAROOTDIR/man]
2278 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2279 --htmldir=DIR html documentation [DOCDIR]
2280 --dvidir=DIR dvi documentation [DOCDIR]
2281 --pdfdir=DIR pdf documentation [DOCDIR]
2282 --psdir=DIR ps documentation [DOCDIR]
2283 _ACEOF
2285 cat <<\_ACEOF
2287 X features:
2288 --x-includes=DIR X include files are in DIR
2289 --x-libraries=DIR X library files are in DIR
2291 System types:
2292 --build=BUILD configure for building on BUILD [guessed]
2293 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2294 _ACEOF
2297 if test -n "$ac_init_help"; then
2298 case $ac_init_help in
2299 short | recursive ) echo "Configuration of Wine 2.3:";;
2300 esac
2301 cat <<\_ACEOF
2303 Optional Features:
2304 --disable-option-checking ignore unrecognized --enable/--with options
2305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2307 --disable-win16 do not include Win16 support
2308 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2309 binaries)
2310 --disable-tests do not build the regression tests
2311 --enable-maintainer-mode
2312 enable maintainer-specific build rules
2313 --disable-largefile omit support for large files
2315 Optional Packages:
2316 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2317 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2318 --without-alsa do not use the Alsa sound support
2319 --without-capi do not use CAPI (ISDN support)
2320 --without-cms do not use CMS (color management support)
2321 --without-coreaudio do not use the CoreAudio sound support
2322 --without-cups do not use CUPS
2323 --without-curses do not use (n)curses
2324 --without-dbus do not use DBus (dynamic device support)
2325 --without-fontconfig do not use fontconfig
2326 --without-freetype do not use the FreeType library
2327 --without-gettext do not use gettext
2328 --with-gettextpo use the GetTextPO library to rebuild po files
2329 --without-gphoto do not use gphoto (Digital Camera support)
2330 --without-glu do not use the GLU library
2331 --without-gnutls do not use GnuTLS (schannel support)
2332 --without-gsm do not use libgsm (GSM 06.10 codec support)
2333 --without-gstreamer do not use GStreamer (codecs support)
2334 --without-hal do not use HAL (dynamic device support)
2335 --without-jpeg do not use JPEG
2336 --without-ldap do not use LDAP
2337 --without-mpg123 do not use the mpg123 library
2338 --without-netapi do not use the Samba NetAPI library
2339 --without-openal do not use OpenAL
2340 --without-opencl do not use OpenCL
2341 --without-opengl do not use OpenGL
2342 --without-osmesa do not use the OSMesa library
2343 --without-oss do not use the OSS sound support
2344 --without-pcap do not use the Packet Capture library
2345 --without-png do not use PNG
2346 --without-pthread do not use the pthread library
2347 --without-pulse do not use PulseAudio sound support
2348 --without-sane do not use SANE (scanner support)
2349 --without-tiff do not use TIFF
2350 --without-udev do not use udev (plug and play support)
2351 --without-v4l do not use v4l1 (v4l support)
2352 --without-xcomposite do not use the Xcomposite extension
2353 --without-xcursor do not use the Xcursor extension
2354 --without-xinerama do not use Xinerama (multi-monitor support)
2355 --without-xinput do not use the Xinput extension
2356 --without-xinput2 do not use the Xinput 2 extension
2357 --without-xml do not use XML
2358 --without-xrandr do not use Xrandr (resolution changes)
2359 --without-xrender do not use the Xrender extension
2360 --without-xshape do not use the Xshape extension
2361 --without-xshm do not use XShm (shared memory extension)
2362 --without-xslt do not use XSLT
2363 --without-xxf86vm do not use XFree video mode extension
2364 --without-zlib do not use Zlib (data compression)
2365 --with-wine-tools=DIR use Wine tools from directory DIR
2366 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2367 --with-x use the X Window System
2369 Some influential environment variables:
2370 CC C compiler command
2371 CFLAGS C compiler flags
2372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2373 nonstandard directory <lib dir>
2374 LIBS libraries to pass to the linker, e.g. -l<library>
2375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2376 you have headers in a nonstandard directory <include dir>
2377 CXX C++ compiler command
2378 CXXFLAGS C++ compiler flags
2379 CPP C preprocessor
2380 XMKMF Path to xmkmf, Makefile generator for X Window System
2381 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2382 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2383 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2384 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2385 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2386 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2387 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2388 HAL_LIBS Linker flags for hal, overriding pkg-config
2389 GNUTLS_CFLAGS
2390 C compiler flags for gnutls, overriding pkg-config
2391 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2392 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2393 SANE_LIBS Linker flags for libsane, overriding pkg-config
2394 GPHOTO2_CFLAGS
2395 C compiler flags for libgphoto2, overriding pkg-config
2396 GPHOTO2_LIBS
2397 Linker flags for libgphoto2, overriding pkg-config
2398 GPHOTO2_PORT_CFLAGS
2399 C compiler flags for libgphoto2_port, overriding pkg-config
2400 GPHOTO2_PORT_LIBS
2401 Linker flags for libgphoto2_port, overriding pkg-config
2402 LCMS2_CFLAGS
2403 C compiler flags for lcms2, overriding pkg-config
2404 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2405 FREETYPE_CFLAGS
2406 C compiler flags for freetype2, overriding pkg-config
2407 FREETYPE_LIBS
2408 Linker flags for freetype2, overriding pkg-config
2409 PULSE_CFLAGS
2410 C compiler flags for libpulse, overriding pkg-config
2411 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2412 GSTREAMER_CFLAGS
2413 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2414 gstreamer-audio-1.0, overriding pkg-config
2415 GSTREAMER_LIBS
2416 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2417 gstreamer-audio-1.0, overriding pkg-config
2418 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2419 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2420 CAPI20_CFLAGS
2421 C compiler flags for capi20, overriding pkg-config
2422 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2423 FONTCONFIG_CFLAGS
2424 C compiler flags for fontconfig, overriding pkg-config
2425 FONTCONFIG_LIBS
2426 Linker flags for fontconfig, overriding pkg-config
2427 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2428 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2429 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2430 PNG_LIBS Linker flags for libpng, overriding pkg-config
2431 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2432 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2433 MPG123_CFLAGS
2434 C compiler flags for libmpg123, overriding pkg-config
2435 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2436 NETAPI_CFLAGS
2437 C compiler flags for netapi, overriding pkg-config
2438 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2440 Use these variables to override the choices made by `configure' or to help
2441 it to find libraries and programs with nonstandard names/locations.
2443 Report bugs to <wine-devel@winehq.org>.
2444 Wine home page: <http://www.winehq.org>.
2445 _ACEOF
2446 ac_status=$?
2449 if test "$ac_init_help" = "recursive"; then
2450 # If there are subdirs, report their specific --help.
2451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2452 test -d "$ac_dir" ||
2453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2454 continue
2455 ac_builddir=.
2457 case "$ac_dir" in
2458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2461 # A ".." for each directory in $ac_dir_suffix.
2462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2463 case $ac_top_builddir_sub in
2464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2466 esac ;;
2467 esac
2468 ac_abs_top_builddir=$ac_pwd
2469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2470 # for backward compatibility:
2471 ac_top_builddir=$ac_top_build_prefix
2473 case $srcdir in
2474 .) # We are building in place.
2475 ac_srcdir=.
2476 ac_top_srcdir=$ac_top_builddir_sub
2477 ac_abs_top_srcdir=$ac_pwd ;;
2478 [\\/]* | ?:[\\/]* ) # Absolute name.
2479 ac_srcdir=$srcdir$ac_dir_suffix;
2480 ac_top_srcdir=$srcdir
2481 ac_abs_top_srcdir=$srcdir ;;
2482 *) # Relative name.
2483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2484 ac_top_srcdir=$ac_top_build_prefix$srcdir
2485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2486 esac
2487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2489 cd "$ac_dir" || { ac_status=$?; continue; }
2490 # Check for guested configure.
2491 if test -f "$ac_srcdir/configure.gnu"; then
2492 echo &&
2493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2494 elif test -f "$ac_srcdir/configure"; then
2495 echo &&
2496 $SHELL "$ac_srcdir/configure" --help=recursive
2497 else
2498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2499 fi || ac_status=$?
2500 cd "$ac_pwd" || { ac_status=$?; break; }
2501 done
2504 test -n "$ac_init_help" && exit $ac_status
2505 if $ac_init_version; then
2506 cat <<\_ACEOF
2507 Wine configure 2.3
2508 generated by GNU Autoconf 2.69
2510 Copyright (C) 2012 Free Software Foundation, Inc.
2511 This configure script is free software; the Free Software Foundation
2512 gives unlimited permission to copy, distribute and modify it.
2513 _ACEOF
2514 exit
2517 ## ------------------------ ##
2518 ## Autoconf initialization. ##
2519 ## ------------------------ ##
2521 # ac_fn_c_try_compile LINENO
2522 # --------------------------
2523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_c_try_compile ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 rm -f conftest.$ac_objext
2528 if { { ac_try="$ac_compile"
2529 case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_compile") 2>conftest.err
2536 ac_status=$?
2537 if test -s conftest.err; then
2538 grep -v '^ *+' conftest.err >conftest.er1
2539 cat conftest.er1 >&5
2540 mv -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; } && {
2544 test -z "$ac_c_werror_flag" ||
2545 test ! -s conftest.err
2546 } && test -s conftest.$ac_objext; then :
2547 ac_retval=0
2548 else
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 ac_retval=1
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status $ac_retval
2557 } # ac_fn_c_try_compile
2559 # ac_fn_cxx_try_compile LINENO
2560 # ----------------------------
2561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2562 ac_fn_cxx_try_compile ()
2564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565 rm -f conftest.$ac_objext
2566 if { { ac_try="$ac_compile"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_compile") 2>conftest.err
2574 ac_status=$?
2575 if test -s conftest.err; then
2576 grep -v '^ *+' conftest.err >conftest.er1
2577 cat conftest.er1 >&5
2578 mv -f conftest.er1 conftest.err
2580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2581 test $ac_status = 0; } && {
2582 test -z "$ac_cxx_werror_flag" ||
2583 test ! -s conftest.err
2584 } && test -s conftest.$ac_objext; then :
2585 ac_retval=0
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 ac_retval=1
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_cxx_try_compile
2597 # ac_fn_c_try_link LINENO
2598 # -----------------------
2599 # Try to link conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_c_try_link ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 rm -f conftest.$ac_objext conftest$ac_exeext
2604 if { { ac_try="$ac_link"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2610 $as_echo "$ac_try_echo"; } >&5
2611 (eval "$ac_link") 2>conftest.err
2612 ac_status=$?
2613 if test -s conftest.err; then
2614 grep -v '^ *+' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2616 mv -f conftest.er1 conftest.err
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; } && {
2620 test -z "$ac_c_werror_flag" ||
2621 test ! -s conftest.err
2622 } && test -s conftest$ac_exeext && {
2623 test "$cross_compiling" = yes ||
2624 test -x conftest$ac_exeext
2625 }; then :
2626 ac_retval=0
2627 else
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2631 ac_retval=1
2633 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2634 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2635 # interfere with the next link command; also delete a directory that is
2636 # left behind by Apple's compiler. We do this before executing the actions.
2637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 as_fn_set_status $ac_retval
2641 } # ac_fn_c_try_link
2643 # ac_fn_c_try_cpp LINENO
2644 # ----------------------
2645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2646 ac_fn_c_try_cpp ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 if { { ac_try="$ac_cpp conftest.$ac_ext"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2657 ac_status=$?
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } > conftest.i && {
2665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 }; then :
2668 ac_retval=0
2669 else
2670 $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_retval=1
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status $ac_retval
2678 } # ac_fn_c_try_cpp
2680 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2681 # -------------------------------------------------------
2682 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2683 # the include files in INCLUDES and setting the cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_header_mongrel ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 if eval \${$3+:} false; then :
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2690 $as_echo_n "checking for $2... " >&6; }
2691 if eval \${$3+:} false; then :
2692 $as_echo_n "(cached) " >&6
2694 eval ac_res=\$$3
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2696 $as_echo "$ac_res" >&6; }
2697 else
2698 # Is the header compilable?
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2700 $as_echo_n "checking $2 usability... " >&6; }
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2704 #include <$2>
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 ac_header_compiler=yes
2708 else
2709 ac_header_compiler=no
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2713 $as_echo "$ac_header_compiler" >&6; }
2715 # Is the header present?
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2717 $as_echo_n "checking $2 presence... " >&6; }
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2720 #include <$2>
2721 _ACEOF
2722 if ac_fn_c_try_cpp "$LINENO"; then :
2723 ac_header_preproc=yes
2724 else
2725 ac_header_preproc=no
2727 rm -f conftest.err conftest.i conftest.$ac_ext
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2729 $as_echo "$ac_header_preproc" >&6; }
2731 # So? What about this header?
2732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2733 yes:no: )
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2735 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2739 no:yes:* )
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2741 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2743 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2745 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2747 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2750 ( $as_echo "## ------------------------------------ ##
2751 ## Report this to wine-devel@winehq.org ##
2752 ## ------------------------------------ ##"
2753 ) | sed "s/^/$as_me: WARNING: /" >&2
2755 esac
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2757 $as_echo_n "checking for $2... " >&6; }
2758 if eval \${$3+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 eval "$3=\$ac_header_compiler"
2763 eval ac_res=\$$3
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2765 $as_echo "$ac_res" >&6; }
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 } # ac_fn_c_check_header_mongrel
2771 # ac_fn_c_try_run LINENO
2772 # ----------------------
2773 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2774 # that executables *can* be run.
2775 ac_fn_c_try_run ()
2777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778 if { { ac_try="$ac_link"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 $as_echo "$ac_try_echo"; } >&5
2785 (eval "$ac_link") 2>&5
2786 ac_status=$?
2787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2789 { { case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_try") 2>&5
2796 ac_status=$?
2797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2798 test $ac_status = 0; }; }; then :
2799 ac_retval=0
2800 else
2801 $as_echo "$as_me: program exited with status $ac_status" >&5
2802 $as_echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=$ac_status
2807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2809 as_fn_set_status $ac_retval
2811 } # ac_fn_c_try_run
2813 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2814 # -------------------------------------------------------
2815 # Tests whether HEADER exists and can be compiled using the include files in
2816 # INCLUDES, setting the cache variable VAR accordingly.
2817 ac_fn_c_check_header_compile ()
2819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2821 $as_echo_n "checking for $2... " >&6; }
2822 if eval \${$3+:} false; then :
2823 $as_echo_n "(cached) " >&6
2824 else
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2828 #include <$2>
2829 _ACEOF
2830 if ac_fn_c_try_compile "$LINENO"; then :
2831 eval "$3=yes"
2832 else
2833 eval "$3=no"
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 eval ac_res=\$$3
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2839 $as_echo "$ac_res" >&6; }
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 } # ac_fn_c_check_header_compile
2844 # ac_fn_c_check_func LINENO FUNC VAR
2845 # ----------------------------------
2846 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2847 ac_fn_c_check_func ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2851 $as_echo_n "checking for $2... " >&6; }
2852 if eval \${$3+:} false; then :
2853 $as_echo_n "(cached) " >&6
2854 else
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2859 #define $2 innocuous_$2
2861 /* System header to define __stub macros and hopefully few prototypes,
2862 which can conflict with char $2 (); below.
2863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2864 <limits.h> exists even on freestanding compilers. */
2866 #ifdef __STDC__
2867 # include <limits.h>
2868 #else
2869 # include <assert.h>
2870 #endif
2872 #undef $2
2874 /* Override any GCC internal prototype to avoid an error.
2875 Use char because int might match the return type of a GCC
2876 builtin and then its argument prototype would still apply. */
2877 #ifdef __cplusplus
2878 extern "C"
2879 #endif
2880 char $2 ();
2881 /* The GNU C library defines this for functions which it implements
2882 to always fail with ENOSYS. Some functions are actually named
2883 something starting with __ and the normal name is an alias. */
2884 #if defined __stub_$2 || defined __stub___$2
2885 choke me
2886 #endif
2889 main ()
2891 return $2 ();
2893 return 0;
2895 _ACEOF
2896 if ac_fn_c_try_link "$LINENO"; then :
2897 eval "$3=yes"
2898 else
2899 eval "$3=no"
2901 rm -f core conftest.err conftest.$ac_objext \
2902 conftest$ac_exeext conftest.$ac_ext
2904 eval ac_res=\$$3
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2906 $as_echo "$ac_res" >&6; }
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 } # ac_fn_c_check_func
2911 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2912 # ----------------------------------------------------
2913 # Tries to find if the field MEMBER exists in type AGGR, after including
2914 # INCLUDES, setting cache variable VAR accordingly.
2915 ac_fn_c_check_member ()
2917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2919 $as_echo_n "checking for $2.$3... " >&6; }
2920 if eval \${$4+:} false; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2927 main ()
2929 static $2 ac_aggr;
2930 if (ac_aggr.$3)
2931 return 0;
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_compile "$LINENO"; then :
2937 eval "$4=yes"
2938 else
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2943 main ()
2945 static $2 ac_aggr;
2946 if (sizeof ac_aggr.$3)
2947 return 0;
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 eval "$4=yes"
2954 else
2955 eval "$4=no"
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961 eval ac_res=\$$4
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 $as_echo "$ac_res" >&6; }
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 } # ac_fn_c_check_member
2968 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2969 # -------------------------------------------
2970 # Tests whether TYPE exists after having included INCLUDES, setting cache
2971 # variable VAR accordingly.
2972 ac_fn_c_check_type ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2976 $as_echo_n "checking for $2... " >&6; }
2977 if eval \${$3+:} false; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 eval "$3=no"
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2985 main ()
2987 if (sizeof ($2))
2988 return 0;
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2998 main ()
3000 if (sizeof (($2)))
3001 return 0;
3003 return 0;
3005 _ACEOF
3006 if ac_fn_c_try_compile "$LINENO"; then :
3008 else
3009 eval "$3=yes"
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 eval ac_res=\$$3
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3017 $as_echo "$ac_res" >&6; }
3018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 } # ac_fn_c_check_type
3021 cat >config.log <<_ACEOF
3022 This file contains any messages produced by compilers while
3023 running configure, to aid debugging if configure makes a mistake.
3025 It was created by Wine $as_me 2.3, which was
3026 generated by GNU Autoconf 2.69. Invocation command line was
3028 $ $0 $@
3030 _ACEOF
3031 exec 5>>config.log
3033 cat <<_ASUNAME
3034 ## --------- ##
3035 ## Platform. ##
3036 ## --------- ##
3038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3055 _ASUNAME
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 $as_echo "PATH: $as_dir"
3063 done
3064 IFS=$as_save_IFS
3066 } >&5
3068 cat >&5 <<_ACEOF
3071 ## ----------- ##
3072 ## Core tests. ##
3073 ## ----------- ##
3075 _ACEOF
3078 # Keep a trace of the command line.
3079 # Strip out --no-create and --no-recursion so they do not pile up.
3080 # Strip out --silent because we don't want to record it for future runs.
3081 # Also quote any args containing shell meta-characters.
3082 # Make two passes to allow for proper duplicate-argument suppression.
3083 ac_configure_args=
3084 ac_configure_args0=
3085 ac_configure_args1=
3086 ac_must_keep_next=false
3087 for ac_pass in 1 2
3089 for ac_arg
3091 case $ac_arg in
3092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3094 | -silent | --silent | --silen | --sile | --sil)
3095 continue ;;
3096 *\'*)
3097 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3098 esac
3099 case $ac_pass in
3100 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3102 as_fn_append ac_configure_args1 " '$ac_arg'"
3103 if test $ac_must_keep_next = true; then
3104 ac_must_keep_next=false # Got value, back to normal.
3105 else
3106 case $ac_arg in
3107 *=* | --config-cache | -C | -disable-* | --disable-* \
3108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3110 | -with-* | --with-* | -without-* | --without-* | --x)
3111 case "$ac_configure_args0 " in
3112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3113 esac
3115 -* ) ac_must_keep_next=true ;;
3116 esac
3118 as_fn_append ac_configure_args " '$ac_arg'"
3120 esac
3121 done
3122 done
3123 { ac_configure_args0=; unset ac_configure_args0;}
3124 { ac_configure_args1=; unset ac_configure_args1;}
3126 # When interrupted or exit'd, cleanup temporary files, and complete
3127 # config.log. We remove comments because anyway the quotes in there
3128 # would cause problems or look ugly.
3129 # WARNING: Use '\'' to represent an apostrophe within the trap.
3130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3131 trap 'exit_status=$?
3132 # Save into config.log some information that might help in debugging.
3134 echo
3136 $as_echo "## ---------------- ##
3137 ## Cache variables. ##
3138 ## ---------------- ##"
3139 echo
3140 # The following way of writing the cache mishandles newlines in values,
3142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3143 eval ac_val=\$$ac_var
3144 case $ac_val in #(
3145 *${as_nl}*)
3146 case $ac_var in #(
3147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3149 esac
3150 case $ac_var in #(
3151 _ | IFS | as_nl) ;; #(
3152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3153 *) { eval $ac_var=; unset $ac_var;} ;;
3154 esac ;;
3155 esac
3156 done
3157 (set) 2>&1 |
3158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3159 *${as_nl}ac_space=\ *)
3160 sed -n \
3161 "s/'\''/'\''\\\\'\'''\''/g;
3162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3163 ;; #(
3165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3167 esac |
3168 sort
3170 echo
3172 $as_echo "## ----------------- ##
3173 ## Output variables. ##
3174 ## ----------------- ##"
3175 echo
3176 for ac_var in $ac_subst_vars
3178 eval ac_val=\$$ac_var
3179 case $ac_val in
3180 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3181 esac
3182 $as_echo "$ac_var='\''$ac_val'\''"
3183 done | sort
3184 echo
3186 if test -n "$ac_subst_files"; then
3187 $as_echo "## ------------------- ##
3188 ## File substitutions. ##
3189 ## ------------------- ##"
3190 echo
3191 for ac_var in $ac_subst_files
3193 eval ac_val=\$$ac_var
3194 case $ac_val in
3195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3196 esac
3197 $as_echo "$ac_var='\''$ac_val'\''"
3198 done | sort
3199 echo
3202 if test -s confdefs.h; then
3203 $as_echo "## ----------- ##
3204 ## confdefs.h. ##
3205 ## ----------- ##"
3206 echo
3207 cat confdefs.h
3208 echo
3210 test "$ac_signal" != 0 &&
3211 $as_echo "$as_me: caught signal $ac_signal"
3212 $as_echo "$as_me: exit $exit_status"
3213 } >&5
3214 rm -f core *.core core.conftest.* &&
3215 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3216 exit $exit_status
3218 for ac_signal in 1 2 13 15; do
3219 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3220 done
3221 ac_signal=0
3223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3224 rm -f -r conftest* confdefs.h
3226 $as_echo "/* confdefs.h */" > confdefs.h
3228 # Predefined preprocessor variables.
3230 cat >>confdefs.h <<_ACEOF
3231 #define PACKAGE_NAME "$PACKAGE_NAME"
3232 _ACEOF
3234 cat >>confdefs.h <<_ACEOF
3235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3236 _ACEOF
3238 cat >>confdefs.h <<_ACEOF
3239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3240 _ACEOF
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_STRING "$PACKAGE_STRING"
3244 _ACEOF
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3248 _ACEOF
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_URL "$PACKAGE_URL"
3252 _ACEOF
3255 # Let the site file select an alternate cache file if it wants to.
3256 # Prefer an explicitly selected file to automatically selected ones.
3257 ac_site_file1=NONE
3258 ac_site_file2=NONE
3259 if test -n "$CONFIG_SITE"; then
3260 # We do not want a PATH search for config.site.
3261 case $CONFIG_SITE in #((
3262 -*) ac_site_file1=./$CONFIG_SITE;;
3263 */*) ac_site_file1=$CONFIG_SITE;;
3264 *) ac_site_file1=./$CONFIG_SITE;;
3265 esac
3266 elif test "x$prefix" != xNONE; then
3267 ac_site_file1=$prefix/share/config.site
3268 ac_site_file2=$prefix/etc/config.site
3269 else
3270 ac_site_file1=$ac_default_prefix/share/config.site
3271 ac_site_file2=$ac_default_prefix/etc/config.site
3273 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3275 test "x$ac_site_file" = xNONE && continue
3276 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3278 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3279 sed 's/^/| /' "$ac_site_file" >&5
3280 . "$ac_site_file" \
3281 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 as_fn_error $? "failed to load site script $ac_site_file
3284 See \`config.log' for more details" "$LINENO" 5; }
3286 done
3288 if test -r "$cache_file"; then
3289 # Some versions of bash will fail to source /dev/null (special files
3290 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3291 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3293 $as_echo "$as_me: loading cache $cache_file" >&6;}
3294 case $cache_file in
3295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3296 *) . "./$cache_file";;
3297 esac
3299 else
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3301 $as_echo "$as_me: creating cache $cache_file" >&6;}
3302 >$cache_file
3305 # Check that the precious variables saved in the cache have kept the same
3306 # value.
3307 ac_cache_corrupted=false
3308 for ac_var in $ac_precious_vars; do
3309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3310 eval ac_new_set=\$ac_env_${ac_var}_set
3311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3312 eval ac_new_val=\$ac_env_${ac_var}_value
3313 case $ac_old_set,$ac_new_set in
3314 set,)
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3316 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3317 ac_cache_corrupted=: ;;
3318 ,set)
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3320 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3321 ac_cache_corrupted=: ;;
3322 ,);;
3324 if test "x$ac_old_val" != "x$ac_new_val"; then
3325 # differences in whitespace do not lead to failure.
3326 ac_old_val_w=`echo x $ac_old_val`
3327 ac_new_val_w=`echo x $ac_new_val`
3328 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3330 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3331 ac_cache_corrupted=:
3332 else
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3334 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3335 eval $ac_var=\$ac_old_val
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3338 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3340 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3341 fi;;
3342 esac
3343 # Pass precious variables to config.status.
3344 if test "$ac_new_set" = set; then
3345 case $ac_new_val in
3346 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3347 *) ac_arg=$ac_var=$ac_new_val ;;
3348 esac
3349 case " $ac_configure_args " in
3350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3351 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3352 esac
3354 done
3355 if $ac_cache_corrupted; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3359 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3360 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3362 ## -------------------- ##
3363 ## Main body of script. ##
3364 ## -------------------- ##
3366 ac_ext=c
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3374 ac_config_headers="$ac_config_headers include/config.h"
3376 ac_aux_dir=
3377 for ac_dir in tools "$srcdir"/tools; do
3378 if test -f "$ac_dir/install-sh"; then
3379 ac_aux_dir=$ac_dir
3380 ac_install_sh="$ac_aux_dir/install-sh -c"
3381 break
3382 elif test -f "$ac_dir/install.sh"; then
3383 ac_aux_dir=$ac_dir
3384 ac_install_sh="$ac_aux_dir/install.sh -c"
3385 break
3386 elif test -f "$ac_dir/shtool"; then
3387 ac_aux_dir=$ac_dir
3388 ac_install_sh="$ac_aux_dir/shtool install -c"
3389 break
3391 done
3392 if test -z "$ac_aux_dir"; then
3393 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3396 # These three variables are undocumented and unsupported,
3397 # and are intended to be withdrawn in a future Autoconf release.
3398 # They can cause serious problems if a builder's source tree is in a directory
3399 # whose full name contains unusual characters.
3400 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3401 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3402 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3406 libwine_version="1.0"
3410 # Check whether --enable-win16 was given.
3411 if test "${enable_win16+set}" = set; then :
3412 enableval=$enable_win16;
3415 # Check whether --enable-win64 was given.
3416 if test "${enable_win64+set}" = set; then :
3417 enableval=$enable_win64;
3420 # Check whether --enable-tests was given.
3421 if test "${enable_tests+set}" = set; then :
3422 enableval=$enable_tests;
3425 # Check whether --enable-maintainer-mode was given.
3426 if test "${enable_maintainer_mode+set}" = set; then :
3427 enableval=$enable_maintainer_mode;
3432 # Check whether --with-alsa was given.
3433 if test "${with_alsa+set}" = set; then :
3434 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3438 # Check whether --with-capi was given.
3439 if test "${with_capi+set}" = set; then :
3440 withval=$with_capi;
3444 # Check whether --with-cms was given.
3445 if test "${with_cms+set}" = set; then :
3446 withval=$with_cms;
3450 # Check whether --with-coreaudio was given.
3451 if test "${with_coreaudio+set}" = set; then :
3452 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3456 # Check whether --with-cups was given.
3457 if test "${with_cups+set}" = set; then :
3458 withval=$with_cups;
3462 # Check whether --with-curses was given.
3463 if test "${with_curses+set}" = set; then :
3464 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3468 # Check whether --with-dbus was given.
3469 if test "${with_dbus+set}" = set; then :
3470 withval=$with_dbus;
3474 # Check whether --with-fontconfig was given.
3475 if test "${with_fontconfig+set}" = set; then :
3476 withval=$with_fontconfig;
3480 # Check whether --with-freetype was given.
3481 if test "${with_freetype+set}" = set; then :
3482 withval=$with_freetype;
3486 # Check whether --with-gettext was given.
3487 if test "${with_gettext+set}" = set; then :
3488 withval=$with_gettext;
3492 # Check whether --with-gettextpo was given.
3493 if test "${with_gettextpo+set}" = set; then :
3494 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3498 # Check whether --with-gphoto was given.
3499 if test "${with_gphoto+set}" = set; then :
3500 withval=$with_gphoto;
3504 # Check whether --with-glu was given.
3505 if test "${with_glu+set}" = set; then :
3506 withval=$with_glu;
3510 # Check whether --with-gnutls was given.
3511 if test "${with_gnutls+set}" = set; then :
3512 withval=$with_gnutls;
3516 # Check whether --with-gsm was given.
3517 if test "${with_gsm+set}" = set; then :
3518 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3522 # Check whether --with-gstreamer was given.
3523 if test "${with_gstreamer+set}" = set; then :
3524 withval=$with_gstreamer;
3528 # Check whether --with-hal was given.
3529 if test "${with_hal+set}" = set; then :
3530 withval=$with_hal;
3534 # Check whether --with-jpeg was given.
3535 if test "${with_jpeg+set}" = set; then :
3536 withval=$with_jpeg;
3540 # Check whether --with-ldap was given.
3541 if test "${with_ldap+set}" = set; then :
3542 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3546 # Check whether --with-mpg123 was given.
3547 if test "${with_mpg123+set}" = set; then :
3548 withval=$with_mpg123;
3552 # Check whether --with-netapi was given.
3553 if test "${with_netapi+set}" = set; then :
3554 withval=$with_netapi;
3558 # Check whether --with-openal was given.
3559 if test "${with_openal+set}" = set; then :
3560 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3564 # Check whether --with-opencl was given.
3565 if test "${with_opencl+set}" = set; then :
3566 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3570 # Check whether --with-opengl was given.
3571 if test "${with_opengl+set}" = set; then :
3572 withval=$with_opengl;
3576 # Check whether --with-osmesa was given.
3577 if test "${with_osmesa+set}" = set; then :
3578 withval=$with_osmesa;
3582 # Check whether --with-oss was given.
3583 if test "${with_oss+set}" = set; then :
3584 withval=$with_oss;
3588 # Check whether --with-pcap was given.
3589 if test "${with_pcap+set}" = set; then :
3590 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3594 # Check whether --with-png was given.
3595 if test "${with_png+set}" = set; then :
3596 withval=$with_png;
3600 # Check whether --with-pthread was given.
3601 if test "${with_pthread+set}" = set; then :
3602 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3606 # Check whether --with-pulse was given.
3607 if test "${with_pulse+set}" = set; then :
3608 withval=$with_pulse;
3612 # Check whether --with-sane was given.
3613 if test "${with_sane+set}" = set; then :
3614 withval=$with_sane;
3618 # Check whether --with-tiff was given.
3619 if test "${with_tiff+set}" = set; then :
3620 withval=$with_tiff;
3624 # Check whether --with-udev was given.
3625 if test "${with_udev+set}" = set; then :
3626 withval=$with_udev;
3630 # Check whether --with-v4l was given.
3631 if test "${with_v4l+set}" = set; then :
3632 withval=$with_v4l;
3636 # Check whether --with-xcomposite was given.
3637 if test "${with_xcomposite+set}" = set; then :
3638 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3642 # Check whether --with-xcursor was given.
3643 if test "${with_xcursor+set}" = set; then :
3644 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3648 # Check whether --with-xinerama was given.
3649 if test "${with_xinerama+set}" = set; then :
3650 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3654 # Check whether --with-xinput was given.
3655 if test "${with_xinput+set}" = set; then :
3656 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3660 # Check whether --with-xinput2 was given.
3661 if test "${with_xinput2+set}" = set; then :
3662 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3666 # Check whether --with-xml was given.
3667 if test "${with_xml+set}" = set; then :
3668 withval=$with_xml;
3672 # Check whether --with-xrandr was given.
3673 if test "${with_xrandr+set}" = set; then :
3674 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3678 # Check whether --with-xrender was given.
3679 if test "${with_xrender+set}" = set; then :
3680 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3684 # Check whether --with-xshape was given.
3685 if test "${with_xshape+set}" = set; then :
3686 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3690 # Check whether --with-xshm was given.
3691 if test "${with_xshm+set}" = set; then :
3692 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3696 # Check whether --with-xslt was given.
3697 if test "${with_xslt+set}" = set; then :
3698 withval=$with_xslt;
3702 # Check whether --with-xxf86vm was given.
3703 if test "${with_xxf86vm+set}" = set; then :
3704 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
3708 # Check whether --with-zlib was given.
3709 if test "${with_zlib+set}" = set; then :
3710 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3715 # Check whether --with-wine-tools was given.
3716 if test "${with_wine_tools+set}" = set; then :
3717 withval=$with_wine_tools;
3721 # Check whether --with-wine64 was given.
3722 if test "${with_wine64+set}" = set; then :
3723 withval=$with_wine64;
3727 # Make sure we can run config.sub.
3728 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3729 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3732 $as_echo_n "checking build system type... " >&6; }
3733 if ${ac_cv_build+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 ac_build_alias=$build_alias
3737 test "x$ac_build_alias" = x &&
3738 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3739 test "x$ac_build_alias" = x &&
3740 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3741 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3742 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3746 $as_echo "$ac_cv_build" >&6; }
3747 case $ac_cv_build in
3748 *-*-*) ;;
3749 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3750 esac
3751 build=$ac_cv_build
3752 ac_save_IFS=$IFS; IFS='-'
3753 set x $ac_cv_build
3754 shift
3755 build_cpu=$1
3756 build_vendor=$2
3757 shift; shift
3758 # Remember, the first character of IFS is used to create $*,
3759 # except with old shells:
3760 build_os=$*
3761 IFS=$ac_save_IFS
3762 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3766 $as_echo_n "checking host system type... " >&6; }
3767 if ${ac_cv_host+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 if test "x$host_alias" = x; then
3771 ac_cv_host=$ac_cv_build
3772 else
3773 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3774 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3779 $as_echo "$ac_cv_host" >&6; }
3780 case $ac_cv_host in
3781 *-*-*) ;;
3782 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3783 esac
3784 host=$ac_cv_host
3785 ac_save_IFS=$IFS; IFS='-'
3786 set x $ac_cv_host
3787 shift
3788 host_cpu=$1
3789 host_vendor=$2
3790 shift; shift
3791 # Remember, the first character of IFS is used to create $*,
3792 # except with old shells:
3793 host_os=$*
3794 IFS=$ac_save_IFS
3795 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3799 case "$srcdir" in
3800 .) ;;
3801 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3802 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3803 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3804 fi ;;
3805 esac
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3809 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3810 set x ${MAKE-make}
3811 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3812 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3813 $as_echo_n "(cached) " >&6
3814 else
3815 cat >conftest.make <<\_ACEOF
3816 SHELL = /bin/sh
3817 all:
3818 @echo '@@@%%%=$(MAKE)=@@@%%%'
3819 _ACEOF
3820 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3821 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3822 *@@@%%%=?*=@@@%%%*)
3823 eval ac_cv_prog_make_${ac_make}_set=yes;;
3825 eval ac_cv_prog_make_${ac_make}_set=no;;
3826 esac
3827 rm -f conftest.make
3829 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3831 $as_echo "yes" >&6; }
3832 SET_MAKE=
3833 else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836 SET_MAKE="MAKE=${MAKE-make}"
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 if test -n "$ac_tool_prefix"; then
3845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3846 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_CC+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 if test -n "$CC"; then
3853 ac_cv_prog_CC="$CC" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3858 IFS=$as_save_IFS
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2
3866 done
3867 done
3868 IFS=$as_save_IFS
3872 CC=$ac_cv_prog_CC
3873 if test -n "$CC"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875 $as_echo "$CC" >&6; }
3876 else
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3883 if test -z "$ac_cv_prog_CC"; then
3884 ac_ct_CC=$CC
3885 # Extract the first word of "gcc", so it can be a program name with args.
3886 set dummy gcc; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 if test -n "$ac_ct_CC"; then
3893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3894 else
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3898 IFS=$as_save_IFS
3899 test -z "$as_dir" && as_dir=.
3900 for ac_exec_ext in '' $ac_executable_extensions; do
3901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902 ac_cv_prog_ac_ct_CC="gcc"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 break 2
3906 done
3907 done
3908 IFS=$as_save_IFS
3912 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3913 if test -n "$ac_ct_CC"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3915 $as_echo "$ac_ct_CC" >&6; }
3916 else
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3932 else
3933 CC="$ac_cv_prog_CC"
3936 if test -z "$CC"; then
3937 if test -n "$ac_tool_prefix"; then
3938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3939 set dummy ${ac_tool_prefix}cc; ac_word=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if ${ac_cv_prog_CC+:} false; then :
3943 $as_echo_n "(cached) " >&6
3944 else
3945 if test -n "$CC"; then
3946 ac_cv_prog_CC="$CC" # Let the user override the test.
3947 else
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 for as_dir in $PATH
3951 IFS=$as_save_IFS
3952 test -z "$as_dir" && as_dir=.
3953 for ac_exec_ext in '' $ac_executable_extensions; do
3954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3955 ac_cv_prog_CC="${ac_tool_prefix}cc"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 break 2
3959 done
3960 done
3961 IFS=$as_save_IFS
3965 CC=$ac_cv_prog_CC
3966 if test -n "$CC"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3968 $as_echo "$CC" >&6; }
3969 else
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3977 if test -z "$CC"; then
3978 # Extract the first word of "cc", so it can be a program name with args.
3979 set dummy cc; ac_word=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if ${ac_cv_prog_CC+:} false; then :
3983 $as_echo_n "(cached) " >&6
3984 else
3985 if test -n "$CC"; then
3986 ac_cv_prog_CC="$CC" # Let the user override the test.
3987 else
3988 ac_prog_rejected=no
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3997 ac_prog_rejected=yes
3998 continue
4000 ac_cv_prog_CC="cc"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4006 IFS=$as_save_IFS
4008 if test $ac_prog_rejected = yes; then
4009 # We found a bogon in the path, so make sure we never use it.
4010 set dummy $ac_cv_prog_CC
4011 shift
4012 if test $# != 0; then
4013 # We chose a different compiler from the bogus one.
4014 # However, it has the same basename, so the bogon will be chosen
4015 # first if we set CC to just the basename; use the full file name.
4016 shift
4017 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4022 CC=$ac_cv_prog_CC
4023 if test -n "$CC"; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4025 $as_echo "$CC" >&6; }
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4033 if test -z "$CC"; then
4034 if test -n "$ac_tool_prefix"; then
4035 for ac_prog in cl.exe
4037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4043 else
4044 if test -n "$CC"; then
4045 ac_cv_prog_CC="$CC" # Let the user override the test.
4046 else
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH
4050 IFS=$as_save_IFS
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 break 2
4058 done
4059 done
4060 IFS=$as_save_IFS
4064 CC=$ac_cv_prog_CC
4065 if test -n "$CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4067 $as_echo "$CC" >&6; }
4068 else
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4074 test -n "$CC" && break
4075 done
4077 if test -z "$CC"; then
4078 ac_ct_CC=$CC
4079 for ac_prog in cl.exe
4081 # Extract the first word of "$ac_prog", so it can be a program name with args.
4082 set dummy $ac_prog; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 if test -n "$ac_ct_CC"; then
4089 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4090 else
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 ac_cv_prog_ac_ct_CC="$ac_prog"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 break 2
4102 done
4103 done
4104 IFS=$as_save_IFS
4108 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4109 if test -n "$ac_ct_CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4111 $as_echo "$ac_ct_CC" >&6; }
4112 else
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4118 test -n "$ac_ct_CC" && break
4119 done
4121 if test "x$ac_ct_CC" = x; then
4122 CC=""
4123 else
4124 case $cross_compiling:$ac_tool_warned in
4125 yes:)
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4128 ac_tool_warned=yes ;;
4129 esac
4130 CC=$ac_ct_CC
4137 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error $? "no acceptable C compiler found in \$PATH
4140 See \`config.log' for more details" "$LINENO" 5; }
4142 # Provide some information about the compiler.
4143 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4144 set X $ac_compile
4145 ac_compiler=$2
4146 for ac_option in --version -v -V -qversion; do
4147 { { ac_try="$ac_compiler $ac_option >&5"
4148 case "(($ac_try" in
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4151 esac
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4155 ac_status=$?
4156 if test -s conftest.err; then
4157 sed '10a\
4158 ... rest of stderr output deleted ...
4159 10q' conftest.err >conftest.er1
4160 cat conftest.er1 >&5
4162 rm -f conftest.er1 conftest.err
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }
4165 done
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4171 main ()
4175 return 0;
4177 _ACEOF
4178 ac_clean_files_save=$ac_clean_files
4179 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4180 # Try to create an executable without -o first, disregard a.out.
4181 # It will help us diagnose broken compilers, and finding out an intuition
4182 # of exeext.
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4184 $as_echo_n "checking whether the C compiler works... " >&6; }
4185 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4187 # The possible output files:
4188 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4190 ac_rmfiles=
4191 for ac_file in $ac_files
4193 case $ac_file in
4194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4195 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4196 esac
4197 done
4198 rm -f $ac_rmfiles
4200 if { { ac_try="$ac_link_default"
4201 case "(($ac_try" in
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4204 esac
4205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4206 $as_echo "$ac_try_echo"; } >&5
4207 (eval "$ac_link_default") 2>&5
4208 ac_status=$?
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }; then :
4211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4214 # so that the user can short-circuit this test for compilers unknown to
4215 # Autoconf.
4216 for ac_file in $ac_files ''
4218 test -f "$ac_file" || continue
4219 case $ac_file in
4220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4222 [ab].out )
4223 # We found the default executable, but exeext='' is most
4224 # certainly right.
4225 break;;
4226 *.* )
4227 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4228 then :; else
4229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4231 # We set ac_cv_exeext here because the later test for it is not
4232 # safe: cross compilers may not add the suffix if given an `-o'
4233 # argument, so we may need to know it at that point already.
4234 # Even if this section looks crufty: it has the advantage of
4235 # actually working.
4236 break;;
4238 break;;
4239 esac
4240 done
4241 test "$ac_cv_exeext" = no && ac_cv_exeext=
4243 else
4244 ac_file=''
4246 if test -z "$ac_file"; then :
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4249 $as_echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error 77 "C compiler cannot create executables
4255 See \`config.log' for more details" "$LINENO" 5; }
4256 else
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4258 $as_echo "yes" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4261 $as_echo_n "checking for C compiler default output file name... " >&6; }
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4263 $as_echo "$ac_file" >&6; }
4264 ac_exeext=$ac_cv_exeext
4266 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4267 ac_clean_files=$ac_clean_files_save
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4269 $as_echo_n "checking for suffix of executables... " >&6; }
4270 if { { ac_try="$ac_link"
4271 case "(($ac_try" in
4272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4274 esac
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277 (eval "$ac_link") 2>&5
4278 ac_status=$?
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }; then :
4281 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4282 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4283 # work properly (i.e., refer to `conftest.exe'), while it won't with
4284 # `rm'.
4285 for ac_file in conftest.exe conftest conftest.*; do
4286 test -f "$ac_file" || continue
4287 case $ac_file in
4288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4289 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4290 break;;
4291 * ) break;;
4292 esac
4293 done
4294 else
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4298 See \`config.log' for more details" "$LINENO" 5; }
4300 rm -f conftest conftest$ac_cv_exeext
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4302 $as_echo "$ac_cv_exeext" >&6; }
4304 rm -f conftest.$ac_ext
4305 EXEEXT=$ac_cv_exeext
4306 ac_exeext=$EXEEXT
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4309 #include <stdio.h>
4311 main ()
4313 FILE *f = fopen ("conftest.out", "w");
4314 return ferror (f) || fclose (f) != 0;
4317 return 0;
4319 _ACEOF
4320 ac_clean_files="$ac_clean_files conftest.out"
4321 # Check that the compiler produces executables we can run. If not, either
4322 # the compiler is broken, or we cross compile.
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4324 $as_echo_n "checking whether we are cross compiling... " >&6; }
4325 if test "$cross_compiling" != yes; then
4326 { { ac_try="$ac_link"
4327 case "(($ac_try" in
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4330 esac
4331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 $as_echo "$ac_try_echo"; } >&5
4333 (eval "$ac_link") 2>&5
4334 ac_status=$?
4335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 test $ac_status = 0; }
4337 if { ac_try='./conftest$ac_cv_exeext'
4338 { { case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_try") 2>&5
4345 ac_status=$?
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }; }; then
4348 cross_compiling=no
4349 else
4350 if test "$cross_compiling" = maybe; then
4351 cross_compiling=yes
4352 else
4353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4355 as_fn_error $? "cannot run C compiled programs.
4356 If you meant to cross compile, use \`--host'.
4357 See \`config.log' for more details" "$LINENO" 5; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4362 $as_echo "$cross_compiling" >&6; }
4364 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4365 ac_clean_files=$ac_clean_files_save
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4367 $as_echo_n "checking for suffix of object files... " >&6; }
4368 if ${ac_cv_objext+:} false; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4375 main ()
4379 return 0;
4381 _ACEOF
4382 rm -f conftest.o conftest.obj
4383 if { { ac_try="$ac_compile"
4384 case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4387 esac
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_compile") 2>&5
4391 ac_status=$?
4392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4393 test $ac_status = 0; }; then :
4394 for ac_file in conftest.o conftest.obj conftest.*; do
4395 test -f "$ac_file" || continue;
4396 case $ac_file in
4397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4398 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4399 break;;
4400 esac
4401 done
4402 else
4403 $as_echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error $? "cannot compute suffix of object files: cannot compile
4409 See \`config.log' for more details" "$LINENO" 5; }
4411 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4414 $as_echo "$ac_cv_objext" >&6; }
4415 OBJEXT=$ac_cv_objext
4416 ac_objext=$OBJEXT
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4418 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4419 if ${ac_cv_c_compiler_gnu+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4426 main ()
4428 #ifndef __GNUC__
4429 choke me
4430 #endif
4433 return 0;
4435 _ACEOF
4436 if ac_fn_c_try_compile "$LINENO"; then :
4437 ac_compiler_gnu=yes
4438 else
4439 ac_compiler_gnu=no
4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4446 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4447 if test $ac_compiler_gnu = yes; then
4448 GCC=yes
4449 else
4450 GCC=
4452 ac_test_CFLAGS=${CFLAGS+set}
4453 ac_save_CFLAGS=$CFLAGS
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4455 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4456 if ${ac_cv_prog_cc_g+:} false; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 ac_save_c_werror_flag=$ac_c_werror_flag
4460 ac_c_werror_flag=yes
4461 ac_cv_prog_cc_g=no
4462 CFLAGS="-g"
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 ac_cv_prog_cc_g=yes
4476 else
4477 CFLAGS=""
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4482 main ()
4486 return 0;
4488 _ACEOF
4489 if ac_fn_c_try_compile "$LINENO"; then :
4491 else
4492 ac_c_werror_flag=$ac_save_c_werror_flag
4493 CFLAGS="-g"
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4502 return 0;
4504 _ACEOF
4505 if ac_fn_c_try_compile "$LINENO"; then :
4506 ac_cv_prog_cc_g=yes
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_c_werror_flag=$ac_save_c_werror_flag
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4516 $as_echo "$ac_cv_prog_cc_g" >&6; }
4517 if test "$ac_test_CFLAGS" = set; then
4518 CFLAGS=$ac_save_CFLAGS
4519 elif test $ac_cv_prog_cc_g = yes; then
4520 if test "$GCC" = yes; then
4521 CFLAGS="-g -O2"
4522 else
4523 CFLAGS="-g"
4525 else
4526 if test "$GCC" = yes; then
4527 CFLAGS="-O2"
4528 else
4529 CFLAGS=
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4533 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4534 if ${ac_cv_prog_cc_c89+:} false; then :
4535 $as_echo_n "(cached) " >&6
4536 else
4537 ac_cv_prog_cc_c89=no
4538 ac_save_CC=$CC
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4541 #include <stdarg.h>
4542 #include <stdio.h>
4543 struct stat;
4544 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4545 struct buf { int x; };
4546 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4547 static char *e (p, i)
4548 char **p;
4549 int i;
4551 return p[i];
4553 static char *f (char * (*g) (char **, int), char **p, ...)
4555 char *s;
4556 va_list v;
4557 va_start (v,p);
4558 s = g (p, va_arg (v,int));
4559 va_end (v);
4560 return s;
4563 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4564 function prototypes and stuff, but not '\xHH' hex character constants.
4565 These don't provoke an error unfortunately, instead are silently treated
4566 as 'x'. The following induces an error, until -std is added to get
4567 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4568 array size at least. It's necessary to write '\x00'==0 to get something
4569 that's true only with -std. */
4570 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4572 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4573 inside strings and character constants. */
4574 #define FOO(x) 'x'
4575 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4577 int test (int i, double x);
4578 struct s1 {int (*f) (int a);};
4579 struct s2 {int (*f) (double a);};
4580 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4581 int argc;
4582 char **argv;
4584 main ()
4586 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4588 return 0;
4590 _ACEOF
4591 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4592 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4594 CC="$ac_save_CC $ac_arg"
4595 if ac_fn_c_try_compile "$LINENO"; then :
4596 ac_cv_prog_cc_c89=$ac_arg
4598 rm -f core conftest.err conftest.$ac_objext
4599 test "x$ac_cv_prog_cc_c89" != "xno" && break
4600 done
4601 rm -f conftest.$ac_ext
4602 CC=$ac_save_CC
4605 # AC_CACHE_VAL
4606 case "x$ac_cv_prog_cc_c89" in
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4609 $as_echo "none needed" >&6; } ;;
4610 xno)
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4612 $as_echo "unsupported" >&6; } ;;
4614 CC="$CC $ac_cv_prog_cc_c89"
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4616 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4617 esac
4618 if test "x$ac_cv_prog_cc_c89" != xno; then :
4622 ac_ext=c
4623 ac_cpp='$CPP $CPPFLAGS'
4624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 ac_ext=cpp
4629 ac_cpp='$CXXCPP $CPPFLAGS'
4630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4633 if test -z "$CXX"; then
4634 if test -n "$CCC"; then
4635 CXX=$CCC
4636 else
4637 if test -n "$ac_tool_prefix"; then
4638 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4641 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_CXX+:} false; then :
4645 $as_echo_n "(cached) " >&6
4646 else
4647 if test -n "$CXX"; then
4648 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4649 else
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH
4653 IFS=$as_save_IFS
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 break 2
4661 done
4662 done
4663 IFS=$as_save_IFS
4667 CXX=$ac_cv_prog_CXX
4668 if test -n "$CXX"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4670 $as_echo "$CXX" >&6; }
4671 else
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4677 test -n "$CXX" && break
4678 done
4680 if test -z "$CXX"; then
4681 ac_ct_CXX=$CXX
4682 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4684 # Extract the first word of "$ac_prog", so it can be a program name with args.
4685 set dummy $ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$ac_ct_CXX"; then
4692 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_ac_ct_CXX="$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4705 done
4706 done
4707 IFS=$as_save_IFS
4711 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4712 if test -n "$ac_ct_CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4714 $as_echo "$ac_ct_CXX" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$ac_ct_CXX" && break
4722 done
4724 if test "x$ac_ct_CXX" = x; then
4725 CXX="g++"
4726 else
4727 case $cross_compiling:$ac_tool_warned in
4728 yes:)
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731 ac_tool_warned=yes ;;
4732 esac
4733 CXX=$ac_ct_CXX
4739 # Provide some information about the compiler.
4740 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4741 set X $ac_compile
4742 ac_compiler=$2
4743 for ac_option in --version -v -V -qversion; do
4744 { { ac_try="$ac_compiler $ac_option >&5"
4745 case "(($ac_try" in
4746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 *) ac_try_echo=$ac_try;;
4748 esac
4749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4750 $as_echo "$ac_try_echo"; } >&5
4751 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4752 ac_status=$?
4753 if test -s conftest.err; then
4754 sed '10a\
4755 ... rest of stderr output deleted ...
4756 10q' conftest.err >conftest.er1
4757 cat conftest.er1 >&5
4759 rm -f conftest.er1 conftest.err
4760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4761 test $ac_status = 0; }
4762 done
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4765 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4766 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4767 $as_echo_n "(cached) " >&6
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4775 #ifndef __GNUC__
4776 choke me
4777 #endif
4780 return 0;
4782 _ACEOF
4783 if ac_fn_cxx_try_compile "$LINENO"; then :
4784 ac_compiler_gnu=yes
4785 else
4786 ac_compiler_gnu=no
4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4793 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4794 if test $ac_compiler_gnu = yes; then
4795 GXX=yes
4796 else
4797 GXX=
4799 ac_test_CXXFLAGS=${CXXFLAGS+set}
4800 ac_save_CXXFLAGS=$CXXFLAGS
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4802 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4803 if ${ac_cv_prog_cxx_g+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4807 ac_cxx_werror_flag=yes
4808 ac_cv_prog_cxx_g=no
4809 CXXFLAGS="-g"
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4814 main ()
4818 return 0;
4820 _ACEOF
4821 if ac_fn_cxx_try_compile "$LINENO"; then :
4822 ac_cv_prog_cxx_g=yes
4823 else
4824 CXXFLAGS=""
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4829 main ()
4833 return 0;
4835 _ACEOF
4836 if ac_fn_cxx_try_compile "$LINENO"; then :
4838 else
4839 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4840 CXXFLAGS="-g"
4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4845 main ()
4849 return 0;
4851 _ACEOF
4852 if ac_fn_cxx_try_compile "$LINENO"; then :
4853 ac_cv_prog_cxx_g=yes
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4860 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4863 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4864 if test "$ac_test_CXXFLAGS" = set; then
4865 CXXFLAGS=$ac_save_CXXFLAGS
4866 elif test $ac_cv_prog_cxx_g = yes; then
4867 if test "$GXX" = yes; then
4868 CXXFLAGS="-g -O2"
4869 else
4870 CXXFLAGS="-g"
4872 else
4873 if test "$GXX" = yes; then
4874 CXXFLAGS="-O2"
4875 else
4876 CXXFLAGS=
4879 ac_ext=c
4880 ac_cpp='$CPP $CPPFLAGS'
4881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_CPPBIN+:} false; then :
4891 $as_echo_n "(cached) " >&6
4892 else
4893 if test -n "$CPPBIN"; then
4894 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4895 else
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 break 2
4907 done
4908 done
4909 IFS=$as_save_IFS
4913 CPPBIN=$ac_cv_prog_CPPBIN
4914 if test -n "$CPPBIN"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4916 $as_echo "$CPPBIN" >&6; }
4917 else
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_CPPBIN"; then
4925 ac_ct_CPPBIN=$CPPBIN
4926 # Extract the first word of "cpp", so it can be a program name with args.
4927 set dummy cpp; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 if test -n "$ac_ct_CPPBIN"; then
4934 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_CPPBIN="cpp"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4954 if test -n "$ac_ct_CPPBIN"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4956 $as_echo "$ac_ct_CPPBIN" >&6; }
4957 else
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962 if test "x$ac_ct_CPPBIN" = x; then
4963 CPPBIN="cpp"
4964 else
4965 case $cross_compiling:$ac_tool_warned in
4966 yes:)
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4970 esac
4971 CPPBIN=$ac_ct_CPPBIN
4973 else
4974 CPPBIN="$ac_cv_prog_CPPBIN"
4978 cat >>confdefs.h <<_ACEOF
4979 #define EXEEXT "$ac_exeext"
4980 _ACEOF
4982 if test -n "$ac_tool_prefix"; then
4983 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4984 set dummy ${ac_tool_prefix}ld; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_LD+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$LD"; then
4991 ac_cv_prog_LD="$LD" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_LD="${ac_tool_prefix}ld"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 LD=$ac_cv_prog_LD
5011 if test -n "$LD"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5013 $as_echo "$LD" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5021 if test -z "$ac_cv_prog_LD"; then
5022 ac_ct_LD=$LD
5023 # Extract the first word of "ld", so it can be a program name with args.
5024 set dummy ld; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5028 $as_echo_n "(cached) " >&6
5029 else
5030 if test -n "$ac_ct_LD"; then
5031 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_LD="ld"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5051 if test -n "$ac_ct_LD"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5053 $as_echo "$ac_ct_LD" >&6; }
5054 else
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5059 if test "x$ac_ct_LD" = x; then
5060 LD=""
5061 else
5062 case $cross_compiling:$ac_tool_warned in
5063 yes:)
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned=yes ;;
5067 esac
5068 LD=$ac_ct_LD
5070 else
5071 LD="$ac_cv_prog_LD"
5075 case $host in
5076 *-darwin*)
5077 with_fontconfig=${with_fontconfig:-no}
5079 *-mingw32*|*-cygwin*)
5080 enable_win16=${enable_win16:-no}
5081 CFLAGS="$CFLAGS -D_WIN32"
5083 esac
5085 case $host in
5086 x86_64*|amd64*)
5087 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5088 then
5089 CC="$CC -m32"
5090 CXX="$CXX -m32"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5092 $as_echo_n "checking whether $CC works... " >&6; }
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5098 main ()
5102 return 0;
5104 _ACEOF
5105 if ac_fn_c_try_link "$LINENO"; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5107 $as_echo "yes" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5111 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5113 rm -f core conftest.err conftest.$ac_objext \
5114 conftest$ac_exeext conftest.$ac_ext
5115 host_cpu="i386"
5116 notice_platform="32-bit "
5117 TARGETFLAGS="-m32"
5119 enable_win16=${enable_win16:-yes}
5120 else
5121 if test "x${GCC}" = "xyes"
5122 then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5124 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 /* end confdefs.h. */
5127 #include <stdarg.h>
5129 main ()
5131 void func(__builtin_ms_va_list *args);
5133 return 0;
5135 _ACEOF
5136 if ac_fn_c_try_compile "$LINENO"; then :
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5138 $as_echo "yes" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5142 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5146 CC="$CC -m64"
5147 CXX="$CXX -m64"
5148 host_cpu="x86_64"
5149 notice_platform="64-bit "
5150 TARGETFLAGS="-m64"
5154 arm*)
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5156 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5159 int ac_test(int i) { return i; }
5161 main ()
5163 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5165 return 0;
5167 _ACEOF
5168 if ac_fn_c_try_link "$LINENO"; then :
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5170 $as_echo "yes" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5174 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5176 rm -f core conftest.err conftest.$ac_objext \
5177 conftest$ac_exeext conftest.$ac_ext
5178 CFLAGS="$CFLAGS -marm"
5179 TARGETFLAGS="-marm"
5182 i[3456789]86*)
5183 enable_win16=${enable_win16:-yes}
5185 esac
5187 enable_win16=${enable_win16:-no}
5188 enable_win64=${enable_win64:-no}
5190 enable_winetest=${enable_winetest:-$enable_tests}
5192 if test -n "$with_wine64"
5193 then
5194 if test "x$enable_win64" = "xyes"
5195 then
5196 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5197 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5199 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5200 You should create a separate build directory and run configure from there." "$LINENO" 5
5201 enable_fonts=${enable_fonts:-no}
5202 enable_server=${enable_server:-no}
5203 elif test "x$enable_win64" = "xyes"
5204 then
5205 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5209 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5210 if ${wine_cv_toolsdir+:} false; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 wine_cv_toolsdir="$with_wine_tools"
5214 if test -z "$with_wine_tools"; then
5215 if test "$cross_compiling" = "yes"; then
5216 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5217 elif test -n "$with_wine64"; then
5218 wine_cv_toolsdir="$with_wine64"
5221 if test -z "$wine_cv_toolsdir"; then
5222 wine_makedep=tools/makedep
5223 wine_cv_toolsdir="\$(top_builddir)"
5224 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5225 wine_makedep=$wine_cv_toolsdir/tools/makedep
5226 case "$wine_cv_toolsdir" in
5227 /*) ;;
5228 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5229 esac
5230 enable_tools=${enable_tools:-no}
5231 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5232 else
5233 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5237 $as_echo "$wine_cv_toolsdir" >&6; }
5238 TOOLSDIR=$wine_cv_toolsdir
5240 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5241 then
5242 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5246 for ac_prog in flex
5248 # Extract the first word of "$ac_prog", so it can be a program name with args.
5249 set dummy $ac_prog; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_FLEX+:} false; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$FLEX"; then
5256 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5265 ac_cv_prog_FLEX="$ac_prog"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 FLEX=$ac_cv_prog_FLEX
5276 if test -n "$FLEX"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5278 $as_echo "$FLEX" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5285 test -n "$FLEX" && break
5286 done
5287 test -n "$FLEX" || FLEX="none"
5289 if test "$FLEX" = "none"
5290 then
5291 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5294 $as_echo_n "checking whether flex is recent enough... " >&6; }
5295 cat >conftest.l <<EOF
5296 %top{
5297 #include "prediluvian.h"
5301 if $FLEX -t conftest.l >/dev/null 2>&5
5302 then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5304 $as_echo "yes" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5308 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5311 for ac_prog in bison
5313 # Extract the first word of "$ac_prog", so it can be a program name with args.
5314 set dummy $ac_prog; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if ${ac_cv_prog_BISON+:} false; then :
5318 $as_echo_n "(cached) " >&6
5319 else
5320 if test -n "$BISON"; then
5321 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5322 else
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH
5326 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5330 ac_cv_prog_BISON="$ac_prog"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 break 2
5334 done
5335 done
5336 IFS=$as_save_IFS
5340 BISON=$ac_cv_prog_BISON
5341 if test -n "$BISON"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5343 $as_echo "$BISON" >&6; }
5344 else
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5350 test -n "$BISON" && break
5351 done
5352 test -n "$BISON" || BISON="none"
5354 if test "$BISON" = "none"
5355 then
5356 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5359 if test -n "$ac_tool_prefix"; then
5360 for ac_prog in ar gar
5362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_AR+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$AR"; then
5370 ac_cv_prog_AR="$AR" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 AR=$ac_cv_prog_AR
5390 if test -n "$AR"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5392 $as_echo "$AR" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5399 test -n "$AR" && break
5400 done
5402 if test -z "$AR"; then
5403 ac_ct_AR=$AR
5404 for ac_prog in ar gar
5406 # Extract the first word of "$ac_prog", so it can be a program name with args.
5407 set dummy $ac_prog; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$ac_ct_AR"; then
5414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_ac_ct_AR="$ac_prog"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5427 done
5428 done
5429 IFS=$as_save_IFS
5433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5434 if test -n "$ac_ct_AR"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5436 $as_echo "$ac_ct_AR" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5443 test -n "$ac_ct_AR" && break
5444 done
5446 if test "x$ac_ct_AR" = x; then
5447 AR="ar"
5448 else
5449 case $cross_compiling:$ac_tool_warned in
5450 yes:)
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453 ac_tool_warned=yes ;;
5454 esac
5455 AR=$ac_ct_AR
5459 if test -n "$ac_tool_prefix"; then
5460 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5461 set dummy ${ac_tool_prefix}strip; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_STRIP+:} false; then :
5465 $as_echo_n "(cached) " >&6
5466 else
5467 if test -n "$STRIP"; then
5468 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5469 else
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH
5473 IFS=$as_save_IFS
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 break 2
5481 done
5482 done
5483 IFS=$as_save_IFS
5487 STRIP=$ac_cv_prog_STRIP
5488 if test -n "$STRIP"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5490 $as_echo "$STRIP" >&6; }
5491 else
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5498 if test -z "$ac_cv_prog_STRIP"; then
5499 ac_ct_STRIP=$STRIP
5500 # Extract the first word of "strip", so it can be a program name with args.
5501 set dummy strip; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$ac_ct_STRIP"; then
5508 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_ac_ct_STRIP="strip"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5521 done
5522 done
5523 IFS=$as_save_IFS
5527 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5528 if test -n "$ac_ct_STRIP"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5530 $as_echo "$ac_ct_STRIP" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5536 if test "x$ac_ct_STRIP" = x; then
5537 STRIP="strip"
5538 else
5539 case $cross_compiling:$ac_tool_warned in
5540 yes:)
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5543 ac_tool_warned=yes ;;
5544 esac
5545 STRIP=$ac_ct_STRIP
5547 else
5548 STRIP="$ac_cv_prog_STRIP"
5551 ARFLAGS=rc
5553 if test -n "$ac_tool_prefix"; then
5554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_RANLIB+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -n "$RANLIB"; then
5562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5563 else
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 break 2
5575 done
5576 done
5577 IFS=$as_save_IFS
5581 RANLIB=$ac_cv_prog_RANLIB
5582 if test -n "$RANLIB"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5584 $as_echo "$RANLIB" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5592 if test -z "$ac_cv_prog_RANLIB"; then
5593 ac_ct_RANLIB=$RANLIB
5594 # Extract the first word of "ranlib", so it can be a program name with args.
5595 set dummy ranlib; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -n "$ac_ct_RANLIB"; then
5602 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_ac_ct_RANLIB="ranlib"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5622 if test -n "$ac_ct_RANLIB"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5624 $as_echo "$ac_ct_RANLIB" >&6; }
5625 else
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5630 if test "x$ac_ct_RANLIB" = x; then
5631 RANLIB=":"
5632 else
5633 case $cross_compiling:$ac_tool_warned in
5634 yes:)
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5637 ac_tool_warned=yes ;;
5638 esac
5639 RANLIB=$ac_ct_RANLIB
5641 else
5642 RANLIB="$ac_cv_prog_RANLIB"
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5646 $as_echo_n "checking whether ln -s works... " >&6; }
5647 LN_S=$as_ln_s
5648 if test "$LN_S" = "ln -s"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5653 $as_echo "no, using $LN_S" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5657 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5658 if ${ac_cv_path_GREP+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 if test -z "$GREP"; then
5662 ac_path_GREP_found=false
5663 # Loop through the user's path and test for each of PROGNAME-LIST
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_prog in grep ggrep; do
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5672 as_fn_executable_p "$ac_path_GREP" || continue
5673 # Check for GNU ac_path_GREP and select it if it is found.
5674 # Check for GNU $ac_path_GREP
5675 case `"$ac_path_GREP" --version 2>&1` in
5676 *GNU*)
5677 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5679 ac_count=0
5680 $as_echo_n 0123456789 >"conftest.in"
5681 while :
5683 cat "conftest.in" "conftest.in" >"conftest.tmp"
5684 mv "conftest.tmp" "conftest.in"
5685 cp "conftest.in" "conftest.nl"
5686 $as_echo 'GREP' >> "conftest.nl"
5687 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5689 as_fn_arith $ac_count + 1 && ac_count=$as_val
5690 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5691 # Best one so far, save it but keep looking for a better one
5692 ac_cv_path_GREP="$ac_path_GREP"
5693 ac_path_GREP_max=$ac_count
5695 # 10*(2^10) chars as input seems more than enough
5696 test $ac_count -gt 10 && break
5697 done
5698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5699 esac
5701 $ac_path_GREP_found && break 3
5702 done
5703 done
5704 done
5705 IFS=$as_save_IFS
5706 if test -z "$ac_cv_path_GREP"; then
5707 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5709 else
5710 ac_cv_path_GREP=$GREP
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5715 $as_echo "$ac_cv_path_GREP" >&6; }
5716 GREP="$ac_cv_path_GREP"
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5720 $as_echo_n "checking for egrep... " >&6; }
5721 if ${ac_cv_path_EGREP+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5725 then ac_cv_path_EGREP="$GREP -E"
5726 else
5727 if test -z "$EGREP"; then
5728 ac_path_EGREP_found=false
5729 # Loop through the user's path and test for each of PROGNAME-LIST
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_prog in egrep; do
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5738 as_fn_executable_p "$ac_path_EGREP" || continue
5739 # Check for GNU ac_path_EGREP and select it if it is found.
5740 # Check for GNU $ac_path_EGREP
5741 case `"$ac_path_EGREP" --version 2>&1` in
5742 *GNU*)
5743 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5745 ac_count=0
5746 $as_echo_n 0123456789 >"conftest.in"
5747 while :
5749 cat "conftest.in" "conftest.in" >"conftest.tmp"
5750 mv "conftest.tmp" "conftest.in"
5751 cp "conftest.in" "conftest.nl"
5752 $as_echo 'EGREP' >> "conftest.nl"
5753 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5755 as_fn_arith $ac_count + 1 && ac_count=$as_val
5756 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5757 # Best one so far, save it but keep looking for a better one
5758 ac_cv_path_EGREP="$ac_path_EGREP"
5759 ac_path_EGREP_max=$ac_count
5761 # 10*(2^10) chars as input seems more than enough
5762 test $ac_count -gt 10 && break
5763 done
5764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5765 esac
5767 $ac_path_EGREP_found && break 3
5768 done
5769 done
5770 done
5771 IFS=$as_save_IFS
5772 if test -z "$ac_cv_path_EGREP"; then
5773 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5775 else
5776 ac_cv_path_EGREP=$EGREP
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5782 $as_echo "$ac_cv_path_EGREP" >&6; }
5783 EGREP="$ac_cv_path_EGREP"
5786 # Extract the first word of "ldconfig", so it can be a program name with args.
5787 set dummy ldconfig; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if ${ac_cv_path_LDCONFIG+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 case $LDCONFIG in
5794 [\\/]* | ?:[\\/]*)
5795 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in /sbin /usr/sbin $PATH
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5809 done
5810 done
5811 IFS=$as_save_IFS
5813 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5815 esac
5817 LDCONFIG=$ac_cv_path_LDCONFIG
5818 if test -n "$LDCONFIG"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5820 $as_echo "$LDCONFIG" >&6; }
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 for ac_prog in msgfmt
5829 # Extract the first word of "$ac_prog", so it can be a program name with args.
5830 set dummy $ac_prog; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_MSGFMT+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 if test -n "$MSGFMT"; then
5837 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5838 else
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH
5842 IFS=$as_save_IFS
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846 ac_cv_prog_MSGFMT="$ac_prog"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 break 2
5850 done
5851 done
5852 IFS=$as_save_IFS
5856 MSGFMT=$ac_cv_prog_MSGFMT
5857 if test -n "$MSGFMT"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5859 $as_echo "$MSGFMT" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5866 test -n "$MSGFMT" && break
5867 done
5868 test -n "$MSGFMT" || MSGFMT="false"
5870 if ${ac_tool_prefix+:} false; then :
5871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 if test -n "$PKG_CONFIG"; then
5879 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5898 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5899 if test -n "$PKG_CONFIG"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5901 $as_echo "$PKG_CONFIG" >&6; }
5902 else
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5909 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5910 if test "x$cross_compiling" = xyes; then :
5912 else
5913 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5914 # Extract the first word of "pkg-config", so it can be a program name with args.
5915 set dummy pkg-config; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$PKG_CONFIG"; then
5922 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_PKG_CONFIG="pkg-config"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5942 if test -n "$PKG_CONFIG"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5944 $as_echo "$PKG_CONFIG" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5952 else
5953 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5956 if test "x$enable_maintainer_mode" != "xyes"
5957 then
5958 FONTFORGE=""
5959 RSVG=""
5960 CONVERT=""
5961 ICOTOOL=""
5962 else
5963 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5964 for ac_prog in fontforge
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy $ac_prog; ac_word=$2
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 $as_echo_n "checking for $ac_word... " >&6; }
5970 if ${ac_cv_prog_FONTFORGE+:} false; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 if test -n "$FONTFORGE"; then
5974 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5975 else
5976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 for as_dir in $PATH
5979 IFS=$as_save_IFS
5980 test -z "$as_dir" && as_dir=.
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_FONTFORGE="$ac_prog"
5984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 FONTFORGE=$ac_cv_prog_FONTFORGE
5994 if test -n "$FONTFORGE"; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5996 $as_echo "$FONTFORGE" >&6; }
5997 else
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6003 test -n "$FONTFORGE" && break
6004 done
6005 test -n "$FONTFORGE" || FONTFORGE="false"
6007 for ac_prog in rsvg-convert rsvg
6009 # Extract the first word of "$ac_prog", so it can be a program name with args.
6010 set dummy $ac_prog; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_RSVG+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 if test -n "$RSVG"; then
6017 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_RSVG="$ac_prog"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 RSVG=$ac_cv_prog_RSVG
6037 if test -n "$RSVG"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6039 $as_echo "$RSVG" >&6; }
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6046 test -n "$RSVG" && break
6047 done
6048 test -n "$RSVG" || RSVG="false"
6050 for ac_prog in convert
6052 # Extract the first word of "$ac_prog", so it can be a program name with args.
6053 set dummy $ac_prog; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_CONVERT+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$CONVERT"; then
6060 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_CONVERT="$ac_prog"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 CONVERT=$ac_cv_prog_CONVERT
6080 if test -n "$CONVERT"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6082 $as_echo "$CONVERT" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6089 test -n "$CONVERT" && break
6090 done
6091 test -n "$CONVERT" || CONVERT="false"
6093 for ac_prog in icotool
6095 # Extract the first word of "$ac_prog", so it can be a program name with args.
6096 set dummy $ac_prog; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_ICOTOOL+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$ICOTOOL"; then
6103 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_ICOTOOL="$ac_prog"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 ICOTOOL=$ac_cv_prog_ICOTOOL
6123 if test -n "$ICOTOOL"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6125 $as_echo "$ICOTOOL" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6132 test -n "$ICOTOOL" && break
6133 done
6134 test -n "$ICOTOOL" || ICOTOOL="false"
6136 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6137 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6139 if test "$CONVERT" = false
6140 then
6141 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6144 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6145 convert_version=`convert --version | head -n1`
6146 if test "x$convert_version" != "x"
6147 then
6148 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6149 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6150 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6151 then
6152 CONVERT=false
6155 if test "$CONVERT" = false
6156 then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6158 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6159 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6162 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6166 if test "$ICOTOOL" = false
6167 then
6168 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6171 $as_echo_n "checking for recent enough icotool... " >&6; }
6172 icotool_version=`icotool --version | head -n1`
6173 if test "x$icotool_version" != "x"
6174 then
6175 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6176 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6177 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6178 then
6179 ICOTOOL=false
6180 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6183 if test "$ICOTOOL" = false
6184 then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6186 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6187 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6190 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6194 with_gettext=yes
6195 with_gettextpo=yes
6196 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6199 test "x$with_gettext" != xno || MSGFMT=false
6200 if test "$MSGFMT" != "false"
6201 then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6203 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6204 cat >conftest.po <<EOF
6205 # comment
6206 msgctxt "ctxt"
6207 msgid "id"
6208 msgstr "str"
6210 if $MSGFMT -o /dev/null conftest.po 2>&5
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6217 MSGFMT=false
6220 if test "$MSGFMT" = false; then :
6221 case "x$with_gettext" in
6222 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6223 xno) ;;
6224 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6225 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6226 esac
6227 enable_po=${enable_po:-no}
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6232 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6233 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 ac_check_lib_save_LIBS=$LIBS
6237 LIBS="-li386 $LIBS"
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6239 /* end confdefs.h. */
6241 /* Override any GCC internal prototype to avoid an error.
6242 Use char because int might match the return type of a GCC
6243 builtin and then its argument prototype would still apply. */
6244 #ifdef __cplusplus
6245 extern "C"
6246 #endif
6247 char i386_set_ldt ();
6249 main ()
6251 return i386_set_ldt ();
6253 return 0;
6255 _ACEOF
6256 if ac_fn_c_try_link "$LINENO"; then :
6257 ac_cv_lib_i386_i386_set_ldt=yes
6258 else
6259 ac_cv_lib_i386_i386_set_ldt=no
6261 rm -f core conftest.err conftest.$ac_objext \
6262 conftest$ac_exeext conftest.$ac_ext
6263 LIBS=$ac_check_lib_save_LIBS
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6266 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6267 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6268 cat >>confdefs.h <<_ACEOF
6269 #define HAVE_LIBI386 1
6270 _ACEOF
6272 LIBS="-li386 $LIBS"
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6277 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6278 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 ac_check_lib_save_LIBS=$LIBS
6282 LIBS="-lossaudio $LIBS"
6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6286 /* Override any GCC internal prototype to avoid an error.
6287 Use char because int might match the return type of a GCC
6288 builtin and then its argument prototype would still apply. */
6289 #ifdef __cplusplus
6290 extern "C"
6291 #endif
6292 char _oss_ioctl ();
6294 main ()
6296 return _oss_ioctl ();
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_link "$LINENO"; then :
6302 ac_cv_lib_ossaudio__oss_ioctl=yes
6303 else
6304 ac_cv_lib_ossaudio__oss_ioctl=no
6306 rm -f core conftest.err conftest.$ac_objext \
6307 conftest$ac_exeext conftest.$ac_ext
6308 LIBS=$ac_check_lib_save_LIBS
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6315 _ACEOF
6317 LIBS="-lossaudio $LIBS"
6322 OPENGL_LIBS=""
6326 # Check whether --enable-largefile was given.
6327 if test "${enable_largefile+set}" = set; then :
6328 enableval=$enable_largefile;
6331 if test "$enable_largefile" != no; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6334 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6335 if ${ac_cv_sys_largefile_CC+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 ac_cv_sys_largefile_CC=no
6339 if test "$GCC" != yes; then
6340 ac_save_CC=$CC
6341 while :; do
6342 # IRIX 6.2 and later do not support large files by default,
6343 # so use the C compiler's -n32 option if that helps.
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6346 #include <sys/types.h>
6347 /* Check that off_t can represent 2**63 - 1 correctly.
6348 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6349 since some C++ compilers masquerading as C compilers
6350 incorrectly reject 9223372036854775807. */
6351 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6352 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6353 && LARGE_OFF_T % 2147483647 == 1)
6354 ? 1 : -1];
6356 main ()
6360 return 0;
6362 _ACEOF
6363 if ac_fn_c_try_compile "$LINENO"; then :
6364 break
6366 rm -f core conftest.err conftest.$ac_objext
6367 CC="$CC -n32"
6368 if ac_fn_c_try_compile "$LINENO"; then :
6369 ac_cv_sys_largefile_CC=' -n32'; break
6371 rm -f core conftest.err conftest.$ac_objext
6372 break
6373 done
6374 CC=$ac_save_CC
6375 rm -f conftest.$ac_ext
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6379 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6380 if test "$ac_cv_sys_largefile_CC" != no; then
6381 CC=$CC$ac_cv_sys_largefile_CC
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6385 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6386 if ${ac_cv_sys_file_offset_bits+:} false; then :
6387 $as_echo_n "(cached) " >&6
6388 else
6389 while :; do
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #include <sys/types.h>
6393 /* Check that off_t can represent 2**63 - 1 correctly.
6394 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6395 since some C++ compilers masquerading as C compilers
6396 incorrectly reject 9223372036854775807. */
6397 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6398 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6399 && LARGE_OFF_T % 2147483647 == 1)
6400 ? 1 : -1];
6402 main ()
6406 return 0;
6408 _ACEOF
6409 if ac_fn_c_try_compile "$LINENO"; then :
6410 ac_cv_sys_file_offset_bits=no; break
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6415 #define _FILE_OFFSET_BITS 64
6416 #include <sys/types.h>
6417 /* Check that off_t can represent 2**63 - 1 correctly.
6418 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6419 since some C++ compilers masquerading as C compilers
6420 incorrectly reject 9223372036854775807. */
6421 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6422 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6423 && LARGE_OFF_T % 2147483647 == 1)
6424 ? 1 : -1];
6426 main ()
6430 return 0;
6432 _ACEOF
6433 if ac_fn_c_try_compile "$LINENO"; then :
6434 ac_cv_sys_file_offset_bits=64; break
6436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6437 ac_cv_sys_file_offset_bits=unknown
6438 break
6439 done
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6442 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6443 case $ac_cv_sys_file_offset_bits in #(
6444 no | unknown) ;;
6446 cat >>confdefs.h <<_ACEOF
6447 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6448 _ACEOF
6450 esac
6451 rm -rf conftest*
6452 if test $ac_cv_sys_file_offset_bits = unknown; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6454 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6455 if ${ac_cv_sys_large_files+:} false; then :
6456 $as_echo_n "(cached) " >&6
6457 else
6458 while :; do
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6461 #include <sys/types.h>
6462 /* Check that off_t can represent 2**63 - 1 correctly.
6463 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6464 since some C++ compilers masquerading as C compilers
6465 incorrectly reject 9223372036854775807. */
6466 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6467 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6468 && LARGE_OFF_T % 2147483647 == 1)
6469 ? 1 : -1];
6471 main ()
6475 return 0;
6477 _ACEOF
6478 if ac_fn_c_try_compile "$LINENO"; then :
6479 ac_cv_sys_large_files=no; break
6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6484 #define _LARGE_FILES 1
6485 #include <sys/types.h>
6486 /* Check that off_t can represent 2**63 - 1 correctly.
6487 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6488 since some C++ compilers masquerading as C compilers
6489 incorrectly reject 9223372036854775807. */
6490 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6491 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6492 && LARGE_OFF_T % 2147483647 == 1)
6493 ? 1 : -1];
6495 main ()
6499 return 0;
6501 _ACEOF
6502 if ac_fn_c_try_compile "$LINENO"; then :
6503 ac_cv_sys_large_files=1; break
6505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6506 ac_cv_sys_large_files=unknown
6507 break
6508 done
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6511 $as_echo "$ac_cv_sys_large_files" >&6; }
6512 case $ac_cv_sys_large_files in #(
6513 no | unknown) ;;
6515 cat >>confdefs.h <<_ACEOF
6516 #define _LARGE_FILES $ac_cv_sys_large_files
6517 _ACEOF
6519 esac
6520 rm -rf conftest*
6527 ac_ext=c
6528 ac_cpp='$CPP $CPPFLAGS'
6529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6533 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6534 # On Suns, sometimes $CPP names a directory.
6535 if test -n "$CPP" && test -d "$CPP"; then
6536 CPP=
6538 if test -z "$CPP"; then
6539 if ${ac_cv_prog_CPP+:} false; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 # Double quotes because CPP needs to be expanded
6543 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6545 ac_preproc_ok=false
6546 for ac_c_preproc_warn_flag in '' yes
6548 # Use a header file that comes with gcc, so configuring glibc
6549 # with a fresh cross-compiler works.
6550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6551 # <limits.h> exists even on freestanding compilers.
6552 # On the NeXT, cc -E runs the code through the compiler's parser,
6553 # not just through cpp. "Syntax error" is here to catch this case.
6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6556 #ifdef __STDC__
6557 # include <limits.h>
6558 #else
6559 # include <assert.h>
6560 #endif
6561 Syntax error
6562 _ACEOF
6563 if ac_fn_c_try_cpp "$LINENO"; then :
6565 else
6566 # Broken: fails on valid input.
6567 continue
6569 rm -f conftest.err conftest.i conftest.$ac_ext
6571 # OK, works on sane cases. Now check whether nonexistent headers
6572 # can be detected and how.
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <ac_nonexistent.h>
6576 _ACEOF
6577 if ac_fn_c_try_cpp "$LINENO"; then :
6578 # Broken: success on invalid input.
6579 continue
6580 else
6581 # Passes both tests.
6582 ac_preproc_ok=:
6583 break
6585 rm -f conftest.err conftest.i conftest.$ac_ext
6587 done
6588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6589 rm -f conftest.i conftest.err conftest.$ac_ext
6590 if $ac_preproc_ok; then :
6591 break
6594 done
6595 ac_cv_prog_CPP=$CPP
6598 CPP=$ac_cv_prog_CPP
6599 else
6600 ac_cv_prog_CPP=$CPP
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6603 $as_echo "$CPP" >&6; }
6604 ac_preproc_ok=false
6605 for ac_c_preproc_warn_flag in '' yes
6607 # Use a header file that comes with gcc, so configuring glibc
6608 # with a fresh cross-compiler works.
6609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6610 # <limits.h> exists even on freestanding compilers.
6611 # On the NeXT, cc -E runs the code through the compiler's parser,
6612 # not just through cpp. "Syntax error" is here to catch this case.
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #ifdef __STDC__
6616 # include <limits.h>
6617 #else
6618 # include <assert.h>
6619 #endif
6620 Syntax error
6621 _ACEOF
6622 if ac_fn_c_try_cpp "$LINENO"; then :
6624 else
6625 # Broken: fails on valid input.
6626 continue
6628 rm -f conftest.err conftest.i conftest.$ac_ext
6630 # OK, works on sane cases. Now check whether nonexistent headers
6631 # can be detected and how.
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6634 #include <ac_nonexistent.h>
6635 _ACEOF
6636 if ac_fn_c_try_cpp "$LINENO"; then :
6637 # Broken: success on invalid input.
6638 continue
6639 else
6640 # Passes both tests.
6641 ac_preproc_ok=:
6642 break
6644 rm -f conftest.err conftest.i conftest.$ac_ext
6646 done
6647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6648 rm -f conftest.i conftest.err conftest.$ac_ext
6649 if $ac_preproc_ok; then :
6651 else
6652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6654 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6655 See \`config.log' for more details" "$LINENO" 5; }
6658 ac_ext=c
6659 ac_cpp='$CPP $CPPFLAGS'
6660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6666 $as_echo_n "checking for ANSI C header files... " >&6; }
6667 if ${ac_cv_header_stdc+:} false; then :
6668 $as_echo_n "(cached) " >&6
6669 else
6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #include <stdlib.h>
6673 #include <stdarg.h>
6674 #include <string.h>
6675 #include <float.h>
6678 main ()
6682 return 0;
6684 _ACEOF
6685 if ac_fn_c_try_compile "$LINENO"; then :
6686 ac_cv_header_stdc=yes
6687 else
6688 ac_cv_header_stdc=no
6690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6692 if test $ac_cv_header_stdc = yes; then
6693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h. */
6696 #include <string.h>
6698 _ACEOF
6699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6700 $EGREP "memchr" >/dev/null 2>&1; then :
6702 else
6703 ac_cv_header_stdc=no
6705 rm -f conftest*
6709 if test $ac_cv_header_stdc = yes; then
6710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #include <stdlib.h>
6715 _ACEOF
6716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6717 $EGREP "free" >/dev/null 2>&1; then :
6719 else
6720 ac_cv_header_stdc=no
6722 rm -f conftest*
6726 if test $ac_cv_header_stdc = yes; then
6727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6728 if test "$cross_compiling" = yes; then :
6730 else
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6733 #include <ctype.h>
6734 #include <stdlib.h>
6735 #if ((' ' & 0x0FF) == 0x020)
6736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6738 #else
6739 # define ISLOWER(c) \
6740 (('a' <= (c) && (c) <= 'i') \
6741 || ('j' <= (c) && (c) <= 'r') \
6742 || ('s' <= (c) && (c) <= 'z'))
6743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6744 #endif
6746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6748 main ()
6750 int i;
6751 for (i = 0; i < 256; i++)
6752 if (XOR (islower (i), ISLOWER (i))
6753 || toupper (i) != TOUPPER (i))
6754 return 2;
6755 return 0;
6757 _ACEOF
6758 if ac_fn_c_try_run "$LINENO"; then :
6760 else
6761 ac_cv_header_stdc=no
6763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6764 conftest.$ac_objext conftest.beam conftest.$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6770 $as_echo "$ac_cv_header_stdc" >&6; }
6771 if test $ac_cv_header_stdc = yes; then
6773 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6778 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6779 inttypes.h stdint.h unistd.h
6780 do :
6781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6784 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6785 cat >>confdefs.h <<_ACEOF
6786 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6787 _ACEOF
6791 done
6794 for ac_header in \
6795 AL/al.h \
6796 ApplicationServices/ApplicationServices.h \
6797 AudioToolbox/AudioConverter.h \
6798 AudioUnit/AudioUnit.h \
6799 AudioUnit/AudioComponent.h \
6800 CL/cl.h \
6801 Carbon/Carbon.h \
6802 CommonCrypto/CommonDigest.h \
6803 CoreAudio/CoreAudio.h \
6804 CoreServices/CoreServices.h \
6805 DiskArbitration/DiskArbitration.h \
6806 IOKit/IOKitLib.h \
6807 IOKit/hid/IOHIDLib.h \
6808 OpenAL/al.h \
6809 OpenCL/opencl.h \
6810 QuickTime/ImageCompression.h \
6811 Security/Security.h \
6812 alias.h \
6813 alsa/asoundlib.h \
6814 arpa/inet.h \
6815 arpa/nameser.h \
6816 asm/types.h \
6817 asm/user.h \
6818 curses.h \
6819 direct.h \
6820 dirent.h \
6821 dlfcn.h \
6822 elf.h \
6823 float.h \
6824 fnmatch.h \
6825 getopt.h \
6826 gettext-po.h \
6827 grp.h \
6828 gsm.h \
6829 gsm/gsm.h \
6830 ieeefp.h \
6831 inet/mib2.h \
6832 io.h \
6833 kstat.h \
6834 lber.h \
6835 ldap.h \
6836 libproc.h \
6837 link.h \
6838 linux/cdrom.h \
6839 linux/compiler.h \
6840 linux/filter.h \
6841 linux/hdreg.h \
6842 linux/hidraw.h \
6843 linux/input.h \
6844 linux/ioctl.h \
6845 linux/joystick.h \
6846 linux/major.h \
6847 linux/param.h \
6848 linux/serial.h \
6849 linux/types.h \
6850 linux/ucdrom.h \
6851 lwp.h \
6852 mach-o/nlist.h \
6853 mach-o/loader.h \
6854 mach/mach.h \
6855 mach/machine.h \
6856 machine/cpu.h \
6857 machine/limits.h \
6858 machine/sysarch.h \
6859 mntent.h \
6860 ncurses.h \
6861 netdb.h \
6862 netinet/in.h \
6863 netinet/in_systm.h \
6864 netinet/tcp.h \
6865 netinet/tcp_fsm.h \
6866 pcap/pcap.h \
6867 poll.h \
6868 port.h \
6869 process.h \
6870 pthread.h \
6871 pwd.h \
6872 sched.h \
6873 scsi/scsi.h \
6874 scsi/scsi_ioctl.h \
6875 scsi/sg.h \
6876 stdbool.h \
6877 stdint.h \
6878 stropts.h \
6879 sys/asoundlib.h \
6880 sys/attr.h \
6881 sys/cdio.h \
6882 sys/elf32.h \
6883 sys/epoll.h \
6884 sys/event.h \
6885 sys/exec_elf.h \
6886 sys/filio.h \
6887 sys/inotify.h \
6888 sys/ioctl.h \
6889 sys/ipc.h \
6890 sys/limits.h \
6891 sys/link.h \
6892 sys/mman.h \
6893 sys/modem.h \
6894 sys/msg.h \
6895 sys/mtio.h \
6896 sys/param.h \
6897 sys/poll.h \
6898 sys/prctl.h \
6899 sys/protosw.h \
6900 sys/ptrace.h \
6901 sys/queue.h \
6902 sys/resource.h \
6903 sys/scsiio.h \
6904 sys/shm.h \
6905 sys/signal.h \
6906 sys/socket.h \
6907 sys/socketvar.h \
6908 sys/sockio.h \
6909 sys/statvfs.h \
6910 sys/strtio.h \
6911 sys/syscall.h \
6912 sys/sysinfo.h \
6913 sys/tihdr.h \
6914 sys/time.h \
6915 sys/timeout.h \
6916 sys/times.h \
6917 sys/uio.h \
6918 sys/user.h \
6919 sys/utsname.h \
6920 sys/vm86.h \
6921 sys/vnode.h \
6922 sys/wait.h \
6923 syscall.h \
6924 termios.h \
6925 unistd.h \
6926 utime.h \
6927 valgrind/memcheck.h \
6928 valgrind/valgrind.h \
6929 zlib.h
6931 do :
6932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6933 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6935 cat >>confdefs.h <<_ACEOF
6936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6937 _ACEOF
6941 done
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6944 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6945 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6946 $as_echo_n "(cached) " >&6
6947 else
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <sys/types.h>
6952 main ()
6954 return makedev(0, 0);
6956 return 0;
6958 _ACEOF
6959 if ac_fn_c_try_link "$LINENO"; then :
6960 ac_cv_header_sys_types_h_makedev=yes
6961 else
6962 ac_cv_header_sys_types_h_makedev=no
6964 rm -f core conftest.err conftest.$ac_objext \
6965 conftest$ac_exeext conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6969 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6971 if test $ac_cv_header_sys_types_h_makedev = no; then
6972 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6973 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6975 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6981 if test $ac_cv_header_sys_mkdev_h = no; then
6982 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6983 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6985 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6994 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6995 if ${ac_cv_header_stat_broken+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6999 /* end confdefs.h. */
7000 #include <sys/types.h>
7001 #include <sys/stat.h>
7003 #if defined S_ISBLK && defined S_IFDIR
7004 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7005 #endif
7007 #if defined S_ISBLK && defined S_IFCHR
7008 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7009 #endif
7011 #if defined S_ISLNK && defined S_IFREG
7012 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7013 #endif
7015 #if defined S_ISSOCK && defined S_IFREG
7016 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7017 #endif
7019 _ACEOF
7020 if ac_fn_c_try_compile "$LINENO"; then :
7021 ac_cv_header_stat_broken=no
7022 else
7023 ac_cv_header_stat_broken=yes
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7028 $as_echo "$ac_cv_header_stat_broken" >&6; }
7029 if test $ac_cv_header_stat_broken = yes; then
7031 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7037 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7038 do :
7039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7040 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7041 #ifdef HAVE_SYS_PARAM_H
7042 # include <sys/param.h>
7043 #endif
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7055 for ac_header in \
7056 netinet/ip.h \
7057 net/if.h \
7058 net/if_arp.h \
7059 net/if_dl.h \
7060 net/if_types.h \
7061 net/route.h \
7062 netinet/if_ether.h \
7063 netinet/if_inarp.h \
7064 netinet/in_pcb.h \
7065 netinet/ip_icmp.h \
7066 netinet/ip_var.h \
7067 netinet/udp.h \
7068 netipx/ipx.h \
7069 sys/un.h \
7071 do :
7072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7074 #ifdef HAVE_SYS_SOCKET_H
7075 # include <sys/socket.h>
7076 #endif
7077 #ifdef HAVE_SYS_SOCKETVAR_H
7078 # include <sys/socketvar.h>
7079 #endif
7080 #ifdef HAVE_NET_ROUTE_H
7081 # include <net/route.h>
7082 #endif
7083 #ifdef HAVE_NETINET_IN_H
7084 # include <netinet/in.h>
7085 #endif
7086 #ifdef HAVE_NETINET_IN_SYSTM_H
7087 # include <netinet/in_systm.h>
7088 #endif
7089 #ifdef HAVE_NET_IF_H
7090 # include <net/if.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IP_H
7093 # include <netinet/ip.h>
7094 #endif
7096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7097 cat >>confdefs.h <<_ACEOF
7098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7099 _ACEOF
7103 done
7106 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7107 do :
7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7110 #ifdef HAVE_ALIAS_H
7111 # include <alias.h>
7112 #endif
7113 #ifdef HAVE_SYS_SOCKET_H
7114 # include <sys/socket.h>
7115 #endif
7116 #ifdef HAVE_SYS_SOCKETVAR_H
7117 # include <sys/socketvar.h>
7118 #endif
7119 #ifdef HAVE_SYS_TIMEOUT_H
7120 # include <sys/timeout.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IN_H
7123 # include <netinet/in.h>
7124 #endif
7125 #ifdef HAVE_NETINET_IN_SYSTM_H
7126 # include <netinet/in_systm.h>
7127 #endif
7128 #ifdef HAVE_NETINET_IP_H
7129 # include <netinet/ip.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IP_VAR_H
7132 # include <netinet/ip_var.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IP_ICMP_H
7135 # include <netinet/ip_icmp.h>
7136 #endif
7137 #ifdef HAVE_NETINET_UDP_H
7138 # include <netinet/udp.h>
7139 #endif
7140 #ifdef HAVE_NETINET_TCP_H
7141 # include <netinet/tcp.h>
7142 #endif
7143 #ifdef HAVE_NETINET_TCP_TIMER_H
7144 #include <netinet/tcp_timer.h>
7145 #endif
7147 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7148 cat >>confdefs.h <<_ACEOF
7149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7150 _ACEOF
7154 done
7157 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7158 do :
7159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7161 #ifdef HAVE_ASM_TYPES_H
7162 # include <asm/types.h>
7163 #endif
7164 #ifdef HAVE_SYS_SOCKET_H
7165 # include <sys/socket.h>
7166 #endif
7167 #ifdef HAVE_LINUX_TYPES_H
7168 # include <linux/types.h>
7169 #endif
7171 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7172 cat >>confdefs.h <<_ACEOF
7173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7174 _ACEOF
7178 done
7181 for ac_header in mach-o/dyld_images.h
7182 do :
7183 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7184 # include <stdbool.h>
7185 #endif
7186 #ifdef HAVE_STDINT_H
7187 # include <stdint.h>
7188 #endif
7190 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7191 cat >>confdefs.h <<_ACEOF
7192 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7193 _ACEOF
7197 done
7200 for ac_header in resolv.h
7201 do :
7202 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7203 #ifdef HAVE_SYS_SOCKET_H
7204 # include <sys/socket.h>
7205 #endif
7206 #ifdef HAVE_NETINET_IN_H
7207 # include <netinet/in.h>
7208 #endif
7209 #ifdef HAVE_ARPA_NAMESER_H
7210 # include <arpa/nameser.h>
7211 #endif
7213 if test "x$ac_cv_header_resolv_h" = xyes; then :
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_RESOLV_H 1
7216 _ACEOF
7220 done
7223 for ac_header in ifaddrs.h
7224 do :
7225 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7227 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7228 cat >>confdefs.h <<_ACEOF
7229 #define HAVE_IFADDRS_H 1
7230 _ACEOF
7234 done
7237 for ac_header in sys/ucontext.h
7238 do :
7239 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7241 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7242 cat >>confdefs.h <<_ACEOF
7243 #define HAVE_SYS_UCONTEXT_H 1
7244 _ACEOF
7248 done
7251 for ac_header in sys/thr.h
7252 do :
7253 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7254 #ifdef HAVE_SYS_UCONTEXT_H
7255 #include <sys/ucontext.h>
7256 #endif
7258 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define HAVE_SYS_THR_H 1
7261 _ACEOF
7265 done
7268 for ac_header in pthread_np.h
7269 do :
7270 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7271 #include <pthread.h>
7272 #endif
7274 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_PTHREAD_NP_H 1
7277 _ACEOF
7281 done
7284 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7285 do :
7286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7287 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7288 #include <sys/time.h>
7289 #endif
7290 #include <sys/types.h>
7291 #ifdef HAVE_ASM_TYPES_H
7292 #include <asm/types.h>
7293 #endif
7295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296 cat >>confdefs.h <<_ACEOF
7297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298 _ACEOF
7302 done
7305 for ac_header in libprocstat.h
7306 do :
7307 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7308 #include <sys/param.h>
7309 #endif
7310 #ifdef HAVE_SYS_QUEUE_H
7311 #include <sys/queue.h>
7312 #endif
7313 #ifdef HAVE_SYS_SOCKET_H
7314 #include <sys/socket.h>
7315 #endif
7317 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7318 cat >>confdefs.h <<_ACEOF
7319 #define HAVE_LIBPROCSTAT_H 1
7320 _ACEOF
7324 done
7328 dlldir="\${libdir}/wine"
7330 DLLFLAGS="-D_REENTRANT"
7332 LDRPATH_INSTALL=""
7334 LDRPATH_LOCAL=""
7336 LDEXECFLAGS=""
7338 LIBEXT="so"
7339 DLLEXT=".so"
7340 IMPLIBEXT="def"
7341 # Extract the first word of "ldd", so it can be a program name with args.
7342 set dummy ldd; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_path_LDD+:} false; then :
7346 $as_echo_n "(cached) " >&6
7347 else
7348 case $LDD in
7349 [\\/]* | ?:[\\/]*)
7350 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 as_dummy="/sbin:/usr/sbin:$PATH"
7355 for as_dir in $as_dummy
7357 IFS=$as_save_IFS
7358 test -z "$as_dir" && as_dir=.
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7361 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 break 2
7365 done
7366 done
7367 IFS=$as_save_IFS
7369 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7371 esac
7373 LDD=$ac_cv_path_LDD
7374 if test -n "$LDD"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7376 $as_echo "$LDD" >&6; }
7377 else
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7383 if test -n "$ac_tool_prefix"; then
7384 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7385 set dummy ${ac_tool_prefix}otool; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if ${ac_cv_prog_OTOOL+:} false; then :
7389 $as_echo_n "(cached) " >&6
7390 else
7391 if test -n "$OTOOL"; then
7392 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7393 else
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 for as_dir in $PATH
7397 IFS=$as_save_IFS
7398 test -z "$as_dir" && as_dir=.
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 break 2
7405 done
7406 done
7407 IFS=$as_save_IFS
7411 OTOOL=$ac_cv_prog_OTOOL
7412 if test -n "$OTOOL"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7414 $as_echo "$OTOOL" >&6; }
7415 else
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7422 if test -z "$ac_cv_prog_OTOOL"; then
7423 ac_ct_OTOOL=$OTOOL
7424 # Extract the first word of "otool", so it can be a program name with args.
7425 set dummy otool; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 if test -n "$ac_ct_OTOOL"; then
7432 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7437 IFS=$as_save_IFS
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7441 ac_cv_prog_ac_ct_OTOOL="otool"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 break 2
7445 done
7446 done
7447 IFS=$as_save_IFS
7451 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7452 if test -n "$ac_ct_OTOOL"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7454 $as_echo "$ac_ct_OTOOL" >&6; }
7455 else
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7460 if test "x$ac_ct_OTOOL" = x; then
7461 OTOOL="otool"
7462 else
7463 case $cross_compiling:$ac_tool_warned in
7464 yes:)
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7467 ac_tool_warned=yes ;;
7468 esac
7469 OTOOL=$ac_ct_OTOOL
7471 else
7472 OTOOL="$ac_cv_prog_OTOOL"
7475 if test -n "$ac_tool_prefix"; then
7476 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7477 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if ${ac_cv_prog_READELF+:} false; then :
7481 $as_echo_n "(cached) " >&6
7482 else
7483 if test -n "$READELF"; then
7484 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7485 else
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 for as_dir in $PATH
7489 IFS=$as_save_IFS
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495 break 2
7497 done
7498 done
7499 IFS=$as_save_IFS
7503 READELF=$ac_cv_prog_READELF
7504 if test -n "$READELF"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7506 $as_echo "$READELF" >&6; }
7507 else
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7514 if test -z "$ac_cv_prog_READELF"; then
7515 ac_ct_READELF=$READELF
7516 # Extract the first word of "readelf", so it can be a program name with args.
7517 set dummy readelf; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 if test -n "$ac_ct_READELF"; then
7524 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7529 IFS=$as_save_IFS
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_ac_ct_READELF="readelf"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 break 2
7537 done
7538 done
7539 IFS=$as_save_IFS
7543 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7544 if test -n "$ac_ct_READELF"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7546 $as_echo "$ac_ct_READELF" >&6; }
7547 else
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7552 if test "x$ac_ct_READELF" = x; then
7553 READELF="true"
7554 else
7555 case $cross_compiling:$ac_tool_warned in
7556 yes:)
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7559 ac_tool_warned=yes ;;
7560 esac
7561 READELF=$ac_ct_READELF
7563 else
7564 READELF="$ac_cv_prog_READELF"
7567 wine_rules_file=conf$$rules.make
7568 rm -f $wine_rules_file
7569 SUBDIRS=""
7571 DISABLED_SUBDIRS=""
7573 CONFIGURE_TARGETS=""
7575 ALL_TEST_RESOURCES=""
7578 wine_fn_append_file ()
7580 as_fn_append $1 " \\$as_nl $2"
7583 wine_fn_append_rule ()
7585 $as_echo "$1" >>$wine_rules_file
7588 wine_fn_has_flag ()
7590 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7593 wine_fn_all_rules ()
7595 wine_fn_append_file SUBDIRS $ac_dir
7596 wine_fn_append_rule \
7597 "all: $ac_dir
7598 .PHONY: $ac_dir
7599 $ac_dir: dummy
7600 @cd $ac_dir && \$(MAKE)"
7603 wine_fn_install_rules ()
7605 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7607 wine_fn_append_rule \
7608 ".PHONY: $ac_dir/install $ac_dir/uninstall
7609 $ac_dir/install:: $ac_dir
7610 @cd $ac_dir && \$(MAKE) install
7611 $ac_dir/uninstall::
7612 @cd $ac_dir && \$(MAKE) uninstall
7613 install:: $ac_dir/install
7614 __uninstall__: $ac_dir/uninstall"
7616 if wine_fn_has_flag install-lib
7617 then
7618 wine_fn_append_rule \
7619 ".PHONY: $ac_dir/install-lib
7620 $ac_dir/install-lib:: $ac_dir
7621 @cd $ac_dir && \$(MAKE) install-lib
7622 install-lib:: $ac_dir/install-lib"
7625 if wine_fn_has_flag install-dev
7626 then
7627 wine_fn_append_rule \
7628 ".PHONY: $ac_dir/install-dev
7629 $ac_dir/install-dev:: $ac_dir
7630 @cd $ac_dir && \$(MAKE) install-dev
7631 install-dev:: $ac_dir/install-dev"
7635 wine_fn_clean_rules ()
7637 ac_clean=$@
7639 if wine_fn_has_flag clean
7640 then
7641 wine_fn_append_rule \
7642 "$ac_dir/clean: dummy
7643 @cd $ac_dir && \$(MAKE) clean"
7644 else
7645 wine_fn_append_rule \
7646 "$ac_dir/clean: dummy
7647 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7649 wine_fn_append_rule \
7650 "__clean__: $ac_dir/clean
7651 .PHONY: $ac_dir/clean"
7654 wine_fn_disabled_rules ()
7656 ac_clean=$@
7658 wine_fn_append_file SUBDIRS $ac_dir
7659 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7660 wine_fn_append_rule \
7661 "__clean__: $ac_dir/clean
7662 .PHONY: $ac_dir/clean
7663 $ac_dir/clean: dummy
7664 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7667 wine_fn_config_makefile ()
7669 ac_dir=$1
7670 ac_enable=$2
7671 ac_flags=$3
7673 case $ac_dir in
7674 fonts|server) test -z "$with_wine64" || return ;;
7675 esac
7676 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7677 wine_fn_disabled_rules; return
7679 wine_fn_all_rules
7680 wine_fn_install_rules
7681 wine_fn_clean_rules
7684 wine_fn_config_lib ()
7686 ac_name=$1
7687 ac_flags=$2
7688 ac_dir=dlls/$ac_name
7689 ac_deps="include"
7691 if test "x$enable_tools" = xno; then :
7693 else
7694 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7696 wine_fn_all_rules
7697 wine_fn_clean_rules
7699 wine_fn_append_rule \
7700 ".PHONY: $ac_dir/install $ac_dir/uninstall
7701 $ac_dir/install:: $ac_dir
7702 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7703 $ac_dir/uninstall::
7704 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7705 install install-dev:: $ac_dir/install
7706 __uninstall__: $ac_dir/uninstall
7707 __builddeps__: $ac_dir
7708 $ac_dir: $ac_deps"
7711 wine_fn_config_dll ()
7713 ac_name=$1
7714 ac_dir=dlls/$ac_name
7715 ac_enable=$2
7716 ac_flags=$3
7717 ac_implib=${4:-$ac_name}
7718 ac_file=$ac_dir/lib$ac_implib
7719 ac_dll=$ac_name
7720 ac_deps="include"
7721 ac_implibflags=""
7723 if test "x$enable_tools" = xno; then :
7725 else
7726 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7728 case $ac_name in
7729 *.*16) ac_implibflags=" -m16" ;;
7730 *.*) ;;
7731 *) ac_dll=$ac_dll.dll ;;
7732 esac
7734 ac_clean=
7735 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7736 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7738 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7739 if test "$ac_enable" != enable_win16
7740 then
7741 wine_fn_clean_rules $ac_clean
7742 wine_fn_append_file SUBDIRS $ac_dir
7743 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7744 else
7745 wine_fn_disabled_rules $ac_clean
7746 return
7748 else
7749 wine_fn_all_rules
7750 wine_fn_clean_rules $ac_clean
7751 wine_fn_append_rule \
7752 "$ac_dir: __builddeps__
7753 manpages htmlpages sgmlpages xmlpages::
7754 @cd $ac_dir && \$(MAKE) \$@
7755 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7756 install install-lib:: $ac_dir/install-lib
7757 __uninstall__: $ac_dir/uninstall"
7758 if test -n "$DLLEXT"
7759 then
7760 wine_fn_append_rule \
7761 "$ac_dir/install-lib:: $ac_dir
7762 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7763 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7764 $ac_dir/uninstall::
7765 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7766 else
7767 wine_fn_append_rule \
7768 "$ac_dir/install-lib:: $ac_dir
7769 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7770 $ac_dir/uninstall::
7771 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7775 if wine_fn_has_flag staticimplib
7776 then
7777 wine_fn_append_rule \
7778 "__builddeps__: $ac_file.a
7779 $ac_file.a $ac_file.cross.a: $ac_deps
7780 $ac_file.a: dummy
7781 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7782 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7783 $ac_dir/install-dev:: $ac_file.a
7784 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7787 install install-dev:: $ac_dir/install-dev
7788 __uninstall__: $ac_dir/uninstall"
7790 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7791 then
7792 wine_fn_append_rule \
7793 "__builddeps__: $ac_file.cross.a
7794 $ac_file.cross.a: dummy
7795 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7798 elif wine_fn_has_flag implib
7799 then
7800 wine_fn_append_rule \
7801 "__builddeps__: $ac_file.$IMPLIBEXT
7802 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7803 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7804 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7805 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7806 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7807 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7808 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7809 $ac_dir/uninstall::
7810 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7811 install install-dev:: $ac_dir/install-dev
7812 __uninstall__: $ac_dir/uninstall"
7813 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7814 then
7815 wine_fn_append_rule \
7816 "__builddeps__: $ac_file.cross.a
7817 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7818 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7823 wine_fn_config_program ()
7825 ac_name=$1
7826 ac_dir=programs/$ac_name
7827 ac_enable=$2
7828 ac_flags=$3
7829 ac_program=$ac_name
7831 case $ac_name in
7832 *.*) ;;
7833 *) ac_program=$ac_program.exe ;;
7834 esac
7836 ac_clean=
7837 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7838 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7840 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7841 wine_fn_disabled_rules $ac_clean; return
7844 wine_fn_all_rules
7845 wine_fn_clean_rules $ac_clean
7846 wine_fn_append_rule "$ac_dir: __builddeps__"
7848 wine_fn_has_flag install || return
7849 wine_fn_append_rule \
7850 ".PHONY: $ac_dir/install $ac_dir/uninstall
7851 install install-lib:: $ac_dir/install
7852 __uninstall__: $ac_dir/uninstall"
7854 if test -n "$DLLEXT"
7855 then
7856 wine_fn_append_rule \
7857 "$ac_dir/install:: $ac_dir
7858 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7859 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7860 $ac_dir/uninstall::
7861 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7863 if test -z "$with_wine64" && wine_fn_has_flag installbin
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: __tooldeps__
7867 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7868 $ac_dir/uninstall::
7869 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7871 else
7872 wine_fn_append_rule \
7873 "$ac_dir/install:: $ac_dir
7874 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7875 $ac_dir/uninstall::
7876 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7879 if test -z "$with_wine64" && wine_fn_has_flag manpage
7880 then
7881 wine_fn_append_rule \
7882 "$ac_dir/install:: $ac_dir
7883 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7884 $ac_dir/uninstall::
7885 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7889 wine_fn_config_test ()
7891 ac_dir=$1
7892 ac_name=$2
7893 ac_flags=$3
7895 ac_clean=
7896 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7897 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7899 if test "x$enable_tests" = xno; then :
7900 wine_fn_disabled_rules $ac_clean; return
7903 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7904 wine_fn_all_rules
7905 wine_fn_clean_rules $ac_clean
7907 wine_fn_append_rule \
7908 "$ac_dir: __builddeps__
7909 programs/winetest: $ac_dir
7910 check test: $ac_dir/test
7911 .PHONY: $ac_dir/test
7912 $ac_dir/test: dummy
7913 @cd $ac_dir && \$(MAKE) test
7914 testclean::
7915 \$(RM) $ac_dir/*.ok"
7917 if test -n "$CROSSTARGET"
7918 then
7919 wine_fn_append_rule \
7920 "crosstest: $ac_dir/crosstest
7921 .PHONY: $ac_dir/crosstest
7922 $ac_dir/crosstest: __builddeps__ dummy
7923 @cd $ac_dir && \$(MAKE) crosstest"
7927 wine_fn_config_tool ()
7929 ac_dir=$1
7930 ac_flags=$2
7931 if test "x$enable_tools" = xno; then :
7932 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7935 wine_fn_all_rules
7936 wine_fn_install_rules
7937 wine_fn_clean_rules
7939 wine_fn_append_rule "__tooldeps__: $ac_dir"
7940 wine_fn_append_rule "$ac_dir: libs/port"
7941 case $ac_dir in
7942 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7943 esac
7946 wine_fn_config_symlink ()
7948 ac_linkdir=
7949 if test "x$1" = "x-d"
7950 then
7951 ac_linkdir=$2
7952 shift; shift
7954 ac_links=$@
7955 wine_fn_append_rule \
7956 "$ac_links:
7957 @./config.status \$@"
7958 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7959 test -n "$ac_linkdir" || return
7960 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7963 wine_binary="wine"
7964 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7965 WINELOADER_PROGRAMS="$wine_binary"
7967 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7969 case $host_os in
7970 cygwin*|mingw32*)
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_DLLTOOL+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$DLLTOOL"; then
7980 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 DLLTOOL=$ac_cv_prog_DLLTOOL
8000 if test -n "$DLLTOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8002 $as_echo "$DLLTOOL" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_DLLTOOL"; then
8011 ac_ct_DLLTOOL=$DLLTOOL
8012 # Extract the first word of "dlltool", so it can be a program name with args.
8013 set dummy dlltool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$ac_ct_DLLTOOL"; then
8020 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8040 if test -n "$ac_ct_DLLTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8042 $as_echo "$ac_ct_DLLTOOL" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_DLLTOOL" = x; then
8049 DLLTOOL="false"
8050 else
8051 case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057 DLLTOOL=$ac_ct_DLLTOOL
8059 else
8060 DLLTOOL="$ac_cv_prog_DLLTOOL"
8063 LIBEXT="dll"
8064 DLLEXT=""
8065 IMPLIBEXT="a"
8066 enable_iphlpapi=${enable_iphlpapi:-no}
8067 enable_kernel32=${enable_kernel32:-no}
8068 enable_msvcrt=${enable_msvcrt:-no}
8069 enable_ntdll=${enable_ntdll:-no}
8070 enable_ws2_32=${enable_ws2_32:-no}
8071 enable_loader=${enable_loader:-no}
8072 enable_server=${enable_server:-no}
8073 with_x=${with_x:-no}
8074 with_pthread=${with_pthread:-no}
8076 crtlibs=""
8077 case $host_os in
8078 mingw32*)
8079 crtlibs="-lmsvcrt"
8080 SOCKET_LIBS="-lws2_32"
8082 esac
8084 LIBWINE_SHAREDLIB="libwine.dll"
8086 LIBWINE_IMPORTLIB="libwine.a"
8088 LIBWINE_INSTALL_LIB="libwine.dll"
8090 LIBWINE_INSTALL_DEV="libwine.a"
8092 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8094 LIBWINE_DEPENDS="wine.def"
8098 darwin*|macosx*)
8099 for ac_header in libunwind.h
8100 do :
8101 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8103 cat >>confdefs.h <<_ACEOF
8104 #define HAVE_LIBUNWIND_H 1
8105 _ACEOF
8109 done
8111 LIBEXT="dylib"
8112 DLLFLAGS="$DLLFLAGS -fPIC"
8113 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8114 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8115 COREFOUNDATION_LIBS="-framework CoreFoundation"
8117 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8119 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8121 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8123 CORESERVICES_LIBS="-framework CoreServices"
8125 APPKIT_LIBS="-framework AppKit"
8127 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8129 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8130 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8131 $as_echo_n "(cached) " >&6
8132 else
8133 ac_wine_try_cflags_saved=$CFLAGS
8134 CFLAGS="$CFLAGS -Wl,-no_pie"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8137 int main(int argc, char **argv) { return 0; }
8138 _ACEOF
8139 if ac_fn_c_try_link "$LINENO"; then :
8140 ac_cv_cflags__Wl__no_pie=yes
8141 else
8142 ac_cv_cflags__Wl__no_pie=no
8144 rm -f core conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146 CFLAGS=$ac_wine_try_cflags_saved
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8149 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8150 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8151 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8153 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8154 then
8155 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8158 if test "$ac_cv_header_Security_Security_h" = "yes"
8159 then
8160 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8162 ac_save_LIBS="$LIBS"
8163 LIBS="$LIBS $SECURITY_LIBS"
8164 for ac_func in SSLCopyPeerCertificates
8165 do :
8166 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8167 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8168 cat >>confdefs.h <<_ACEOF
8169 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8170 _ACEOF
8173 done
8175 LIBS="$ac_save_LIBS"
8176 with_gnutls=${with_gnutls:-no}
8178 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8179 then
8180 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8181 then
8182 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8184 else
8185 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8188 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8189 ac_save_LIBS="$LIBS"
8190 LIBS="$LIBS $COREAUDIO_LIBS"
8191 for ac_func in AUGraphAddNode
8192 do :
8193 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8194 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8195 cat >>confdefs.h <<_ACEOF
8196 #define HAVE_AUGRAPHADDNODE 1
8197 _ACEOF
8200 done
8202 LIBS="$ac_save_LIBS"
8204 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8205 then
8206 OPENAL_LIBS="-framework OpenAL"
8209 cat >>confdefs.h <<_ACEOF
8210 #define HAVE_OPENAL 1
8211 _ACEOF
8213 ac_cv_lib_openal=yes
8215 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8216 then
8217 OPENCL_LIBS="-framework OpenCL"
8219 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8221 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8222 then
8223 ac_save_LIBS="$LIBS"
8224 LIBS="$LIBS $IOKIT_LIBS"
8225 for ac_func in IOHIDManagerCreate
8226 do :
8227 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8228 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8229 cat >>confdefs.h <<_ACEOF
8230 #define HAVE_IOHIDMANAGERCREATE 1
8231 _ACEOF
8234 done
8236 LIBS="$ac_save_LIBS"
8238 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8239 then
8240 ac_save_LIBS="$LIBS"
8241 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8243 $as_echo_n "checking for the QuickTime framework... " >&6; }
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 #include <QuickTime/ImageCompression.h>
8248 main ()
8250 CodecManagerVersion(NULL);
8252 return 0;
8254 _ACEOF
8255 if ac_fn_c_try_link "$LINENO"; then :
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8257 $as_echo "yes" >&6; }
8258 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8260 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 ac_cv_header_QuickTime_ImageCompression_h=no
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 LIBS="$ac_save_LIBS"
8270 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8271 then
8272 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8274 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8275 then
8276 CARBON_LIBS="-framework Carbon"
8280 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8281 then
8282 ac_save_LIBS="$LIBS"
8283 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8284 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8285 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8286 enable_winemac_drv=${enable_winemac_drv:-yes}
8289 LIBS="$ac_save_LIBS"
8292 if test "x$enable_win16" = "xyes"
8293 then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8295 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8296 if test "$cross_compiling" = yes; then :
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8298 $as_echo "cross-compiling, assuming yes" >&6; }
8299 else
8300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8302 asm(".text\n"
8303 "bad:\tnop;nop\n"
8304 "good:\tnop;nop\n\t"
8305 ".globl _testfunc\n"
8306 "_testfunc:\tcallw good");
8307 extern void testfunc();
8309 main ()
8311 unsigned short *p = (unsigned short *)testfunc;
8312 return p[0] != 0xe866 || p[1] != 0xfffa
8314 return 0;
8316 _ACEOF
8317 if ac_fn_c_try_run "$LINENO"; then :
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8319 $as_echo "yes" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 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
8325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8326 conftest.$ac_objext conftest.beam conftest.$ac_ext
8331 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8333 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8335 LIBWINE_INSTALL_DEV="libwine.dylib"
8337 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8339 WINELOADER_DEPENDS="wine_info.plist"
8343 linux-android*)
8344 DLLFLAGS="$DLLFLAGS -fPIC"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8346 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8347 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8358 else
8359 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8361 rm -f core conftest.err conftest.$ac_objext \
8362 conftest$ac_exeext conftest.$ac_ext
8363 CFLAGS=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8366 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8367 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8368 LDEXECFLAGS="-Wl,--export-dynamic"
8370 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8372 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8373 if eval \${$as_ac_var+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 ac_wine_try_cflags_saved=$CFLAGS
8377 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8380 int main(int argc, char **argv) { return 0; }
8381 _ACEOF
8382 if ac_fn_c_try_link "$LINENO"; then :
8383 eval "$as_ac_var=yes"
8384 else
8385 eval "$as_ac_var=no"
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 eval ac_res=\$$as_ac_var
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8393 $as_echo "$ac_res" >&6; }
8394 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8395 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8396 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8397 else
8398 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8400 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8401 if eval \${$as_ac_var+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8408 int main(int argc, char **argv) { return 0; }
8409 _ACEOF
8410 if ac_fn_c_try_link "$LINENO"; then :
8411 eval "$as_ac_var=yes"
8412 else
8413 eval "$as_ac_var=no"
8415 rm -f core conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8417 CFLAGS=$ac_wine_try_cflags_saved
8419 eval ac_res=\$$as_ac_var
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8421 $as_echo "$ac_res" >&6; }
8422 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8423 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8424 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8429 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8430 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 ac_cv_cflags__Wl___enable_new_dtags=yes
8441 else
8442 ac_cv_cflags__Wl___enable_new_dtags=no
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8449 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8450 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8451 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8454 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8455 if ${ac_cv_cflags__Wl__pie+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -Wl,-pie"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_cflags__Wl__pie=yes
8466 else
8467 ac_cv_cflags__Wl__pie=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8474 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8475 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8476 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8479 LIBWINE_SHAREDLIB="libwine.so"
8481 LIBWINE_INSTALL_LIB="libwine.so"
8483 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8488 DLLFLAGS="$DLLFLAGS -fPIC"
8489 LDEXECFLAGS=""
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8491 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8492 if ${ac_cv_c_dll_gnuelf+:} false; then :
8493 $as_echo_n "(cached) " >&6
8494 else
8495 ac_wine_try_cflags_saved=$CFLAGS
8496 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 void myfunc() {}
8500 _ACEOF
8501 if ac_fn_c_try_link "$LINENO"; then :
8502 ac_cv_c_dll_gnuelf="yes"
8503 else
8504 ac_cv_c_dll_gnuelf="no"
8506 rm -f core conftest.err conftest.$ac_objext \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8511 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8512 if test "$ac_cv_c_dll_gnuelf" = "yes"
8513 then
8514 LIBWINE_LDFLAGS="-shared"
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8516 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8517 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 ac_wine_try_cflags_saved=$CFLAGS
8521 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8524 int main(int argc, char **argv) { return 0; }
8525 _ACEOF
8526 if ac_fn_c_try_link "$LINENO"; then :
8527 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8528 else
8529 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8531 rm -f core conftest.err conftest.$ac_objext \
8532 conftest$ac_exeext conftest.$ac_ext
8533 CFLAGS=$ac_wine_try_cflags_saved
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8536 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8537 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8538 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8539 else
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8541 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8542 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8543 $as_echo_n "(cached) " >&6
8544 else
8545 ac_wine_try_cflags_saved=$CFLAGS
8546 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8549 int main(int argc, char **argv) { return 0; }
8550 _ACEOF
8551 if ac_fn_c_try_link "$LINENO"; then :
8552 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8553 else
8554 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8556 rm -f core conftest.err conftest.$ac_objext \
8557 conftest$ac_exeext conftest.$ac_ext
8558 CFLAGS=$ac_wine_try_cflags_saved
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8561 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8562 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8563 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8567 echo '{ global: *; };' >conftest.map
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8569 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8570 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8571 $as_echo_n "(cached) " >&6
8572 else
8573 ac_wine_try_cflags_saved=$CFLAGS
8574 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 int main(int argc, char **argv) { return 0; }
8578 _ACEOF
8579 if ac_fn_c_try_link "$LINENO"; then :
8580 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8581 else
8582 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8584 rm -f core conftest.err conftest.$ac_objext \
8585 conftest$ac_exeext conftest.$ac_ext
8586 CFLAGS=$ac_wine_try_cflags_saved
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8589 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8590 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8591 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8593 rm -f conftest.map
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8596 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8597 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 ac_wine_try_cflags_saved=$CFLAGS
8601 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 int main(int argc, char **argv) { return 0; }
8605 _ACEOF
8606 if ac_fn_c_try_link "$LINENO"; then :
8607 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8608 else
8609 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8611 rm -f core conftest.err conftest.$ac_objext \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8616 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8617 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8618 LDEXECFLAGS="-Wl,--export-dynamic"
8621 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8623 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8624 if eval \${$as_ac_var+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 ac_wine_try_cflags_saved=$CFLAGS
8628 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8631 int main(int argc, char **argv) { return 0; }
8632 _ACEOF
8633 if ac_fn_c_try_link "$LINENO"; then :
8634 eval "$as_ac_var=yes"
8635 else
8636 eval "$as_ac_var=no"
8638 rm -f core conftest.err conftest.$ac_objext \
8639 conftest$ac_exeext conftest.$ac_ext
8640 CFLAGS=$ac_wine_try_cflags_saved
8642 eval ac_res=\$$as_ac_var
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8644 $as_echo "$ac_res" >&6; }
8645 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8646 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8647 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8648 else
8649 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8651 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8652 if eval \${$as_ac_var+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 eval "$as_ac_var=yes"
8663 else
8664 eval "$as_ac_var=no"
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 eval ac_res=\$$as_ac_var
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8672 $as_echo "$ac_res" >&6; }
8673 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8674 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8675 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8680 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8681 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 ac_wine_try_cflags_saved=$CFLAGS
8685 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687 /* end confdefs.h. */
8688 int main(int argc, char **argv) { return 0; }
8689 _ACEOF
8690 if ac_fn_c_try_link "$LINENO"; then :
8691 ac_cv_cflags__Wl___enable_new_dtags=yes
8692 else
8693 ac_cv_cflags__Wl___enable_new_dtags=no
8695 rm -f core conftest.err conftest.$ac_objext \
8696 conftest$ac_exeext conftest.$ac_ext
8697 CFLAGS=$ac_wine_try_cflags_saved
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8700 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8701 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8702 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8705 case $host_cpu in
8706 *i[3456789]86* | x86_64)
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8708 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8709 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 int main(int argc, char **argv) { return 0; }
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8720 else
8721 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8728 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8729 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8730 case $host_os in
8731 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8732 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8733 esac
8734 else
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8737 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8748 else
8749 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8756 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8757 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8758 case $host_os in
8759 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8760 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8761 esac
8763 # Extract the first word of "prelink", so it can be a program name with args.
8764 set dummy prelink; ac_word=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8766 $as_echo_n "checking for $ac_word... " >&6; }
8767 if ${ac_cv_path_PRELINK+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 case $PRELINK in
8771 [\\/]* | ?:[\\/]*)
8772 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 for as_dir in /sbin /usr/sbin $PATH
8778 IFS=$as_save_IFS
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8782 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 break 2
8786 done
8787 done
8788 IFS=$as_save_IFS
8790 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8792 esac
8794 PRELINK=$ac_cv_path_PRELINK
8795 if test -n "$PRELINK"; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8797 $as_echo "$PRELINK" >&6; }
8798 else
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8800 $as_echo "no" >&6; }
8804 if test "x$PRELINK" = xfalse
8805 then
8806 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8810 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8811 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8822 else
8823 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8830 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8831 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8832 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8835 esac
8837 else
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8839 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8840 if ${ac_cv_c_dll_unixware+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 void myfunc() {}
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_c_dll_unixware="yes"
8851 else
8852 ac_cv_c_dll_unixware="no"
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8859 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8860 if test "$ac_cv_c_dll_unixware" = "yes"
8861 then
8862 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8865 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8867 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8869 LIBWINE_INSTALL_DEV="libwine.so"
8871 LIBWINE_DEPENDS="wine.map"
8874 esac
8876 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8877 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8878 enable_winemac_drv=${enable_winemac_drv:-no}
8879 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8881 CROSSTARGET=""
8883 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8884 then
8885 case "$host_cpu" in
8886 arm*)
8887 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8888 i[3456789]86*)
8889 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
8890 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8891 mingw32-gcc" ;;
8892 x86_64)
8893 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
8894 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8896 ac_prefix_list="" ;;
8897 esac
8898 for ac_prog in $ac_prefix_list
8900 # Extract the first word of "$ac_prog", so it can be a program name with args.
8901 set dummy $ac_prog; ac_word=$2
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8903 $as_echo_n "checking for $ac_word... " >&6; }
8904 if ${ac_cv_prog_CROSSCC+:} false; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 if test -n "$CROSSCC"; then
8908 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8909 else
8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8911 for as_dir in $PATH
8913 IFS=$as_save_IFS
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8917 ac_cv_prog_CROSSCC="$ac_prog"
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 break 2
8921 done
8922 done
8923 IFS=$as_save_IFS
8927 CROSSCC=$ac_cv_prog_CROSSCC
8928 if test -n "$CROSSCC"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8930 $as_echo "$CROSSCC" >&6; }
8931 else
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8933 $as_echo "no" >&6; }
8937 test -n "$CROSSCC" && break
8938 done
8939 test -n "$CROSSCC" || CROSSCC="false"
8941 if test "$CROSSCC" != "false"
8942 then
8943 ac_save_CC="$CC"
8944 CC="$CROSSCC"
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8946 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8951 main ()
8955 return 0;
8957 _ACEOF
8958 if ac_fn_c_try_compile "$LINENO"; then :
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8960 $as_echo "yes" >&6; }
8961 set x $CROSSCC
8962 shift
8963 while test $# -ge 1
8965 case "$1" in
8966 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8967 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8968 esac
8969 shift
8970 done
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8976 CC="$ac_save_CC"
8981 if test "$ac_cv_header_pthread_h" = "yes"
8982 then
8983 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8984 if test "x$ac_cv_func_pthread_create" = xyes; then :
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8988 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8989 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8990 $as_echo_n "(cached) " >&6
8991 else
8992 ac_check_lib_save_LIBS=$LIBS
8993 LIBS="-lpthread $LIBS"
8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
8997 /* Override any GCC internal prototype to avoid an error.
8998 Use char because int might match the return type of a GCC
8999 builtin and then its argument prototype would still apply. */
9000 #ifdef __cplusplus
9001 extern "C"
9002 #endif
9003 char pthread_create ();
9005 main ()
9007 return pthread_create ();
9009 return 0;
9011 _ACEOF
9012 if ac_fn_c_try_link "$LINENO"; then :
9013 ac_cv_lib_pthread_pthread_create=yes
9014 else
9015 ac_cv_lib_pthread_pthread_create=no
9017 rm -f core conftest.err conftest.$ac_objext \
9018 conftest$ac_exeext conftest.$ac_ext
9019 LIBS=$ac_check_lib_save_LIBS
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9022 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9023 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9024 PTHREAD_LIBS="-lpthread"
9031 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9032 case "x$with_pthread" in
9033 xno) ;;
9034 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9035 Wine cannot support threads without libpthread.
9036 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9037 esac
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9043 $as_echo_n "checking for X... " >&6; }
9046 # Check whether --with-x was given.
9047 if test "${with_x+set}" = set; then :
9048 withval=$with_x;
9051 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9052 if test "x$with_x" = xno; then
9053 # The user explicitly disabled X.
9054 have_x=disabled
9055 else
9056 case $x_includes,$x_libraries in #(
9057 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9058 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9059 $as_echo_n "(cached) " >&6
9060 else
9061 # One or both of the vars are not set, and there is no cached value.
9062 ac_x_includes=no ac_x_libraries=no
9063 rm -f -r conftest.dir
9064 if mkdir conftest.dir; then
9065 cd conftest.dir
9066 cat >Imakefile <<'_ACEOF'
9067 incroot:
9068 @echo incroot='${INCROOT}'
9069 usrlibdir:
9070 @echo usrlibdir='${USRLIBDIR}'
9071 libdir:
9072 @echo libdir='${LIBDIR}'
9073 _ACEOF
9074 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9075 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9076 for ac_var in incroot usrlibdir libdir; do
9077 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9078 done
9079 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9080 for ac_extension in a so sl dylib la dll; do
9081 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9082 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9083 ac_im_usrlibdir=$ac_im_libdir; break
9085 done
9086 # Screen out bogus values from the imake configuration. They are
9087 # bogus both because they are the default anyway, and because
9088 # using them would break gcc on systems where it needs fixed includes.
9089 case $ac_im_incroot in
9090 /usr/include) ac_x_includes= ;;
9091 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9092 esac
9093 case $ac_im_usrlibdir in
9094 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9095 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9096 esac
9098 cd ..
9099 rm -f -r conftest.dir
9102 # Standard set of common directories for X headers.
9103 # Check X11 before X11Rn because it is often a symlink to the current release.
9104 ac_x_header_dirs='
9105 /usr/X11/include
9106 /usr/X11R7/include
9107 /usr/X11R6/include
9108 /usr/X11R5/include
9109 /usr/X11R4/include
9111 /usr/include/X11
9112 /usr/include/X11R7
9113 /usr/include/X11R6
9114 /usr/include/X11R5
9115 /usr/include/X11R4
9117 /usr/local/X11/include
9118 /usr/local/X11R7/include
9119 /usr/local/X11R6/include
9120 /usr/local/X11R5/include
9121 /usr/local/X11R4/include
9123 /usr/local/include/X11
9124 /usr/local/include/X11R7
9125 /usr/local/include/X11R6
9126 /usr/local/include/X11R5
9127 /usr/local/include/X11R4
9129 /usr/X386/include
9130 /usr/x386/include
9131 /usr/XFree86/include/X11
9133 /usr/include
9134 /usr/local/include
9135 /usr/unsupported/include
9136 /usr/athena/include
9137 /usr/local/x11r5/include
9138 /usr/lpp/Xamples/include
9140 /usr/openwin/include
9141 /usr/openwin/share/include'
9143 if test "$ac_x_includes" = no; then
9144 # Guess where to find include files, by looking for Xlib.h.
9145 # First, try using that file with no special directory specified.
9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147 /* end confdefs.h. */
9148 #include <X11/Xlib.h>
9149 _ACEOF
9150 if ac_fn_c_try_cpp "$LINENO"; then :
9151 # We can compile using X headers with no special include directory.
9152 ac_x_includes=
9153 else
9154 for ac_dir in $ac_x_header_dirs; do
9155 if test -r "$ac_dir/X11/Xlib.h"; then
9156 ac_x_includes=$ac_dir
9157 break
9159 done
9161 rm -f conftest.err conftest.i conftest.$ac_ext
9162 fi # $ac_x_includes = no
9164 if test "$ac_x_libraries" = no; then
9165 # Check for the libraries.
9166 # See if we find them without any special options.
9167 # Don't add to $LIBS permanently.
9168 ac_save_LIBS=$LIBS
9169 LIBS="-lX11 $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9172 #include <X11/Xlib.h>
9174 main ()
9176 XrmInitialize ()
9178 return 0;
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 LIBS=$ac_save_LIBS
9183 # We can link X programs with no special library path.
9184 ac_x_libraries=
9185 else
9186 LIBS=$ac_save_LIBS
9187 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9189 # Don't even attempt the hair of trying to link an X program!
9190 for ac_extension in a so sl dylib la dll; do
9191 if test -r "$ac_dir/libX11.$ac_extension"; then
9192 ac_x_libraries=$ac_dir
9193 break 2
9195 done
9196 done
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 fi # $ac_x_libraries = no
9202 case $ac_x_includes,$ac_x_libraries in #(
9203 no,* | *,no | *\'*)
9204 # Didn't find X, or a directory has "'" in its name.
9205 ac_cv_have_x="have_x=no";; #(
9207 # Record where we found X for the cache.
9208 ac_cv_have_x="have_x=yes\
9209 ac_x_includes='$ac_x_includes'\
9210 ac_x_libraries='$ac_x_libraries'"
9211 esac
9213 ;; #(
9214 *) have_x=yes;;
9215 esac
9216 eval "$ac_cv_have_x"
9217 fi # $with_x != no
9219 if test "$have_x" != yes; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9221 $as_echo "$have_x" >&6; }
9222 no_x=yes
9223 else
9224 # If each of the values was on the command line, it overrides each guess.
9225 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9226 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9227 # Update the cache value to reflect the command line values.
9228 ac_cv_have_x="have_x=yes\
9229 ac_x_includes='$x_includes'\
9230 ac_x_libraries='$x_libraries'"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9232 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9235 if test "$no_x" = yes; then
9236 # Not all programs may use this symbol, but it does not hurt to define it.
9238 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9240 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9241 else
9242 if test -n "$x_includes"; then
9243 X_CFLAGS="$X_CFLAGS -I$x_includes"
9246 # It would also be nice to do this for all -L options, not just this one.
9247 if test -n "$x_libraries"; then
9248 X_LIBS="$X_LIBS -L$x_libraries"
9249 # For Solaris; some versions of Sun CC require a space after -R and
9250 # others require no space. Words are not sufficient . . . .
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9252 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9253 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9254 ac_xsave_c_werror_flag=$ac_c_werror_flag
9255 ac_c_werror_flag=yes
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9260 main ()
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 $as_echo "no" >&6; }
9270 X_LIBS="$X_LIBS -R$x_libraries"
9271 else
9272 LIBS="$ac_xsave_LIBS -R $x_libraries"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9277 main ()
9281 return 0;
9283 _ACEOF
9284 if ac_fn_c_try_link "$LINENO"; then :
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9286 $as_echo "yes" >&6; }
9287 X_LIBS="$X_LIBS -R $x_libraries"
9288 else
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9290 $as_echo "neither works" >&6; }
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 ac_c_werror_flag=$ac_xsave_c_werror_flag
9298 LIBS=$ac_xsave_LIBS
9301 # Check for system-dependent libraries X programs must link with.
9302 # Do this before checking for the system-independent R6 libraries
9303 # (-lICE), since we may need -lsocket or whatever for X linking.
9305 if test "$ISC" = yes; then
9306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9307 else
9308 # Martyn Johnson says this is needed for Ultrix, if the X
9309 # libraries were built with DECnet support. And Karl Berry says
9310 # the Alpha needs dnet_stub (dnet does not exist).
9311 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char XOpenDisplay ();
9323 main ()
9325 return XOpenDisplay ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9332 else
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9334 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9335 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9336 $as_echo_n "(cached) " >&6
9337 else
9338 ac_check_lib_save_LIBS=$LIBS
9339 LIBS="-ldnet $LIBS"
9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9346 #ifdef __cplusplus
9347 extern "C"
9348 #endif
9349 char dnet_ntoa ();
9351 main ()
9353 return dnet_ntoa ();
9355 return 0;
9357 _ACEOF
9358 if ac_fn_c_try_link "$LINENO"; then :
9359 ac_cv_lib_dnet_dnet_ntoa=yes
9360 else
9361 ac_cv_lib_dnet_dnet_ntoa=no
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 LIBS=$ac_check_lib_save_LIBS
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9368 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9369 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9370 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9373 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9375 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9376 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_lib_save_LIBS=$LIBS
9380 LIBS="-ldnet_stub $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char dnet_ntoa ();
9392 main ()
9394 return dnet_ntoa ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9401 else
9402 ac_cv_lib_dnet_stub_dnet_ntoa=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_check_lib_save_LIBS
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9409 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9410 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9411 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 LIBS="$ac_xsave_LIBS"
9420 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9421 # to get the SysV transport functions.
9422 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9423 # needs -lnsl.
9424 # The nsl library prevents programs from opening the X display
9425 # on Irix 5.2, according to T.E. Dickey.
9426 # The functions gethostbyname, getservbyname, and inet_addr are
9427 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9428 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9429 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9433 if test $ac_cv_func_gethostbyname = no; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9435 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9436 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_check_lib_save_LIBS=$LIBS
9440 LIBS="-lnsl $LIBS"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9447 #ifdef __cplusplus
9448 extern "C"
9449 #endif
9450 char gethostbyname ();
9452 main ()
9454 return gethostbyname ();
9456 return 0;
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_lib_nsl_gethostbyname=yes
9461 else
9462 ac_cv_lib_nsl_gethostbyname=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 LIBS=$ac_check_lib_save_LIBS
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9469 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9470 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9474 if test $ac_cv_lib_nsl_gethostbyname = no; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9476 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9477 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_check_lib_save_LIBS=$LIBS
9481 LIBS="-lbsd $LIBS"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9485 /* Override any GCC internal prototype to avoid an error.
9486 Use char because int might match the return type of a GCC
9487 builtin and then its argument prototype would still apply. */
9488 #ifdef __cplusplus
9489 extern "C"
9490 #endif
9491 char gethostbyname ();
9493 main ()
9495 return gethostbyname ();
9497 return 0;
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_lib_bsd_gethostbyname=yes
9502 else
9503 ac_cv_lib_bsd_gethostbyname=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_lib_save_LIBS
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9510 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9511 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9512 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9518 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9519 # socket/setsockopt and other routines are undefined under SCO ODT
9520 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9521 # on later versions), says Simon Leinen: it contains gethostby*
9522 # variants that don't use the name server (or something). -lsocket
9523 # must be given before -lnsl if both are needed. We assume that
9524 # if connect needs -lnsl, so does gethostbyname.
9525 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9526 if test "x$ac_cv_func_connect" = xyes; then :
9530 if test $ac_cv_func_connect = no; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9532 $as_echo_n "checking for connect in -lsocket... " >&6; }
9533 if ${ac_cv_lib_socket_connect+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 ac_check_lib_save_LIBS=$LIBS
9537 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9544 #ifdef __cplusplus
9545 extern "C"
9546 #endif
9547 char connect ();
9549 main ()
9551 return connect ();
9553 return 0;
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_lib_socket_connect=yes
9558 else
9559 ac_cv_lib_socket_connect=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9566 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9567 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9568 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9573 # Guillermo Gomez says -lposix is necessary on A/UX.
9574 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9575 if test "x$ac_cv_func_remove" = xyes; then :
9579 if test $ac_cv_func_remove = no; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9581 $as_echo_n "checking for remove in -lposix... " >&6; }
9582 if ${ac_cv_lib_posix_remove+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 ac_check_lib_save_LIBS=$LIBS
9586 LIBS="-lposix $LIBS"
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9593 #ifdef __cplusplus
9594 extern "C"
9595 #endif
9596 char remove ();
9598 main ()
9600 return remove ();
9602 return 0;
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_lib_posix_remove=yes
9607 else
9608 ac_cv_lib_posix_remove=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9615 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9616 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9622 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9623 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9624 if test "x$ac_cv_func_shmat" = xyes; then :
9628 if test $ac_cv_func_shmat = no; then
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9630 $as_echo_n "checking for shmat in -lipc... " >&6; }
9631 if ${ac_cv_lib_ipc_shmat+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 ac_check_lib_save_LIBS=$LIBS
9635 LIBS="-lipc $LIBS"
9636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9637 /* end confdefs.h. */
9639 /* Override any GCC internal prototype to avoid an error.
9640 Use char because int might match the return type of a GCC
9641 builtin and then its argument prototype would still apply. */
9642 #ifdef __cplusplus
9643 extern "C"
9644 #endif
9645 char shmat ();
9647 main ()
9649 return shmat ();
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655 ac_cv_lib_ipc_shmat=yes
9656 else
9657 ac_cv_lib_ipc_shmat=no
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 LIBS=$ac_check_lib_save_LIBS
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9664 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9665 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9666 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9672 # Check for libraries that X11R6 Xt/Xaw programs need.
9673 ac_save_LDFLAGS=$LDFLAGS
9674 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9675 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9676 # check for ICE first), but we must link in the order -lSM -lICE or
9677 # we get undefined symbols. So assume we have SM if we have ICE.
9678 # These have to be linked with before -lX11, unlike the other
9679 # libraries we check for below, so use a different variable.
9680 # John Interrante, Karl Berry
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9682 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9683 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 ac_check_lib_save_LIBS=$LIBS
9687 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9694 #ifdef __cplusplus
9695 extern "C"
9696 #endif
9697 char IceConnectionNumber ();
9699 main ()
9701 return IceConnectionNumber ();
9703 return 0;
9705 _ACEOF
9706 if ac_fn_c_try_link "$LINENO"; then :
9707 ac_cv_lib_ICE_IceConnectionNumber=yes
9708 else
9709 ac_cv_lib_ICE_IceConnectionNumber=no
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_lib_save_LIBS
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9716 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9717 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9718 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9721 LDFLAGS=$ac_save_LDFLAGS
9726 if test "$have_x" = "yes"
9727 then
9728 ac_save_CPPFLAGS="$CPPFLAGS"
9729 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9732 $as_echo_n "checking for -lX11... " >&6; }
9733 if ${ac_cv_lib_soname_X11+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_soname_save_LIBS=$LIBS
9737 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char XCreateWindow ();
9749 main ()
9751 return XCreateWindow ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 case "$LIBEXT" in
9758 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_X11:+false} :; then :
9762 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9763 fi ;;
9764 esac
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_X11:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9774 else
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9776 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9780 _ACEOF
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9785 $as_echo_n "checking for -lXext... " >&6; }
9786 if ${ac_cv_lib_soname_Xext+:} false; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 ac_check_soname_save_LIBS=$LIBS
9790 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9794 /* Override any GCC internal prototype to avoid an error.
9795 Use char because int might match the return type of a GCC
9796 builtin and then its argument prototype would still apply. */
9797 #ifdef __cplusplus
9798 extern "C"
9799 #endif
9800 char XextCreateExtension ();
9802 main ()
9804 return XextCreateExtension ();
9806 return 0;
9808 _ACEOF
9809 if ac_fn_c_try_link "$LINENO"; then :
9810 case "$LIBEXT" in
9811 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9812 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'` ;;
9813 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9814 if ${ac_cv_lib_soname_Xext:+false} :; then :
9815 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9816 fi ;;
9817 esac
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_soname_save_LIBS
9823 if ${ac_cv_lib_soname_Xext:+false} :; then :
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9825 $as_echo "not found" >&6; }
9827 else
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9829 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9831 cat >>confdefs.h <<_ACEOF
9832 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9833 _ACEOF
9835 X_LIBS="$X_LIBS -lXext"
9837 X_LIBS="$X_LIBS -lX11"
9839 for ac_header in X11/Xlib.h \
9840 X11/XKBlib.h \
9841 X11/Xutil.h \
9842 X11/Xcursor/Xcursor.h \
9843 X11/extensions/shape.h \
9844 X11/extensions/XInput.h \
9845 X11/extensions/XInput2.h \
9846 X11/extensions/XShm.h \
9847 X11/extensions/Xcomposite.h \
9848 X11/extensions/Xinerama.h \
9849 X11/extensions/Xrandr.h \
9850 X11/extensions/Xrender.h \
9851 X11/extensions/xf86vmode.h \
9852 X11/extensions/xf86vmproto.h
9853 do :
9854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9856 # include <X11/Xlib.h>
9857 #endif
9858 #ifdef HAVE_X11_XUTIL_H
9859 # include <X11/Xutil.h>
9860 #endif
9862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9863 cat >>confdefs.h <<_ACEOF
9864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9865 _ACEOF
9869 done
9872 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9873 then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9875 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9876 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 ac_check_lib_save_LIBS=$LIBS
9880 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9884 /* Override any GCC internal prototype to avoid an error.
9885 Use char because int might match the return type of a GCC
9886 builtin and then its argument prototype would still apply. */
9887 #ifdef __cplusplus
9888 extern "C"
9889 #endif
9890 char XkbQueryExtension ();
9892 main ()
9894 return XkbQueryExtension ();
9896 return 0;
9898 _ACEOF
9899 if ac_fn_c_try_link "$LINENO"; then :
9900 ac_cv_lib_X11_XkbQueryExtension=yes
9901 else
9902 ac_cv_lib_X11_XkbQueryExtension=no
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LIBS=$ac_check_lib_save_LIBS
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9909 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9910 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9912 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9918 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9919 then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9921 $as_echo_n "checking for -lXcursor... " >&6; }
9922 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9923 $as_echo_n "(cached) " >&6
9924 else
9925 ac_check_soname_save_LIBS=$LIBS
9926 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9930 /* Override any GCC internal prototype to avoid an error.
9931 Use char because int might match the return type of a GCC
9932 builtin and then its argument prototype would still apply. */
9933 #ifdef __cplusplus
9934 extern "C"
9935 #endif
9936 char XcursorImageLoadCursor ();
9938 main ()
9940 return XcursorImageLoadCursor ();
9942 return 0;
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 case "$LIBEXT" in
9947 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9948 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'` ;;
9949 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9950 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9951 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9952 fi ;;
9953 esac
9955 rm -f core conftest.err conftest.$ac_objext \
9956 conftest$ac_exeext conftest.$ac_ext
9957 LIBS=$ac_check_soname_save_LIBS
9959 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9961 $as_echo "not found" >&6; }
9963 else
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9965 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9967 cat >>confdefs.h <<_ACEOF
9968 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9969 _ACEOF
9974 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9975 case "x$with_xcursor" in
9976 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9977 xno) ;;
9978 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9979 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9980 esac
9984 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9985 then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9987 $as_echo_n "checking for -lXi... " >&6; }
9988 if ${ac_cv_lib_soname_Xi+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_check_soname_save_LIBS=$LIBS
9992 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XOpenDevice ();
10004 main ()
10006 return XOpenDevice ();
10008 return 0;
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 case "$LIBEXT" in
10013 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_Xi:+false} :; then :
10017 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10018 fi ;;
10019 esac
10021 rm -f core conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10023 LIBS=$ac_check_soname_save_LIBS
10025 if ${ac_cv_lib_soname_Xi:+false} :; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 $as_echo "not found" >&6; }
10029 else
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10031 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10033 cat >>confdefs.h <<_ACEOF
10034 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10035 _ACEOF
10040 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10041 case "x$with_xinput" in
10042 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10043 xno) ;;
10044 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10045 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10046 esac
10050 if test "x$ac_cv_lib_soname_Xi" != x
10051 then
10052 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10053 case "x$with_xinput2" in
10054 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10055 xno) ;;
10056 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10057 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10058 esac
10063 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10064 then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10066 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10067 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_check_lib_save_LIBS=$LIBS
10071 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10078 #ifdef __cplusplus
10079 extern "C"
10080 #endif
10081 char XShmQueryExtension ();
10083 main ()
10085 return XShmQueryExtension ();
10087 return 0;
10089 _ACEOF
10090 if ac_fn_c_try_link "$LINENO"; then :
10091 ac_cv_lib_Xext_XShmQueryExtension=yes
10092 else
10093 ac_cv_lib_Xext_XShmQueryExtension=no
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10100 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10101 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10103 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10108 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10109 case "x$with_xshm" in
10110 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10111 xno) ;;
10112 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10113 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10114 esac
10118 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10119 then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10121 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10122 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_check_lib_save_LIBS=$LIBS
10126 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10133 #ifdef __cplusplus
10134 extern "C"
10135 #endif
10136 char XShapeQueryExtension ();
10138 main ()
10140 return XShapeQueryExtension ();
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_lib_Xext_XShapeQueryExtension=yes
10147 else
10148 ac_cv_lib_Xext_XShapeQueryExtension=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 LIBS=$ac_check_lib_save_LIBS
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10155 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10156 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10158 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10163 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10164 case "x$with_xshape" in
10165 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10166 xno) ;;
10167 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10168 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10169 esac
10173 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10174 then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10176 $as_echo_n "checking for -lXxf86vm... " >&6; }
10177 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_check_soname_save_LIBS=$LIBS
10181 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char XF86VidModeQueryExtension ();
10193 main ()
10195 return XF86VidModeQueryExtension ();
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"; then :
10201 case "$LIBEXT" in
10202 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10203 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'` ;;
10204 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10205 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10206 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10207 fi ;;
10208 esac
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 LIBS=$ac_check_soname_save_LIBS
10214 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10216 $as_echo "not found" >&6; }
10218 else
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10220 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10222 cat >>confdefs.h <<_ACEOF
10223 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10224 _ACEOF
10229 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10230 case "x$with_xxf86vm" in
10231 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10232 xno) ;;
10233 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10234 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10235 esac
10239 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10240 then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10242 $as_echo_n "checking for -lXrender... " >&6; }
10243 if ${ac_cv_lib_soname_Xrender+:} false; then :
10244 $as_echo_n "(cached) " >&6
10245 else
10246 ac_check_soname_save_LIBS=$LIBS
10247 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10251 /* Override any GCC internal prototype to avoid an error.
10252 Use char because int might match the return type of a GCC
10253 builtin and then its argument prototype would still apply. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 char XRenderQueryExtension ();
10259 main ()
10261 return XRenderQueryExtension ();
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 case "$LIBEXT" in
10268 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10269 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'` ;;
10270 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10271 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10272 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10273 fi ;;
10274 esac
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_soname_save_LIBS
10280 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 $as_echo "not found" >&6; }
10284 else
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10286 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10288 cat >>confdefs.h <<_ACEOF
10289 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10290 _ACEOF
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10293 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10294 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10295 $as_echo_n "(cached) " >&6
10296 else
10297 ac_check_lib_save_LIBS=$LIBS
10298 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10305 #ifdef __cplusplus
10306 extern "C"
10307 #endif
10308 char XRenderSetPictureTransform ();
10310 main ()
10312 return XRenderSetPictureTransform ();
10314 return 0;
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10319 else
10320 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 LIBS=$ac_check_lib_save_LIBS
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10327 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10328 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10330 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10335 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10336 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_check_lib_save_LIBS=$LIBS
10340 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10347 #ifdef __cplusplus
10348 extern "C"
10349 #endif
10350 char XRenderCreateLinearGradient ();
10352 main ()
10354 return XRenderCreateLinearGradient ();
10356 return 0;
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10361 else
10362 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10364 rm -f core conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10369 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10370 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10372 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10379 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10380 case "x$with_xrender" in
10381 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10382 xno) ;;
10383 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10384 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10385 esac
10389 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10390 then
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xrandr.h>
10396 main ()
10398 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10405 $as_echo_n "checking for -lXrandr... " >&6; }
10406 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XRRQueryExtension ();
10422 main ()
10424 return XRRQueryExtension ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10435 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10449 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10453 _ACEOF
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10457 #include <X11/Xlib.h>
10458 #include <X11/extensions/Xrandr.h>
10460 main ()
10462 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10464 return 0;
10466 _ACEOF
10467 if ac_fn_c_try_compile "$LINENO"; then :
10469 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10477 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10478 case "x$with_xrandr" in
10479 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10480 xno) ;;
10481 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10482 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10483 esac
10487 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10488 then
10489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10490 /* end confdefs.h. */
10491 #include <X11/Xlib.h>
10492 #include <X11/extensions/Xinerama.h>
10494 main ()
10496 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10498 return 0;
10500 _ACEOF
10501 if ac_fn_c_try_compile "$LINENO"; then :
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10503 $as_echo_n "checking for -lXinerama... " >&6; }
10504 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_check_soname_save_LIBS=$LIBS
10508 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10515 #ifdef __cplusplus
10516 extern "C"
10517 #endif
10518 char XineramaQueryScreens ();
10520 main ()
10522 return XineramaQueryScreens ();
10524 return 0;
10526 _ACEOF
10527 if ac_fn_c_try_link "$LINENO"; then :
10528 case "$LIBEXT" in
10529 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10530 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'` ;;
10531 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10532 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10533 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10534 fi ;;
10535 esac
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_soname_save_LIBS
10541 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10543 $as_echo "not found" >&6; }
10545 else
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10547 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10549 cat >>confdefs.h <<_ACEOF
10550 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10551 _ACEOF
10556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10558 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10559 case "x$with_xinerama" in
10560 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10561 xno) ;;
10562 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10563 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10564 esac
10568 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10569 then
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10571 $as_echo_n "checking for -lXcomposite... " >&6; }
10572 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_check_soname_save_LIBS=$LIBS
10576 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char XCompositeRedirectWindow ();
10588 main ()
10590 return XCompositeRedirectWindow ();
10592 return 0;
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 case "$LIBEXT" in
10597 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10601 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10602 fi ;;
10603 esac
10605 rm -f core conftest.err conftest.$ac_objext \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10613 else
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10615 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10617 cat >>confdefs.h <<_ACEOF
10618 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10619 _ACEOF
10624 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10625 case "x$with_xcomposite" in
10626 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10627 xno) ;;
10628 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10629 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10630 esac
10634 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10635 #include <X11/Xlib.h>
10636 #endif
10638 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10640 cat >>confdefs.h <<_ACEOF
10641 #define HAVE_XICCALLBACK_CALLBACK 1
10642 _ACEOF
10646 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10647 #include <X11/Xlib.h>
10648 #endif
10650 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10652 cat >>confdefs.h <<_ACEOF
10653 #define HAVE_XEVENT_XCOOKIE 1
10654 _ACEOF
10661 opengl_msg=""
10662 if test "x$with_opengl" != "xno"
10663 then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10665 $as_echo_n "checking for -lGL... " >&6; }
10666 if ${ac_cv_lib_soname_GL+:} false; then :
10667 $as_echo_n "(cached) " >&6
10668 else
10669 ac_check_soname_save_LIBS=$LIBS
10670 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10677 #ifdef __cplusplus
10678 extern "C"
10679 #endif
10680 char glXCreateContext ();
10682 main ()
10684 return glXCreateContext ();
10686 return 0;
10688 _ACEOF
10689 if ac_fn_c_try_link "$LINENO"; then :
10690 case "$LIBEXT" in
10691 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10692 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'` ;;
10693 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10694 if ${ac_cv_lib_soname_GL:+false} :; then :
10695 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10696 fi ;;
10697 esac
10699 rm -f core conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701 LIBS=$ac_check_soname_save_LIBS
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10705 $as_echo "not found" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10707 $as_echo_n "checking for -lGL... " >&6; }
10708 if ${ac_cv_lib_soname_GL+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 ac_check_soname_save_LIBS=$LIBS
10712 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"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char glXCreateContext ();
10724 main ()
10726 return glXCreateContext ();
10728 return 0;
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732 case "$LIBEXT" in
10733 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10734 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'` ;;
10735 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10736 if ${ac_cv_lib_soname_GL:+false} :; then :
10737 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10738 fi ;;
10739 esac
10741 rm -f core conftest.err conftest.$ac_objext \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_soname_save_LIBS
10745 if ${ac_cv_lib_soname_GL:+false} :; then :
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10747 $as_echo "not found" >&6; }
10748 if test -f /usr/X11R6/lib/libGL.a
10749 then
10750 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10751 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10752 else
10753 opengl_msg="No OpenGL library found on this system."
10755 else
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10757 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10759 cat >>confdefs.h <<_ACEOF
10760 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10761 _ACEOF
10763 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"
10765 else
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10767 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10771 _ACEOF
10773 OPENGL_LIBS="-lGL"
10775 if test "x$with_glu" != "xno"
10776 then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10778 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10779 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 ac_check_lib_save_LIBS=$LIBS
10783 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10787 /* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10790 #ifdef __cplusplus
10791 extern "C"
10792 #endif
10793 char gluLookAt ();
10795 main ()
10797 return gluLookAt ();
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 ac_cv_lib_GLU_gluLookAt=yes
10804 else
10805 ac_cv_lib_GLU_gluLookAt=no
10807 rm -f core conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 LIBS=$ac_check_lib_save_LIBS
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10812 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10813 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10817 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10818 case "x$with_glu" in
10819 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10820 xno) ;;
10821 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10822 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10823 esac
10828 if test "x$with_osmesa" != "xno"
10829 then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10831 $as_echo_n "checking for -lOSMesa... " >&6; }
10832 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_soname_save_LIBS=$LIBS
10836 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char glAccum ();
10848 main ()
10850 return glAccum ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 case "$LIBEXT" in
10857 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10858 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'` ;;
10859 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10860 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10861 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10862 fi ;;
10863 esac
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LIBS=$ac_check_soname_save_LIBS
10869 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10871 $as_echo "not found" >&6; }
10873 else
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10875 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10877 cat >>confdefs.h <<_ACEOF
10878 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10879 _ACEOF
10883 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10884 case "x$with_osmesa" in
10885 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10886 xno) ;;
10887 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10888 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10889 esac
10894 if test -n "$opengl_msg"; then :
10895 case "x$with_opengl" in
10896 x) as_fn_append wine_warnings "|$opengl_msg
10897 OpenGL and Direct3D won't be supported." ;;
10898 xno) ;;
10899 *) as_fn_error $? "$opengl_msg
10900 OpenGL and Direct3D won't be supported.
10901 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10902 esac
10906 CPPFLAGS="$ac_save_CPPFLAGS"
10907 else
10908 X_CFLAGS=""
10909 X_LIBS=""
10911 if test "x$X_LIBS" = "x"; then :
10912 case "x$with_x" in
10913 xno) ;;
10914 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10915 without X support, which probably isn't what you want. You will need
10916 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10917 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10918 esac
10919 enable_winex11_drv=${enable_winex11_drv:-no}
10922 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10924 if test "$ac_cv_header_CL_cl_h" = "yes"
10925 then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10927 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10928 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_lib_save_LIBS=$LIBS
10932 LIBS="-lOpenCL $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char clGetPlatformInfo ();
10944 main ()
10946 return clGetPlatformInfo ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10953 else
10954 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10956 rm -f core conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10961 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10962 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10963 OPENCL_LIBS="-lOpenCL"
10968 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10969 case "x$with_opencl" in
10970 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10971 xno) ;;
10972 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10973 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10974 esac
10975 enable_opencl=${enable_opencl:-no}
10978 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10979 then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10981 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10982 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lpcap $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char pcap_create ();
10998 main ()
11000 return pcap_create ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_pcap_pcap_create=yes
11007 else
11008 ac_cv_lib_pcap_pcap_create=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11015 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11016 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11017 PCAP_LIBS="-lpcap"
11022 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11023 case "x$with_pcap" in
11024 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11025 xno) ;;
11026 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11027 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11028 esac
11029 enable_wpcap=${enable_wpcap:-no}
11033 if test "x$with_xml" != "xno"
11034 then
11035 if ${XML2_CFLAGS:+false} :; then :
11036 if ${PKG_CONFIG+:} false; then :
11037 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11040 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11041 if ${XML2_LIBS:+false} :; then :
11042 if ${PKG_CONFIG+:} false; then :
11043 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11046 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11047 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11048 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11049 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11050 ac_save_CPPFLAGS=$CPPFLAGS
11051 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11052 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11053 do :
11054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11055 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11057 cat >>confdefs.h <<_ACEOF
11058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11059 _ACEOF
11063 done
11065 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"
11066 then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11068 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11069 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11070 $as_echo_n "(cached) " >&6
11071 else
11072 ac_check_lib_save_LIBS=$LIBS
11073 LIBS="-lxml2 $XML2_LIBS $LIBS"
11074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11080 #ifdef __cplusplus
11081 extern "C"
11082 #endif
11083 char xmlParseMemory ();
11085 main ()
11087 return xmlParseMemory ();
11089 return 0;
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"; then :
11093 ac_cv_lib_xml2_xmlParseMemory=yes
11094 else
11095 ac_cv_lib_xml2_xmlParseMemory=no
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_lib_save_LIBS
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11102 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11103 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11105 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11107 else
11108 XML2_LIBS=""
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11112 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11113 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11114 $as_echo_n "(cached) " >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $XML2_LIBS $LIBS"
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11124 #ifdef __cplusplus
11125 extern "C"
11126 #endif
11127 char xmlReadMemory ();
11129 main ()
11131 return xmlReadMemory ();
11133 return 0;
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_xml2_xmlReadMemory=yes
11138 else
11139 ac_cv_lib_xml2_xmlReadMemory=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11146 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11147 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11149 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11154 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11155 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11156 $as_echo_n "(cached) " >&6
11157 else
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $XML2_LIBS $LIBS"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11163 /* Override any GCC internal prototype to avoid an error.
11164 Use char because int might match the return type of a GCC
11165 builtin and then its argument prototype would still apply. */
11166 #ifdef __cplusplus
11167 extern "C"
11168 #endif
11169 char xmlNewDocPI ();
11171 main ()
11173 return xmlNewDocPI ();
11175 return 0;
11177 _ACEOF
11178 if ac_fn_c_try_link "$LINENO"; then :
11179 ac_cv_lib_xml2_xmlNewDocPI=yes
11180 else
11181 ac_cv_lib_xml2_xmlNewDocPI=no
11183 rm -f core conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 LIBS=$ac_check_lib_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11188 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11189 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11191 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11196 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11197 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lxml2 $XML2_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char xmlSchemaSetParserStructuredErrors ();
11213 main ()
11215 return xmlSchemaSetParserStructuredErrors ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11222 else
11223 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11230 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11231 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11233 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11238 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11239 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11240 $as_echo_n "(cached) " >&6
11241 else
11242 ac_check_lib_save_LIBS=$LIBS
11243 LIBS="-lxml2 $XML2_LIBS $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char xmlSchemaSetValidStructuredErrors ();
11255 main ()
11257 return xmlSchemaSetValidStructuredErrors ();
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11264 else
11265 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11272 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11273 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11275 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11280 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11281 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11282 $as_echo_n "(cached) " >&6
11283 else
11284 ac_check_lib_save_LIBS=$LIBS
11285 LIBS="-lxml2 $XML2_LIBS $LIBS"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11292 #ifdef __cplusplus
11293 extern "C"
11294 #endif
11295 char xmlFirstElementChild ();
11297 main ()
11299 return xmlFirstElementChild ();
11301 return 0;
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"; then :
11305 ac_cv_lib_xml2_xmlFirstElementChild=yes
11306 else
11307 ac_cv_lib_xml2_xmlFirstElementChild=no
11309 rm -f core conftest.err conftest.$ac_objext \
11310 conftest$ac_exeext conftest.$ac_ext
11311 LIBS=$ac_check_lib_save_LIBS
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11314 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11315 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11317 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11321 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11323 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11325 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11329 else
11330 XML2_CFLAGS=""
11331 XML2_LIBS=""
11333 CPPFLAGS=$ac_save_CPPFLAGS
11334 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11335 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11338 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11339 case "x$with_xml" in
11340 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11341 xno) ;;
11342 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11343 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11344 esac
11348 if test "x$with_xslt" != "xno"
11349 then
11350 if ${XSLT_CFLAGS:+false} :; then :
11351 if ${PKG_CONFIG+:} false; then :
11352 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11355 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11356 if ${XSLT_LIBS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11361 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11362 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11364 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11365 ac_save_CPPFLAGS=$CPPFLAGS
11366 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11367 for ac_header in libxslt/pattern.h libxslt/transform.h
11368 do :
11369 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11370 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11371 # include <libxslt/pattern.h>
11372 #endif
11374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11375 cat >>confdefs.h <<_ACEOF
11376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11377 _ACEOF
11381 done
11383 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11384 then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11386 $as_echo_n "checking for -lxslt... " >&6; }
11387 if ${ac_cv_lib_soname_xslt+:} false; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_soname_save_LIBS=$LIBS
11391 LIBS="-lxslt $XSLT_LIBS $LIBS"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11398 #ifdef __cplusplus
11399 extern "C"
11400 #endif
11401 char xsltCompilePattern ();
11403 main ()
11405 return xsltCompilePattern ();
11407 return 0;
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 case "$LIBEXT" in
11412 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11413 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'` ;;
11414 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11415 if ${ac_cv_lib_soname_xslt:+false} :; then :
11416 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 fi ;;
11418 esac
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_soname_save_LIBS
11424 if ${ac_cv_lib_soname_xslt:+false} :; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11428 else
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11430 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11432 cat >>confdefs.h <<_ACEOF
11433 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11434 _ACEOF
11438 else
11439 XSLT_CFLAGS=""
11441 CPPFLAGS=$ac_save_CPPFLAGS
11442 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11443 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11446 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11447 case "x$with_xslt" in
11448 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11449 xno) ;;
11450 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11451 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11452 esac
11456 if test "x$with_dbus" != "xno"
11457 then
11458 if ${DBUS_CFLAGS:+false} :; then :
11459 if ${PKG_CONFIG+:} false; then :
11460 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11464 if ${DBUS_LIBS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11472 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11473 ac_save_CPPFLAGS=$CPPFLAGS
11474 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11475 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11476 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11478 $as_echo_n "checking for -ldbus-1... " >&6; }
11479 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_soname_save_LIBS=$LIBS
11483 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char dbus_connection_close ();
11495 main ()
11497 return dbus_connection_close ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 case "$LIBEXT" in
11504 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) 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'`
11507 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11508 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 fi ;;
11510 esac
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11519 DBUS_CFLAGS=""
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11522 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11524 cat >>confdefs.h <<_ACEOF
11525 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11526 _ACEOF
11530 else
11531 DBUS_CFLAGS=""
11535 CPPFLAGS=$ac_save_CPPFLAGS
11536 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11537 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11540 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11541 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11542 case "x$with_dbus" in
11543 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11544 xno) ;;
11545 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11546 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11547 esac
11551 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11552 then
11553 if ${HAL_CFLAGS:+false} :; then :
11554 if ${PKG_CONFIG+:} false; then :
11555 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11559 if ${HAL_LIBS:+false} :; then :
11560 if ${PKG_CONFIG+:} false; then :
11561 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11565 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11566 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11567 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11568 ac_save_CPPFLAGS=$CPPFLAGS
11569 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11570 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11571 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11573 $as_echo_n "checking for -lhal... " >&6; }
11574 if ${ac_cv_lib_soname_hal+:} false; then :
11575 $as_echo_n "(cached) " >&6
11576 else
11577 ac_check_soname_save_LIBS=$LIBS
11578 LIBS="-lhal $HAL_LIBS $LIBS"
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char libhal_ctx_new ();
11590 main ()
11592 return libhal_ctx_new ();
11594 return 0;
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 case "$LIBEXT" in
11599 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11600 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'` ;;
11601 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11602 if ${ac_cv_lib_soname_hal:+false} :; then :
11603 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11604 fi ;;
11605 esac
11607 rm -f core conftest.err conftest.$ac_objext \
11608 conftest$ac_exeext conftest.$ac_ext
11609 LIBS=$ac_check_soname_save_LIBS
11611 if ${ac_cv_lib_soname_hal:+false} :; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11613 $as_echo "not found" >&6; }
11614 HAL_CFLAGS=""
11615 else
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11617 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11619 cat >>confdefs.h <<_ACEOF
11620 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11621 _ACEOF
11625 else
11626 HAL_CFLAGS=""
11630 CPPFLAGS=$ac_save_CPPFLAGS
11631 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11632 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11634 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11635 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11636 case "x$with_hal" in
11637 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11638 xno) ;;
11639 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11640 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11641 esac
11646 if test "x$with_gnutls" != "xno"
11647 then
11648 if ${GNUTLS_CFLAGS:+false} :; then :
11649 if ${PKG_CONFIG+:} false; then :
11650 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11654 if ${GNUTLS_LIBS:+false} :; then :
11655 if ${PKG_CONFIG+:} false; then :
11656 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11661 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11662 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11663 ac_save_CPPFLAGS=$CPPFLAGS
11664 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11665 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11666 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 #include <gnutls/gnutls.h>
11670 #include <gnutls/crypto.h>
11672 main ()
11674 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_compile "$LINENO"; then :
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11681 $as_echo_n "checking for -lgnutls... " >&6; }
11682 if ${ac_cv_lib_soname_gnutls+:} false; then :
11683 $as_echo_n "(cached) " >&6
11684 else
11685 ac_check_soname_save_LIBS=$LIBS
11686 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 #ifdef __cplusplus
11694 extern "C"
11695 #endif
11696 char gnutls_global_init ();
11698 main ()
11700 return gnutls_global_init ();
11702 return 0;
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 case "$LIBEXT" in
11707 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11708 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'` ;;
11709 *) 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'`
11710 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11711 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'`
11712 fi ;;
11713 esac
11715 rm -f core conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_soname_save_LIBS
11719 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11721 $as_echo "not found" >&6; }
11722 GNUTLS_CFLAGS=""
11723 else
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11725 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11727 cat >>confdefs.h <<_ACEOF
11728 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11729 _ACEOF
11733 ac_wine_check_funcs_save_LIBS="$LIBS"
11734 LIBS="$LIBS $GNUTLS_LIBS"
11735 for ac_func in gnutls_hash
11736 do :
11737 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11738 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11739 cat >>confdefs.h <<_ACEOF
11740 #define HAVE_GNUTLS_HASH 1
11741 _ACEOF
11743 else
11744 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11746 done
11748 LIBS="$ac_wine_check_funcs_save_LIBS"
11750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11751 else
11752 GNUTLS_CFLAGS=""
11756 CPPFLAGS=$ac_save_CPPFLAGS
11757 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11758 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11761 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11762 case "x$with_gnutls" in
11763 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11764 xno) ;;
11765 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11766 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11767 esac
11771 CURSES_LIBS=""
11772 if test "$ac_cv_header_ncurses_h" = "yes"
11773 then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11775 $as_echo_n "checking for -lncurses... " >&6; }
11776 if ${ac_cv_lib_soname_ncurses+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 ac_check_soname_save_LIBS=$LIBS
11780 LIBS="-lncurses $LIBS"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char waddch ();
11792 main ()
11794 return waddch ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"; then :
11800 case "$LIBEXT" in
11801 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11802 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'` ;;
11803 *) 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'`
11804 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11805 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11806 fi ;;
11807 esac
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_soname_save_LIBS
11813 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11815 $as_echo "not found" >&6; }
11817 else
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11819 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11821 cat >>confdefs.h <<_ACEOF
11822 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11823 _ACEOF
11825 CURSES_LIBS="-lncurses"
11827 elif test "$ac_cv_header_curses_h" = "yes"
11828 then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11830 $as_echo_n "checking for -lcurses... " >&6; }
11831 if ${ac_cv_lib_soname_curses+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_soname_save_LIBS=$LIBS
11835 LIBS="-lcurses $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char waddch ();
11847 main ()
11849 return waddch ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 case "$LIBEXT" in
11856 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11859 if ${ac_cv_lib_soname_curses:+false} :; then :
11860 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11861 fi ;;
11862 esac
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_soname_save_LIBS
11868 if ${ac_cv_lib_soname_curses:+false} :; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11872 else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11874 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11876 cat >>confdefs.h <<_ACEOF
11877 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11878 _ACEOF
11880 CURSES_LIBS="-lcurses"
11883 ac_save_LIBS="$LIBS"
11884 LIBS="$LIBS $CURSES_LIBS"
11885 for ac_func in mousemask
11886 do :
11887 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11888 if test "x$ac_cv_func_mousemask" = xyes; then :
11889 cat >>confdefs.h <<_ACEOF
11890 #define HAVE_MOUSEMASK 1
11891 _ACEOF
11894 done
11896 LIBS="$ac_save_LIBS"
11897 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11898 case "x$with_curses" in
11899 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11900 xno) ;;
11901 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11902 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11903 esac
11907 if test "x$with_sane" != "xno"
11908 then
11909 if ${SANE_CFLAGS:+false} :; then :
11910 if ${PKG_CONFIG+:} false; then :
11911 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11914 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11915 if ${SANE_LIBS:+false} :; then :
11916 if ${PKG_CONFIG+:} false; then :
11917 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11920 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11923 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11924 ac_save_CPPFLAGS=$CPPFLAGS
11925 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11926 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11927 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11929 $as_echo_n "checking for -lsane... " >&6; }
11930 if ${ac_cv_lib_soname_sane+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 ac_check_soname_save_LIBS=$LIBS
11934 LIBS="-lsane $SANE_LIBS $LIBS"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 /* Override any GCC internal prototype to avoid an error.
11939 Use char because int might match the return type of a GCC
11940 builtin and then its argument prototype would still apply. */
11941 #ifdef __cplusplus
11942 extern "C"
11943 #endif
11944 char sane_init ();
11946 main ()
11948 return sane_init ();
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_link "$LINENO"; then :
11954 case "$LIBEXT" in
11955 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11956 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'` ;;
11957 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11958 if ${ac_cv_lib_soname_sane:+false} :; then :
11959 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11960 fi ;;
11961 esac
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 LIBS=$ac_check_soname_save_LIBS
11967 if ${ac_cv_lib_soname_sane:+false} :; then :
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11969 $as_echo "not found" >&6; }
11970 SANE_CFLAGS=""
11971 else
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11973 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11975 cat >>confdefs.h <<_ACEOF
11976 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11977 _ACEOF
11981 else
11982 SANE_CFLAGS=""
11986 CPPFLAGS=$ac_save_CPPFLAGS
11987 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11988 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11991 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11992 case "x$with_sane" in
11993 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11994 xno) ;;
11995 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11996 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11997 esac
12001 if test "x$with_v4l" != "xno"
12002 then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12004 $as_echo_n "checking for -lv4l1... " >&6; }
12005 if ${ac_cv_lib_soname_v4l1+:} false; then :
12006 $as_echo_n "(cached) " >&6
12007 else
12008 ac_check_soname_save_LIBS=$LIBS
12009 LIBS="-lv4l1 $LIBS"
12010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 /* Override any GCC internal prototype to avoid an error.
12014 Use char because int might match the return type of a GCC
12015 builtin and then its argument prototype would still apply. */
12016 #ifdef __cplusplus
12017 extern "C"
12018 #endif
12019 char v4l1_open ();
12021 main ()
12023 return v4l1_open ();
12025 return 0;
12027 _ACEOF
12028 if ac_fn_c_try_link "$LINENO"; then :
12029 case "$LIBEXT" in
12030 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12031 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'` ;;
12032 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12033 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12034 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12035 fi ;;
12036 esac
12038 rm -f core conftest.err conftest.$ac_objext \
12039 conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_soname_save_LIBS
12042 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12044 $as_echo "not found" >&6; }
12046 else
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12048 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12050 cat >>confdefs.h <<_ACEOF
12051 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12052 _ACEOF
12057 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12058 case "x$with_v4l" in
12059 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12060 xno) ;;
12061 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12062 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12063 esac
12067 if test "x$with_gphoto" != "xno"
12068 then
12069 if ${GPHOTO2_CFLAGS:+false} :; then :
12070 if ${PKG_CONFIG+:} false; then :
12071 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12074 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12075 if ${GPHOTO2_LIBS:+false} :; then :
12076 if ${PKG_CONFIG+:} false; then :
12077 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12080 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12081 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12082 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12083 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12084 ac_save_CPPFLAGS=$CPPFLAGS
12085 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12086 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12087 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12089 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12090 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12091 $as_echo_n "(cached) " >&6
12092 else
12093 ac_check_lib_save_LIBS=$LIBS
12094 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 /* Override any GCC internal prototype to avoid an error.
12099 Use char because int might match the return type of a GCC
12100 builtin and then its argument prototype would still apply. */
12101 #ifdef __cplusplus
12102 extern "C"
12103 #endif
12104 char gp_camera_new ();
12106 main ()
12108 return gp_camera_new ();
12110 return 0;
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"; then :
12114 ac_cv_lib_gphoto2_gp_camera_new=yes
12115 else
12116 ac_cv_lib_gphoto2_gp_camera_new=no
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12123 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12124 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12126 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12128 else
12129 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12132 else
12133 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12137 CPPFLAGS=$ac_save_CPPFLAGS
12138 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12139 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12141 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12142 if ${PKG_CONFIG+:} false; then :
12143 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12146 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12147 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12148 if ${PKG_CONFIG+:} false; then :
12149 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12152 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12153 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12155 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12156 ac_save_CPPFLAGS=$CPPFLAGS
12157 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12158 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12159 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12161 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12162 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_lib_save_LIBS=$LIBS
12166 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char gp_port_info_list_new ();
12178 main ()
12180 return gp_port_info_list_new ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12187 else
12188 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12195 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12196 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12198 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12200 else
12201 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12204 else
12205 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12209 CPPFLAGS=$ac_save_CPPFLAGS
12210 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12211 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12214 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12215 case "x$with_gphoto" in
12216 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12217 xno) ;;
12218 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12219 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12220 esac
12223 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12224 case "x$with_gphoto" in
12225 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12228 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12229 esac
12234 if test "$ac_cv_header_resolv_h" = "yes"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12237 $as_echo_n "checking for resolver library... " >&6; }
12238 if ${ac_cv_have_resolv+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_save_LIBS="$LIBS"
12242 for lib in '' -lresolv
12244 LIBS="$lib $ac_save_LIBS"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12247 #ifdef HAVE_NETINET_IN_H
12248 #include <netinet/in.h>
12249 #endif
12250 #include <resolv.h>
12252 main ()
12254 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260 ac_cv_have_resolv=${lib:-"none required"}
12261 else
12262 ac_cv_have_resolv="not found"
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 test "x$ac_cv_have_resolv" = "xnot found" || break
12267 done
12268 LIBS="$ac_save_LIBS"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12271 $as_echo "$ac_cv_have_resolv" >&6; }
12273 case "$ac_cv_have_resolv" in
12274 "not found") ;;
12275 "none required")
12277 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12280 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12282 RESOLV_LIBS=$ac_cv_have_resolv
12284 esac
12287 if test "x$with_cms" != "xno"
12288 then
12289 if ${LCMS2_CFLAGS:+false} :; then :
12290 if ${PKG_CONFIG+:} false; then :
12291 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12295 if ${LCMS2_LIBS:+false} :; then :
12296 if ${PKG_CONFIG+:} false; then :
12297 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12301 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12302 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12303 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12304 ac_save_CPPFLAGS=$CPPFLAGS
12305 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12306 for ac_header in lcms2.h
12307 do :
12308 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12309 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12310 cat >>confdefs.h <<_ACEOF
12311 #define HAVE_LCMS2_H 1
12312 _ACEOF
12316 done
12318 if test "$ac_cv_header_lcms2_h" = "yes"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12321 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12322 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_lib_save_LIBS=$LIBS
12326 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char cmsOpenProfileFromFile ();
12338 main ()
12340 return cmsOpenProfileFromFile ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12347 else
12348 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12355 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12356 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12358 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12360 else
12361 LCMS2_LIBS=""
12364 else
12365 LCMS2_CFLAGS=""
12366 LCMS2_LIBS=""
12368 CPPFLAGS=$ac_save_CPPFLAGS
12369 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12370 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12373 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12374 case "x$with_cms" in
12375 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12376 xno) ;;
12377 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12378 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12379 esac
12383 if test "x$with_freetype" != "xno"
12384 then
12385 if ${FREETYPE_CFLAGS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12390 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12391 if ${FREETYPE_LIBS:+false} :; then :
12392 if ${PKG_CONFIG+:} false; then :
12393 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12396 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12397 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12398 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12400 ac_save_CPPFLAGS=$CPPFLAGS
12401 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12402 for ac_header in ft2build.h
12403 do :
12404 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12406 cat >>confdefs.h <<_ACEOF
12407 #define HAVE_FT2BUILD_H 1
12408 _ACEOF
12412 done
12414 if test "$ac_cv_header_ft2build_h" = "yes"
12415 then
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12417 $as_echo_n "checking for -lfreetype... " >&6; }
12418 if ${ac_cv_lib_soname_freetype+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char FT_Init_FreeType ();
12434 main ()
12436 return FT_Init_FreeType ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 case "$LIBEXT" in
12443 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12444 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'` ;;
12445 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12446 if ${ac_cv_lib_soname_freetype:+false} :; then :
12447 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12448 fi ;;
12449 esac
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_freetype:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12458 FREETYPE_LIBS=""
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12461 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12465 _ACEOF
12468 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12470 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12471 #include FT_MODULE_H
12473 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12475 cat >>confdefs.h <<_ACEOF
12476 #define HAVE_FT_TRUETYPEENGINETYPE 1
12477 _ACEOF
12483 else
12484 FREETYPE_CFLAGS=""
12485 FREETYPE_LIBS=""
12487 CPPFLAGS=$ac_save_CPPFLAGS
12488 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12489 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12492 if test "x$ac_cv_lib_soname_freetype" = x; then :
12493 case "x$with_freetype" in
12494 xno) ;;
12495 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12496 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12497 esac
12498 enable_fonts=${enable_fonts:-no}
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12502 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12503 if ${ac_cv_c_ppdev+:} false; then :
12504 $as_echo_n "(cached) " >&6
12505 else
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507 /* end confdefs.h. */
12508 #ifdef HAVE_SYS_IOCTL_H
12509 # include <sys/ioctl.h>
12510 #endif
12511 #include <linux/ppdev.h>
12513 main ()
12515 ioctl (1,PPCLAIM,0)
12517 return 0;
12519 _ACEOF
12520 if ac_fn_c_try_compile "$LINENO"; then :
12521 ac_cv_c_ppdev="yes"
12522 else
12523 ac_cv_c_ppdev="no"
12525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12528 $as_echo "$ac_cv_c_ppdev" >&6; }
12529 if test "$ac_cv_c_ppdev" = "yes"
12530 then
12532 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12536 ac_wine_check_funcs_save_LIBS="$LIBS"
12537 LIBS="$LIBS $PTHREAD_LIBS"
12538 for ac_func in \
12539 pthread_attr_get_np \
12540 pthread_getattr_np \
12541 pthread_getthreadid_np \
12542 pthread_get_stackaddr_np \
12543 pthread_get_stacksize_np
12544 do :
12545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12550 _ACEOF
12553 done
12555 LIBS="$ac_wine_check_funcs_save_LIBS"
12557 if test "$ac_cv_header_zlib_h" = "yes"
12558 then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12560 $as_echo_n "checking for inflate in -lz... " >&6; }
12561 if ${ac_cv_lib_z_inflate+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_check_lib_save_LIBS=$LIBS
12565 LIBS="-lz $LIBS"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char inflate ();
12577 main ()
12579 return inflate ();
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 ac_cv_lib_z_inflate=yes
12586 else
12587 ac_cv_lib_z_inflate=no
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_lib_save_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12594 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12595 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12597 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12599 Z_LIBS="-lz"
12604 if test "x$Z_LIBS" = "x"; then :
12605 case "x$with_zlib" in
12606 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12607 xno) ;;
12608 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12609 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12610 esac
12614 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12615 then
12616 if test "$ac_cv_header_gettext_po_h" = "yes"
12617 then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12619 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12620 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_lib_save_LIBS=$LIBS
12624 LIBS="-lgettextpo $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char po_message_msgctxt ();
12636 main ()
12638 return po_message_msgctxt ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12645 else
12646 ac_cv_lib_gettextpo_po_message_msgctxt=no
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12653 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12654 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12656 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12658 GETTEXTPO_LIBS="-lgettextpo"
12663 if test "x$GETTEXTPO_LIBS" = "x"; then :
12664 case "x$with_gettextpo" in
12665 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12666 xno) ;;
12667 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12668 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12669 esac
12672 if test "$srcdir" != .; then :
12673 case "x$with_gettextpo" in
12674 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12675 xno) ;;
12676 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12677 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12678 esac
12683 if test "x$with_pulse" != "xno";
12684 then
12685 if ${PULSE_CFLAGS:+false} :; then :
12686 if ${PKG_CONFIG+:} false; then :
12687 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12691 if ${PULSE_LIBS:+false} :; then :
12692 if ${PKG_CONFIG+:} false; then :
12693 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12698 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12699 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12700 ac_save_CPPFLAGS=$CPPFLAGS
12701 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12702 for ac_header in pulse/pulseaudio.h
12703 do :
12704 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12705 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12706 cat >>confdefs.h <<_ACEOF
12707 #define HAVE_PULSE_PULSEAUDIO_H 1
12708 _ACEOF
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12710 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12711 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12712 $as_echo_n "(cached) " >&6
12713 else
12714 ac_check_lib_save_LIBS=$LIBS
12715 LIBS="-lpulse $PULSE_LIBS $LIBS"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char pa_stream_is_corked ();
12727 main ()
12729 return pa_stream_is_corked ();
12731 return 0;
12733 _ACEOF
12734 if ac_fn_c_try_link "$LINENO"; then :
12735 ac_cv_lib_pulse_pa_stream_is_corked=yes
12736 else
12737 ac_cv_lib_pulse_pa_stream_is_corked=no
12739 rm -f core conftest.err conftest.$ac_objext \
12740 conftest$ac_exeext conftest.$ac_ext
12741 LIBS=$ac_check_lib_save_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12744 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12745 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12747 else
12748 PULSE_LIBS=""
12751 else
12752 PULSE_LIBS=""
12755 done
12757 CPPFLAGS=$ac_save_CPPFLAGS
12758 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12759 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12762 if test -z "$PULSE_LIBS"; then :
12763 case "x$with_pulse" in
12764 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12767 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12768 esac
12769 enable_winepulse_drv=${enable_winepulse_drv:-no}
12772 if test "x$with_gstreamer" != "xno"
12773 then
12774 if ${GSTREAMER_CFLAGS:+false} :; then :
12775 if ${PKG_CONFIG+:} false; then :
12776 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12780 if ${GSTREAMER_LIBS:+false} :; then :
12781 if ${PKG_CONFIG+:} false; then :
12782 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12787 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12788 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12789 ac_save_CPPFLAGS=$CPPFLAGS
12790 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12791 ac_gst_incl=""
12792 for i in $GSTREAMER_CFLAGS
12794 case "$i" in
12795 -I*) ac_gst_incl="$ac_gst_incl $i";;
12796 esac
12797 done
12798 GSTREAMER_CFLAGS=$ac_gst_incl
12799 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12800 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12801 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12803 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12806 #include <gst/gst.h>
12808 main ()
12810 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_compile "$LINENO"; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12817 $as_echo "yes" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12819 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12820 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12821 $as_echo_n "(cached) " >&6
12822 else
12823 ac_check_lib_save_LIBS=$LIBS
12824 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 /* Override any GCC internal prototype to avoid an error.
12829 Use char because int might match the return type of a GCC
12830 builtin and then its argument prototype would still apply. */
12831 #ifdef __cplusplus
12832 extern "C"
12833 #endif
12834 char gst_pad_new ();
12836 main ()
12838 return gst_pad_new ();
12840 return 0;
12842 _ACEOF
12843 if ac_fn_c_try_link "$LINENO"; then :
12844 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12845 else
12846 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12848 rm -f core conftest.err conftest.$ac_objext \
12849 conftest$ac_exeext conftest.$ac_ext
12850 LIBS=$ac_check_lib_save_LIBS
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12853 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12854 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12861 ac_glib2_broken=yes
12862 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12868 CPPFLAGS=$ac_save_CPPFLAGS
12869 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12870 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12873 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 :
12874 case "x$with_gstreamer" in
12875 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12876 xno) ;;
12877 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12878 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12879 esac
12882 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12884 ALSA_LIBS=""
12886 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12887 then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12889 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12890 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 ac_check_lib_save_LIBS=$LIBS
12894 LIBS="-lasound $LIBS"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12898 /* Override any GCC internal prototype to avoid an error.
12899 Use char because int might match the return type of a GCC
12900 builtin and then its argument prototype would still apply. */
12901 #ifdef __cplusplus
12902 extern "C"
12903 #endif
12904 char snd_pcm_hw_params_get_access_mask ();
12906 main ()
12908 return snd_pcm_hw_params_get_access_mask ();
12910 return 0;
12912 _ACEOF
12913 if ac_fn_c_try_link "$LINENO"; then :
12914 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12915 else
12916 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12920 LIBS=$ac_check_lib_save_LIBS
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12923 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12924 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 #ifdef HAVE_ALSA_ASOUNDLIB_H
12928 #include <alsa/asoundlib.h>
12929 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12930 #include <sys/asoundlib.h>
12931 #endif
12933 main ()
12935 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_compile "$LINENO"; then :
12941 ALSA_LIBS="-lasound"
12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12947 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12949 if test "x$with_oss" != xno
12950 then
12951 ac_save_CPPFLAGS="$CPPFLAGS"
12952 if test -f /etc/oss.conf
12953 then
12954 . /etc/oss.conf
12956 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12957 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12958 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12959 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12960 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12962 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12966 _ACEOF
12968 OSS4_CFLAGS="$ac_oss_incl"
12975 CPPFLAGS="$ac_save_CPPFLAGS"
12977 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12978 case "x$with_oss" in
12979 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12980 xno) ;;
12981 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12982 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12983 esac
12984 enable_wineoss_drv=${enable_wineoss_drv:-no}
12987 if test "x$with_udev" != "xno"
12988 then
12989 if ${UDEV_CFLAGS:+false} :; then :
12990 if ${PKG_CONFIG+:} false; then :
12991 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12995 if ${UDEV_LIBS:+false} :; then :
12996 if ${PKG_CONFIG+:} false; then :
12997 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13001 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13003 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13004 ac_save_CPPFLAGS=$CPPFLAGS
13005 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13006 for ac_header in libudev.h
13007 do :
13008 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13009 if test "x$ac_cv_header_libudev_h" = xyes; then :
13010 cat >>confdefs.h <<_ACEOF
13011 #define HAVE_LIBUDEV_H 1
13012 _ACEOF
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13014 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13015 if ${ac_cv_lib_udev_udev_new+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-ludev $UDEV_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char udev_new ();
13031 main ()
13033 return udev_new ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_udev_udev_new=yes
13040 else
13041 ac_cv_lib_udev_udev_new=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13048 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13049 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13051 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13053 else
13054 UDEV_LIBS=""
13057 else
13058 UDEV_LIBS=""
13061 done
13063 CPPFLAGS=$ac_save_CPPFLAGS
13064 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$UDEV_LIBS" = "x"; then :
13069 case "x$with_udev" in
13070 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13071 xno) ;;
13072 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13073 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13074 esac
13078 if test "x$with_capi" != "xno"
13079 then
13080 if ${CAPI20_CFLAGS:+false} :; then :
13081 if ${PKG_CONFIG+:} false; then :
13082 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13086 if ${CAPI20_LIBS:+false} :; then :
13087 if ${PKG_CONFIG+:} false; then :
13088 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13093 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13094 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13095 ac_save_CPPFLAGS=$CPPFLAGS
13096 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13097 for ac_header in capi20.h linux/capi.h
13098 do :
13099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13103 cat >>confdefs.h <<_ACEOF
13104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13105 _ACEOF
13109 done
13111 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13112 then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13114 $as_echo_n "checking for -lcapi20... " >&6; }
13115 if ${ac_cv_lib_soname_capi20+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char capi20_register ();
13131 main ()
13133 return capi20_register ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13143 if ${ac_cv_lib_soname_capi20:+false} :; then :
13144 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_capi20:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13158 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13162 _ACEOF
13167 CPPFLAGS=$ac_save_CPPFLAGS
13168 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13169 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13172 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13173 case "x$with_capi" in
13174 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13175 xno) ;;
13176 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13177 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13178 esac
13182 CUPS_CFLAGS=""
13184 if test "x$with_cups" != "xno"
13185 then
13186 ac_save_CPPFLAGS="$CPPFLAGS"
13187 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13188 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13189 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13190 for ac_header in cups/cups.h
13191 do :
13192 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13193 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13194 cat >>confdefs.h <<_ACEOF
13195 #define HAVE_CUPS_CUPS_H 1
13196 _ACEOF
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13198 $as_echo_n "checking for -lcups... " >&6; }
13199 if ${ac_cv_lib_soname_cups+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_soname_save_LIBS=$LIBS
13203 LIBS="-lcups $ac_cups_libs $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char cupsGetDefault ();
13215 main ()
13217 return cupsGetDefault ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 case "$LIBEXT" in
13224 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_cups:+false} :; then :
13228 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13229 fi ;;
13230 esac
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_soname_save_LIBS
13236 if ${ac_cv_lib_soname_cups:+false} :; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13238 $as_echo "not found" >&6; }
13240 else
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13242 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13246 _ACEOF
13248 CUPS_CFLAGS="$ac_cups_cflags"
13250 for ac_header in cups/ppd.h
13251 do :
13252 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13253 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_CUPS_PPD_H 1
13256 _ACEOF
13260 done
13264 done
13266 CPPFLAGS="$ac_save_CPPFLAGS"
13268 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13269 case "x$with_cups" in
13270 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13271 xno) ;;
13272 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13273 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13274 esac
13278 if test "x$with_fontconfig" != "xno"
13279 then
13280 if ${FONTCONFIG_CFLAGS:+false} :; then :
13281 if ${PKG_CONFIG+:} false; then :
13282 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13285 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13286 if ${FONTCONFIG_LIBS:+false} :; then :
13287 if ${PKG_CONFIG+:} false; then :
13288 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13291 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13293 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13294 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13295 ac_save_CPPFLAGS=$CPPFLAGS
13296 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13297 for ac_header in fontconfig/fontconfig.h
13298 do :
13299 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13300 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13303 _ACEOF
13307 done
13309 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13310 then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13312 $as_echo_n "checking for -lfontconfig... " >&6; }
13313 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_soname_save_LIBS=$LIBS
13317 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char FcInit ();
13329 main ()
13331 return FcInit ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 case "$LIBEXT" in
13338 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13339 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'` ;;
13340 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13341 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13342 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13343 fi ;;
13344 esac
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_soname_save_LIBS
13350 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13352 $as_echo "not found" >&6; }
13353 FONTCONFIG_CFLAGS=""
13354 else
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13356 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13358 cat >>confdefs.h <<_ACEOF
13359 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13360 _ACEOF
13364 else
13365 FONTCONFIG_CFLAGS=""
13367 CPPFLAGS=$ac_save_CPPFLAGS
13368 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13369 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13372 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13373 case "x$with_fontconfig" in
13374 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13375 xno) ;;
13376 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13377 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13378 esac
13382 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13383 then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13385 $as_echo_n "checking for -lgsm... " >&6; }
13386 if ${ac_cv_lib_soname_gsm+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-lgsm $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char gsm_create ();
13402 main ()
13404 return gsm_create ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13414 if ${ac_cv_lib_soname_gsm:+false} :; then :
13415 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13416 fi ;;
13417 esac
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_soname_save_LIBS
13423 if ${ac_cv_lib_soname_gsm:+false} :; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13425 $as_echo "not found" >&6; }
13427 else
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13429 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13431 cat >>confdefs.h <<_ACEOF
13432 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13433 _ACEOF
13438 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13439 case "x$with_gsm" in
13440 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13441 xno) ;;
13442 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13443 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13444 esac
13448 if test "x$with_jpeg" != "xno"
13449 then
13450 if ${JPEG_CFLAGS:+false} :; then :
13451 if ${PKG_CONFIG+:} false; then :
13452 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13456 if ${JPEG_LIBS:+false} :; then :
13457 if ${PKG_CONFIG+:} false; then :
13458 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13464 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13465 ac_save_CPPFLAGS=$CPPFLAGS
13466 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13467 for ac_header in jpeglib.h
13468 do :
13469 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13470 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13471 cat >>confdefs.h <<_ACEOF
13472 #define HAVE_JPEGLIB_H 1
13473 _ACEOF
13477 done
13479 if test "$ac_cv_header_jpeglib_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13482 $as_echo_n "checking for -ljpeg... " >&6; }
13483 if ${ac_cv_lib_soname_jpeg+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_soname_save_LIBS=$LIBS
13487 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char jpeg_start_decompress ();
13499 main ()
13501 return jpeg_start_decompress ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 case "$LIBEXT" in
13508 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13509 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'` ;;
13510 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13511 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13512 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13513 fi ;;
13514 esac
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 LIBS=$ac_check_soname_save_LIBS
13520 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13522 $as_echo "not found" >&6; }
13523 JPEG_CFLAGS=""
13524 else
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13526 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13528 cat >>confdefs.h <<_ACEOF
13529 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13530 _ACEOF
13534 else
13535 JPEG_CFLAGS=""
13537 CPPFLAGS=$ac_save_CPPFLAGS
13538 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13539 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13542 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13543 case "x$with_jpeg" in
13544 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13545 xno) ;;
13546 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13547 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13548 esac
13552 if test "x$with_png" != "xno"
13553 then
13554 if ${PNG_CFLAGS:+false} :; then :
13555 if ${PKG_CONFIG+:} false; then :
13556 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13559 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13560 if ${PNG_LIBS:+false} :; then :
13561 if ${PKG_CONFIG+:} false; then :
13562 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13565 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13568 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13569 ac_save_CPPFLAGS=$CPPFLAGS
13570 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13571 for ac_header in png.h
13572 do :
13573 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13574 if test "x$ac_cv_header_png_h" = xyes; then :
13575 cat >>confdefs.h <<_ACEOF
13576 #define HAVE_PNG_H 1
13577 _ACEOF
13581 done
13583 if test "$ac_cv_header_png_h" = "yes"
13584 then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13586 $as_echo_n "checking for -lpng... " >&6; }
13587 if ${ac_cv_lib_soname_png+:} false; then :
13588 $as_echo_n "(cached) " >&6
13589 else
13590 ac_check_soname_save_LIBS=$LIBS
13591 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13595 /* Override any GCC internal prototype to avoid an error.
13596 Use char because int might match the return type of a GCC
13597 builtin and then its argument prototype would still apply. */
13598 #ifdef __cplusplus
13599 extern "C"
13600 #endif
13601 char png_create_read_struct ();
13603 main ()
13605 return png_create_read_struct ();
13607 return 0;
13609 _ACEOF
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 case "$LIBEXT" in
13612 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13613 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'` ;;
13614 *) 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'`
13615 if ${ac_cv_lib_soname_png:+false} :; then :
13616 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13617 fi ;;
13618 esac
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13622 LIBS=$ac_check_soname_save_LIBS
13624 if ${ac_cv_lib_soname_png:+false} :; then :
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13626 $as_echo "not found" >&6; }
13627 PNG_CFLAGS=""
13628 else
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13630 $as_echo "$ac_cv_lib_soname_png" >&6; }
13632 cat >>confdefs.h <<_ACEOF
13633 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13634 _ACEOF
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13638 #include <png.h>
13640 main ()
13642 typeof(png_set_expand_gray_1_2_4_to_8) *p
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_compile "$LINENO"; then :
13649 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13654 else
13655 PNG_CFLAGS=""
13657 CPPFLAGS=$ac_save_CPPFLAGS
13658 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13659 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13662 if test "x$ac_cv_lib_soname_png" = "x"; then :
13663 case "x$with_png" in
13664 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13665 xno) ;;
13666 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13667 This is an error since --with-png was requested." "$LINENO" 5 ;;
13668 esac
13672 if test "x$with_tiff" != "xno"
13673 then
13674 if ${TIFF_CFLAGS:+false} :; then :
13675 if ${PKG_CONFIG+:} false; then :
13676 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13680 if ${TIFF_LIBS:+false} :; then :
13681 if ${PKG_CONFIG+:} false; then :
13682 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13688 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13689 ac_save_CPPFLAGS=$CPPFLAGS
13690 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13691 for ac_header in tiffio.h
13692 do :
13693 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13694 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13695 cat >>confdefs.h <<_ACEOF
13696 #define HAVE_TIFFIO_H 1
13697 _ACEOF
13701 done
13703 if test "$ac_cv_header_tiffio_h" = "yes"
13704 then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13706 $as_echo_n "checking for -ltiff... " >&6; }
13707 if ${ac_cv_lib_soname_tiff+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 ac_check_soname_save_LIBS=$LIBS
13711 LIBS="-ltiff $TIFF_LIBS $LIBS"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13715 /* Override any GCC internal prototype to avoid an error.
13716 Use char because int might match the return type of a GCC
13717 builtin and then its argument prototype would still apply. */
13718 #ifdef __cplusplus
13719 extern "C"
13720 #endif
13721 char TIFFClientOpen ();
13723 main ()
13725 return TIFFClientOpen ();
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"; then :
13731 case "$LIBEXT" in
13732 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13733 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'` ;;
13734 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13735 if ${ac_cv_lib_soname_tiff:+false} :; then :
13736 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13737 fi ;;
13738 esac
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 LIBS=$ac_check_soname_save_LIBS
13744 if ${ac_cv_lib_soname_tiff:+false} :; then :
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13746 $as_echo "not found" >&6; }
13748 else
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13750 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13752 cat >>confdefs.h <<_ACEOF
13753 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13754 _ACEOF
13759 CPPFLAGS=$ac_save_CPPFLAGS
13760 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13761 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13764 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13765 case "x$with_tiff" in
13766 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13767 xno) ;;
13768 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13769 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13770 esac
13774 if test "x$with_mpg123" != "xno"
13775 then
13776 if ${MPG123_CFLAGS:+false} :; then :
13777 if ${PKG_CONFIG+:} false; then :
13778 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13782 if ${MPG123_LIBS:+false} :; then :
13783 if ${PKG_CONFIG+:} false; then :
13784 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13788 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13791 ac_save_CPPFLAGS=$CPPFLAGS
13792 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13793 for ac_header in mpg123.h
13794 do :
13795 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13796 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_MPG123_H 1
13799 _ACEOF
13803 done
13805 if test "$ac_cv_header_mpg123_h" = "yes"
13806 then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13808 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13809 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_check_lib_save_LIBS=$LIBS
13813 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13817 /* Override any GCC internal prototype to avoid an error.
13818 Use char because int might match the return type of a GCC
13819 builtin and then its argument prototype would still apply. */
13820 #ifdef __cplusplus
13821 extern "C"
13822 #endif
13823 char mpg123_feed ();
13825 main ()
13827 return mpg123_feed ();
13829 return 0;
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"; then :
13833 ac_cv_lib_mpg123_mpg123_feed=yes
13834 else
13835 ac_cv_lib_mpg123_mpg123_feed=no
13837 rm -f core conftest.err conftest.$ac_objext \
13838 conftest$ac_exeext conftest.$ac_ext
13839 LIBS=$ac_check_lib_save_LIBS
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13842 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13843 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13845 else
13846 MPG123_LIBS=""
13849 else
13850 MPG123_CFLAGS=""
13851 MPG123_LIBS=""
13853 CPPFLAGS=$ac_save_CPPFLAGS
13854 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13855 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13858 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13859 case "x$with_mpg123" in
13860 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13861 xno) ;;
13862 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13863 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13864 esac
13865 enable_winemp3_acm=${enable_winemp3_acm:-no}
13868 if test "$ac_cv_header_AL_al_h" = "yes"
13869 then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13871 $as_echo_n "checking for -lopenal... " >&6; }
13872 if ${ac_cv_lib_soname_openal+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_soname_save_LIBS=$LIBS
13876 LIBS="-lopenal $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char alGetSource3i ();
13888 main ()
13890 return alGetSource3i ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 case "$LIBEXT" in
13897 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13898 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'` ;;
13899 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13900 if ${ac_cv_lib_soname_openal:+false} :; then :
13901 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13902 fi ;;
13903 esac
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_soname_save_LIBS
13909 if ${ac_cv_lib_soname_openal:+false} :; then :
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13911 $as_echo "not found" >&6; }
13913 else
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13915 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13917 cat >>confdefs.h <<_ACEOF
13918 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13919 _ACEOF
13921 OPENAL_LIBS="-lopenal"
13923 ac_cv_lib_openal=yes
13925 cat >>confdefs.h <<_ACEOF
13926 #define HAVE_OPENAL 1
13927 _ACEOF
13931 if test "x$ac_cv_lib_openal" != xyes; then :
13932 case "x$with_openal" in
13933 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13934 xno) ;;
13935 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13936 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13937 esac
13938 enable_openal32=${enable_openal32:-no}
13941 if test "x$ac_cv_lib_openal" = xyes
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13944 $as_echo_n "checking for openal-soft... " >&6; }
13945 if ${ac_cv_have_openalsoft+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 #include <AL/al.h>
13951 #include <AL/alc.h>
13952 #include <AL/alext.h>
13953 LPALCRENDERSAMPLESSOFT x;
13955 main ()
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_compile "$LINENO"; then :
13963 ac_cv_have_openalsoft=yes
13964 else
13965 ac_cv_have_openalsoft=no
13967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13970 $as_echo "$ac_cv_have_openalsoft" >&6; }
13972 if test "x$ac_cv_have_openalsoft" != xyes
13973 then
13974 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13975 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13976 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13977 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13978 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13979 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13980 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13981 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13982 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13983 enable_xapofx1_1=${enable_xapofx1_1:-no}
13984 enable_xapofx1_2=${enable_xapofx1_2:-no}
13985 enable_xapofx1_3=${enable_xapofx1_3:-no}
13986 enable_xapofx1_4=${enable_xapofx1_4:-no}
13987 enable_xapofx1_5=${enable_xapofx1_5:-no}
13988 enable_xaudio2_0=${enable_xaudio2_0:-no}
13989 enable_xaudio2_1=${enable_xaudio2_1:-no}
13990 enable_xaudio2_2=${enable_xaudio2_2:-no}
13991 enable_xaudio2_3=${enable_xaudio2_3:-no}
13992 enable_xaudio2_4=${enable_xaudio2_4:-no}
13993 enable_xaudio2_5=${enable_xaudio2_5:-no}
13994 enable_xaudio2_6=${enable_xaudio2_6:-no}
13995 enable_xaudio2_7=${enable_xaudio2_7:-no}
13996 enable_xaudio2_8=${enable_xaudio2_8:-no}
13997 enable_xaudio2_9=${enable_xaudio2_9:-no}
14000 if test "$ac_cv_header_kstat_h" = "yes"
14001 then
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14003 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14004 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_check_lib_save_LIBS=$LIBS
14008 LIBS="-lkstat $LIBS"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14012 /* Override any GCC internal prototype to avoid an error.
14013 Use char because int might match the return type of a GCC
14014 builtin and then its argument prototype would still apply. */
14015 #ifdef __cplusplus
14016 extern "C"
14017 #endif
14018 char kstat_open ();
14020 main ()
14022 return kstat_open ();
14024 return 0;
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_lib_kstat_kstat_open=yes
14029 else
14030 ac_cv_lib_kstat_kstat_open=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_lib_save_LIBS
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14037 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14038 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14040 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14042 KSTAT_LIBS="-lkstat"
14048 if test "$ac_cv_header_libprocstat_h" = "yes"
14049 then
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14051 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14052 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_check_lib_save_LIBS=$LIBS
14056 LIBS="-lprocstat $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14060 /* Override any GCC internal prototype to avoid an error.
14061 Use char because int might match the return type of a GCC
14062 builtin and then its argument prototype would still apply. */
14063 #ifdef __cplusplus
14064 extern "C"
14065 #endif
14066 char procstat_open_sysctl ();
14068 main ()
14070 return procstat_open_sysctl ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_lib_procstat_procstat_open_sysctl=yes
14077 else
14078 ac_cv_lib_procstat_procstat_open_sysctl=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14085 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14086 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14088 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14090 PROCSTAT_LIBS="-lprocstat"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14097 $as_echo_n "checking for -lodbc... " >&6; }
14098 if ${ac_cv_lib_soname_odbc+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_check_soname_save_LIBS=$LIBS
14102 LIBS="-lodbc $LIBS"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14109 #ifdef __cplusplus
14110 extern "C"
14111 #endif
14112 char SQLConnect ();
14114 main ()
14116 return SQLConnect ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 case "$LIBEXT" in
14123 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14124 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'` ;;
14125 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14126 if ${ac_cv_lib_soname_odbc:+false} :; then :
14127 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14128 fi ;;
14129 esac
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if ${ac_cv_lib_soname_odbc:+false} :; then :
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14137 $as_echo "not found" >&6; }
14138 cat >>confdefs.h <<_ACEOF
14139 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14140 _ACEOF
14142 else
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14144 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14146 cat >>confdefs.h <<_ACEOF
14147 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14148 _ACEOF
14153 if test "x$with_netapi" != "xno"
14154 then
14155 if ${NETAPI_CFLAGS:+false} :; then :
14156 if ${PKG_CONFIG+:} false; then :
14157 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14161 if ${NETAPI_LIBS:+false} :; then :
14162 if ${PKG_CONFIG+:} false; then :
14163 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14169 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14170 ac_save_CPPFLAGS=$CPPFLAGS
14171 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14173 $as_echo_n "checking for -lnetapi... " >&6; }
14174 if ${ac_cv_lib_soname_netapi+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_check_soname_save_LIBS=$LIBS
14178 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14182 /* Override any GCC internal prototype to avoid an error.
14183 Use char because int might match the return type of a GCC
14184 builtin and then its argument prototype would still apply. */
14185 #ifdef __cplusplus
14186 extern "C"
14187 #endif
14188 char libnetapi_init ();
14190 main ()
14192 return libnetapi_init ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 case "$LIBEXT" in
14199 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14200 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'` ;;
14201 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14202 if ${ac_cv_lib_soname_netapi:+false} :; then :
14203 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14204 fi ;;
14205 esac
14207 rm -f core conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14209 LIBS=$ac_check_soname_save_LIBS
14211 if ${ac_cv_lib_soname_netapi:+false} :; then :
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14213 $as_echo "not found" >&6; }
14214 cat >>confdefs.h <<_ACEOF
14215 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14216 _ACEOF
14218 else
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14220 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14222 cat >>confdefs.h <<_ACEOF
14223 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14224 _ACEOF
14228 CPPFLAGS=$ac_save_CPPFLAGS
14229 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14230 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14234 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14235 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14236 then
14237 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14241 EXTRACFLAGS=""
14243 if test "x${GCC}" = "xyes"
14244 then
14245 EXTRACFLAGS="-Wall -pipe"
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14248 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14249 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 if test "$cross_compiling" = yes; then :
14253 ac_cv_c_gcc_strength_bug="no"
14254 else
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 int L[4] = {0,1,2,3};
14259 main ()
14261 static int Array[3];
14262 unsigned int B = 3;
14263 int i;
14264 for(i=0; i<B; i++) Array[i] = i - 3;
14265 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14266 L[i] = 4;
14267 return (Array[1] != -2 || L[2] != 3)
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_run "$LINENO"; then :
14273 ac_cv_c_gcc_strength_bug="no"
14274 else
14275 ac_cv_c_gcc_strength_bug="yes"
14277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14278 conftest.$ac_objext conftest.beam conftest.$ac_ext
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14283 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14284 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14285 then
14286 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14290 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14291 if ${ac_cv_cflags__fno_builtin+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_wine_try_cflags_saved=$CFLAGS
14295 CFLAGS="$CFLAGS -fno-builtin"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_cflags__fno_builtin=yes
14302 else
14303 ac_cv_cflags__fno_builtin=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 CFLAGS=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14310 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14311 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14312 BUILTINFLAG="-fno-builtin"
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14316 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14317 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14318 $as_echo_n "(cached) " >&6
14319 else
14320 ac_wine_try_cflags_saved=$CFLAGS
14321 CFLAGS="$CFLAGS -fno-strict-aliasing"
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14324 int main(int argc, char **argv) { return 0; }
14325 _ACEOF
14326 if ac_fn_c_try_link "$LINENO"; then :
14327 ac_cv_cflags__fno_strict_aliasing=yes
14328 else
14329 ac_cv_cflags__fno_strict_aliasing=no
14331 rm -f core conftest.err conftest.$ac_objext \
14332 conftest$ac_exeext conftest.$ac_ext
14333 CFLAGS=$ac_wine_try_cflags_saved
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14336 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14337 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14338 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14341 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14342 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_wine_try_cflags_saved=$CFLAGS
14346 CFLAGS="$CFLAGS -fexcess-precision=standard"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14349 int main(int argc, char **argv) { return 0; }
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"; then :
14352 ac_cv_cflags__fexcess_precision_standard=yes
14353 else
14354 ac_cv_cflags__fexcess_precision_standard=no
14356 rm -f core conftest.err conftest.$ac_objext \
14357 conftest$ac_exeext conftest.$ac_ext
14358 CFLAGS=$ac_wine_try_cflags_saved
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14361 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14362 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14363 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14366 saved_CFLAGS=$CFLAGS
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14368 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14369 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_wine_try_cflags_saved=$CFLAGS
14373 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 int main(int argc, char **argv) { return 0; }
14377 _ACEOF
14378 if ac_fn_c_try_link "$LINENO"; then :
14379 ac_cv_cflags__Werror_unknown_warning_option=yes
14380 else
14381 ac_cv_cflags__Werror_unknown_warning_option=no
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 CFLAGS=$ac_wine_try_cflags_saved
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14388 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14389 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14393 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14394 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 ac_wine_try_cflags_saved=$CFLAGS
14398 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 int main(int argc, char **argv) { return 0; }
14402 _ACEOF
14403 if ac_fn_c_try_link "$LINENO"; then :
14404 ac_cv_cflags__Wdeclaration_after_statement=yes
14405 else
14406 ac_cv_cflags__Wdeclaration_after_statement=no
14408 rm -f core conftest.err conftest.$ac_objext \
14409 conftest$ac_exeext conftest.$ac_ext
14410 CFLAGS=$ac_wine_try_cflags_saved
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14413 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14414 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14415 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14418 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14419 if ${ac_cv_cflags__Wempty_body+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_wine_try_cflags_saved=$CFLAGS
14423 CFLAGS="$CFLAGS -Wempty-body"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14426 int main(int argc, char **argv) { return 0; }
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 ac_cv_cflags__Wempty_body=yes
14430 else
14431 ac_cv_cflags__Wempty_body=no
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14435 CFLAGS=$ac_wine_try_cflags_saved
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14438 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14439 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14440 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14443 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14444 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 ac_wine_try_cflags_saved=$CFLAGS
14448 CFLAGS="$CFLAGS -Wignored-qualifiers"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14451 int main(int argc, char **argv) { return 0; }
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"; then :
14454 ac_cv_cflags__Wignored_qualifiers=yes
14455 else
14456 ac_cv_cflags__Wignored_qualifiers=no
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14460 CFLAGS=$ac_wine_try_cflags_saved
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14463 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14464 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14465 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14468 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14469 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_wine_try_cflags_saved=$CFLAGS
14473 CFLAGS="$CFLAGS -Wshift-overflow=2"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int main(int argc, char **argv) { return 0; }
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_cflags__Wshift_overflow_2=yes
14480 else
14481 ac_cv_cflags__Wshift_overflow_2=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 CFLAGS=$ac_wine_try_cflags_saved
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14488 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14489 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14490 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14493 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14494 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 ac_wine_try_cflags_saved=$CFLAGS
14498 CFLAGS="$CFLAGS -Wstrict-prototypes"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14501 int main(int argc, char **argv) { return 0; }
14502 _ACEOF
14503 if ac_fn_c_try_link "$LINENO"; then :
14504 ac_cv_cflags__Wstrict_prototypes=yes
14505 else
14506 ac_cv_cflags__Wstrict_prototypes=no
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14510 CFLAGS=$ac_wine_try_cflags_saved
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14513 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14514 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14515 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14518 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14519 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14520 $as_echo_n "(cached) " >&6
14521 else
14522 ac_wine_try_cflags_saved=$CFLAGS
14523 CFLAGS="$CFLAGS -Wtype-limits"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526 int main(int argc, char **argv) { return 0; }
14527 _ACEOF
14528 if ac_fn_c_try_link "$LINENO"; then :
14529 ac_cv_cflags__Wtype_limits=yes
14530 else
14531 ac_cv_cflags__Wtype_limits=no
14533 rm -f core conftest.err conftest.$ac_objext \
14534 conftest$ac_exeext conftest.$ac_ext
14535 CFLAGS=$ac_wine_try_cflags_saved
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14538 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14539 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14540 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14543 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14544 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_wine_try_cflags_saved=$CFLAGS
14548 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_cflags__Wunused_but_set_parameter=yes
14555 else
14556 ac_cv_cflags__Wunused_but_set_parameter=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 CFLAGS=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14563 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14564 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14565 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14568 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14569 if ${ac_cv_cflags__Wvla+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_wine_try_cflags_saved=$CFLAGS
14573 CFLAGS="$CFLAGS -Wvla"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 ac_cv_cflags__Wvla=yes
14580 else
14581 ac_cv_cflags__Wvla=no
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 CFLAGS=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14588 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14589 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14590 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14593 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14594 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_wine_try_cflags_saved=$CFLAGS
14598 CFLAGS="$CFLAGS -Wwrite-strings"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int main(int argc, char **argv) { return 0; }
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_cflags__Wwrite_strings=yes
14605 else
14606 ac_cv_cflags__Wwrite_strings=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 CFLAGS=$ac_wine_try_cflags_saved
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14613 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14614 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14615 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14619 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14620 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14621 $as_echo_n "(cached) " >&6
14622 else
14623 ac_wine_try_cflags_saved=$CFLAGS
14624 CFLAGS="$CFLAGS -Wpointer-arith"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 int main(int argc, char **argv) { return 0; }
14628 _ACEOF
14629 if ac_fn_c_try_link "$LINENO"; then :
14630 ac_cv_cflags__Wpointer_arith=yes
14631 else
14632 ac_cv_cflags__Wpointer_arith=no
14634 rm -f core conftest.err conftest.$ac_objext \
14635 conftest$ac_exeext conftest.$ac_ext
14636 CFLAGS=$ac_wine_try_cflags_saved
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14639 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14640 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14641 saved_string_h_CFLAGS=$CFLAGS
14642 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14644 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14645 if ${ac_cv_c_string_h_warnings+:} false; then :
14646 $as_echo_n "(cached) " >&6
14647 else
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 #include <string.h>
14652 main ()
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_compile "$LINENO"; then :
14660 ac_cv_c_string_h_warnings=no
14661 else
14662 ac_cv_c_string_h_warnings=yes
14664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14667 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14668 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14669 CFLAGS=$saved_string_h_CFLAGS
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14673 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14674 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_wine_try_cflags_saved=$CFLAGS
14678 CFLAGS="$CFLAGS -Wlogical-op"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 int main(int argc, char **argv) { return 0; }
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
14684 ac_cv_cflags__Wlogical_op=yes
14685 else
14686 ac_cv_cflags__Wlogical_op=no
14688 rm -f core conftest.err conftest.$ac_objext \
14689 conftest$ac_exeext conftest.$ac_ext
14690 CFLAGS=$ac_wine_try_cflags_saved
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14693 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14694 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14695 saved_string_h_CFLAGS=$CFLAGS
14696 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14698 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14699 if ${ac_cv_c_logicalop_noisy+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 #include <string.h>
14705 char*f(const char *h,char n) {return strchr(h,n);}
14707 main ()
14711 return 0;
14713 _ACEOF
14714 if ac_fn_c_try_compile "$LINENO"; then :
14715 ac_cv_c_logicalop_noisy=no
14716 else
14717 ac_cv_c_logicalop_noisy=yes
14719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14722 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14723 CFLAGS=$saved_string_h_CFLAGS
14724 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14727 CFLAGS=$saved_CFLAGS
14729 for ac_flag in $CFLAGS; do
14730 case $ac_flag in
14731 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14732 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14733 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 ac_wine_try_cflags_saved=$CFLAGS
14737 CFLAGS="$CFLAGS -gdwarf-2"
14738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14739 /* end confdefs.h. */
14740 int main(int argc, char **argv) { return 0; }
14741 _ACEOF
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_cflags__gdwarf_2=yes
14744 else
14745 ac_cv_cflags__gdwarf_2=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 CFLAGS=$ac_wine_try_cflags_saved
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14752 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14753 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14754 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14757 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14758 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_wine_try_cflags_saved=$CFLAGS
14762 CFLAGS="$CFLAGS -gstrict-dwarf"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 int main(int argc, char **argv) { return 0; }
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_cflags__gstrict_dwarf=yes
14769 else
14770 ac_cv_cflags__gstrict_dwarf=no
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 CFLAGS=$ac_wine_try_cflags_saved
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14777 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14778 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14779 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14780 fi ;;
14781 esac
14782 done
14784 case $host_cpu in
14785 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14786 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14787 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 ac_wine_try_cflags_saved=$CFLAGS
14791 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14794 int main(int argc, char **argv) { return 0; }
14795 _ACEOF
14796 if ac_fn_c_try_link "$LINENO"; then :
14797 ac_cv_cflags__fno_omit_frame_pointer=yes
14798 else
14799 ac_cv_cflags__fno_omit_frame_pointer=no
14801 rm -f core conftest.err conftest.$ac_objext \
14802 conftest$ac_exeext conftest.$ac_ext
14803 CFLAGS=$ac_wine_try_cflags_saved
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14806 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14807 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14808 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14809 fi ;;
14810 esac
14812 case $host in
14813 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14814 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14815 if ${ac_cv_cflags__Wno_format+:} false; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 ac_wine_try_cflags_saved=$CFLAGS
14819 CFLAGS="$CFLAGS -Wno-format"
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 int main(int argc, char **argv) { return 0; }
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"; then :
14825 ac_cv_cflags__Wno_format=yes
14826 else
14827 ac_cv_cflags__Wno_format=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 CFLAGS=$ac_wine_try_cflags_saved
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14834 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14835 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14836 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14837 fi ;;
14838 esac
14840 if test "x$enable_maintainer_mode" = "xyes"
14841 then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14843 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14844 if ${ac_cv_cflags__Werror+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_wine_try_cflags_saved=$CFLAGS
14848 CFLAGS="$CFLAGS -Werror"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14851 int main(int argc, char **argv) { return 0; }
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_cflags__Werror=yes
14855 else
14856 ac_cv_cflags__Werror=no
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 CFLAGS=$ac_wine_try_cflags_saved
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14863 $as_echo "$ac_cv_cflags__Werror" >&6; }
14864 if test "x$ac_cv_cflags__Werror" = xyes; then :
14865 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14869 saved_CFLAGS="$CFLAGS"
14870 CFLAGS="$CFLAGS -Werror"
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14872 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14873 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14880 main ()
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_compile "$LINENO"; then :
14888 ac_cv_have_ms_hook_prologue="yes"
14889 else
14890 ac_cv_have_ms_hook_prologue="no"
14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14895 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14896 CFLAGS="$saved_CFLAGS"
14897 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14898 then
14900 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14902 else
14903 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14910 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14911 if ${ac_cv_c_fortify_enabled+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #include <string.h>
14918 main ()
14920 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14921 #error Fortify enabled
14922 #endif
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_compile "$LINENO"; then :
14928 ac_cv_c_fortify_enabled=no
14929 else
14930 ac_cv_c_fortify_enabled=yes
14932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14935 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14936 if test "$ac_cv_c_fortify_enabled" = yes
14937 then
14938 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14943 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14944 if ${ac_cv_c_extern_prefix+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 extern int ac_test;
14951 main ()
14953 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14955 return 0;
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_c_extern_prefix="yes"
14960 else
14961 ac_cv_c_extern_prefix="no"
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14967 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14969 case $host_cpu in
14970 *i[3456789]86*)
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14972 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14973 if ${ac_cv_c_stdcall_suffix+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 #ifndef _MSC_VER
14979 #define __stdcall __attribute__((__stdcall__))
14980 #endif
14981 int __stdcall ac_test(int i) { return i; }
14983 main ()
14985 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14987 return 0;
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 ac_cv_c_stdcall_suffix="yes"
14992 else
14993 ac_cv_c_stdcall_suffix="no"
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14999 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15000 *) ac_cv_c_stdcall_suffix="no" ;;
15001 esac
15004 if test "$ac_cv_c_extern_prefix" = "yes"
15005 then
15006 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15008 asm_name_prefix="_"
15009 else
15010 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15012 asm_name_prefix=""
15016 if test "$ac_cv_c_stdcall_suffix" = "yes"
15017 then
15018 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15020 else
15021 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15027 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15028 if ${ac_cv_asm_func_def+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15035 main ()
15037 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_link "$LINENO"; then :
15043 ac_cv_asm_func_def=".def"
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15049 main ()
15051 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_asm_func_def=".type @function"
15058 else
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15063 main ()
15065 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 ac_cv_asm_func_def=".type 2"
15072 else
15073 ac_cv_asm_func_def="unknown"
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 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15085 $as_echo "$ac_cv_asm_func_def" >&6; }
15088 case "$ac_cv_asm_func_def" in
15089 ".def")
15090 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15092 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15093 ".type @function")
15094 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15096 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15097 ".type 2")
15098 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15100 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15102 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15104 asm_func_header="" ;;
15105 esac
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15108 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15109 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 asm(".text\n\t.long 0");
15116 main ()
15120 return 0;
15122 _ACEOF
15123 if ac_fn_c_try_compile "$LINENO"; then :
15124 ac_cv_c_asm_outside_funcs="yes"
15125 else
15126 ac_cv_c_asm_outside_funcs="no"
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15131 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15134 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15135 if ${ac_cv_c_dot_previous+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15142 main ()
15144 asm(".text\nac_test:\t.long 0\n\t.previous");
15146 return 0;
15148 _ACEOF
15149 if ac_fn_c_try_link "$LINENO"; then :
15150 ac_cv_c_dot_previous="yes"
15151 else
15152 ac_cv_c_dot_previous="no"
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext conftest.$ac_ext
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15158 $as_echo "$ac_cv_c_dot_previous" >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15161 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15162 if ${ac_cv_c_cfi_support+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15169 main ()
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"; then :
15177 ac_cv_c_cfi_support="yes"
15178 else
15179 ac_cv_c_cfi_support="no"
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15184 $as_echo "$ac_cv_c_cfi_support" >&6; }
15186 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15187 asm_func_trailer=""
15188 if test "$ac_cv_c_dot_previous" = "yes"
15189 then
15190 asm_func_trailer="\\n\\t.previous"
15192 if test "$ac_cv_c_cfi_support" = "yes"
15193 then
15194 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15195 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15197 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15199 UNWINDFLAGS=-fasynchronous-unwind-tables
15201 else
15202 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15204 if test "x$enable_win64" = "xyes"
15205 then
15206 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15210 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15213 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15214 then
15215 cat >>confdefs.h <<_ACEOF
15216 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15217 _ACEOF
15219 else
15220 cat >>confdefs.h <<_ACEOF
15221 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15222 _ACEOF
15226 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15229 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15233 case $build_os in
15234 cygwin*|mingw32*) TOOLSEXT=".exe"
15236 esac
15238 case $host_os in
15239 linux-android*) ;;
15240 linux*)
15241 case $host_cpu in
15242 *i[3456789]86*|x86_64*)
15243 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15244 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15246 esac
15248 esac
15251 ac_save_CFLAGS="$CFLAGS"
15252 CFLAGS="$CFLAGS $BUILTINFLAG"
15253 for ac_func in \
15254 __res_get_state \
15255 __res_getservers \
15256 _finite \
15257 _isnan \
15258 _pclose \
15259 _popen \
15260 _snprintf \
15261 _spawnvp \
15262 _strdup \
15263 _stricmp \
15264 _strnicmp \
15265 _strtoi64 \
15266 _strtoui64 \
15267 _vsnprintf \
15268 asctime_r \
15269 chsize \
15270 dlopen \
15271 epoll_create \
15272 ffs \
15273 finitef \
15274 fnmatch \
15275 fork \
15276 fpclass \
15277 fstatfs \
15278 fstatvfs \
15279 ftruncate \
15280 futimens \
15281 futimes \
15282 futimesat \
15283 getattrlist \
15284 getopt_long_only \
15285 getpwuid \
15286 gettimeofday \
15287 getuid \
15288 if_nameindex \
15289 isnanf \
15290 kqueue \
15291 lstat \
15292 memmove \
15293 mmap \
15294 pclose \
15295 pipe2 \
15296 poll \
15297 popen \
15298 port_create \
15299 prctl \
15300 pread \
15301 proc_pidinfo \
15302 pwrite \
15303 readdir \
15304 readlink \
15305 sched_yield \
15306 select \
15307 setproctitle \
15308 setprogname \
15309 setrlimit \
15310 settimeofday \
15311 sigaltstack \
15312 sigprocmask \
15313 snprintf \
15314 statfs \
15315 statvfs \
15316 strcasecmp \
15317 strdup \
15318 strerror \
15319 strncasecmp \
15320 strtold \
15321 strtoll \
15322 strtoull \
15323 symlink \
15324 sysinfo \
15325 tcdrain \
15326 thr_kill2 \
15327 timegm \
15328 usleep \
15329 vsnprintf
15331 do :
15332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15334 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15335 cat >>confdefs.h <<_ACEOF
15336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15337 _ACEOF
15340 done
15342 CFLAGS="$ac_save_CFLAGS"
15344 if test "$ac_cv_func_dlopen" = no
15345 then
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15347 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15348 if ${ac_cv_lib_dl_dlopen+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 ac_check_lib_save_LIBS=$LIBS
15352 LIBS="-ldl $LIBS"
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15356 /* Override any GCC internal prototype to avoid an error.
15357 Use char because int might match the return type of a GCC
15358 builtin and then its argument prototype would still apply. */
15359 #ifdef __cplusplus
15360 extern "C"
15361 #endif
15362 char dlopen ();
15364 main ()
15366 return dlopen ();
15368 return 0;
15370 _ACEOF
15371 if ac_fn_c_try_link "$LINENO"; then :
15372 ac_cv_lib_dl_dlopen=yes
15373 else
15374 ac_cv_lib_dl_dlopen=no
15376 rm -f core conftest.err conftest.$ac_objext \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_lib_save_LIBS
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15382 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15383 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15384 DL_LIBS="-ldl"
15389 ac_wine_check_funcs_save_LIBS="$LIBS"
15390 LIBS="$LIBS $DL_LIBS"
15391 for ac_func in dladdr
15392 do :
15393 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15394 if test "x$ac_cv_func_dladdr" = xyes; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define HAVE_DLADDR 1
15397 _ACEOF
15400 done
15402 LIBS="$ac_wine_check_funcs_save_LIBS"
15404 if test "$ac_cv_func_poll" = no
15405 then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15407 $as_echo_n "checking for poll in -lpoll... " >&6; }
15408 if ${ac_cv_lib_poll_poll+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 ac_check_lib_save_LIBS=$LIBS
15412 LIBS="-lpoll $LIBS"
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15416 /* Override any GCC internal prototype to avoid an error.
15417 Use char because int might match the return type of a GCC
15418 builtin and then its argument prototype would still apply. */
15419 #ifdef __cplusplus
15420 extern "C"
15421 #endif
15422 char poll ();
15424 main ()
15426 return poll ();
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 ac_cv_lib_poll_poll=yes
15433 else
15434 ac_cv_lib_poll_poll=no
15436 rm -f core conftest.err conftest.$ac_objext \
15437 conftest$ac_exeext conftest.$ac_ext
15438 LIBS=$ac_check_lib_save_LIBS
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15441 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15442 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15443 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15444 POLL_LIBS="-lpoll"
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15451 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15452 if ${ac_cv_search_gethostbyname+:} false; then :
15453 $as_echo_n "(cached) " >&6
15454 else
15455 ac_func_search_save_LIBS=$LIBS
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457 /* end confdefs.h. */
15459 /* Override any GCC internal prototype to avoid an error.
15460 Use char because int might match the return type of a GCC
15461 builtin and then its argument prototype would still apply. */
15462 #ifdef __cplusplus
15463 extern "C"
15464 #endif
15465 char gethostbyname ();
15467 main ()
15469 return gethostbyname ();
15471 return 0;
15473 _ACEOF
15474 for ac_lib in '' nsl; do
15475 if test -z "$ac_lib"; then
15476 ac_res="none required"
15477 else
15478 ac_res=-l$ac_lib
15479 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15481 if ac_fn_c_try_link "$LINENO"; then :
15482 ac_cv_search_gethostbyname=$ac_res
15484 rm -f core conftest.err conftest.$ac_objext \
15485 conftest$ac_exeext
15486 if ${ac_cv_search_gethostbyname+:} false; then :
15487 break
15489 done
15490 if ${ac_cv_search_gethostbyname+:} false; then :
15492 else
15493 ac_cv_search_gethostbyname=no
15495 rm conftest.$ac_ext
15496 LIBS=$ac_func_search_save_LIBS
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15499 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15500 ac_res=$ac_cv_search_gethostbyname
15501 if test "$ac_res" != no; then :
15502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15508 $as_echo_n "checking for library containing connect... " >&6; }
15509 if ${ac_cv_search_connect+:} false; then :
15510 $as_echo_n "(cached) " >&6
15511 else
15512 ac_func_search_save_LIBS=$LIBS
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15516 /* Override any GCC internal prototype to avoid an error.
15517 Use char because int might match the return type of a GCC
15518 builtin and then its argument prototype would still apply. */
15519 #ifdef __cplusplus
15520 extern "C"
15521 #endif
15522 char connect ();
15524 main ()
15526 return connect ();
15528 return 0;
15530 _ACEOF
15531 for ac_lib in '' socket; do
15532 if test -z "$ac_lib"; then
15533 ac_res="none required"
15534 else
15535 ac_res=-l$ac_lib
15536 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15538 if ac_fn_c_try_link "$LINENO"; then :
15539 ac_cv_search_connect=$ac_res
15541 rm -f core conftest.err conftest.$ac_objext \
15542 conftest$ac_exeext
15543 if ${ac_cv_search_connect+:} false; then :
15544 break
15546 done
15547 if ${ac_cv_search_connect+:} false; then :
15549 else
15550 ac_cv_search_connect=no
15552 rm conftest.$ac_ext
15553 LIBS=$ac_func_search_save_LIBS
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15556 $as_echo "$ac_cv_search_connect" >&6; }
15557 ac_res=$ac_cv_search_connect
15558 if test "$ac_res" != no; then :
15559 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15565 $as_echo_n "checking for library containing inet_aton... " >&6; }
15566 if ${ac_cv_search_inet_aton+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 ac_func_search_save_LIBS=$LIBS
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15573 /* Override any GCC internal prototype to avoid an error.
15574 Use char because int might match the return type of a GCC
15575 builtin and then its argument prototype would still apply. */
15576 #ifdef __cplusplus
15577 extern "C"
15578 #endif
15579 char inet_aton ();
15581 main ()
15583 return inet_aton ();
15585 return 0;
15587 _ACEOF
15588 for ac_lib in '' resolv; do
15589 if test -z "$ac_lib"; then
15590 ac_res="none required"
15591 else
15592 ac_res=-l$ac_lib
15593 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15595 if ac_fn_c_try_link "$LINENO"; then :
15596 ac_cv_search_inet_aton=$ac_res
15598 rm -f core conftest.err conftest.$ac_objext \
15599 conftest$ac_exeext
15600 if ${ac_cv_search_inet_aton+:} false; then :
15601 break
15603 done
15604 if ${ac_cv_search_inet_aton+:} false; then :
15606 else
15607 ac_cv_search_inet_aton=no
15609 rm conftest.$ac_ext
15610 LIBS=$ac_func_search_save_LIBS
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15613 $as_echo "$ac_cv_search_inet_aton" >&6; }
15614 ac_res=$ac_cv_search_inet_aton
15615 if test "$ac_res" != no; then :
15616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15621 for ac_func in \
15622 getaddrinfo \
15623 getnameinfo \
15624 getnetbyname \
15625 getprotobyname \
15626 getprotobynumber \
15627 getservbyport \
15628 inet_addr \
15629 inet_network \
15630 inet_ntop \
15631 inet_pton \
15632 sendmsg \
15633 socketpair \
15635 do :
15636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15641 _ACEOF
15644 done
15647 ac_save_LIBS=$LIBS
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15649 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15650 if ${ac_cv_search_clock_gettime+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 ac_func_search_save_LIBS=$LIBS
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15657 /* Override any GCC internal prototype to avoid an error.
15658 Use char because int might match the return type of a GCC
15659 builtin and then its argument prototype would still apply. */
15660 #ifdef __cplusplus
15661 extern "C"
15662 #endif
15663 char clock_gettime ();
15665 main ()
15667 return clock_gettime ();
15669 return 0;
15671 _ACEOF
15672 for ac_lib in '' rt; do
15673 if test -z "$ac_lib"; then
15674 ac_res="none required"
15675 else
15676 ac_res=-l$ac_lib
15677 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15679 if ac_fn_c_try_link "$LINENO"; then :
15680 ac_cv_search_clock_gettime=$ac_res
15682 rm -f core conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext
15684 if ${ac_cv_search_clock_gettime+:} false; then :
15685 break
15687 done
15688 if ${ac_cv_search_clock_gettime+:} false; then :
15690 else
15691 ac_cv_search_clock_gettime=no
15693 rm conftest.$ac_ext
15694 LIBS=$ac_func_search_save_LIBS
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15697 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15698 ac_res=$ac_cv_search_clock_gettime
15699 if test "$ac_res" != no; then :
15700 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15702 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15704 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15708 LIBS=$ac_save_LIBS
15710 LDAP_LIBS=""
15712 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15713 then
15714 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15716 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15718 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15719 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15720 $as_echo_n "(cached) " >&6
15721 else
15722 ac_check_lib_save_LIBS=$LIBS
15723 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15727 /* Override any GCC internal prototype to avoid an error.
15728 Use char because int might match the return type of a GCC
15729 builtin and then its argument prototype would still apply. */
15730 #ifdef __cplusplus
15731 extern "C"
15732 #endif
15733 char ldap_initialize ();
15735 main ()
15737 return ldap_initialize ();
15739 return 0;
15741 _ACEOF
15742 if ac_fn_c_try_link "$LINENO"; then :
15743 ac_cv_lib_ldap_r_ldap_initialize=yes
15744 else
15745 ac_cv_lib_ldap_r_ldap_initialize=no
15747 rm -f core conftest.err conftest.$ac_objext \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_lib_save_LIBS
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15752 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15753 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15755 $as_echo_n "checking for ber_init in -llber... " >&6; }
15756 if ${ac_cv_lib_lber_ber_init+:} false; then :
15757 $as_echo_n "(cached) " >&6
15758 else
15759 ac_check_lib_save_LIBS=$LIBS
15760 LIBS="-llber $PTHREAD_LIBS $LIBS"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15764 /* Override any GCC internal prototype to avoid an error.
15765 Use char because int might match the return type of a GCC
15766 builtin and then its argument prototype would still apply. */
15767 #ifdef __cplusplus
15768 extern "C"
15769 #endif
15770 char ber_init ();
15772 main ()
15774 return ber_init ();
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 ac_cv_lib_lber_ber_init=yes
15781 else
15782 ac_cv_lib_lber_ber_init=no
15784 rm -f core conftest.err conftest.$ac_objext \
15785 conftest$ac_exeext conftest.$ac_ext
15786 LIBS=$ac_check_lib_save_LIBS
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15789 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15790 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15792 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15794 LDAP_LIBS="-lldap_r -llber"
15801 ac_wine_check_funcs_save_LIBS="$LIBS"
15802 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15803 for ac_func in \
15804 ldap_count_references \
15805 ldap_first_reference \
15806 ldap_next_reference \
15807 ldap_parse_reference \
15808 ldap_parse_sort_control \
15809 ldap_parse_sortresponse_control \
15810 ldap_parse_vlv_control \
15811 ldap_parse_vlvresponse_control
15812 do :
15813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15818 _ACEOF
15821 done
15823 LIBS="$ac_wine_check_funcs_save_LIBS"
15825 if test "x$LDAP_LIBS" = "x"; then :
15826 case "x$with_ldap" in
15827 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15828 xno) ;;
15829 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15830 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15831 esac
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15836 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15837 if ${wine_cv_one_arg_mkdir+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15842 #include <sys/stat.h>
15844 main ()
15846 mkdir("foo");
15848 return 0;
15850 _ACEOF
15851 if ac_fn_c_try_compile "$LINENO"; then :
15852 wine_cv_one_arg_mkdir=yes
15853 else
15854 wine_cv_one_arg_mkdir=no
15856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15859 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15860 if test "$wine_cv_one_arg_mkdir" = "yes"
15861 then
15863 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15868 $as_echo_n "checking for sched_setaffinity... " >&6; }
15869 if ${wine_cv_have_sched_setaffinity+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15874 #define _GNU_SOURCE
15875 #include <sched.h>
15877 main ()
15879 sched_setaffinity(0, 0, 0);
15881 return 0;
15883 _ACEOF
15884 if ac_fn_c_try_link "$LINENO"; then :
15885 wine_cv_have_sched_setaffinity=yes
15886 else
15887 wine_cv_have_sched_setaffinity=no
15889 rm -f core conftest.err conftest.$ac_objext \
15890 conftest$ac_exeext conftest.$ac_ext
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15893 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15894 if test "$wine_cv_have_sched_setaffinity" = "yes"
15895 then
15897 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15902 $as_echo_n "checking for fallocate... " >&6; }
15903 if ${wine_cv_have_fallocate+:} false; then :
15904 $as_echo_n "(cached) " >&6
15905 else
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15908 #define _GNU_SOURCE
15909 #include <fcntl.h>
15911 main ()
15913 fallocate(-1, 0, 0, 0);
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 wine_cv_have_fallocate=yes
15920 else
15921 wine_cv_have_fallocate=no
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext conftest.$ac_ext
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15927 $as_echo "$wine_cv_have_fallocate" >&6; }
15928 if test "$wine_cv_have_fallocate" = "yes"
15929 then
15931 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15937 $as_echo_n "checking for inline... " >&6; }
15938 if ${ac_cv_c_inline+:} false; then :
15939 $as_echo_n "(cached) " >&6
15940 else
15941 ac_cv_c_inline=no
15942 for ac_kw in inline __inline__ __inline; do
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15945 #ifndef __cplusplus
15946 typedef int foo_t;
15947 static $ac_kw foo_t static_foo () {return 0; }
15948 $ac_kw foo_t foo () {return 0; }
15949 #endif
15951 _ACEOF
15952 if ac_fn_c_try_compile "$LINENO"; then :
15953 ac_cv_c_inline=$ac_kw
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 test "$ac_cv_c_inline" != no && break
15957 done
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15961 $as_echo "$ac_cv_c_inline" >&6; }
15963 case $ac_cv_c_inline in
15964 inline | yes) ;;
15966 case $ac_cv_c_inline in
15967 no) ac_val=;;
15968 *) ac_val=$ac_cv_c_inline;;
15969 esac
15970 cat >>confdefs.h <<_ACEOF
15971 #ifndef __cplusplus
15972 #define inline $ac_val
15973 #endif
15974 _ACEOF
15976 esac
15978 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15979 if test "x$ac_cv_type_mode_t" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_MODE_T 1
15983 _ACEOF
15987 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15988 if test "x$ac_cv_type_off_t" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_OFF_T 1
15992 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_pid_t" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_PID_T 1
16001 _ACEOF
16005 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16006 if test "x$ac_cv_type_size_t" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_SIZE_T 1
16010 _ACEOF
16014 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16015 if test "x$ac_cv_type_ssize_t" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_SSIZE_T 1
16019 _ACEOF
16023 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16024 if test "x$ac_cv_type_long_long" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_LONG_LONG 1
16028 _ACEOF
16032 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16033 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_FSBLKCNT_T 1
16037 _ACEOF
16041 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16042 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_FSFILCNT_T 1
16046 _ACEOF
16051 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16052 #include <signal.h>
16054 if test "x$ac_cv_type_sigset_t" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_SIGSET_T 1
16058 _ACEOF
16063 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16065 if test "x$ac_cv_type_request_sense" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_REQUEST_SENSE 1
16069 _ACEOF
16075 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_SOCKET_H
16077 #include <sys/socket.h>
16078 #endif
16079 #ifdef HAVE_SYS_SOCKETVAR_H
16080 #include <sys/socketvar.h>
16081 #endif
16082 #ifdef HAVE_NET_ROUTE_H
16083 #include <net/route.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_H
16086 #include <netinet/in.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_SYSTM_H
16089 #include <netinet/in_systm.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_H
16092 #include <netinet/ip.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IN_PCB_H
16095 #include <netinet/in_pcb.h>
16096 #endif
16098 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_XINPGEN 1
16102 _ACEOF
16108 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16109 #include <link.h>
16110 #endif
16111 #ifdef HAVE_SYS_LINK_H
16112 #include <sys/link.h>
16113 #endif
16115 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16117 cat >>confdefs.h <<_ACEOF
16118 #define HAVE_STRUCT_R_DEBUG 1
16119 _ACEOF
16123 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16124 #include <link.h>
16125 #endif
16126 #ifdef HAVE_SYS_LINK_H
16127 #include <sys/link.h>
16128 #endif
16130 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_LINK_MAP 1
16134 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16141 #include <linux/input.h>
16142 #endif
16144 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16146 cat >>confdefs.h <<_ACEOF
16147 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16148 _ACEOF
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16155 $as_echo_n "checking for sigaddset... " >&6; }
16156 if ${wine_cv_have_sigaddset+:} false; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <signal.h>
16163 main ()
16165 sigset_t set; sigaddset(&set,SIGTERM);
16167 return 0;
16169 _ACEOF
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 wine_cv_have_sigaddset=yes
16172 else
16173 wine_cv_have_sigaddset=no
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16179 $as_echo "$wine_cv_have_sigaddset" >&6; }
16180 if test "$wine_cv_have_sigaddset" = "yes"
16181 then
16183 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16189 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16190 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16191 $as_echo_n "(cached) " >&6
16192 else
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 #include <netdb.h>
16197 main ()
16200 char *name=0;
16201 struct hostent he;
16202 struct hostent *result;
16203 char *buf=0;
16204 int bufsize=0;
16205 int errnr;
16206 char *addr=0;
16207 int addrlen=0;
16208 int addrtype=0;
16209 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16210 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16213 return 0;
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217 wine_cv_linux_gethostbyname_r_6=yes
16218 else
16219 wine_cv_linux_gethostbyname_r_6=no
16222 rm -f core conftest.err conftest.$ac_objext \
16223 conftest$ac_exeext conftest.$ac_ext
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16227 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16228 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16229 then
16231 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16235 if test "$ac_cv_header_linux_joystick_h" = "yes"
16236 then
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16238 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16239 if ${wine_cv_linux_joystick_22_api+:} false; then :
16240 $as_echo_n "(cached) " >&6
16241 else
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16245 #include <sys/ioctl.h>
16246 #include <sys/types.h>
16247 #include <linux/joystick.h>
16249 struct js_event blub;
16250 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16251 #error "no 2.2 header"
16252 #endif
16255 main ()
16257 /*empty*/
16259 return 0;
16261 _ACEOF
16262 if ac_fn_c_try_compile "$LINENO"; then :
16263 wine_cv_linux_joystick_22_api=yes
16264 else
16265 wine_cv_linux_joystick_22_api=no
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16271 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16272 if test "$wine_cv_linux_joystick_22_api" = "yes"
16273 then
16275 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16281 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16282 #ifdef HAVE_SYS_PARAM_H
16283 # include <sys/param.h>
16284 #endif
16285 #ifdef HAVE_SYS_MOUNT_H
16286 # include <sys/mount.h>
16287 #endif
16288 #ifdef HAVE_SYS_VFS_H
16289 # include <sys/vfs.h>
16290 #endif
16291 #ifdef HAVE_SYS_STATFS_H
16292 # include <sys/statfs.h>
16293 #endif
16295 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_STATFS_F_BFREE 1
16299 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16304 #ifdef HAVE_SYS_PARAM_H
16305 # include <sys/param.h>
16306 #endif
16307 #ifdef HAVE_SYS_MOUNT_H
16308 # include <sys/mount.h>
16309 #endif
16310 #ifdef HAVE_SYS_VFS_H
16311 # include <sys/vfs.h>
16312 #endif
16313 #ifdef HAVE_SYS_STATFS_H
16314 # include <sys/statfs.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16321 _ACEOF
16325 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16326 #ifdef HAVE_SYS_PARAM_H
16327 # include <sys/param.h>
16328 #endif
16329 #ifdef HAVE_SYS_MOUNT_H
16330 # include <sys/mount.h>
16331 #endif
16332 #ifdef HAVE_SYS_VFS_H
16333 # include <sys/vfs.h>
16334 #endif
16335 #ifdef HAVE_SYS_STATFS_H
16336 # include <sys/statfs.h>
16337 #endif
16339 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16343 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16348 #ifdef HAVE_SYS_PARAM_H
16349 # include <sys/param.h>
16350 #endif
16351 #ifdef HAVE_SYS_MOUNT_H
16352 # include <sys/mount.h>
16353 #endif
16354 #ifdef HAVE_SYS_VFS_H
16355 # include <sys/vfs.h>
16356 #endif
16357 #ifdef HAVE_SYS_STATFS_H
16358 # include <sys/statfs.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_STATFS_F_FFREE 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_PARAM_H
16371 # include <sys/param.h>
16372 #endif
16373 #ifdef HAVE_SYS_MOUNT_H
16374 # include <sys/mount.h>
16375 #endif
16376 #ifdef HAVE_SYS_VFS_H
16377 # include <sys/vfs.h>
16378 #endif
16379 #ifdef HAVE_SYS_STATFS_H
16380 # include <sys/statfs.h>
16381 #endif
16383 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16387 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16392 #ifdef HAVE_SYS_PARAM_H
16393 # include <sys/param.h>
16394 #endif
16395 #ifdef HAVE_SYS_MOUNT_H
16396 # include <sys/mount.h>
16397 #endif
16398 #ifdef HAVE_SYS_VFS_H
16399 # include <sys/vfs.h>
16400 #endif
16401 #ifdef HAVE_SYS_STATFS_H
16402 # include <sys/statfs.h>
16403 #endif
16405 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16409 _ACEOF
16415 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16416 #include <sys/statvfs.h>
16417 #endif
16419 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16423 _ACEOF
16429 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16430 #include <dirent.h>
16431 #endif
16433 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16437 _ACEOF
16443 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16444 #ifdef HAVE_SYS_SOCKET_H
16445 # include <sys/socket.h>
16446 #endif
16447 #ifdef HAVE_SYS_UN_H
16448 # include <sys/un.h>
16449 #endif
16451 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16455 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16460 #ifdef HAVE_SYS_SOCKET_H
16461 # include <sys/socket.h>
16462 #endif
16463 #ifdef HAVE_SYS_UN_H
16464 # include <sys/un.h>
16465 #endif
16467 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16471 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16476 #ifdef HAVE_SYS_SOCKET_H
16477 # include <sys/socket.h>
16478 #endif
16479 #ifdef HAVE_SYS_UN_H
16480 # include <sys/un.h>
16481 #endif
16483 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16487 _ACEOF
16493 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16494 #ifdef HAVE_SCSI_SG_H
16495 #include <scsi/sg.h>
16496 #endif
16498 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_SCSIREQ_T_CMD 1
16502 _ACEOF
16506 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>
16507 #ifdef HAVE_SCSI_SG_H
16508 #include <scsi/sg.h>
16509 #endif
16511 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16515 _ACEOF
16521 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16523 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_SIGINFO_T_SI_FD 1
16527 _ACEOF
16533 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16534 #ifdef HAVE_SYS_MTIO_H
16535 #include <sys/mtio.h>
16536 #endif
16538 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16542 _ACEOF
16546 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16547 #ifdef HAVE_SYS_MTIO_H
16548 #include <sys/mtio.h>
16549 #endif
16551 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16555 _ACEOF
16559 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16560 #ifdef HAVE_SYS_MTIO_H
16561 #include <sys/mtio.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16575 #include <getopt.h>
16576 #endif
16578 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_OPTION_NAME 1
16582 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16589 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16593 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16598 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_STAT_ST_MTIM 1
16602 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16607 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16611 _ACEOF
16615 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16616 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_STAT_ST_CTIM 1
16620 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16629 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_ATIM 1
16638 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16661 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16665 _ACEOF
16669 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16670 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16674 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16679 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16683 _ACEOF
16687 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16688 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16692 _ACEOF
16698 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
16699 #include <sys/types.h>
16700 #endif
16701 #ifdef HAVE_NETINET_IN_H
16702 #include <netinet/in.h>
16703 #endif
16705 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16709 _ACEOF
16715 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16716 #include <sys/types.h>
16717 #endif
16718 #ifdef HAVE_NETINET_IN_H
16719 #include <netinet/in.h>
16720 #endif
16721 #ifdef HAVE_RESOLV_H
16722 #include <resolv.h>
16723 #endif
16725 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_STRUCT___RES_STATE 1
16729 _ACEOF
16735 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
16736 #include <resolv.h>
16737 #endif
16739 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16750 #include <sys/types.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IN_H
16753 # include <netinet/in.h>
16754 #endif
16755 #ifdef HAVE_ARPA_NAMESER_H
16756 # include <arpa/nameser.h>
16757 #endif
16759 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_NS_MSG__MSG_PTR 1
16763 _ACEOF
16769 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16770 #include <sys/types.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IN_H
16773 #include <netinet/in.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IP_H
16776 #include <netinet/ip.h>
16777 #endif
16778 #ifdef HAVE_NETINET_IP_ICMP_H
16779 #include <netinet/ip_icmp.h>
16780 #endif
16781 #ifdef HAVE_NETINET_ICMP_VAR_H
16782 #include <netinet/icmp_var.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16789 _ACEOF
16795 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16796 #include <sys/types.h>
16797 #endif
16798 #ifdef HAVE_ALIAS_H
16799 #include <alias.h>
16800 #endif
16801 #ifdef HAVE_SYS_SOCKET_H
16802 #include <sys/socket.h>
16803 #endif
16804 #ifdef HAVE_SYS_SOCKETVAR_H
16805 #include <sys/socketvar.h>
16806 #endif
16807 #ifdef HAVE_SYS_TIMEOUT_H
16808 #include <sys/timeout.h>
16809 #endif
16810 #ifdef HAVE_NETINET_IN_H
16811 #include <netinet/in.h>
16812 #endif
16813 #ifdef HAVE_NETINET_IN_SYSTM_H
16814 #include <netinet/in_systm.h>
16815 #endif
16816 #ifdef HAVE_NETINET_IP_H
16817 #include <netinet/ip.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IP_VAR_H
16820 #include <netinet/ip_var.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IP_ICMP_H
16823 #include <netinet/ip_icmp.h>
16824 #endif
16825 #ifdef HAVE_NETINET_ICMP_VAR_H
16826 #include <netinet/icmp_var.h>
16827 #endif
16829 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16833 _ACEOF
16839 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16840 #include <sys/types.h>
16841 #endif
16842 #ifdef HAVE_SYS_SOCKETVAR_H
16843 #include <sys/socketvar.h>
16844 #endif
16845 #ifdef HAVE_NETINET_IN_H
16846 #include <netinet/in.h>
16847 #endif
16848 #ifdef HAVE_NETINET_IP_VAR_H
16849 #include <netinet/ip_var.h>
16850 #endif
16852 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16854 cat >>confdefs.h <<_ACEOF
16855 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16856 _ACEOF
16862 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
16863 #include <netinet/ip_var.h>
16864 #endif
16866 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16870 _ACEOF
16876 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16877 #include <sys/types.h>
16878 #endif
16879 #ifdef HAVE_SYS_SOCKETVAR_H
16880 #include <sys/socketvar.h>
16881 #endif
16882 #ifdef HAVE_NETINET_IN_H
16883 #include <netinet/in.h>
16884 #endif
16885 #ifdef HAVE_NETINET_TCP_H
16886 #include <netinet/tcp.h>
16887 #endif
16888 #ifdef HAVE_NETINET_TCP_VAR_H
16889 #include <netinet/tcp_var.h>
16890 #endif
16892 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16896 _ACEOF
16902 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
16903 #include <netinet/tcp_var.h>
16904 #endif
16906 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16910 _ACEOF
16916 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16917 #include <sys/types.h>
16918 #endif
16919 #ifdef HAVE_NETINET_IN_H
16920 #include <netinet/in.h>
16921 #endif
16922 #ifdef HAVE_NETINET_IP_VAR_H
16923 #include <netinet/ip_var.h>
16924 #endif
16925 #ifdef HAVE_NETINET_UDP_H
16926 #include <netinet/udp.h>
16927 #endif
16928 #ifdef HAVE_NETINET_UDP_VAR_H
16929 #include <netinet/udp_var.h>
16930 #endif
16932 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16936 _ACEOF
16942 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16943 #include <sys/types.h>
16944 #endif
16945 #ifdef HAVE_NET_IF_H
16946 # include <net/if.h>
16947 #endif
16949 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16953 _ACEOF
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16960 $as_echo_n "checking for timezone variable... " >&6; }
16961 if ${ac_cv_have_timezone+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <time.h>
16968 main ()
16970 timezone = 1
16972 return 0;
16974 _ACEOF
16975 if ac_fn_c_try_link "$LINENO"; then :
16976 ac_cv_have_timezone="yes"
16977 else
16978 ac_cv_have_timezone="no"
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16984 $as_echo "$ac_cv_have_timezone" >&6; }
16985 if test "$ac_cv_have_timezone" = "yes"
16986 then
16988 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16992 $as_echo_n "checking for daylight variable... " >&6; }
16993 if ${ac_cv_have_daylight+:} false; then :
16994 $as_echo_n "(cached) " >&6
16995 else
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 #include <time.h>
17000 main ()
17002 daylight = 1
17004 return 0;
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_have_daylight="yes"
17009 else
17010 ac_cv_have_daylight="no"
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17016 $as_echo "$ac_cv_have_daylight" >&6; }
17017 if test "$ac_cv_have_daylight" = "yes"
17018 then
17020 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17024 ac_save_LIBS="$LIBS"
17025 LIBS="$LIBS -lm"
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17027 $as_echo_n "checking for isfinite... " >&6; }
17028 if ${ac_cv_have_isfinite+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #define _GNU_SOURCE
17034 #include <math.h>
17036 main ()
17038 float f = 0.0; return isfinite(f)
17040 return 0;
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_have_isfinite="yes"
17045 else
17046 ac_cv_have_isfinite="no"
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17052 $as_echo "$ac_cv_have_isfinite" >&6; }
17053 if test "$ac_cv_have_isfinite" = "yes"
17054 then
17056 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17061 $as_echo_n "checking for isinf... " >&6; }
17062 if ${ac_cv_have_isinf+:} false; then :
17063 $as_echo_n "(cached) " >&6
17064 else
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 #include <math.h>
17069 main ()
17071 float f = 0.0; return isinf(f)
17073 return 0;
17075 _ACEOF
17076 if ac_fn_c_try_link "$LINENO"; then :
17077 ac_cv_have_isinf="yes"
17078 else
17079 ac_cv_have_isinf="no"
17081 rm -f core conftest.err conftest.$ac_objext \
17082 conftest$ac_exeext conftest.$ac_ext
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17085 $as_echo "$ac_cv_have_isinf" >&6; }
17086 if test "$ac_cv_have_isinf" = "yes"
17087 then
17089 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17094 $as_echo_n "checking for isnan... " >&6; }
17095 if ${ac_cv_have_isnan+:} false; then :
17096 $as_echo_n "(cached) " >&6
17097 else
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <math.h>
17102 main ()
17104 float f = 0.0; return isnan(f)
17106 return 0;
17108 _ACEOF
17109 if ac_fn_c_try_link "$LINENO"; then :
17110 ac_cv_have_isnan="yes"
17111 else
17112 ac_cv_have_isnan="no"
17114 rm -f core conftest.err conftest.$ac_objext \
17115 conftest$ac_exeext conftest.$ac_ext
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17118 $as_echo "$ac_cv_have_isnan" >&6; }
17119 if test "$ac_cv_have_isnan" = "yes"
17120 then
17122 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17126 for ac_func in \
17127 asinh \
17128 asinhf \
17129 cbrt \
17130 cbrtf \
17131 erf \
17132 erff \
17133 exp2 \
17134 exp2f \
17135 lgamma \
17136 lgammaf \
17137 llrint \
17138 llrintf \
17139 llround \
17140 llroundf \
17141 log2 \
17142 log2f \
17143 lrint \
17144 lrintf \
17145 lround \
17146 lroundf \
17147 nearbyint \
17148 nearbyintf \
17149 powl \
17150 remainder \
17151 remainderf \
17152 rint \
17153 rintf \
17154 round \
17155 roundf \
17156 trunc \
17157 truncf
17159 do :
17160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17163 cat >>confdefs.h <<_ACEOF
17164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17165 _ACEOF
17168 done
17170 LIBS="$ac_save_LIBS"
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17173 $as_echo_n "checking for __builtin_clz... " >&6; }
17174 if ${ac_cv_have___builtin_clz+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17181 main ()
17183 return __builtin_clz(1)
17185 return 0;
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 ac_cv_have___builtin_clz="yes"
17190 else
17191 ac_cv_have___builtin_clz="no"
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17197 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17198 if test "$ac_cv_have___builtin_clz" = "yes"
17199 then
17201 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17206 $as_echo_n "checking for __builtin_popcount... " >&6; }
17207 if ${ac_cv_have___builtin_popcount+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17214 main ()
17216 return __builtin_popcount(1)
17218 return 0;
17220 _ACEOF
17221 if ac_fn_c_try_link "$LINENO"; then :
17222 ac_cv_have___builtin_popcount="yes"
17223 else
17224 ac_cv_have___builtin_popcount="no"
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17230 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17231 if test "$ac_cv_have___builtin_popcount" = "yes"
17232 then
17234 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17239 case $host_cpu in
17240 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17241 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17242 if ${ac_cv_cpp_def___i386__+:} false; then :
17243 $as_echo_n "(cached) " >&6
17244 else
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 #ifndef __i386__
17249 #endif
17250 _ACEOF
17251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17252 $EGREP "yes" >/dev/null 2>&1; then :
17253 ac_cv_cpp_def___i386__=yes
17254 else
17255 ac_cv_cpp_def___i386__=no
17257 rm -f conftest*
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17261 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17262 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17263 CFLAGS="$CFLAGS -D__i386__"
17264 LINTFLAGS="$LINTFLAGS -D__i386__"
17265 fi ;;
17266 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17267 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17268 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 #ifndef __x86_64__
17275 #endif
17276 _ACEOF
17277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17278 $EGREP "yes" >/dev/null 2>&1; then :
17279 ac_cv_cpp_def___x86_64__=yes
17280 else
17281 ac_cv_cpp_def___x86_64__=no
17283 rm -f conftest*
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17287 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17288 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17289 CFLAGS="$CFLAGS -D__x86_64__"
17290 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17291 fi ;;
17292 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17293 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17294 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #ifndef __sparc64__
17301 #endif
17302 _ACEOF
17303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17304 $EGREP "yes" >/dev/null 2>&1; then :
17305 ac_cv_cpp_def___sparc64__=yes
17306 else
17307 ac_cv_cpp_def___sparc64__=no
17309 rm -f conftest*
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17313 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17314 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17315 CFLAGS="$CFLAGS -D__sparc64__"
17316 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17317 fi ;;
17318 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17319 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17320 if ${ac_cv_cpp_def___sparc__+:} false; then :
17321 $as_echo_n "(cached) " >&6
17322 else
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 #ifndef __sparc__
17327 #endif
17328 _ACEOF
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "yes" >/dev/null 2>&1; then :
17331 ac_cv_cpp_def___sparc__=yes
17332 else
17333 ac_cv_cpp_def___sparc__=no
17335 rm -f conftest*
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17339 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17340 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17341 CFLAGS="$CFLAGS -D__sparc__"
17342 LINTFLAGS="$LINTFLAGS -D__sparc__"
17343 fi ;;
17344 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17345 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17346 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #ifndef __powerpc64__
17353 #endif
17354 _ACEOF
17355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17356 $EGREP "yes" >/dev/null 2>&1; then :
17357 ac_cv_cpp_def___powerpc64__=yes
17358 else
17359 ac_cv_cpp_def___powerpc64__=no
17361 rm -f conftest*
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17365 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17366 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17367 CFLAGS="$CFLAGS -D__powerpc64__"
17368 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17369 fi ;;
17370 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17371 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17372 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17373 $as_echo_n "(cached) " >&6
17374 else
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #ifndef __powerpc__
17379 #endif
17380 _ACEOF
17381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17382 $EGREP "yes" >/dev/null 2>&1; then :
17383 ac_cv_cpp_def___powerpc__=yes
17384 else
17385 ac_cv_cpp_def___powerpc__=no
17387 rm -f conftest*
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17391 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17392 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17393 CFLAGS="$CFLAGS -D__powerpc__"
17394 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17395 fi ;;
17396 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17397 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17398 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17399 $as_echo_n "(cached) " >&6
17400 else
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 #ifndef __aarch64__
17405 #endif
17406 _ACEOF
17407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17408 $EGREP "yes" >/dev/null 2>&1; then :
17409 ac_cv_cpp_def___aarch64__=yes
17410 else
17411 ac_cv_cpp_def___aarch64__=no
17413 rm -f conftest*
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17417 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17418 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17419 CFLAGS="$CFLAGS -D__aarch64__"
17420 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17421 fi ;;
17422 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17423 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17424 if ${ac_cv_cpp_def___arm__+:} false; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 #ifndef __arm__
17431 #endif
17432 _ACEOF
17433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17434 $EGREP "yes" >/dev/null 2>&1; then :
17435 ac_cv_cpp_def___arm__=yes
17436 else
17437 ac_cv_cpp_def___arm__=no
17439 rm -f conftest*
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17443 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17444 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17445 CFLAGS="$CFLAGS -D__arm__"
17446 LINTFLAGS="$LINTFLAGS -D__arm__"
17447 fi ;;
17448 esac
17450 case $host_vendor in
17451 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17452 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17453 if ${ac_cv_cpp_def___sun__+:} false; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #ifndef __sun__
17460 #endif
17461 _ACEOF
17462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17463 $EGREP "yes" >/dev/null 2>&1; then :
17464 ac_cv_cpp_def___sun__=yes
17465 else
17466 ac_cv_cpp_def___sun__=no
17468 rm -f conftest*
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17472 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17473 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17474 CFLAGS="$CFLAGS -D__sun__"
17475 LINTFLAGS="$LINTFLAGS -D__sun__"
17476 fi ;;
17477 esac
17483 ac_config_commands="$ac_config_commands include/stamp-h"
17485 $as_echo_n "creating Makefile rules..." >&6
17487 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17488 SOCKET_LIBS = $SOCKET_LIBS
17489 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17490 IOKIT_LIBS = $IOKIT_LIBS
17491 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17492 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17493 CORESERVICES_LIBS = $CORESERVICES_LIBS
17494 APPKIT_LIBS = $APPKIT_LIBS
17495 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17496 SECURITY_LIBS = $SECURITY_LIBS
17497 COREAUDIO_LIBS = $COREAUDIO_LIBS
17498 OPENAL_LIBS = $OPENAL_LIBS
17499 OPENCL_LIBS = $OPENCL_LIBS
17500 QUICKTIME_LIBS = $QUICKTIME_LIBS
17501 CARBON_LIBS = $CARBON_LIBS
17502 PTHREAD_LIBS = $PTHREAD_LIBS
17503 X_CFLAGS = $X_CFLAGS
17504 X_PRE_LIBS = $X_PRE_LIBS
17505 X_LIBS = $X_LIBS
17506 X_EXTRA_LIBS = $X_EXTRA_LIBS
17507 PCAP_LIBS = $PCAP_LIBS
17508 XML2_CFLAGS = $XML2_CFLAGS
17509 XML2_LIBS = $XML2_LIBS
17510 XSLT_CFLAGS = $XSLT_CFLAGS
17511 XSLT_LIBS = $XSLT_LIBS
17512 DBUS_CFLAGS = $DBUS_CFLAGS
17513 DBUS_LIBS = $DBUS_LIBS
17514 HAL_CFLAGS = $HAL_CFLAGS
17515 HAL_LIBS = $HAL_LIBS
17516 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17517 GNUTLS_LIBS = $GNUTLS_LIBS
17518 SANE_CFLAGS = $SANE_CFLAGS
17519 SANE_LIBS = $SANE_LIBS
17520 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17521 GPHOTO2_LIBS = $GPHOTO2_LIBS
17522 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17523 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17524 RESOLV_LIBS = $RESOLV_LIBS
17525 LCMS2_CFLAGS = $LCMS2_CFLAGS
17526 LCMS2_LIBS = $LCMS2_LIBS
17527 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17528 FREETYPE_LIBS = $FREETYPE_LIBS
17529 Z_LIBS = $Z_LIBS
17530 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17531 PULSE_CFLAGS = $PULSE_CFLAGS
17532 PULSE_LIBS = $PULSE_LIBS
17533 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17534 GSTREAMER_LIBS = $GSTREAMER_LIBS
17535 ALSA_LIBS = $ALSA_LIBS
17536 OSS4_CFLAGS = $OSS4_CFLAGS
17537 UDEV_CFLAGS = $UDEV_CFLAGS
17538 UDEV_LIBS = $UDEV_LIBS
17539 CAPI20_CFLAGS = $CAPI20_CFLAGS
17540 CAPI20_LIBS = $CAPI20_LIBS
17541 CUPS_CFLAGS = $CUPS_CFLAGS
17542 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17543 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17544 JPEG_CFLAGS = $JPEG_CFLAGS
17545 JPEG_LIBS = $JPEG_LIBS
17546 PNG_CFLAGS = $PNG_CFLAGS
17547 PNG_LIBS = $PNG_LIBS
17548 TIFF_CFLAGS = $TIFF_CFLAGS
17549 TIFF_LIBS = $TIFF_LIBS
17550 MPG123_CFLAGS = $MPG123_CFLAGS
17551 MPG123_LIBS = $MPG123_LIBS
17552 KSTAT_LIBS = $KSTAT_LIBS
17553 PROCSTAT_LIBS = $PROCSTAT_LIBS
17554 NETAPI_CFLAGS = $NETAPI_CFLAGS
17555 NETAPI_LIBS = $NETAPI_LIBS
17556 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17557 DL_LIBS = $DL_LIBS
17558 POLL_LIBS = $POLL_LIBS
17559 RT_LIBS = $RT_LIBS
17560 LDAP_LIBS = $LDAP_LIBS
17565 wine_fn_append_rule "
17566 # Rules automatically generated by configure
17568 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17570 .INIT: Makefile
17571 .MAKEFILEDEPS:
17572 all: Makefile
17573 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17574 @./config.status Make.tmp Makefile
17575 depend: \$(MAKEDEP) dummy
17576 \$(MAKEDEP)"
17578 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17579 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17581 if test "x$enable_fonts" != xno; then
17582 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17583 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17584 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17585 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17586 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17587 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17589 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17590 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17591 ac_config_links="$ac_config_links wine:tools/winewrapper"
17592 wine_fn_config_symlink wine
17593 if test "x$enable_win64" != xno; then
17594 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17595 wine_fn_config_symlink wine64
17598 wine_fn_config_dll acledit enable_acledit
17599 wine_fn_config_dll aclui enable_aclui implib
17600 wine_fn_config_dll activeds enable_activeds implib
17601 wine_fn_config_dll actxprxy enable_actxprxy clean
17602 wine_fn_config_lib adsiid
17603 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17604 wine_fn_config_test dlls/advapi32/tests advapi32_test
17605 wine_fn_config_dll advpack enable_advpack implib
17606 wine_fn_config_test dlls/advpack/tests advpack_test
17607 wine_fn_config_dll amstream enable_amstream clean
17608 wine_fn_config_test dlls/amstream/tests amstream_test
17609 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17610 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17613 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17621 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17630 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17634 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17635 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17636 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17637 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17645 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17647 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17650 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17652 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17653 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17654 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17657 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17658 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17660 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17664 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17665 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17668 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17674 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17676 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17677 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17685 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17690 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17694 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17696 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17697 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17699 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17710 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17711 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17717 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17720 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17721 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17722 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17723 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17724 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17725 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17726 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17727 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17732 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17733 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17734 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17735 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17736 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17737 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17738 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17739 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17740 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17741 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17742 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17743 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17744 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17745 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17746 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17747 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17748 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17749 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17750 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17751 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17752 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17753 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17754 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17755 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17756 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17757 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17758 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17759 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17760 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17761 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17762 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17763 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17764 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17765 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17766 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17767 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17768 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17769 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17770 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17771 wine_fn_config_dll apphelp enable_apphelp
17772 wine_fn_config_test dlls/apphelp/tests apphelp_test
17773 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17774 wine_fn_config_dll atl enable_atl clean,implib
17775 wine_fn_config_test dlls/atl/tests atl_test
17776 wine_fn_config_dll atl100 enable_atl100 clean,implib
17777 wine_fn_config_test dlls/atl100/tests atl100_test
17778 wine_fn_config_dll atl110 enable_atl110 clean
17779 wine_fn_config_dll atl80 enable_atl80 clean,implib
17780 wine_fn_config_test dlls/atl80/tests atl80_test
17781 wine_fn_config_dll atl90 enable_atl90 clean
17782 wine_fn_config_dll authz enable_authz
17783 wine_fn_config_dll avicap32 enable_avicap32 implib
17784 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17785 wine_fn_config_test dlls/avifil32/tests avifil32_test
17786 wine_fn_config_dll avifile.dll16 enable_win16
17787 wine_fn_config_dll avrt enable_avrt implib
17788 wine_fn_config_dll bcrypt enable_bcrypt implib
17789 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17790 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17791 wine_fn_config_dll browseui enable_browseui clean
17792 wine_fn_config_test dlls/browseui/tests browseui_test
17793 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17794 wine_fn_config_dll cabinet enable_cabinet implib
17795 wine_fn_config_test dlls/cabinet/tests cabinet_test
17796 wine_fn_config_dll capi2032 enable_capi2032 implib
17797 wine_fn_config_dll cards enable_cards implib
17798 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17799 wine_fn_config_dll clusapi enable_clusapi implib
17800 wine_fn_config_dll combase enable_combase
17801 wine_fn_config_test dlls/combase/tests combase_test
17802 wine_fn_config_dll comcat enable_comcat
17803 wine_fn_config_test dlls/comcat/tests comcat_test
17804 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17805 wine_fn_config_test dlls/comctl32/tests comctl32_test
17806 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17807 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17808 wine_fn_config_dll comm.drv16 enable_win16
17809 wine_fn_config_dll commdlg.dll16 enable_win16
17810 wine_fn_config_dll compobj.dll16 enable_win16
17811 wine_fn_config_dll compstui enable_compstui implib
17812 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17813 wine_fn_config_dll concrt140 enable_concrt140
17814 wine_fn_config_dll connect enable_connect
17815 wine_fn_config_dll credui enable_credui clean,implib
17816 wine_fn_config_test dlls/credui/tests credui_test
17817 wine_fn_config_dll crtdll enable_crtdll
17818 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17819 wine_fn_config_test dlls/crypt32/tests crypt32_test
17820 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17821 wine_fn_config_dll cryptdll enable_cryptdll implib
17822 wine_fn_config_dll cryptext enable_cryptext
17823 wine_fn_config_dll cryptnet enable_cryptnet implib
17824 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17825 wine_fn_config_dll cryptui enable_cryptui clean,implib
17826 wine_fn_config_test dlls/cryptui/tests cryptui_test
17827 wine_fn_config_dll ctapi32 enable_ctapi32
17828 wine_fn_config_dll ctl3d.dll16 enable_win16
17829 wine_fn_config_dll ctl3d32 enable_ctl3d32
17830 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17831 wine_fn_config_dll d2d1 enable_d2d1 implib
17832 wine_fn_config_test dlls/d2d1/tests d2d1_test
17833 wine_fn_config_dll d3d10 enable_d3d10 implib
17834 wine_fn_config_test dlls/d3d10/tests d3d10_test
17835 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17836 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17837 wine_fn_config_dll d3d10core enable_d3d10core implib
17838 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17839 wine_fn_config_dll d3d11 enable_d3d11 implib
17840 wine_fn_config_test dlls/d3d11/tests d3d11_test
17841 wine_fn_config_dll d3d8 enable_d3d8 implib
17842 wine_fn_config_test dlls/d3d8/tests d3d8_test
17843 wine_fn_config_dll d3d9 enable_d3d9 implib
17844 wine_fn_config_test dlls/d3d9/tests d3d9_test
17845 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17846 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17847 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17848 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17849 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17850 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17851 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17852 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17853 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17854 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17855 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17856 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17857 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17858 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17859 wine_fn_config_dll d3dim enable_d3dim
17860 wine_fn_config_dll d3drm enable_d3drm implib
17861 wine_fn_config_test dlls/d3drm/tests d3drm_test
17862 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17863 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17864 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17865 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17866 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17867 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17868 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17869 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17870 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17871 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17872 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17873 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17874 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17875 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17876 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17877 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17878 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17879 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17880 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17881 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17882 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17883 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17884 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17885 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17886 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17887 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17888 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17889 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17890 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17891 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17892 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17893 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17894 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17895 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17896 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17897 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17898 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17899 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17900 wine_fn_config_dll davclnt enable_davclnt
17901 wine_fn_config_dll dbgeng enable_dbgeng implib
17902 wine_fn_config_dll dbghelp enable_dbghelp implib
17903 wine_fn_config_dll dciman32 enable_dciman32 implib
17904 wine_fn_config_dll ddeml.dll16 enable_win16
17905 wine_fn_config_dll ddraw enable_ddraw clean,implib
17906 wine_fn_config_test dlls/ddraw/tests ddraw_test
17907 wine_fn_config_dll ddrawex enable_ddrawex clean
17908 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17909 wine_fn_config_dll devenum enable_devenum clean
17910 wine_fn_config_test dlls/devenum/tests devenum_test
17911 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17912 wine_fn_config_dll difxapi enable_difxapi
17913 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17914 wine_fn_config_test dlls/dinput/tests dinput_test
17915 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17916 wine_fn_config_test dlls/dinput8/tests dinput8_test
17917 wine_fn_config_dll dispdib.dll16 enable_win16
17918 wine_fn_config_dll dispex enable_dispex clean
17919 wine_fn_config_test dlls/dispex/tests dispex_test
17920 wine_fn_config_dll display.drv16 enable_win16
17921 wine_fn_config_dll dmband enable_dmband clean
17922 wine_fn_config_test dlls/dmband/tests dmband_test
17923 wine_fn_config_dll dmcompos enable_dmcompos clean
17924 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17925 wine_fn_config_dll dmime enable_dmime clean
17926 wine_fn_config_test dlls/dmime/tests dmime_test
17927 wine_fn_config_dll dmloader enable_dmloader clean
17928 wine_fn_config_test dlls/dmloader/tests dmloader_test
17929 wine_fn_config_dll dmscript enable_dmscript clean
17930 wine_fn_config_test dlls/dmscript/tests dmscript_test
17931 wine_fn_config_dll dmstyle enable_dmstyle clean
17932 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17933 wine_fn_config_dll dmsynth enable_dmsynth clean
17934 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17935 wine_fn_config_dll dmusic enable_dmusic clean
17936 wine_fn_config_test dlls/dmusic/tests dmusic_test
17937 wine_fn_config_dll dmusic32 enable_dmusic32
17938 wine_fn_config_dll dnsapi enable_dnsapi implib
17939 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17940 wine_fn_config_dll dplay enable_dplay
17941 wine_fn_config_dll dplayx enable_dplayx clean,implib
17942 wine_fn_config_test dlls/dplayx/tests dplayx_test
17943 wine_fn_config_dll dpnaddr enable_dpnaddr
17944 wine_fn_config_dll dpnet enable_dpnet clean,implib
17945 wine_fn_config_test dlls/dpnet/tests dpnet_test
17946 wine_fn_config_dll dpnhpast enable_dpnhpast
17947 wine_fn_config_dll dpnlobby enable_dpnlobby
17948 wine_fn_config_dll dpvoice enable_dpvoice clean
17949 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17950 wine_fn_config_dll dpwsockx enable_dpwsockx
17951 wine_fn_config_dll drmclien enable_drmclien
17952 wine_fn_config_dll dsound enable_dsound clean,implib
17953 wine_fn_config_test dlls/dsound/tests dsound_test
17954 wine_fn_config_dll dssenh enable_dssenh
17955 wine_fn_config_test dlls/dssenh/tests dssenh_test
17956 wine_fn_config_dll dswave enable_dswave clean
17957 wine_fn_config_test dlls/dswave/tests dswave_test
17958 wine_fn_config_dll dwmapi enable_dwmapi implib
17959 wine_fn_config_dll dwrite enable_dwrite implib
17960 wine_fn_config_test dlls/dwrite/tests dwrite_test
17961 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17962 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17963 wine_fn_config_lib dxerr8
17964 wine_fn_config_lib dxerr9
17965 wine_fn_config_dll dxgi enable_dxgi implib
17966 wine_fn_config_test dlls/dxgi/tests dxgi_test
17967 wine_fn_config_lib dxguid
17968 wine_fn_config_dll dxva2 enable_dxva2
17969 wine_fn_config_dll esent enable_esent
17970 wine_fn_config_dll evr enable_evr
17971 wine_fn_config_dll explorerframe enable_explorerframe clean
17972 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17973 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17974 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17975 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17976 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17977 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17978 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17979 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17980 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17981 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17982 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17983 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17984 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17985 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17986 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17987 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
17988 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17989 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17990 wine_fn_config_dll faultrep enable_faultrep implib
17991 wine_fn_config_test dlls/faultrep/tests faultrep_test
17992 wine_fn_config_dll fltlib enable_fltlib
17993 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17994 wine_fn_config_dll fntcache enable_fntcache
17995 wine_fn_config_dll fontsub enable_fontsub
17996 wine_fn_config_dll fusion enable_fusion
17997 wine_fn_config_test dlls/fusion/tests fusion_test
17998 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17999 wine_fn_config_dll gameux enable_gameux clean
18000 wine_fn_config_test dlls/gameux/tests gameux_test
18001 wine_fn_config_dll gdi.exe16 enable_win16
18002 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18003 wine_fn_config_test dlls/gdi32/tests gdi32_test
18004 wine_fn_config_dll gdiplus enable_gdiplus implib
18005 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18006 wine_fn_config_dll glu32 enable_glu32 implib
18007 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18008 wine_fn_config_dll gpkcsp enable_gpkcsp
18009 wine_fn_config_dll hal enable_hal
18010 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18011 wine_fn_config_dll hid enable_hid implib
18012 wine_fn_config_test dlls/hid/tests hid_test
18013 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18014 wine_fn_config_dll hlink enable_hlink clean,implib
18015 wine_fn_config_test dlls/hlink/tests hlink_test
18016 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18017 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18018 wine_fn_config_dll httpapi enable_httpapi
18019 wine_fn_config_dll iccvid enable_iccvid clean
18020 wine_fn_config_dll icmp enable_icmp
18021 wine_fn_config_dll ieframe enable_ieframe clean,implib
18022 wine_fn_config_test dlls/ieframe/tests ieframe_test
18023 wine_fn_config_dll ifsmgr.vxd enable_win16
18024 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18025 wine_fn_config_dll imagehlp enable_imagehlp implib
18026 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18027 wine_fn_config_dll imm.dll16 enable_win16
18028 wine_fn_config_dll imm32 enable_imm32 implib
18029 wine_fn_config_test dlls/imm32/tests imm32_test
18030 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18031 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18032 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18033 wine_fn_config_dll inetmib1 enable_inetmib1
18034 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18035 wine_fn_config_dll infosoft enable_infosoft clean
18036 wine_fn_config_test dlls/infosoft/tests infosoft_test
18037 wine_fn_config_dll initpki enable_initpki
18038 wine_fn_config_dll inkobj enable_inkobj
18039 wine_fn_config_dll inseng enable_inseng clean
18040 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18041 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18042 wine_fn_config_dll iprop enable_iprop
18043 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18044 wine_fn_config_dll itircl enable_itircl
18045 wine_fn_config_dll itss enable_itss clean
18046 wine_fn_config_test dlls/itss/tests itss_test
18047 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18048 wine_fn_config_dll jscript enable_jscript clean
18049 wine_fn_config_test dlls/jscript/tests jscript_test
18050 wine_fn_config_dll jsproxy enable_jsproxy implib
18051 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18052 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18053 wine_fn_config_test dlls/kernel32/tests kernel32_test
18054 wine_fn_config_dll kernelbase enable_kernelbase
18055 wine_fn_config_dll keyboard.drv16 enable_win16
18056 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18057 wine_fn_config_dll ksuser enable_ksuser
18058 wine_fn_config_dll ktmw32 enable_ktmw32
18059 wine_fn_config_dll loadperf enable_loadperf implib
18060 wine_fn_config_dll localspl enable_localspl clean
18061 wine_fn_config_test dlls/localspl/tests localspl_test
18062 wine_fn_config_dll localui enable_localui clean
18063 wine_fn_config_test dlls/localui/tests localui_test
18064 wine_fn_config_dll lz32 enable_lz32 implib
18065 wine_fn_config_test dlls/lz32/tests lz32_test
18066 wine_fn_config_dll lzexpand.dll16 enable_win16
18067 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18068 wine_fn_config_test dlls/mapi32/tests mapi32_test
18069 wine_fn_config_dll mapistub enable_mapistub
18070 wine_fn_config_dll mciavi32 enable_mciavi32
18071 wine_fn_config_dll mcicda enable_mcicda
18072 wine_fn_config_dll mciqtz32 enable_mciqtz32
18073 wine_fn_config_dll mciseq enable_mciseq
18074 wine_fn_config_dll mciwave enable_mciwave
18075 wine_fn_config_dll mf enable_mf
18076 wine_fn_config_dll mf3216 enable_mf3216
18077 wine_fn_config_dll mfplat enable_mfplat
18078 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18079 wine_fn_config_dll mgmtapi enable_mgmtapi
18080 wine_fn_config_dll midimap enable_midimap
18081 wine_fn_config_dll mlang enable_mlang clean,implib
18082 wine_fn_config_test dlls/mlang/tests mlang_test
18083 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18084 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18085 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18086 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18087 wine_fn_config_dll mmdevldr.vxd enable_win16
18088 wine_fn_config_dll mmsystem.dll16 enable_win16
18089 wine_fn_config_dll monodebg.vxd enable_win16
18090 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18091 wine_fn_config_dll mouse.drv16 enable_win16
18092 wine_fn_config_dll mpr enable_mpr clean,implib
18093 wine_fn_config_test dlls/mpr/tests mpr_test
18094 wine_fn_config_dll mprapi enable_mprapi implib
18095 wine_fn_config_dll msacm.dll16 enable_win16
18096 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18097 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18098 wine_fn_config_test dlls/msacm32/tests msacm32_test
18099 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18100 wine_fn_config_dll msasn1 enable_msasn1 implib
18101 wine_fn_config_dll mscat32 enable_mscat32
18102 wine_fn_config_dll mscms enable_mscms implib
18103 wine_fn_config_test dlls/mscms/tests mscms_test
18104 wine_fn_config_dll mscoree enable_mscoree clean
18105 wine_fn_config_test dlls/mscoree/tests mscoree_test
18106 wine_fn_config_dll msctf enable_msctf clean
18107 wine_fn_config_test dlls/msctf/tests msctf_test
18108 wine_fn_config_dll msctfp enable_msctfp clean
18109 wine_fn_config_dll msdaps enable_msdaps clean
18110 wine_fn_config_dll msdelta enable_msdelta
18111 wine_fn_config_dll msdmo enable_msdmo implib
18112 wine_fn_config_test dlls/msdmo/tests msdmo_test
18113 wine_fn_config_dll msdrm enable_msdrm
18114 wine_fn_config_dll msftedit enable_msftedit
18115 wine_fn_config_dll msg711.acm enable_msg711_acm
18116 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18117 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18118 wine_fn_config_dll mshtml enable_mshtml clean,implib
18119 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18120 wine_fn_config_dll msi enable_msi clean,implib
18121 wine_fn_config_test dlls/msi/tests msi_test
18122 wine_fn_config_dll msident enable_msident clean
18123 wine_fn_config_dll msimg32 enable_msimg32 implib
18124 wine_fn_config_dll msimsg enable_msimsg
18125 wine_fn_config_dll msimtf enable_msimtf clean
18126 wine_fn_config_dll msisip enable_msisip
18127 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18128 wine_fn_config_dll msls31 enable_msls31
18129 wine_fn_config_dll msnet32 enable_msnet32
18130 wine_fn_config_dll mspatcha enable_mspatcha implib
18131 wine_fn_config_dll msports enable_msports
18132 wine_fn_config_dll msrle32 enable_msrle32 clean
18133 wine_fn_config_test dlls/msrle32/tests msrle32_test
18134 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18135 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18136 wine_fn_config_dll mssign32 enable_mssign32
18137 wine_fn_config_dll mssip32 enable_mssip32
18138 wine_fn_config_dll mstask enable_mstask clean
18139 wine_fn_config_test dlls/mstask/tests mstask_test
18140 wine_fn_config_dll msvcirt enable_msvcirt
18141 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18142 wine_fn_config_dll msvcm80 enable_msvcm80
18143 wine_fn_config_dll msvcm90 enable_msvcm90
18144 wine_fn_config_dll msvcp100 enable_msvcp100
18145 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18146 wine_fn_config_dll msvcp110 enable_msvcp110
18147 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18148 wine_fn_config_dll msvcp120 enable_msvcp120
18149 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18150 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18151 wine_fn_config_dll msvcp140 enable_msvcp140
18152 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18153 wine_fn_config_dll msvcp60 enable_msvcp60
18154 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18155 wine_fn_config_dll msvcp70 enable_msvcp70
18156 wine_fn_config_dll msvcp71 enable_msvcp71
18157 wine_fn_config_dll msvcp80 enable_msvcp80
18158 wine_fn_config_dll msvcp90 enable_msvcp90
18159 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18160 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18161 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18162 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18163 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18164 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18165 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18166 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18167 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18168 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18169 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18170 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18171 wine_fn_config_dll msvcrt enable_msvcrt implib
18172 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18173 wine_fn_config_dll msvcrt20 enable_msvcrt20
18174 wine_fn_config_dll msvcrt40 enable_msvcrt40
18175 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18176 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18177 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18178 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18179 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18180 wine_fn_config_dll msvideo.dll16 enable_win16
18181 wine_fn_config_dll mswsock enable_mswsock implib
18182 wine_fn_config_dll msxml enable_msxml clean
18183 wine_fn_config_dll msxml2 enable_msxml2 clean
18184 wine_fn_config_dll msxml3 enable_msxml3 clean
18185 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18186 wine_fn_config_dll msxml4 enable_msxml4 clean
18187 wine_fn_config_dll msxml6 enable_msxml6 clean
18188 wine_fn_config_dll ncrypt enable_ncrypt
18189 wine_fn_config_dll nddeapi enable_nddeapi implib
18190 wine_fn_config_dll ndis.sys enable_ndis_sys
18191 wine_fn_config_dll netapi32 enable_netapi32 implib
18192 wine_fn_config_test dlls/netapi32/tests netapi32_test
18193 wine_fn_config_dll netcfgx enable_netcfgx clean
18194 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18195 wine_fn_config_dll netprofm enable_netprofm clean
18196 wine_fn_config_test dlls/netprofm/tests netprofm_test
18197 wine_fn_config_dll newdev enable_newdev implib
18198 wine_fn_config_dll normaliz enable_normaliz implib
18199 wine_fn_config_dll npmshtml enable_npmshtml
18200 wine_fn_config_dll npptools enable_npptools
18201 wine_fn_config_dll ntdll enable_ntdll implib
18202 wine_fn_config_test dlls/ntdll/tests ntdll_test
18203 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18204 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18205 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18206 wine_fn_config_dll ntprint enable_ntprint
18207 wine_fn_config_test dlls/ntprint/tests ntprint_test
18208 wine_fn_config_dll objsel enable_objsel clean
18209 wine_fn_config_dll odbc32 enable_odbc32 implib
18210 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18211 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18212 wine_fn_config_dll odbccu32 enable_odbccu32
18213 wine_fn_config_dll ole2.dll16 enable_win16
18214 wine_fn_config_dll ole2conv.dll16 enable_win16
18215 wine_fn_config_dll ole2disp.dll16 enable_win16
18216 wine_fn_config_dll ole2nls.dll16 enable_win16
18217 wine_fn_config_dll ole2prox.dll16 enable_win16
18218 wine_fn_config_dll ole2thk.dll16 enable_win16
18219 wine_fn_config_dll ole32 enable_ole32 clean,implib
18220 wine_fn_config_test dlls/ole32/tests ole32_test
18221 wine_fn_config_dll oleacc enable_oleacc clean,implib
18222 wine_fn_config_test dlls/oleacc/tests oleacc_test
18223 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18224 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18225 wine_fn_config_dll olecli.dll16 enable_win16
18226 wine_fn_config_dll olecli32 enable_olecli32 implib
18227 wine_fn_config_dll oledb32 enable_oledb32 clean
18228 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18229 wine_fn_config_dll oledlg enable_oledlg clean,implib
18230 wine_fn_config_test dlls/oledlg/tests oledlg_test
18231 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18232 wine_fn_config_dll olesvr.dll16 enable_win16
18233 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18234 wine_fn_config_dll olethk32 enable_olethk32
18235 wine_fn_config_dll openal32 enable_openal32
18236 wine_fn_config_dll opencl enable_opencl
18237 wine_fn_config_dll opengl32 enable_opengl32 implib
18238 wine_fn_config_test dlls/opengl32/tests opengl32_test
18239 wine_fn_config_dll packager enable_packager clean
18240 wine_fn_config_test dlls/packager/tests packager_test
18241 wine_fn_config_dll pdh enable_pdh implib
18242 wine_fn_config_test dlls/pdh/tests pdh_test
18243 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18244 wine_fn_config_dll pidgen enable_pidgen
18245 wine_fn_config_dll powrprof enable_powrprof implib
18246 wine_fn_config_dll printui enable_printui
18247 wine_fn_config_dll prntvpt enable_prntvpt
18248 wine_fn_config_dll propsys enable_propsys clean,implib
18249 wine_fn_config_test dlls/propsys/tests propsys_test
18250 wine_fn_config_dll psapi enable_psapi implib
18251 wine_fn_config_test dlls/psapi/tests psapi_test
18252 wine_fn_config_dll pstorec enable_pstorec clean
18253 wine_fn_config_test dlls/pstorec/tests pstorec_test
18254 wine_fn_config_dll qcap enable_qcap
18255 wine_fn_config_test dlls/qcap/tests qcap_test
18256 wine_fn_config_dll qedit enable_qedit clean
18257 wine_fn_config_test dlls/qedit/tests qedit_test
18258 wine_fn_config_dll qmgr enable_qmgr clean
18259 wine_fn_config_test dlls/qmgr/tests qmgr_test
18260 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18261 wine_fn_config_dll quartz enable_quartz clean,implib
18262 wine_fn_config_test dlls/quartz/tests quartz_test clean
18263 wine_fn_config_dll query enable_query
18264 wine_fn_config_dll rasapi16.dll16 enable_win16
18265 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18266 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18267 wine_fn_config_dll rasdlg enable_rasdlg implib
18268 wine_fn_config_dll regapi enable_regapi
18269 wine_fn_config_dll resutils enable_resutils implib
18270 wine_fn_config_dll riched20 enable_riched20 clean,implib
18271 wine_fn_config_test dlls/riched20/tests riched20_test
18272 wine_fn_config_dll riched32 enable_riched32
18273 wine_fn_config_test dlls/riched32/tests riched32_test
18274 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18275 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18276 wine_fn_config_dll rsabase enable_rsabase
18277 wine_fn_config_dll rsaenh enable_rsaenh implib
18278 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18279 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18280 wine_fn_config_dll rtutils enable_rtutils implib
18281 wine_fn_config_dll samlib enable_samlib
18282 wine_fn_config_dll sane.ds enable_sane_ds clean
18283 wine_fn_config_dll scarddlg enable_scarddlg
18284 wine_fn_config_dll sccbase enable_sccbase
18285 wine_fn_config_dll schannel enable_schannel
18286 wine_fn_config_test dlls/schannel/tests schannel_test
18287 wine_fn_config_dll schedsvc enable_schedsvc clean
18288 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18289 wine_fn_config_dll scrobj enable_scrobj clean
18290 wine_fn_config_dll scrrun enable_scrrun clean
18291 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18292 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18293 wine_fn_config_dll secur32 enable_secur32 implib
18294 wine_fn_config_test dlls/secur32/tests secur32_test
18295 wine_fn_config_dll security enable_security
18296 wine_fn_config_dll sensapi enable_sensapi implib
18297 wine_fn_config_dll serialui enable_serialui clean
18298 wine_fn_config_test dlls/serialui/tests serialui_test
18299 wine_fn_config_dll setupapi enable_setupapi clean,implib
18300 wine_fn_config_test dlls/setupapi/tests setupapi_test
18301 wine_fn_config_dll setupx.dll16 enable_win16
18302 wine_fn_config_dll sfc enable_sfc implib
18303 wine_fn_config_dll sfc_os enable_sfc_os implib
18304 wine_fn_config_dll shdoclc enable_shdoclc clean
18305 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18306 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18307 wine_fn_config_dll shell.dll16 enable_win16
18308 wine_fn_config_dll shell32 enable_shell32 clean,implib
18309 wine_fn_config_test dlls/shell32/tests shell32_test
18310 wine_fn_config_dll shfolder enable_shfolder implib
18311 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18312 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18313 wine_fn_config_dll slbcsp enable_slbcsp
18314 wine_fn_config_dll slc enable_slc implib
18315 wine_fn_config_test dlls/slc/tests slc_test
18316 wine_fn_config_dll snmpapi enable_snmpapi implib
18317 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18318 wine_fn_config_dll softpub enable_softpub
18319 wine_fn_config_dll sound.drv16 enable_win16
18320 wine_fn_config_dll spoolss enable_spoolss implib
18321 wine_fn_config_test dlls/spoolss/tests spoolss_test
18322 wine_fn_config_dll sspicli enable_sspicli
18323 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18324 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18325 wine_fn_config_dll sti enable_sti clean,implib
18326 wine_fn_config_test dlls/sti/tests sti_test
18327 wine_fn_config_dll storage.dll16 enable_win16
18328 wine_fn_config_dll stress.dll16 enable_win16
18329 wine_fn_config_lib strmbase
18330 wine_fn_config_lib strmiids
18331 wine_fn_config_dll svrapi enable_svrapi
18332 wine_fn_config_dll sxs enable_sxs implib
18333 wine_fn_config_test dlls/sxs/tests sxs_test
18334 wine_fn_config_dll system.drv16 enable_win16
18335 wine_fn_config_dll t2embed enable_t2embed implib
18336 wine_fn_config_test dlls/t2embed/tests t2embed_test
18337 wine_fn_config_dll tapi32 enable_tapi32 implib
18338 wine_fn_config_dll taskschd enable_taskschd clean
18339 wine_fn_config_test dlls/taskschd/tests taskschd_test
18340 wine_fn_config_dll tdi.sys enable_tdi_sys
18341 wine_fn_config_dll toolhelp.dll16 enable_win16
18342 wine_fn_config_dll traffic enable_traffic
18343 wine_fn_config_dll twain.dll16 enable_win16
18344 wine_fn_config_dll twain_32 enable_twain_32
18345 wine_fn_config_test dlls/twain_32/tests twain_32_test
18346 wine_fn_config_dll typelib.dll16 enable_win16
18347 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18348 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18349 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18350 wine_fn_config_dll unicows enable_unicows implib
18351 wine_fn_config_dll updspapi enable_updspapi
18352 wine_fn_config_dll url enable_url implib
18353 wine_fn_config_dll urlmon enable_urlmon clean,implib
18354 wine_fn_config_test dlls/urlmon/tests urlmon_test
18355 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18356 wine_fn_config_dll user.exe16 enable_win16
18357 wine_fn_config_dll user32 enable_user32 clean,implib
18358 wine_fn_config_test dlls/user32/tests user32_test
18359 wine_fn_config_dll userenv enable_userenv implib
18360 wine_fn_config_test dlls/userenv/tests userenv_test
18361 wine_fn_config_dll usp10 enable_usp10 implib
18362 wine_fn_config_test dlls/usp10/tests usp10_test
18363 wine_fn_config_lib uuid
18364 wine_fn_config_dll uxtheme enable_uxtheme implib
18365 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18366 wine_fn_config_dll vbscript enable_vbscript clean
18367 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18368 wine_fn_config_dll vcomp enable_vcomp
18369 wine_fn_config_test dlls/vcomp/tests vcomp_test
18370 wine_fn_config_dll vcomp100 enable_vcomp100
18371 wine_fn_config_dll vcomp110 enable_vcomp110
18372 wine_fn_config_dll vcomp120 enable_vcomp120
18373 wine_fn_config_dll vcomp140 enable_vcomp140
18374 wine_fn_config_dll vcomp90 enable_vcomp90
18375 wine_fn_config_dll vcruntime140 enable_vcruntime140
18376 wine_fn_config_dll vdhcp.vxd enable_win16
18377 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18378 wine_fn_config_dll ver.dll16 enable_win16
18379 wine_fn_config_dll version enable_version implib
18380 wine_fn_config_test dlls/version/tests version_test
18381 wine_fn_config_dll virtdisk enable_virtdisk
18382 wine_fn_config_dll vmm.vxd enable_win16
18383 wine_fn_config_dll vnbt.vxd enable_win16
18384 wine_fn_config_dll vnetbios.vxd enable_win16
18385 wine_fn_config_dll vssapi enable_vssapi
18386 wine_fn_config_dll vtdapi.vxd enable_win16
18387 wine_fn_config_dll vwin32.vxd enable_win16
18388 wine_fn_config_dll w32skrnl enable_win16
18389 wine_fn_config_dll w32sys.dll16 enable_win16
18390 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18391 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18392 wine_fn_config_dll wbemprox enable_wbemprox clean
18393 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18394 wine_fn_config_dll webservices enable_webservices implib
18395 wine_fn_config_test dlls/webservices/tests webservices_test
18396 wine_fn_config_dll wer enable_wer implib
18397 wine_fn_config_test dlls/wer/tests wer_test
18398 wine_fn_config_dll wevtapi enable_wevtapi
18399 wine_fn_config_dll wiaservc enable_wiaservc clean
18400 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18401 wine_fn_config_dll wimgapi enable_wimgapi
18402 wine_fn_config_dll win32s16.dll16 enable_win16
18403 wine_fn_config_dll win87em.dll16 enable_win16
18404 wine_fn_config_dll winaspi.dll16 enable_win16
18405 wine_fn_config_dll windebug.dll16 enable_win16
18406 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18407 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18408 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18409 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18410 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18411 wine_fn_config_dll winebus.sys enable_winebus_sys
18412 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18413 wine_fn_config_lib winecrt0
18414 wine_fn_config_dll wined3d enable_wined3d implib
18415 wine_fn_config_dll winegstreamer enable_winegstreamer
18416 wine_fn_config_dll winehid.sys enable_winehid_sys
18417 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18418 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18419 wine_fn_config_dll winemapi enable_winemapi
18420 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18421 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18422 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18423 wine_fn_config_dll wineps16.drv16 enable_win16
18424 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18425 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18426 wine_fn_config_dll winex11.drv enable_winex11_drv
18427 wine_fn_config_dll wing.dll16 enable_win16
18428 wine_fn_config_dll wing32 enable_wing32
18429 wine_fn_config_dll winhttp enable_winhttp clean,implib
18430 wine_fn_config_test dlls/winhttp/tests winhttp_test
18431 wine_fn_config_dll wininet enable_wininet clean,implib
18432 wine_fn_config_test dlls/wininet/tests wininet_test
18433 wine_fn_config_dll winmm enable_winmm clean,implib
18434 wine_fn_config_test dlls/winmm/tests winmm_test
18435 wine_fn_config_dll winnls.dll16 enable_win16
18436 wine_fn_config_dll winnls32 enable_winnls32 implib
18437 wine_fn_config_dll winscard enable_winscard implib
18438 wine_fn_config_dll winsock.dll16 enable_win16
18439 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18440 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18441 wine_fn_config_dll winsta enable_winsta
18442 wine_fn_config_dll wintab.dll16 enable_win16
18443 wine_fn_config_dll wintab32 enable_wintab32 implib
18444 wine_fn_config_test dlls/wintab32/tests wintab32_test
18445 wine_fn_config_dll wintrust enable_wintrust implib
18446 wine_fn_config_test dlls/wintrust/tests wintrust_test
18447 wine_fn_config_dll winusb enable_winusb
18448 wine_fn_config_dll wlanapi enable_wlanapi implib
18449 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18450 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18451 wine_fn_config_test dlls/wldap32/tests wldap32_test
18452 wine_fn_config_dll wmasf enable_wmasf
18453 wine_fn_config_dll wmi enable_wmi
18454 wine_fn_config_dll wmiutils enable_wmiutils clean
18455 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18456 wine_fn_config_dll wmp enable_wmp clean
18457 wine_fn_config_test dlls/wmp/tests wmp_test
18458 wine_fn_config_dll wmvcore enable_wmvcore
18459 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18460 wine_fn_config_dll wow32 enable_win16 implib
18461 wine_fn_config_dll wpc enable_wpc clean
18462 wine_fn_config_test dlls/wpc/tests wpc_test
18463 wine_fn_config_dll wpcap enable_wpcap
18464 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18465 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18466 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18467 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18468 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18469 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18470 wine_fn_config_dll wsock32 enable_wsock32 implib
18471 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18472 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18473 wine_fn_config_dll wuapi enable_wuapi clean
18474 wine_fn_config_dll wuaueng enable_wuaueng
18475 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18476 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18477 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18478 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18479 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18480 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18481 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18482 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18483 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18484 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18485 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18486 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18487 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18488 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18489 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18490 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18491 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18492 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18493 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18494 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18495 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18496 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18497 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18498 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18499 wine_fn_config_dll xinput1_1 enable_xinput1_1
18500 wine_fn_config_dll xinput1_2 enable_xinput1_2
18501 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18502 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18503 wine_fn_config_dll xinput1_4 enable_xinput1_4
18504 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18505 wine_fn_config_dll xmllite enable_xmllite implib
18506 wine_fn_config_test dlls/xmllite/tests xmllite_test
18507 wine_fn_config_dll xolehlp enable_xolehlp
18508 wine_fn_config_dll xpsprint enable_xpsprint
18509 wine_fn_config_dll xpssvcs enable_xpssvcs
18510 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18511 wine_fn_config_makefile include enable_include clean,install-dev
18512 wine_fn_config_makefile libs/port enable_libs_port
18513 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18514 wine_fn_config_makefile libs/wpp enable_libs_wpp
18515 wine_fn_config_makefile loader enable_loader clean,install-lib
18516 wine_fn_config_makefile po enable_po clean
18517 wine_fn_config_program arp enable_arp install
18518 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18519 wine_fn_config_program attrib enable_attrib clean,install
18520 wine_fn_config_program cabarc enable_cabarc install
18521 wine_fn_config_program cacls enable_cacls install
18522 wine_fn_config_program clock enable_clock clean,install
18523 wine_fn_config_program cmd enable_cmd clean,install
18524 wine_fn_config_test programs/cmd/tests cmd.exe_test
18525 wine_fn_config_program conhost enable_conhost install
18526 wine_fn_config_program control enable_control install
18527 wine_fn_config_program cscript enable_cscript clean,install
18528 wine_fn_config_program dpnsvr enable_dpnsvr install
18529 wine_fn_config_program dxdiag enable_dxdiag clean,install
18530 wine_fn_config_program eject enable_eject install
18531 wine_fn_config_program expand enable_expand install
18532 wine_fn_config_program explorer enable_explorer clean,install
18533 wine_fn_config_program extrac32 enable_extrac32 install
18534 wine_fn_config_program findstr enable_findstr install
18535 wine_fn_config_program fsutil enable_fsutil install
18536 wine_fn_config_program hh enable_hh install
18537 wine_fn_config_program hostname enable_hostname clean,install
18538 wine_fn_config_program icacls enable_icacls install
18539 wine_fn_config_program icinfo enable_icinfo install
18540 wine_fn_config_program iexplore enable_iexplore install
18541 wine_fn_config_program ipconfig enable_ipconfig clean,install
18542 wine_fn_config_program lodctr enable_lodctr install
18543 wine_fn_config_program mofcomp enable_mofcomp install
18544 wine_fn_config_program mshta enable_mshta install
18545 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18546 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18547 wine_fn_config_program net enable_net clean,install
18548 wine_fn_config_program netsh enable_netsh install
18549 wine_fn_config_program netstat enable_netstat clean,install
18550 wine_fn_config_program ngen enable_ngen install
18551 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18552 wine_fn_config_program oleview enable_oleview clean,install
18553 wine_fn_config_program ping enable_ping install
18554 wine_fn_config_program plugplay enable_plugplay install
18555 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18556 wine_fn_config_program progman enable_progman clean,install
18557 wine_fn_config_program reg enable_reg clean,install
18558 wine_fn_config_test programs/reg/tests reg.exe_test
18559 wine_fn_config_program regasm enable_regasm install
18560 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18561 wine_fn_config_test programs/regedit/tests regedit.exe_test
18562 wine_fn_config_program regsvcs enable_regsvcs install
18563 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18564 wine_fn_config_program rpcss enable_rpcss clean,install
18565 wine_fn_config_program rundll.exe16 enable_win16 install
18566 wine_fn_config_program rundll32 enable_rundll32 install
18567 wine_fn_config_program sc enable_sc install
18568 wine_fn_config_program schtasks enable_schtasks install
18569 wine_fn_config_program sdbinst enable_sdbinst install
18570 wine_fn_config_program secedit enable_secedit install
18571 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18572 wine_fn_config_program services enable_services clean,install
18573 wine_fn_config_test programs/services/tests services.exe_test
18574 wine_fn_config_program shutdown enable_shutdown install
18575 wine_fn_config_program spoolsv enable_spoolsv install
18576 wine_fn_config_program start enable_start clean,install
18577 wine_fn_config_program subst enable_subst install
18578 wine_fn_config_program svchost enable_svchost install
18579 wine_fn_config_program systeminfo enable_systeminfo install
18580 wine_fn_config_program taskkill enable_taskkill clean,install
18581 wine_fn_config_program tasklist enable_tasklist install
18582 wine_fn_config_program taskmgr enable_taskmgr clean,install
18583 wine_fn_config_program termsv enable_termsv install
18584 wine_fn_config_program uninstaller enable_uninstaller clean,install
18585 wine_fn_config_program unlodctr enable_unlodctr install
18586 wine_fn_config_program view enable_view clean,install
18587 wine_fn_config_program wevtutil enable_wevtutil install
18588 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18589 wine_fn_config_program winebrowser enable_winebrowser install
18590 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18591 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18592 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18593 wine_fn_config_program winedevice enable_winedevice install
18594 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18595 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18596 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18597 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18598 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18599 wine_fn_config_program winetest enable_winetest clean
18600 wine_fn_config_program winevdm enable_win16 install
18601 wine_fn_config_program winhelp.exe16 enable_win16 install
18602 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18603 wine_fn_config_program winoldap.mod16 enable_win16 install
18604 wine_fn_config_program winver enable_winver install
18605 wine_fn_config_program wmic enable_wmic clean,install
18606 wine_fn_config_program wmplayer enable_wmplayer install
18607 wine_fn_config_program wordpad enable_wordpad clean,install
18608 wine_fn_config_program write enable_write clean,install
18609 wine_fn_config_program wscript enable_wscript clean,install
18610 wine_fn_config_test programs/wscript/tests wscript.exe_test
18611 wine_fn_config_program wusa enable_wusa install
18612 wine_fn_config_program xcopy enable_xcopy clean,install
18613 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18614 wine_fn_config_makefile server enable_server clean,install-lib
18615 wine_fn_config_tool tools clean
18616 wine_fn_config_tool tools/sfnt2fon clean
18617 wine_fn_config_tool tools/widl clean,install-dev
18618 wine_fn_config_tool tools/winebuild clean,install-dev
18619 wine_fn_config_tool tools/winedump clean,install-dev
18620 wine_fn_config_tool tools/winegcc clean,install-dev
18621 wine_fn_config_tool tools/winemaker clean,install-dev
18622 wine_fn_config_tool tools/wmc clean,install-dev
18623 wine_fn_config_tool tools/wrc clean,install-dev
18626 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18627 wine_fn_append_file CONFIGURE_TARGETS "tags"
18628 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18629 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18630 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18631 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18632 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18633 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18635 if test "x$enable_tools" != xno
18636 then
18637 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18638 ac_config_commands="$ac_config_commands tools/makedep"
18642 ac_config_commands="$ac_config_commands Makefile"
18645 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18649 if test "x$enable_maintainer_mode" = xyes
18650 then
18651 wine_fn_append_rule "configure: configure.ac aclocal.m4
18652 autoconf --warnings=all
18653 include/config.h.in: include/stamp-h.in
18654 include/stamp-h.in: configure.ac aclocal.m4
18655 autoheader --warnings=all
18656 @echo timestamp > \$@"
18659 if test "x$enable_tools" != xno
18660 then
18661 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18662 @./config.status tools/makedep
18663 Makefile: tools/makedep$ac_exeext"
18664 else
18665 wine_fn_append_rule "\$(MAKEDEP):
18666 @echo \"You need to run make in $TOOLSDIR first\" && false"
18669 if test -n "$with_wine64"
18670 then
18671 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18672 fonts server:
18673 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18674 $with_wine64/loader/wine:
18675 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18676 $with_wine64/loader/wine-preloader:
18677 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18678 clean::
18679 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18680 else
18681 WINELOADER_INSTALL="wine.inf"
18683 wine_fn_append_rule "install install-lib::
18684 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18685 uninstall::
18686 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18687 case $host_os in
18688 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18689 *) wine_fn_append_rule "install install-lib::
18690 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18691 uninstall::
18692 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18693 esac
18696 $as_echo " done" >&6
18697 cat >confcache <<\_ACEOF
18698 # This file is a shell script that caches the results of configure
18699 # tests run on this system so they can be shared between configure
18700 # scripts and configure runs, see configure's option --config-cache.
18701 # It is not useful on other systems. If it contains results you don't
18702 # want to keep, you may remove or edit it.
18704 # config.status only pays attention to the cache file if you give it
18705 # the --recheck option to rerun configure.
18707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18709 # following values.
18711 _ACEOF
18713 # The following way of writing the cache mishandles newlines in values,
18714 # but we know of no workaround that is simple, portable, and efficient.
18715 # So, we kill variables containing newlines.
18716 # Ultrix sh set writes to stderr and can't be redirected directly,
18717 # and sets the high bit in the cache file unless we assign to the vars.
18719 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18720 eval ac_val=\$$ac_var
18721 case $ac_val in #(
18722 *${as_nl}*)
18723 case $ac_var in #(
18724 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18726 esac
18727 case $ac_var in #(
18728 _ | IFS | as_nl) ;; #(
18729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18730 *) { eval $ac_var=; unset $ac_var;} ;;
18731 esac ;;
18732 esac
18733 done
18735 (set) 2>&1 |
18736 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18737 *${as_nl}ac_space=\ *)
18738 # `set' does not quote correctly, so add quotes: double-quote
18739 # substitution turns \\\\ into \\, and sed turns \\ into \.
18740 sed -n \
18741 "s/'/'\\\\''/g;
18742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18743 ;; #(
18745 # `set' quotes correctly as required by POSIX, so do not add quotes.
18746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18748 esac |
18749 sort
18751 sed '
18752 /^ac_cv_env_/b end
18753 t clear
18754 :clear
18755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18756 t end
18757 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18758 :end' >>confcache
18759 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18760 if test -w "$cache_file"; then
18761 if test "x$cache_file" != "x/dev/null"; then
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18763 $as_echo "$as_me: updating cache $cache_file" >&6;}
18764 if test ! -f "$cache_file" || test -h "$cache_file"; then
18765 cat confcache >"$cache_file"
18766 else
18767 case $cache_file in #(
18768 */* | ?:*)
18769 mv -f confcache "$cache_file"$$ &&
18770 mv -f "$cache_file"$$ "$cache_file" ;; #(
18772 mv -f confcache "$cache_file" ;;
18773 esac
18776 else
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18781 rm -f confcache
18783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18784 # Let make expand exec_prefix.
18785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18787 DEFS=-DHAVE_CONFIG_H
18789 ac_libobjs=
18790 ac_ltlibobjs=
18792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18793 # 1. Remove the extension, and $U if already installed.
18794 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18795 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18796 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18797 # will be set to the directory where LIBOBJS objects are built.
18798 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18799 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18800 done
18801 LIBOBJS=$ac_libobjs
18803 LTLIBOBJS=$ac_ltlibobjs
18807 : "${CONFIG_STATUS=./config.status}"
18808 ac_write_fail=0
18809 ac_clean_files_save=$ac_clean_files
18810 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18812 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18813 as_write_fail=0
18814 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18815 #! $SHELL
18816 # Generated by $as_me.
18817 # Run this file to recreate the current configuration.
18818 # Compiler output produced by configure, useful for debugging
18819 # configure, is in config.log if it exists.
18821 debug=false
18822 ac_cs_recheck=false
18823 ac_cs_silent=false
18825 SHELL=\${CONFIG_SHELL-$SHELL}
18826 export SHELL
18827 _ASEOF
18828 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18829 ## -------------------- ##
18830 ## M4sh Initialization. ##
18831 ## -------------------- ##
18833 # Be more Bourne compatible
18834 DUALCASE=1; export DUALCASE # for MKS sh
18835 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18836 emulate sh
18837 NULLCMD=:
18838 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18839 # is contrary to our usage. Disable this feature.
18840 alias -g '${1+"$@"}'='"$@"'
18841 setopt NO_GLOB_SUBST
18842 else
18843 case `(set -o) 2>/dev/null` in #(
18844 *posix*) :
18845 set -o posix ;; #(
18846 *) :
18848 esac
18852 as_nl='
18854 export as_nl
18855 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18856 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18859 # Prefer a ksh shell builtin over an external printf program on Solaris,
18860 # but without wasting forks for bash or zsh.
18861 if test -z "$BASH_VERSION$ZSH_VERSION" \
18862 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18863 as_echo='print -r --'
18864 as_echo_n='print -rn --'
18865 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18866 as_echo='printf %s\n'
18867 as_echo_n='printf %s'
18868 else
18869 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18870 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18871 as_echo_n='/usr/ucb/echo -n'
18872 else
18873 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18874 as_echo_n_body='eval
18875 arg=$1;
18876 case $arg in #(
18877 *"$as_nl"*)
18878 expr "X$arg" : "X\\(.*\\)$as_nl";
18879 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18880 esac;
18881 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18883 export as_echo_n_body
18884 as_echo_n='sh -c $as_echo_n_body as_echo'
18886 export as_echo_body
18887 as_echo='sh -c $as_echo_body as_echo'
18890 # The user is always right.
18891 if test "${PATH_SEPARATOR+set}" != set; then
18892 PATH_SEPARATOR=:
18893 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18894 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18895 PATH_SEPARATOR=';'
18900 # IFS
18901 # We need space, tab and new line, in precisely that order. Quoting is
18902 # there to prevent editors from complaining about space-tab.
18903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18904 # splitting by setting IFS to empty value.)
18905 IFS=" "" $as_nl"
18907 # Find who we are. Look in the path if we contain no directory separator.
18908 as_myself=
18909 case $0 in #((
18910 *[\\/]* ) as_myself=$0 ;;
18911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18912 for as_dir in $PATH
18914 IFS=$as_save_IFS
18915 test -z "$as_dir" && as_dir=.
18916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18917 done
18918 IFS=$as_save_IFS
18921 esac
18922 # We did not find ourselves, most probably we were run as `sh COMMAND'
18923 # in which case we are not to be found in the path.
18924 if test "x$as_myself" = x; then
18925 as_myself=$0
18927 if test ! -f "$as_myself"; then
18928 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18929 exit 1
18932 # Unset variables that we do not need and which cause bugs (e.g. in
18933 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18934 # suppresses any "Segmentation fault" message there. '((' could
18935 # trigger a bug in pdksh 5.2.14.
18936 for as_var in BASH_ENV ENV MAIL MAILPATH
18937 do eval test x\${$as_var+set} = xset \
18938 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18939 done
18940 PS1='$ '
18941 PS2='> '
18942 PS4='+ '
18944 # NLS nuisances.
18945 LC_ALL=C
18946 export LC_ALL
18947 LANGUAGE=C
18948 export LANGUAGE
18950 # CDPATH.
18951 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18954 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18955 # ----------------------------------------
18956 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18957 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18958 # script with STATUS, using 1 if that was 0.
18959 as_fn_error ()
18961 as_status=$1; test $as_status -eq 0 && as_status=1
18962 if test "$4"; then
18963 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18964 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18966 $as_echo "$as_me: error: $2" >&2
18967 as_fn_exit $as_status
18968 } # as_fn_error
18971 # as_fn_set_status STATUS
18972 # -----------------------
18973 # Set $? to STATUS, without forking.
18974 as_fn_set_status ()
18976 return $1
18977 } # as_fn_set_status
18979 # as_fn_exit STATUS
18980 # -----------------
18981 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18982 as_fn_exit ()
18984 set +e
18985 as_fn_set_status $1
18986 exit $1
18987 } # as_fn_exit
18989 # as_fn_unset VAR
18990 # ---------------
18991 # Portably unset VAR.
18992 as_fn_unset ()
18994 { eval $1=; unset $1;}
18996 as_unset=as_fn_unset
18997 # as_fn_append VAR VALUE
18998 # ----------------------
18999 # Append the text in VALUE to the end of the definition contained in VAR. Take
19000 # advantage of any shell optimizations that allow amortized linear growth over
19001 # repeated appends, instead of the typical quadratic growth present in naive
19002 # implementations.
19003 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19004 eval 'as_fn_append ()
19006 eval $1+=\$2
19008 else
19009 as_fn_append ()
19011 eval $1=\$$1\$2
19013 fi # as_fn_append
19015 # as_fn_arith ARG...
19016 # ------------------
19017 # Perform arithmetic evaluation on the ARGs, and store the result in the
19018 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19019 # must be portable across $(()) and expr.
19020 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19021 eval 'as_fn_arith ()
19023 as_val=$(( $* ))
19025 else
19026 as_fn_arith ()
19028 as_val=`expr "$@" || test $? -eq 1`
19030 fi # as_fn_arith
19033 if expr a : '\(a\)' >/dev/null 2>&1 &&
19034 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19035 as_expr=expr
19036 else
19037 as_expr=false
19040 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19041 as_basename=basename
19042 else
19043 as_basename=false
19046 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19047 as_dirname=dirname
19048 else
19049 as_dirname=false
19052 as_me=`$as_basename -- "$0" ||
19053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19054 X"$0" : 'X\(//\)$' \| \
19055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19056 $as_echo X/"$0" |
19057 sed '/^.*\/\([^/][^/]*\)\/*$/{
19058 s//\1/
19061 /^X\/\(\/\/\)$/{
19062 s//\1/
19065 /^X\/\(\/\).*/{
19066 s//\1/
19069 s/.*/./; q'`
19071 # Avoid depending upon Character Ranges.
19072 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19073 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19074 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19075 as_cr_digits='0123456789'
19076 as_cr_alnum=$as_cr_Letters$as_cr_digits
19078 ECHO_C= ECHO_N= ECHO_T=
19079 case `echo -n x` in #(((((
19080 -n*)
19081 case `echo 'xy\c'` in
19082 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19083 xy) ECHO_C='\c';;
19084 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19085 ECHO_T=' ';;
19086 esac;;
19088 ECHO_N='-n';;
19089 esac
19091 rm -f conf$$ conf$$.exe conf$$.file
19092 if test -d conf$$.dir; then
19093 rm -f conf$$.dir/conf$$.file
19094 else
19095 rm -f conf$$.dir
19096 mkdir conf$$.dir 2>/dev/null
19098 if (echo >conf$$.file) 2>/dev/null; then
19099 if ln -s conf$$.file conf$$ 2>/dev/null; then
19100 as_ln_s='ln -s'
19101 # ... but there are two gotchas:
19102 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19103 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19104 # In both cases, we have to default to `cp -pR'.
19105 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19106 as_ln_s='cp -pR'
19107 elif ln conf$$.file conf$$ 2>/dev/null; then
19108 as_ln_s=ln
19109 else
19110 as_ln_s='cp -pR'
19112 else
19113 as_ln_s='cp -pR'
19115 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19116 rmdir conf$$.dir 2>/dev/null
19119 # as_fn_mkdir_p
19120 # -------------
19121 # Create "$as_dir" as a directory, including parents if necessary.
19122 as_fn_mkdir_p ()
19125 case $as_dir in #(
19126 -*) as_dir=./$as_dir;;
19127 esac
19128 test -d "$as_dir" || eval $as_mkdir_p || {
19129 as_dirs=
19130 while :; do
19131 case $as_dir in #(
19132 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19133 *) as_qdir=$as_dir;;
19134 esac
19135 as_dirs="'$as_qdir' $as_dirs"
19136 as_dir=`$as_dirname -- "$as_dir" ||
19137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19138 X"$as_dir" : 'X\(//\)[^/]' \| \
19139 X"$as_dir" : 'X\(//\)$' \| \
19140 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19141 $as_echo X"$as_dir" |
19142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19143 s//\1/
19146 /^X\(\/\/\)[^/].*/{
19147 s//\1/
19150 /^X\(\/\/\)$/{
19151 s//\1/
19154 /^X\(\/\).*/{
19155 s//\1/
19158 s/.*/./; q'`
19159 test -d "$as_dir" && break
19160 done
19161 test -z "$as_dirs" || eval "mkdir $as_dirs"
19162 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19165 } # as_fn_mkdir_p
19166 if mkdir -p . 2>/dev/null; then
19167 as_mkdir_p='mkdir -p "$as_dir"'
19168 else
19169 test -d ./-p && rmdir ./-p
19170 as_mkdir_p=false
19174 # as_fn_executable_p FILE
19175 # -----------------------
19176 # Test if FILE is an executable regular file.
19177 as_fn_executable_p ()
19179 test -f "$1" && test -x "$1"
19180 } # as_fn_executable_p
19181 as_test_x='test -x'
19182 as_executable_p=as_fn_executable_p
19184 # Sed expression to map a string onto a valid CPP name.
19185 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19187 # Sed expression to map a string onto a valid variable name.
19188 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19191 exec 6>&1
19192 ## ----------------------------------- ##
19193 ## Main body of $CONFIG_STATUS script. ##
19194 ## ----------------------------------- ##
19195 _ASEOF
19196 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19199 # Save the log message, to keep $0 and so on meaningful, and to
19200 # report actual input values of CONFIG_FILES etc. instead of their
19201 # values after options handling.
19202 ac_log="
19203 This file was extended by Wine $as_me 2.3, which was
19204 generated by GNU Autoconf 2.69. Invocation command line was
19206 CONFIG_FILES = $CONFIG_FILES
19207 CONFIG_HEADERS = $CONFIG_HEADERS
19208 CONFIG_LINKS = $CONFIG_LINKS
19209 CONFIG_COMMANDS = $CONFIG_COMMANDS
19210 $ $0 $@
19212 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19215 _ACEOF
19217 case $ac_config_files in *"
19218 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19219 esac
19221 case $ac_config_headers in *"
19222 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19223 esac
19226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19227 # Files that config.status was made for.
19228 config_files="$ac_config_files"
19229 config_headers="$ac_config_headers"
19230 config_links="$ac_config_links"
19231 config_commands="$ac_config_commands"
19233 _ACEOF
19235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19236 ac_cs_usage="\
19237 \`$as_me' instantiates files and other configuration actions
19238 from templates according to the current configuration. Unless the files
19239 and actions are specified as TAGs, all are instantiated by default.
19241 Usage: $0 [OPTION]... [TAG]...
19243 -h, --help print this help, then exit
19244 -V, --version print version number and configuration settings, then exit
19245 --config print configuration, then exit
19246 -q, --quiet, --silent
19247 do not print progress messages
19248 -d, --debug don't remove temporary files
19249 --recheck update $as_me by reconfiguring in the same conditions
19250 --file=FILE[:TEMPLATE]
19251 instantiate the configuration file FILE
19252 --header=FILE[:TEMPLATE]
19253 instantiate the configuration header FILE
19255 Configuration files:
19256 $config_files
19258 Configuration headers:
19259 $config_headers
19261 Configuration links:
19262 $config_links
19264 Configuration commands:
19265 $config_commands
19267 Report bugs to <wine-devel@winehq.org>.
19268 Wine home page: <http://www.winehq.org>."
19270 _ACEOF
19271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19272 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19273 ac_cs_version="\\
19274 Wine config.status 2.3
19275 configured by $0, generated by GNU Autoconf 2.69,
19276 with options \\"\$ac_cs_config\\"
19278 Copyright (C) 2012 Free Software Foundation, Inc.
19279 This config.status script is free software; the Free Software Foundation
19280 gives unlimited permission to copy, distribute and modify it."
19282 ac_pwd='$ac_pwd'
19283 srcdir='$srcdir'
19284 test -n "\$AWK" || AWK=awk
19285 _ACEOF
19287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19288 # The default lists apply if the user does not specify any file.
19289 ac_need_defaults=:
19290 while test $# != 0
19292 case $1 in
19293 --*=?*)
19294 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19295 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19296 ac_shift=:
19298 --*=)
19299 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19300 ac_optarg=
19301 ac_shift=:
19304 ac_option=$1
19305 ac_optarg=$2
19306 ac_shift=shift
19308 esac
19310 case $ac_option in
19311 # Handling of the options.
19312 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19313 ac_cs_recheck=: ;;
19314 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19315 $as_echo "$ac_cs_version"; exit ;;
19316 --config | --confi | --conf | --con | --co | --c )
19317 $as_echo "$ac_cs_config"; exit ;;
19318 --debug | --debu | --deb | --de | --d | -d )
19319 debug=: ;;
19320 --file | --fil | --fi | --f )
19321 $ac_shift
19322 case $ac_optarg in
19323 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19324 '') as_fn_error $? "missing file argument" ;;
19325 esac
19326 as_fn_append CONFIG_FILES " '$ac_optarg'"
19327 ac_need_defaults=false;;
19328 --header | --heade | --head | --hea )
19329 $ac_shift
19330 case $ac_optarg in
19331 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19332 esac
19333 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19334 ac_need_defaults=false;;
19335 --he | --h)
19336 # Conflict between --help and --header
19337 as_fn_error $? "ambiguous option: \`$1'
19338 Try \`$0 --help' for more information.";;
19339 --help | --hel | -h )
19340 $as_echo "$ac_cs_usage"; exit ;;
19341 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19342 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19343 ac_cs_silent=: ;;
19345 # This is an error.
19346 -*) as_fn_error $? "unrecognized option: \`$1'
19347 Try \`$0 --help' for more information." ;;
19349 *) as_fn_append ac_config_targets " $1"
19350 ac_need_defaults=false ;;
19352 esac
19353 shift
19354 done
19356 ac_configure_extra_args=
19358 if $ac_cs_silent; then
19359 exec 6>/dev/null
19360 ac_configure_extra_args="$ac_configure_extra_args --silent"
19363 _ACEOF
19364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19365 if \$ac_cs_recheck; then
19366 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19367 shift
19368 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19369 CONFIG_SHELL='$SHELL'
19370 export CONFIG_SHELL
19371 exec "\$@"
19374 _ACEOF
19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19376 exec 5>>config.log
19378 echo
19379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19380 ## Running $as_me. ##
19381 _ASBOX
19382 $as_echo "$ac_log"
19383 } >&5
19385 _ACEOF
19386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19388 # INIT-COMMANDS
19390 wine_fn_output_makedep ()
19392 as_dir=tools; as_fn_mkdir_p
19393 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19395 wine_fn_output_makefile ()
19397 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19398 `cat $wine_rules_file`
19399 _WINE_EOF
19400 as_fn_error $? "could not create Makefile" "$LINENO" 5
19403 _ACEOF
19405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19407 # Handling of arguments.
19408 for ac_config_target in $ac_config_targets
19410 case $ac_config_target in
19411 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19412 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19413 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19414 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19415 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19416 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19417 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19418 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19419 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19420 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19421 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19422 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19423 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19425 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19426 esac
19427 done
19430 # If the user did not use the arguments to specify the items to instantiate,
19431 # then the envvar interface is used. Set only those that are not.
19432 # We use the long form for the default assignment because of an extremely
19433 # bizarre bug on SunOS 4.1.3.
19434 if $ac_need_defaults; then
19435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19437 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19441 # Have a temporary directory for convenience. Make it in the build tree
19442 # simply because there is no reason against having it here, and in addition,
19443 # creating and moving files from /tmp can sometimes cause problems.
19444 # Hook for its removal unless debugging.
19445 # Note that there is a small window in which the directory will not be cleaned:
19446 # after its creation but before its name has been assigned to `$tmp'.
19447 $debug ||
19449 tmp= ac_tmp=
19450 trap 'exit_status=$?
19451 : "${ac_tmp:=$tmp}"
19452 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19454 trap 'as_fn_exit 1' 1 2 13 15
19456 # Create a (secure) tmp directory for tmp files.
19459 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19460 test -d "$tmp"
19461 } ||
19463 tmp=./conf$$-$RANDOM
19464 (umask 077 && mkdir "$tmp")
19465 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19466 ac_tmp=$tmp
19468 # Set up the scripts for CONFIG_FILES section.
19469 # No need to generate them if there are no CONFIG_FILES.
19470 # This happens for instance with `./config.status config.h'.
19471 if test -n "$CONFIG_FILES"; then
19474 ac_cr=`echo X | tr X '\015'`
19475 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19476 # But we know of no other shell where ac_cr would be empty at this
19477 # point, so we can use a bashism as a fallback.
19478 if test "x$ac_cr" = x; then
19479 eval ac_cr=\$\'\\r\'
19481 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19482 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19483 ac_cs_awk_cr='\\r'
19484 else
19485 ac_cs_awk_cr=$ac_cr
19488 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19489 _ACEOF
19493 echo "cat >conf$$subs.awk <<_ACEOF" &&
19494 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19495 echo "_ACEOF"
19496 } >conf$$subs.sh ||
19497 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19498 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19499 ac_delim='%!_!# '
19500 for ac_last_try in false false false false false :; do
19501 . ./conf$$subs.sh ||
19502 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19504 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19505 if test $ac_delim_n = $ac_delim_num; then
19506 break
19507 elif $ac_last_try; then
19508 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19509 else
19510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19512 done
19513 rm -f conf$$subs.sh
19515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19516 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19517 _ACEOF
19518 sed -n '
19520 s/^/S["/; s/!.*/"]=/
19523 s/^[^!]*!//
19524 :repl
19525 t repl
19526 s/'"$ac_delim"'$//
19527 t delim
19530 s/\(.\{148\}\)..*/\1/
19531 t more1
19532 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19535 b repl
19536 :more1
19537 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19540 s/.\{148\}//
19541 t nl
19542 :delim
19544 s/\(.\{148\}\)..*/\1/
19545 t more2
19546 s/["\\]/\\&/g; s/^/"/; s/$/"/
19549 :more2
19550 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19553 s/.\{148\}//
19554 t delim
19555 ' <conf$$subs.awk | sed '
19556 /^[^""]/{
19558 s/\n//
19560 ' >>$CONFIG_STATUS || ac_write_fail=1
19561 rm -f conf$$subs.awk
19562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19563 _ACAWK
19564 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19565 for (key in S) S_is_set[key] = 1
19566 FS = "\a"
19570 line = $ 0
19571 nfields = split(line, field, "@")
19572 substed = 0
19573 len = length(field[1])
19574 for (i = 2; i < nfields; i++) {
19575 key = field[i]
19576 keylen = length(key)
19577 if (S_is_set[key]) {
19578 value = S[key]
19579 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19580 len += length(value) + length(field[++i])
19581 substed = 1
19582 } else
19583 len += 1 + keylen
19586 print line
19589 _ACAWK
19590 _ACEOF
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19592 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19593 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19594 else
19596 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19597 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19598 _ACEOF
19600 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19601 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19602 # trailing colons and then remove the whole line if VPATH becomes empty
19603 # (actually we leave an empty line to preserve line numbers).
19604 if test "x$srcdir" = x.; then
19605 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19607 s///
19608 s/^/:/
19609 s/[ ]*$/:/
19610 s/:\$(srcdir):/:/g
19611 s/:\${srcdir}:/:/g
19612 s/:@srcdir@:/:/g
19613 s/^:*//
19614 s/:*$//
19616 s/\(=[ ]*\).*/\1/
19618 s/\n//
19619 s/^[^=]*=[ ]*$//
19623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19624 fi # test -n "$CONFIG_FILES"
19626 # Set up the scripts for CONFIG_HEADERS section.
19627 # No need to generate them if there are no CONFIG_HEADERS.
19628 # This happens for instance with `./config.status Makefile'.
19629 if test -n "$CONFIG_HEADERS"; then
19630 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19631 BEGIN {
19632 _ACEOF
19634 # Transform confdefs.h into an awk script `defines.awk', embedded as
19635 # here-document in config.status, that substitutes the proper values into
19636 # config.h.in to produce config.h.
19638 # Create a delimiter string that does not exist in confdefs.h, to ease
19639 # handling of long lines.
19640 ac_delim='%!_!# '
19641 for ac_last_try in false false :; do
19642 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19643 if test -z "$ac_tt"; then
19644 break
19645 elif $ac_last_try; then
19646 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19647 else
19648 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19650 done
19652 # For the awk script, D is an array of macro values keyed by name,
19653 # likewise P contains macro parameters if any. Preserve backslash
19654 # newline sequences.
19656 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19657 sed -n '
19658 s/.\{148\}/&'"$ac_delim"'/g
19659 t rset
19660 :rset
19661 s/^[ ]*#[ ]*define[ ][ ]*/ /
19662 t def
19664 :def
19665 s/\\$//
19666 t bsnl
19667 s/["\\]/\\&/g
19668 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19669 D["\1"]=" \3"/p
19670 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19672 :bsnl
19673 s/["\\]/\\&/g
19674 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19675 D["\1"]=" \3\\\\\\n"\\/p
19676 t cont
19677 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19678 t cont
19680 :cont
19682 s/.\{148\}/&'"$ac_delim"'/g
19683 t clear
19684 :clear
19685 s/\\$//
19686 t bsnlc
19687 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19689 :bsnlc
19690 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19691 b cont
19692 ' <confdefs.h | sed '
19693 s/'"$ac_delim"'/"\\\
19694 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19697 for (key in D) D_is_set[key] = 1
19698 FS = "\a"
19700 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19701 line = \$ 0
19702 split(line, arg, " ")
19703 if (arg[1] == "#") {
19704 defundef = arg[2]
19705 mac1 = arg[3]
19706 } else {
19707 defundef = substr(arg[1], 2)
19708 mac1 = arg[2]
19710 split(mac1, mac2, "(") #)
19711 macro = mac2[1]
19712 prefix = substr(line, 1, index(line, defundef) - 1)
19713 if (D_is_set[macro]) {
19714 # Preserve the white space surrounding the "#".
19715 print prefix "define", macro P[macro] D[macro]
19716 next
19717 } else {
19718 # Replace #undef with comments. This is necessary, for example,
19719 # in the case of _POSIX_SOURCE, which is predefined and required
19720 # on some systems where configure will not decide to define it.
19721 if (defundef == "undef") {
19722 print "/*", prefix defundef, macro, "*/"
19723 next
19727 { print }
19728 _ACAWK
19729 _ACEOF
19730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19731 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19732 fi # test -n "$CONFIG_HEADERS"
19735 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19736 shift
19737 for ac_tag
19739 case $ac_tag in
19740 :[FHLC]) ac_mode=$ac_tag; continue;;
19741 esac
19742 case $ac_mode$ac_tag in
19743 :[FHL]*:*);;
19744 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19745 :[FH]-) ac_tag=-:-;;
19746 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19747 esac
19748 ac_save_IFS=$IFS
19749 IFS=:
19750 set x $ac_tag
19751 IFS=$ac_save_IFS
19752 shift
19753 ac_file=$1
19754 shift
19756 case $ac_mode in
19757 :L) ac_source=$1;;
19758 :[FH])
19759 ac_file_inputs=
19760 for ac_f
19762 case $ac_f in
19763 -) ac_f="$ac_tmp/stdin";;
19764 *) # Look for the file first in the build tree, then in the source tree
19765 # (if the path is not absolute). The absolute path cannot be DOS-style,
19766 # because $ac_f cannot contain `:'.
19767 test -f "$ac_f" ||
19768 case $ac_f in
19769 [\\/$]*) false;;
19770 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19771 esac ||
19772 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19773 esac
19774 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19775 as_fn_append ac_file_inputs " '$ac_f'"
19776 done
19778 # Let's still pretend it is `configure' which instantiates (i.e., don't
19779 # use $as_me), people would be surprised to read:
19780 # /* config.h. Generated by config.status. */
19781 configure_input='Generated from '`
19782 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19783 `' by configure.'
19784 if test x"$ac_file" != x-; then
19785 configure_input="$ac_file. $configure_input"
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19787 $as_echo "$as_me: creating $ac_file" >&6;}
19789 # Neutralize special characters interpreted by sed in replacement strings.
19790 case $configure_input in #(
19791 *\&* | *\|* | *\\* )
19792 ac_sed_conf_input=`$as_echo "$configure_input" |
19793 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19794 *) ac_sed_conf_input=$configure_input;;
19795 esac
19797 case $ac_tag in
19798 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19800 esac
19802 esac
19804 ac_dir=`$as_dirname -- "$ac_file" ||
19805 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19806 X"$ac_file" : 'X\(//\)[^/]' \| \
19807 X"$ac_file" : 'X\(//\)$' \| \
19808 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19809 $as_echo X"$ac_file" |
19810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19811 s//\1/
19814 /^X\(\/\/\)[^/].*/{
19815 s//\1/
19818 /^X\(\/\/\)$/{
19819 s//\1/
19822 /^X\(\/\).*/{
19823 s//\1/
19826 s/.*/./; q'`
19827 as_dir="$ac_dir"; as_fn_mkdir_p
19828 ac_builddir=.
19830 case "$ac_dir" in
19831 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19833 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19834 # A ".." for each directory in $ac_dir_suffix.
19835 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19836 case $ac_top_builddir_sub in
19837 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19838 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19839 esac ;;
19840 esac
19841 ac_abs_top_builddir=$ac_pwd
19842 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19843 # for backward compatibility:
19844 ac_top_builddir=$ac_top_build_prefix
19846 case $srcdir in
19847 .) # We are building in place.
19848 ac_srcdir=.
19849 ac_top_srcdir=$ac_top_builddir_sub
19850 ac_abs_top_srcdir=$ac_pwd ;;
19851 [\\/]* | ?:[\\/]* ) # Absolute name.
19852 ac_srcdir=$srcdir$ac_dir_suffix;
19853 ac_top_srcdir=$srcdir
19854 ac_abs_top_srcdir=$srcdir ;;
19855 *) # Relative name.
19856 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19857 ac_top_srcdir=$ac_top_build_prefix$srcdir
19858 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19859 esac
19860 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19863 case $ac_mode in
19866 # CONFIG_FILE
19869 _ACEOF
19871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19872 # If the template does not know about datarootdir, expand it.
19873 # FIXME: This hack should be removed a few years after 2.60.
19874 ac_datarootdir_hack=; ac_datarootdir_seen=
19875 ac_sed_dataroot='
19876 /datarootdir/ {
19880 /@datadir@/p
19881 /@docdir@/p
19882 /@infodir@/p
19883 /@localedir@/p
19884 /@mandir@/p'
19885 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19886 *datarootdir*) ac_datarootdir_seen=yes;;
19887 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19889 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19890 _ACEOF
19891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19892 ac_datarootdir_hack='
19893 s&@datadir@&$datadir&g
19894 s&@docdir@&$docdir&g
19895 s&@infodir@&$infodir&g
19896 s&@localedir@&$localedir&g
19897 s&@mandir@&$mandir&g
19898 s&\\\${datarootdir}&$datarootdir&g' ;;
19899 esac
19900 _ACEOF
19902 # Neutralize VPATH when `$srcdir' = `.'.
19903 # Shell code in configure.ac might set extrasub.
19904 # FIXME: do we really want to maintain this feature?
19905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19906 ac_sed_extra="$ac_vpsub
19907 $extrasub
19908 _ACEOF
19909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19912 s|@configure_input@|$ac_sed_conf_input|;t t
19913 s&@top_builddir@&$ac_top_builddir_sub&;t t
19914 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19915 s&@srcdir@&$ac_srcdir&;t t
19916 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19917 s&@top_srcdir@&$ac_top_srcdir&;t t
19918 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19919 s&@builddir@&$ac_builddir&;t t
19920 s&@abs_builddir@&$ac_abs_builddir&;t t
19921 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19922 $ac_datarootdir_hack
19924 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19925 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19927 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19928 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19929 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19930 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19932 which seems to be undefined. Please make sure it is defined" >&5
19933 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19934 which seems to be undefined. Please make sure it is defined" >&2;}
19936 rm -f "$ac_tmp/stdin"
19937 case $ac_file in
19938 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19939 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19940 esac \
19941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19945 # CONFIG_HEADER
19947 if test x"$ac_file" != x-; then
19949 $as_echo "/* $configure_input */" \
19950 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19951 } >"$ac_tmp/config.h" \
19952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19953 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19955 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19956 else
19957 rm -f "$ac_file"
19958 mv "$ac_tmp/config.h" "$ac_file" \
19959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19961 else
19962 $as_echo "/* $configure_input */" \
19963 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19964 || as_fn_error $? "could not create -" "$LINENO" 5
19969 # CONFIG_LINK
19972 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19974 else
19975 # Prefer the file from the source tree if names are identical.
19976 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19977 ac_source=$srcdir/$ac_source
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19981 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19983 if test ! -r "$ac_source"; then
19984 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19986 rm -f "$ac_file"
19988 # Try a relative symlink, then a hard link, then a copy.
19989 case $ac_source in
19990 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19991 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19992 esac
19993 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19994 ln "$ac_source" "$ac_file" 2>/dev/null ||
19995 cp -p "$ac_source" "$ac_file" ||
19996 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19999 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20000 $as_echo "$as_me: executing $ac_file commands" >&6;}
20002 esac
20005 case $ac_file$ac_mode in
20006 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20007 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20008 "Makefile":C) wine_fn_output_makefile Makefile ;;
20010 esac
20011 done # for ac_tag
20014 as_fn_exit 0
20015 _ACEOF
20016 ac_clean_files=$ac_clean_files_save
20018 test $ac_write_fail = 0 ||
20019 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20022 # configure is writing to config.log, and then calls config.status.
20023 # config.status does its own redirection, appending to config.log.
20024 # Unfortunately, on DOS this fails, as config.log is still kept open
20025 # by configure, so config.status won't be able to write to it; its
20026 # output is simply discarded. So we exec the FD to /dev/null,
20027 # effectively closing config.log, so it can be properly (re)opened and
20028 # appended to by config.status. When coming back to configure, we
20029 # need to make the FD available again.
20030 if test "$no_create" != yes; then
20031 ac_cs_success=:
20032 ac_config_status_args=
20033 test "$silent" = yes &&
20034 ac_config_status_args="$ac_config_status_args --quiet"
20035 exec 5>/dev/null
20036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20037 exec 5>>config.log
20038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20039 # would make configure fail if this is the last instruction.
20040 $ac_cs_success || as_fn_exit 1
20042 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20044 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20048 if test "$no_create" = "yes"
20049 then
20050 exit 0
20053 ac_save_IFS="$IFS"
20054 if test "x$wine_notices" != x; then
20055 echo >&6
20056 IFS="|"
20057 for msg in $wine_notices; do
20058 IFS="$ac_save_IFS"
20059 if ${msg:+false} :; then :
20061 else
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20063 $as_echo "$as_me: $msg" >&6;}
20065 done
20067 IFS="|"
20068 for msg in $wine_warnings; do
20069 IFS="$ac_save_IFS"
20070 if ${msg:+false} :; then :
20072 else
20073 echo >&2
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20075 $as_echo "$as_me: WARNING: $msg" >&2;}
20077 done
20078 IFS="$ac_save_IFS"
20080 $as_echo "
20081 $as_me: Finished. Do '${ac_make}' to compile Wine.
20082 " >&6