wbemdisp: Implement ISWbemProperty::get_Value.
[wine.git] / configure
blob9e46fbc83a8e3c58f6a73b049494ff5631c8acc2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.5.
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.5'
584 PACKAGE_STRING='Wine 2.5'
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_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_mm_misc_l1_1_1
1022 enable_api_ms_win_mm_mme_l1_1_0
1023 enable_api_ms_win_ntuser_dc_access_l1_1_0
1024 enable_api_ms_win_power_base_l1_1_0
1025 enable_api_ms_win_power_setting_l1_1_0
1026 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1027 enable_api_ms_win_security_audit_l1_1_1
1028 enable_api_ms_win_security_base_l1_1_0
1029 enable_api_ms_win_security_base_l1_2_0
1030 enable_api_ms_win_security_base_private_l1_1_1
1031 enable_api_ms_win_security_grouppolicy_l1_1_0
1032 enable_api_ms_win_security_lsalookup_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_1
1034 enable_api_ms_win_security_lsalookup_l2_1_1
1035 enable_api_ms_win_security_lsapolicy_l1_1_0
1036 enable_api_ms_win_security_sddl_l1_1_0
1037 enable_api_ms_win_security_systemfunctions_l1_1_0
1038 enable_api_ms_win_service_core_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_1
1040 enable_api_ms_win_service_management_l1_1_0
1041 enable_api_ms_win_service_management_l2_1_0
1042 enable_api_ms_win_service_private_l1_1_1
1043 enable_api_ms_win_service_winsvc_l1_1_0
1044 enable_api_ms_win_service_winsvc_l1_2_0
1045 enable_api_ms_win_shell_shellcom_l1_1_0
1046 enable_api_ms_win_shell_shellfolders_l1_1_0
1047 enable_apphelp
1048 enable_appwiz_cpl
1049 enable_atl
1050 enable_atl100
1051 enable_atl110
1052 enable_atl80
1053 enable_atl90
1054 enable_authz
1055 enable_avicap32
1056 enable_avifil32
1057 enable_avrt
1058 enable_bcrypt
1059 enable_bluetoothapis
1060 enable_browseui
1061 enable_bthprops_cpl
1062 enable_cabinet
1063 enable_capi2032
1064 enable_cards
1065 enable_cfgmgr32
1066 enable_clusapi
1067 enable_combase
1068 enable_comcat
1069 enable_comctl32
1070 enable_comdlg32
1071 enable_compstui
1072 enable_comsvcs
1073 enable_concrt140
1074 enable_connect
1075 enable_credui
1076 enable_crtdll
1077 enable_crypt32
1078 enable_cryptdlg
1079 enable_cryptdll
1080 enable_cryptext
1081 enable_cryptnet
1082 enable_cryptui
1083 enable_ctapi32
1084 enable_ctl3d32
1085 enable_d2d1
1086 enable_d3d10
1087 enable_d3d10_1
1088 enable_d3d10core
1089 enable_d3d11
1090 enable_d3d8
1091 enable_d3d9
1092 enable_d3dcompiler_33
1093 enable_d3dcompiler_34
1094 enable_d3dcompiler_35
1095 enable_d3dcompiler_36
1096 enable_d3dcompiler_37
1097 enable_d3dcompiler_38
1098 enable_d3dcompiler_39
1099 enable_d3dcompiler_40
1100 enable_d3dcompiler_41
1101 enable_d3dcompiler_42
1102 enable_d3dcompiler_43
1103 enable_d3dcompiler_46
1104 enable_d3dcompiler_47
1105 enable_d3dim
1106 enable_d3drm
1107 enable_d3dx10_33
1108 enable_d3dx10_34
1109 enable_d3dx10_35
1110 enable_d3dx10_36
1111 enable_d3dx10_37
1112 enable_d3dx10_38
1113 enable_d3dx10_39
1114 enable_d3dx10_40
1115 enable_d3dx10_41
1116 enable_d3dx10_42
1117 enable_d3dx10_43
1118 enable_d3dx11_42
1119 enable_d3dx11_43
1120 enable_d3dx9_24
1121 enable_d3dx9_25
1122 enable_d3dx9_26
1123 enable_d3dx9_27
1124 enable_d3dx9_28
1125 enable_d3dx9_29
1126 enable_d3dx9_30
1127 enable_d3dx9_31
1128 enable_d3dx9_32
1129 enable_d3dx9_33
1130 enable_d3dx9_34
1131 enable_d3dx9_35
1132 enable_d3dx9_36
1133 enable_d3dx9_37
1134 enable_d3dx9_38
1135 enable_d3dx9_39
1136 enable_d3dx9_40
1137 enable_d3dx9_41
1138 enable_d3dx9_42
1139 enable_d3dx9_43
1140 enable_d3dxof
1141 enable_davclnt
1142 enable_dbgeng
1143 enable_dbghelp
1144 enable_dciman32
1145 enable_ddraw
1146 enable_ddrawex
1147 enable_devenum
1148 enable_dhcpcsvc
1149 enable_difxapi
1150 enable_dinput
1151 enable_dinput8
1152 enable_dispex
1153 enable_dmband
1154 enable_dmcompos
1155 enable_dmime
1156 enable_dmloader
1157 enable_dmscript
1158 enable_dmstyle
1159 enable_dmsynth
1160 enable_dmusic
1161 enable_dmusic32
1162 enable_dnsapi
1163 enable_dplay
1164 enable_dplayx
1165 enable_dpnaddr
1166 enable_dpnet
1167 enable_dpnhpast
1168 enable_dpnlobby
1169 enable_dpvoice
1170 enable_dpwsockx
1171 enable_drmclien
1172 enable_dsound
1173 enable_dssenh
1174 enable_dswave
1175 enable_dwmapi
1176 enable_dwrite
1177 enable_dxdiagn
1178 enable_dxgi
1179 enable_dxva2
1180 enable_esent
1181 enable_evr
1182 enable_explorerframe
1183 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1184 enable_ext_ms_win_gdi_dc_create_l1_1_1
1185 enable_ext_ms_win_gdi_dc_l1_2_0
1186 enable_ext_ms_win_gdi_devcaps_l1_1_0
1187 enable_ext_ms_win_gdi_draw_l1_1_1
1188 enable_ext_ms_win_gdi_render_l1_1_0
1189 enable_ext_ms_win_kernel32_package_current_l1_1_0
1190 enable_ext_ms_win_ntuser_message_l1_1_1
1191 enable_ext_ms_win_ntuser_private_l1_1_1
1192 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1193 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1194 enable_ext_ms_win_ntuser_window_l1_1_1
1195 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1196 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1197 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1198 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1200 enable_faultrep
1201 enable_fltlib
1202 enable_fltmgr_sys
1203 enable_fntcache
1204 enable_fontsub
1205 enable_fusion
1206 enable_fwpuclnt
1207 enable_gameux
1208 enable_gdi32
1209 enable_gdiplus
1210 enable_glu32
1211 enable_gphoto2_ds
1212 enable_gpkcsp
1213 enable_hal
1214 enable_hhctrl_ocx
1215 enable_hid
1216 enable_hidclass_sys
1217 enable_hlink
1218 enable_hnetcfg
1219 enable_httpapi
1220 enable_iccvid
1221 enable_icmp
1222 enable_ieframe
1223 enable_imaadp32_acm
1224 enable_imagehlp
1225 enable_imm32
1226 enable_inetcomm
1227 enable_inetcpl_cpl
1228 enable_inetmib1
1229 enable_infosoft
1230 enable_initpki
1231 enable_inkobj
1232 enable_inseng
1233 enable_iphlpapi
1234 enable_iprop
1235 enable_irprops_cpl
1236 enable_itircl
1237 enable_itss
1238 enable_joy_cpl
1239 enable_jscript
1240 enable_jsproxy
1241 enable_kernel32
1242 enable_kernelbase
1243 enable_ksuser
1244 enable_ktmw32
1245 enable_loadperf
1246 enable_localspl
1247 enable_localui
1248 enable_lz32
1249 enable_mapi32
1250 enable_mapistub
1251 enable_mciavi32
1252 enable_mcicda
1253 enable_mciqtz32
1254 enable_mciseq
1255 enable_mciwave
1256 enable_mf
1257 enable_mf3216
1258 enable_mfplat
1259 enable_mfreadwrite
1260 enable_mgmtapi
1261 enable_midimap
1262 enable_mlang
1263 enable_mmcndmgr
1264 enable_mmdevapi
1265 enable_mountmgr_sys
1266 enable_mpr
1267 enable_mprapi
1268 enable_msacm32_drv
1269 enable_msacm32
1270 enable_msadp32_acm
1271 enable_msasn1
1272 enable_mscat32
1273 enable_mscms
1274 enable_mscoree
1275 enable_msctf
1276 enable_msctfp
1277 enable_msdaps
1278 enable_msdelta
1279 enable_msdmo
1280 enable_msdrm
1281 enable_msftedit
1282 enable_msg711_acm
1283 enable_msgsm32_acm
1284 enable_mshtml_tlb
1285 enable_mshtml
1286 enable_msi
1287 enable_msident
1288 enable_msimg32
1289 enable_msimsg
1290 enable_msimtf
1291 enable_msisip
1292 enable_msisys_ocx
1293 enable_msls31
1294 enable_msnet32
1295 enable_mspatcha
1296 enable_msports
1297 enable_msrle32
1298 enable_msscript_ocx
1299 enable_mssign32
1300 enable_mssip32
1301 enable_mstask
1302 enable_msvcirt
1303 enable_msvcm80
1304 enable_msvcm90
1305 enable_msvcp100
1306 enable_msvcp110
1307 enable_msvcp120
1308 enable_msvcp120_app
1309 enable_msvcp140
1310 enable_msvcp60
1311 enable_msvcp70
1312 enable_msvcp71
1313 enable_msvcp80
1314 enable_msvcp90
1315 enable_msvcr100
1316 enable_msvcr110
1317 enable_msvcr120
1318 enable_msvcr120_app
1319 enable_msvcr70
1320 enable_msvcr71
1321 enable_msvcr80
1322 enable_msvcr90
1323 enable_msvcrt
1324 enable_msvcrt20
1325 enable_msvcrt40
1326 enable_msvcrtd
1327 enable_msvfw32
1328 enable_msvidc32
1329 enable_mswsock
1330 enable_msxml
1331 enable_msxml2
1332 enable_msxml3
1333 enable_msxml4
1334 enable_msxml6
1335 enable_ncrypt
1336 enable_nddeapi
1337 enable_ndis_sys
1338 enable_netapi32
1339 enable_netcfgx
1340 enable_netprofm
1341 enable_newdev
1342 enable_normaliz
1343 enable_npmshtml
1344 enable_npptools
1345 enable_ntdll
1346 enable_ntdsapi
1347 enable_ntoskrnl_exe
1348 enable_ntprint
1349 enable_objsel
1350 enable_odbc32
1351 enable_odbccp32
1352 enable_odbccu32
1353 enable_ole32
1354 enable_oleacc
1355 enable_oleaut32
1356 enable_olecli32
1357 enable_oledb32
1358 enable_oledlg
1359 enable_olepro32
1360 enable_olesvr32
1361 enable_olethk32
1362 enable_openal32
1363 enable_opencl
1364 enable_opengl32
1365 enable_packager
1366 enable_pdh
1367 enable_photometadatahandler
1368 enable_pidgen
1369 enable_powrprof
1370 enable_printui
1371 enable_prntvpt
1372 enable_propsys
1373 enable_psapi
1374 enable_pstorec
1375 enable_qcap
1376 enable_qedit
1377 enable_qmgr
1378 enable_qmgrprxy
1379 enable_quartz
1380 enable_query
1381 enable_rasapi32
1382 enable_rasdlg
1383 enable_regapi
1384 enable_resutils
1385 enable_riched20
1386 enable_riched32
1387 enable_rpcrt4
1388 enable_rsabase
1389 enable_rsaenh
1390 enable_rstrtmgr
1391 enable_rtutils
1392 enable_samlib
1393 enable_sane_ds
1394 enable_scarddlg
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_secur32
1402 enable_security
1403 enable_sensapi
1404 enable_serialui
1405 enable_setupapi
1406 enable_sfc
1407 enable_sfc_os
1408 enable_shdoclc
1409 enable_shdocvw
1410 enable_shell32
1411 enable_shfolder
1412 enable_shlwapi
1413 enable_slbcsp
1414 enable_slc
1415 enable_snmpapi
1416 enable_softpub
1417 enable_spoolss
1418 enable_sspicli
1419 enable_stdole2_tlb
1420 enable_stdole32_tlb
1421 enable_sti
1422 enable_svrapi
1423 enable_sxs
1424 enable_t2embed
1425 enable_tapi32
1426 enable_taskschd
1427 enable_tdi_sys
1428 enable_traffic
1429 enable_twain_32
1430 enable_ucrtbase
1431 enable_uiautomationcore
1432 enable_unicows
1433 enable_updspapi
1434 enable_url
1435 enable_urlmon
1436 enable_usbd_sys
1437 enable_user32
1438 enable_userenv
1439 enable_usp10
1440 enable_uxtheme
1441 enable_vbscript
1442 enable_vcomp
1443 enable_vcomp100
1444 enable_vcomp110
1445 enable_vcomp120
1446 enable_vcomp140
1447 enable_vcomp90
1448 enable_vcruntime140
1449 enable_vdmdbg
1450 enable_version
1451 enable_virtdisk
1452 enable_vssapi
1453 enable_wbemdisp
1454 enable_wbemprox
1455 enable_webservices
1456 enable_wer
1457 enable_wevtapi
1458 enable_wiaservc
1459 enable_wimgapi
1460 enable_windowscodecs
1461 enable_windowscodecsext
1462 enable_winealsa_drv
1463 enable_winebus_sys
1464 enable_winecoreaudio_drv
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winejoystick_drv
1469 enable_winemac_drv
1470 enable_winemapi
1471 enable_winemp3_acm
1472 enable_wineoss_drv
1473 enable_wineps_drv
1474 enable_winepulse_drv
1475 enable_wineqtdecoder
1476 enable_winex11_drv
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winscard
1483 enable_winspool_drv
1484 enable_winsta
1485 enable_wintab32
1486 enable_wintrust
1487 enable_winusb
1488 enable_wlanapi
1489 enable_wldap32
1490 enable_wmasf
1491 enable_wmi
1492 enable_wmiutils
1493 enable_wmp
1494 enable_wmvcore
1495 enable_wnaspi32
1496 enable_wpc
1497 enable_wpcap
1498 enable_ws2_32
1499 enable_wsdapi
1500 enable_wshom_ocx
1501 enable_wsnmp32
1502 enable_wsock32
1503 enable_wtsapi32
1504 enable_wuapi
1505 enable_wuaueng
1506 enable_x3daudio1_0
1507 enable_x3daudio1_1
1508 enable_x3daudio1_2
1509 enable_x3daudio1_3
1510 enable_x3daudio1_4
1511 enable_x3daudio1_5
1512 enable_x3daudio1_6
1513 enable_x3daudio1_7
1514 enable_xapofx1_1
1515 enable_xapofx1_2
1516 enable_xapofx1_3
1517 enable_xapofx1_4
1518 enable_xapofx1_5
1519 enable_xaudio2_0
1520 enable_xaudio2_1
1521 enable_xaudio2_2
1522 enable_xaudio2_3
1523 enable_xaudio2_4
1524 enable_xaudio2_5
1525 enable_xaudio2_6
1526 enable_xaudio2_7
1527 enable_xaudio2_8
1528 enable_xaudio2_9
1529 enable_xinput1_1
1530 enable_xinput1_2
1531 enable_xinput1_3
1532 enable_xinput1_4
1533 enable_xinput9_1_0
1534 enable_xmllite
1535 enable_xolehlp
1536 enable_xpsprint
1537 enable_xpssvcs
1538 enable_fonts
1539 enable_include
1540 enable_libs_port
1541 enable_libs_wine
1542 enable_libs_wpp
1543 enable_loader
1544 enable_po
1545 enable_arp
1546 enable_aspnet_regiis
1547 enable_attrib
1548 enable_cabarc
1549 enable_cacls
1550 enable_clock
1551 enable_cmd
1552 enable_conhost
1553 enable_control
1554 enable_cscript
1555 enable_dpnsvr
1556 enable_dxdiag
1557 enable_eject
1558 enable_expand
1559 enable_explorer
1560 enable_extrac32
1561 enable_findstr
1562 enable_fsutil
1563 enable_hh
1564 enable_hostname
1565 enable_icacls
1566 enable_icinfo
1567 enable_iexplore
1568 enable_ipconfig
1569 enable_lodctr
1570 enable_mofcomp
1571 enable_mshta
1572 enable_msiexec
1573 enable_msinfo32
1574 enable_net
1575 enable_netsh
1576 enable_netstat
1577 enable_ngen
1578 enable_notepad
1579 enable_oleview
1580 enable_ping
1581 enable_plugplay
1582 enable_presentationfontcache
1583 enable_progman
1584 enable_reg
1585 enable_regasm
1586 enable_regedit
1587 enable_regsvcs
1588 enable_regsvr32
1589 enable_rpcss
1590 enable_rundll32
1591 enable_sc
1592 enable_schtasks
1593 enable_sdbinst
1594 enable_secedit
1595 enable_servicemodelreg
1596 enable_services
1597 enable_shutdown
1598 enable_spoolsv
1599 enable_start
1600 enable_subst
1601 enable_svchost
1602 enable_systeminfo
1603 enable_taskkill
1604 enable_tasklist
1605 enable_taskmgr
1606 enable_termsv
1607 enable_uninstaller
1608 enable_unlodctr
1609 enable_view
1610 enable_wevtutil
1611 enable_wineboot
1612 enable_winebrowser
1613 enable_winecfg
1614 enable_wineconsole
1615 enable_winedbg
1616 enable_winedevice
1617 enable_winefile
1618 enable_winemenubuilder
1619 enable_winemine
1620 enable_winemsibuilder
1621 enable_winepath
1622 enable_winetest
1623 enable_winhlp32
1624 enable_winver
1625 enable_wmic
1626 enable_wmplayer
1627 enable_wordpad
1628 enable_write
1629 enable_wscript
1630 enable_wusa
1631 enable_xcopy
1632 enable_server
1633 enable_tools
1635 ac_precious_vars='build_alias
1636 host_alias
1637 target_alias
1639 CFLAGS
1640 LDFLAGS
1641 LIBS
1642 CPPFLAGS
1644 CXXFLAGS
1647 XMKMF
1648 XML2_CFLAGS
1649 XML2_LIBS
1650 XSLT_CFLAGS
1651 XSLT_LIBS
1652 DBUS_CFLAGS
1653 DBUS_LIBS
1654 HAL_CFLAGS
1655 HAL_LIBS
1656 GNUTLS_CFLAGS
1657 GNUTLS_LIBS
1658 SANE_CFLAGS
1659 SANE_LIBS
1660 GPHOTO2_CFLAGS
1661 GPHOTO2_LIBS
1662 GPHOTO2_PORT_CFLAGS
1663 GPHOTO2_PORT_LIBS
1664 LCMS2_CFLAGS
1665 LCMS2_LIBS
1666 FREETYPE_CFLAGS
1667 FREETYPE_LIBS
1668 PULSE_CFLAGS
1669 PULSE_LIBS
1670 GSTREAMER_CFLAGS
1671 GSTREAMER_LIBS
1672 UDEV_CFLAGS
1673 UDEV_LIBS
1674 CAPI20_CFLAGS
1675 CAPI20_LIBS
1676 FONTCONFIG_CFLAGS
1677 FONTCONFIG_LIBS
1678 JPEG_CFLAGS
1679 JPEG_LIBS
1680 PNG_CFLAGS
1681 PNG_LIBS
1682 TIFF_CFLAGS
1683 TIFF_LIBS
1684 MPG123_CFLAGS
1685 MPG123_LIBS
1686 NETAPI_CFLAGS
1687 NETAPI_LIBS'
1690 # Initialize some variables set by options.
1691 ac_init_help=
1692 ac_init_version=false
1693 ac_unrecognized_opts=
1694 ac_unrecognized_sep=
1695 # The variables have the same names as the options, with
1696 # dashes changed to underlines.
1697 cache_file=/dev/null
1698 exec_prefix=NONE
1699 no_create=
1700 no_recursion=
1701 prefix=NONE
1702 program_prefix=NONE
1703 program_suffix=NONE
1704 program_transform_name=s,x,x,
1705 silent=
1706 site=
1707 srcdir=
1708 verbose=
1709 x_includes=NONE
1710 x_libraries=NONE
1712 # Installation directory options.
1713 # These are left unexpanded so users can "make install exec_prefix=/foo"
1714 # and all the variables that are supposed to be based on exec_prefix
1715 # by default will actually change.
1716 # Use braces instead of parens because sh, perl, etc. also accept them.
1717 # (The list follows the same order as the GNU Coding Standards.)
1718 bindir='${exec_prefix}/bin'
1719 sbindir='${exec_prefix}/sbin'
1720 libexecdir='${exec_prefix}/libexec'
1721 datarootdir='${prefix}/share'
1722 datadir='${datarootdir}'
1723 sysconfdir='${prefix}/etc'
1724 sharedstatedir='${prefix}/com'
1725 localstatedir='${prefix}/var'
1726 runstatedir='${localstatedir}/run'
1727 includedir='${prefix}/include'
1728 oldincludedir='/usr/include'
1729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1730 infodir='${datarootdir}/info'
1731 htmldir='${docdir}'
1732 dvidir='${docdir}'
1733 pdfdir='${docdir}'
1734 psdir='${docdir}'
1735 libdir='${exec_prefix}/lib'
1736 localedir='${datarootdir}/locale'
1737 mandir='${datarootdir}/man'
1739 ac_prev=
1740 ac_dashdash=
1741 for ac_option
1743 # If the previous option needs an argument, assign it.
1744 if test -n "$ac_prev"; then
1745 eval $ac_prev=\$ac_option
1746 ac_prev=
1747 continue
1750 case $ac_option in
1751 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1752 *=) ac_optarg= ;;
1753 *) ac_optarg=yes ;;
1754 esac
1756 # Accept the important Cygnus configure options, so we can diagnose typos.
1758 case $ac_dashdash$ac_option in
1760 ac_dashdash=yes ;;
1762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1763 ac_prev=bindir ;;
1764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1765 bindir=$ac_optarg ;;
1767 -build | --build | --buil | --bui | --bu)
1768 ac_prev=build_alias ;;
1769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1770 build_alias=$ac_optarg ;;
1772 -cache-file | --cache-file | --cache-fil | --cache-fi \
1773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1774 ac_prev=cache_file ;;
1775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1777 cache_file=$ac_optarg ;;
1779 --config-cache | -C)
1780 cache_file=config.cache ;;
1782 -datadir | --datadir | --datadi | --datad)
1783 ac_prev=datadir ;;
1784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1785 datadir=$ac_optarg ;;
1787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1788 | --dataroo | --dataro | --datar)
1789 ac_prev=datarootdir ;;
1790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1792 datarootdir=$ac_optarg ;;
1794 -disable-* | --disable-*)
1795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798 as_fn_error $? "invalid feature name: $ac_useropt"
1799 ac_useropt_orig=$ac_useropt
1800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1803 "enable_$ac_useropt"
1804 "*) ;;
1805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1806 ac_unrecognized_sep=', ';;
1807 esac
1808 eval enable_$ac_useropt=no ;;
1810 -docdir | --docdir | --docdi | --doc | --do)
1811 ac_prev=docdir ;;
1812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1813 docdir=$ac_optarg ;;
1815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1816 ac_prev=dvidir ;;
1817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1818 dvidir=$ac_optarg ;;
1820 -enable-* | --enable-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid feature name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "enable_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval enable_$ac_useropt=\$ac_optarg ;;
1836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1838 | --exec | --exe | --ex)
1839 ac_prev=exec_prefix ;;
1840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1842 | --exec=* | --exe=* | --ex=*)
1843 exec_prefix=$ac_optarg ;;
1845 -gas | --gas | --ga | --g)
1846 # Obsolete; use --with-gas.
1847 with_gas=yes ;;
1849 -help | --help | --hel | --he | -h)
1850 ac_init_help=long ;;
1851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1852 ac_init_help=recursive ;;
1853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1854 ac_init_help=short ;;
1856 -host | --host | --hos | --ho)
1857 ac_prev=host_alias ;;
1858 -host=* | --host=* | --hos=* | --ho=*)
1859 host_alias=$ac_optarg ;;
1861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1862 ac_prev=htmldir ;;
1863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1864 | --ht=*)
1865 htmldir=$ac_optarg ;;
1867 -includedir | --includedir | --includedi | --included | --include \
1868 | --includ | --inclu | --incl | --inc)
1869 ac_prev=includedir ;;
1870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1871 | --includ=* | --inclu=* | --incl=* | --inc=*)
1872 includedir=$ac_optarg ;;
1874 -infodir | --infodir | --infodi | --infod | --info | --inf)
1875 ac_prev=infodir ;;
1876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1877 infodir=$ac_optarg ;;
1879 -libdir | --libdir | --libdi | --libd)
1880 ac_prev=libdir ;;
1881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1882 libdir=$ac_optarg ;;
1884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1885 | --libexe | --libex | --libe)
1886 ac_prev=libexecdir ;;
1887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1888 | --libexe=* | --libex=* | --libe=*)
1889 libexecdir=$ac_optarg ;;
1891 -localedir | --localedir | --localedi | --localed | --locale)
1892 ac_prev=localedir ;;
1893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1894 localedir=$ac_optarg ;;
1896 -localstatedir | --localstatedir | --localstatedi | --localstated \
1897 | --localstate | --localstat | --localsta | --localst | --locals)
1898 ac_prev=localstatedir ;;
1899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1901 localstatedir=$ac_optarg ;;
1903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1904 ac_prev=mandir ;;
1905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1906 mandir=$ac_optarg ;;
1908 -nfp | --nfp | --nf)
1909 # Obsolete; use --without-fp.
1910 with_fp=no ;;
1912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1913 | --no-cr | --no-c | -n)
1914 no_create=yes ;;
1916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1918 no_recursion=yes ;;
1920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1922 | --oldin | --oldi | --old | --ol | --o)
1923 ac_prev=oldincludedir ;;
1924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1927 oldincludedir=$ac_optarg ;;
1929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1930 ac_prev=prefix ;;
1931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1932 prefix=$ac_optarg ;;
1934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1935 | --program-pre | --program-pr | --program-p)
1936 ac_prev=program_prefix ;;
1937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1939 program_prefix=$ac_optarg ;;
1941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1942 | --program-suf | --program-su | --program-s)
1943 ac_prev=program_suffix ;;
1944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1946 program_suffix=$ac_optarg ;;
1948 -program-transform-name | --program-transform-name \
1949 | --program-transform-nam | --program-transform-na \
1950 | --program-transform-n | --program-transform- \
1951 | --program-transform | --program-transfor \
1952 | --program-transfo | --program-transf \
1953 | --program-trans | --program-tran \
1954 | --progr-tra | --program-tr | --program-t)
1955 ac_prev=program_transform_name ;;
1956 -program-transform-name=* | --program-transform-name=* \
1957 | --program-transform-nam=* | --program-transform-na=* \
1958 | --program-transform-n=* | --program-transform-=* \
1959 | --program-transform=* | --program-transfor=* \
1960 | --program-transfo=* | --program-transf=* \
1961 | --program-trans=* | --program-tran=* \
1962 | --progr-tra=* | --program-tr=* | --program-t=*)
1963 program_transform_name=$ac_optarg ;;
1965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1966 ac_prev=pdfdir ;;
1967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1968 pdfdir=$ac_optarg ;;
1970 -psdir | --psdir | --psdi | --psd | --ps)
1971 ac_prev=psdir ;;
1972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1973 psdir=$ac_optarg ;;
1975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1976 | -silent | --silent | --silen | --sile | --sil)
1977 silent=yes ;;
1979 -runstatedir | --runstatedir | --runstatedi | --runstated \
1980 | --runstate | --runstat | --runsta | --runst | --runs \
1981 | --run | --ru | --r)
1982 ac_prev=runstatedir ;;
1983 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1984 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1985 | --run=* | --ru=* | --r=*)
1986 runstatedir=$ac_optarg ;;
1988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1989 ac_prev=sbindir ;;
1990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1991 | --sbi=* | --sb=*)
1992 sbindir=$ac_optarg ;;
1994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1996 | --sharedst | --shareds | --shared | --share | --shar \
1997 | --sha | --sh)
1998 ac_prev=sharedstatedir ;;
1999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2002 | --sha=* | --sh=*)
2003 sharedstatedir=$ac_optarg ;;
2005 -site | --site | --sit)
2006 ac_prev=site ;;
2007 -site=* | --site=* | --sit=*)
2008 site=$ac_optarg ;;
2010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2011 ac_prev=srcdir ;;
2012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2013 srcdir=$ac_optarg ;;
2015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2016 | --syscon | --sysco | --sysc | --sys | --sy)
2017 ac_prev=sysconfdir ;;
2018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2020 sysconfdir=$ac_optarg ;;
2022 -target | --target | --targe | --targ | --tar | --ta | --t)
2023 ac_prev=target_alias ;;
2024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2025 target_alias=$ac_optarg ;;
2027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2028 verbose=yes ;;
2030 -version | --version | --versio | --versi | --vers | -V)
2031 ac_init_version=: ;;
2033 -with-* | --with-*)
2034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2035 # Reject names that are not valid shell variable names.
2036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2037 as_fn_error $? "invalid package name: $ac_useropt"
2038 ac_useropt_orig=$ac_useropt
2039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2040 case $ac_user_opts in
2042 "with_$ac_useropt"
2043 "*) ;;
2044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2045 ac_unrecognized_sep=', ';;
2046 esac
2047 eval with_$ac_useropt=\$ac_optarg ;;
2049 -without-* | --without-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid package name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "with_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval with_$ac_useropt=no ;;
2065 --x)
2066 # Obsolete; use --with-x.
2067 with_x=yes ;;
2069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2070 | --x-incl | --x-inc | --x-in | --x-i)
2071 ac_prev=x_includes ;;
2072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2074 x_includes=$ac_optarg ;;
2076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2078 ac_prev=x_libraries ;;
2079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2081 x_libraries=$ac_optarg ;;
2083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2084 Try \`$0 --help' for more information"
2087 *=*)
2088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2089 # Reject names that are not valid shell variable names.
2090 case $ac_envvar in #(
2091 '' | [0-9]* | *[!_$as_cr_alnum]* )
2092 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2093 esac
2094 eval $ac_envvar=\$ac_optarg
2095 export $ac_envvar ;;
2098 # FIXME: should be removed in autoconf 3.0.
2099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2102 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2105 esac
2106 done
2108 if test -n "$ac_prev"; then
2109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2110 as_fn_error $? "missing argument to $ac_option"
2113 if test -n "$ac_unrecognized_opts"; then
2114 case $enable_option_checking in
2115 no) ;;
2116 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2118 esac
2121 # Check all directory arguments for consistency.
2122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2123 datadir sysconfdir sharedstatedir localstatedir includedir \
2124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2125 libdir localedir mandir runstatedir
2127 eval ac_val=\$$ac_var
2128 # Remove trailing slashes.
2129 case $ac_val in
2130 */ )
2131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2132 eval $ac_var=\$ac_val;;
2133 esac
2134 # Be sure to have absolute directory names.
2135 case $ac_val in
2136 [\\/$]* | ?:[\\/]* ) continue;;
2137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2138 esac
2139 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2140 done
2142 # There might be people who depend on the old broken behavior: `$host'
2143 # used to hold the argument of --host etc.
2144 # FIXME: To remove some day.
2145 build=$build_alias
2146 host=$host_alias
2147 target=$target_alias
2149 # FIXME: To remove some day.
2150 if test "x$host_alias" != x; then
2151 if test "x$build_alias" = x; then
2152 cross_compiling=maybe
2153 elif test "x$build_alias" != "x$host_alias"; then
2154 cross_compiling=yes
2158 ac_tool_prefix=
2159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2161 test "$silent" = yes && exec 6>/dev/null
2164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2165 ac_ls_di=`ls -di .` &&
2166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2167 as_fn_error $? "working directory cannot be determined"
2168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2169 as_fn_error $? "pwd does not report name of working directory"
2172 # Find the source files, if location was not specified.
2173 if test -z "$srcdir"; then
2174 ac_srcdir_defaulted=yes
2175 # Try the directory containing this script, then the parent directory.
2176 ac_confdir=`$as_dirname -- "$as_myself" ||
2177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2178 X"$as_myself" : 'X\(//\)[^/]' \| \
2179 X"$as_myself" : 'X\(//\)$' \| \
2180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2181 $as_echo X"$as_myself" |
2182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2183 s//\1/
2186 /^X\(\/\/\)[^/].*/{
2187 s//\1/
2190 /^X\(\/\/\)$/{
2191 s//\1/
2194 /^X\(\/\).*/{
2195 s//\1/
2198 s/.*/./; q'`
2199 srcdir=$ac_confdir
2200 if test ! -r "$srcdir/$ac_unique_file"; then
2201 srcdir=..
2203 else
2204 ac_srcdir_defaulted=no
2206 if test ! -r "$srcdir/$ac_unique_file"; then
2207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2208 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2211 ac_abs_confdir=`(
2212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2213 pwd)`
2214 # When building in place, set srcdir=.
2215 if test "$ac_abs_confdir" = "$ac_pwd"; then
2216 srcdir=.
2218 # Remove unnecessary trailing slashes from srcdir.
2219 # Double slashes in file names in object file debugging info
2220 # mess up M-x gdb in Emacs.
2221 case $srcdir in
2222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2223 esac
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2226 eval ac_env_${ac_var}_value=\$${ac_var}
2227 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2228 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2229 done
2232 # Report the --help message.
2234 if test "$ac_init_help" = "long"; then
2235 # Omit some internal or obsolete options to make the list less imposing.
2236 # This message is too long to be a string in the A/UX 3.1 sh.
2237 cat <<_ACEOF
2238 \`configure' configures Wine 2.5 to adapt to many kinds of systems.
2240 Usage: $0 [OPTION]... [VAR=VALUE]...
2242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2243 VAR=VALUE. See below for descriptions of some of the useful variables.
2245 Defaults for the options are specified in brackets.
2247 Configuration:
2248 -h, --help display this help and exit
2249 --help=short display options specific to this package
2250 --help=recursive display the short help of all the included packages
2251 -V, --version display version information and exit
2252 -q, --quiet, --silent do not print \`checking ...' messages
2253 --cache-file=FILE cache test results in FILE [disabled]
2254 -C, --config-cache alias for \`--cache-file=config.cache'
2255 -n, --no-create do not create output files
2256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2258 Installation directories:
2259 --prefix=PREFIX install architecture-independent files in PREFIX
2260 [$ac_default_prefix]
2261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2262 [PREFIX]
2264 By default, \`make install' will install all the files in
2265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2267 for instance \`--prefix=\$HOME'.
2269 For better control, use the options below.
2271 Fine tuning of the installation directories:
2272 --bindir=DIR user executables [EPREFIX/bin]
2273 --sbindir=DIR system admin executables [EPREFIX/sbin]
2274 --libexecdir=DIR program executables [EPREFIX/libexec]
2275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2278 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2279 --libdir=DIR object code libraries [EPREFIX/lib]
2280 --includedir=DIR C header files [PREFIX/include]
2281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2284 --infodir=DIR info documentation [DATAROOTDIR/info]
2285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2286 --mandir=DIR man documentation [DATAROOTDIR/man]
2287 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2288 --htmldir=DIR html documentation [DOCDIR]
2289 --dvidir=DIR dvi documentation [DOCDIR]
2290 --pdfdir=DIR pdf documentation [DOCDIR]
2291 --psdir=DIR ps documentation [DOCDIR]
2292 _ACEOF
2294 cat <<\_ACEOF
2296 X features:
2297 --x-includes=DIR X include files are in DIR
2298 --x-libraries=DIR X library files are in DIR
2300 System types:
2301 --build=BUILD configure for building on BUILD [guessed]
2302 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2303 _ACEOF
2306 if test -n "$ac_init_help"; then
2307 case $ac_init_help in
2308 short | recursive ) echo "Configuration of Wine 2.5:";;
2309 esac
2310 cat <<\_ACEOF
2312 Optional Features:
2313 --disable-option-checking ignore unrecognized --enable/--with options
2314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2316 --disable-win16 do not include Win16 support
2317 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2318 binaries)
2319 --disable-tests do not build the regression tests
2320 --enable-maintainer-mode
2321 enable maintainer-specific build rules
2322 --disable-largefile omit support for large files
2324 Optional Packages:
2325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2327 --without-alsa do not use the Alsa sound support
2328 --without-capi do not use CAPI (ISDN support)
2329 --without-cms do not use CMS (color management support)
2330 --without-coreaudio do not use the CoreAudio sound support
2331 --without-cups do not use CUPS
2332 --without-curses do not use (n)curses
2333 --without-dbus do not use DBus (dynamic device support)
2334 --without-fontconfig do not use fontconfig
2335 --without-freetype do not use the FreeType library
2336 --without-gettext do not use gettext
2337 --with-gettextpo use the GetTextPO library to rebuild po files
2338 --without-gphoto do not use gphoto (Digital Camera support)
2339 --without-glu do not use the GLU library
2340 --without-gnutls do not use GnuTLS (schannel support)
2341 --without-gsm do not use libgsm (GSM 06.10 codec support)
2342 --without-gstreamer do not use GStreamer (codecs support)
2343 --without-hal do not use HAL (dynamic device support)
2344 --without-jpeg do not use JPEG
2345 --without-ldap do not use LDAP
2346 --without-mpg123 do not use the mpg123 library
2347 --without-netapi do not use the Samba NetAPI library
2348 --without-openal do not use OpenAL
2349 --without-opencl do not use OpenCL
2350 --without-opengl do not use OpenGL
2351 --without-osmesa do not use the OSMesa library
2352 --without-oss do not use the OSS sound support
2353 --without-pcap do not use the Packet Capture library
2354 --without-png do not use PNG
2355 --without-pthread do not use the pthread library
2356 --without-pulse do not use PulseAudio sound support
2357 --without-sane do not use SANE (scanner support)
2358 --without-tiff do not use TIFF
2359 --without-udev do not use udev (plug and play support)
2360 --without-v4l do not use v4l1 (v4l support)
2361 --without-xcomposite do not use the Xcomposite extension
2362 --without-xcursor do not use the Xcursor extension
2363 --without-xinerama do not use Xinerama (multi-monitor support)
2364 --without-xinput do not use the Xinput extension
2365 --without-xinput2 do not use the Xinput 2 extension
2366 --without-xml do not use XML
2367 --without-xrandr do not use Xrandr (resolution changes)
2368 --without-xrender do not use the Xrender extension
2369 --without-xshape do not use the Xshape extension
2370 --without-xshm do not use XShm (shared memory extension)
2371 --without-xslt do not use XSLT
2372 --without-xxf86vm do not use XFree video mode extension
2373 --without-zlib do not use Zlib (data compression)
2374 --with-wine-tools=DIR use Wine tools from directory DIR
2375 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2376 --with-x use the X Window System
2378 Some influential environment variables:
2379 CC C compiler command
2380 CFLAGS C compiler flags
2381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2382 nonstandard directory <lib dir>
2383 LIBS libraries to pass to the linker, e.g. -l<library>
2384 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2385 you have headers in a nonstandard directory <include dir>
2386 CXX C++ compiler command
2387 CXXFLAGS C++ compiler flags
2388 CPP C preprocessor
2389 XMKMF Path to xmkmf, Makefile generator for X Window System
2390 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2391 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2392 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2393 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2394 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2395 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2396 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2397 HAL_LIBS Linker flags for hal, overriding pkg-config
2398 GNUTLS_CFLAGS
2399 C compiler flags for gnutls, overriding pkg-config
2400 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2401 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2402 SANE_LIBS Linker flags for libsane, overriding pkg-config
2403 GPHOTO2_CFLAGS
2404 C compiler flags for libgphoto2, overriding pkg-config
2405 GPHOTO2_LIBS
2406 Linker flags for libgphoto2, overriding pkg-config
2407 GPHOTO2_PORT_CFLAGS
2408 C compiler flags for libgphoto2_port, overriding pkg-config
2409 GPHOTO2_PORT_LIBS
2410 Linker flags for libgphoto2_port, overriding pkg-config
2411 LCMS2_CFLAGS
2412 C compiler flags for lcms2, overriding pkg-config
2413 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2414 FREETYPE_CFLAGS
2415 C compiler flags for freetype2, overriding pkg-config
2416 FREETYPE_LIBS
2417 Linker flags for freetype2, overriding pkg-config
2418 PULSE_CFLAGS
2419 C compiler flags for libpulse, overriding pkg-config
2420 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2421 GSTREAMER_CFLAGS
2422 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2423 gstreamer-audio-1.0, overriding pkg-config
2424 GSTREAMER_LIBS
2425 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2426 gstreamer-audio-1.0, overriding pkg-config
2427 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2428 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2429 CAPI20_CFLAGS
2430 C compiler flags for capi20, overriding pkg-config
2431 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2432 FONTCONFIG_CFLAGS
2433 C compiler flags for fontconfig, overriding pkg-config
2434 FONTCONFIG_LIBS
2435 Linker flags for fontconfig, overriding pkg-config
2436 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2437 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2438 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2439 PNG_LIBS Linker flags for libpng, overriding pkg-config
2440 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2441 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2442 MPG123_CFLAGS
2443 C compiler flags for libmpg123, overriding pkg-config
2444 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2445 NETAPI_CFLAGS
2446 C compiler flags for netapi, overriding pkg-config
2447 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2449 Use these variables to override the choices made by `configure' or to help
2450 it to find libraries and programs with nonstandard names/locations.
2452 Report bugs to <wine-devel@winehq.org>.
2453 Wine home page: <http://www.winehq.org>.
2454 _ACEOF
2455 ac_status=$?
2458 if test "$ac_init_help" = "recursive"; then
2459 # If there are subdirs, report their specific --help.
2460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2461 test -d "$ac_dir" ||
2462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2463 continue
2464 ac_builddir=.
2466 case "$ac_dir" in
2467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2470 # A ".." for each directory in $ac_dir_suffix.
2471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2472 case $ac_top_builddir_sub in
2473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2475 esac ;;
2476 esac
2477 ac_abs_top_builddir=$ac_pwd
2478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2479 # for backward compatibility:
2480 ac_top_builddir=$ac_top_build_prefix
2482 case $srcdir in
2483 .) # We are building in place.
2484 ac_srcdir=.
2485 ac_top_srcdir=$ac_top_builddir_sub
2486 ac_abs_top_srcdir=$ac_pwd ;;
2487 [\\/]* | ?:[\\/]* ) # Absolute name.
2488 ac_srcdir=$srcdir$ac_dir_suffix;
2489 ac_top_srcdir=$srcdir
2490 ac_abs_top_srcdir=$srcdir ;;
2491 *) # Relative name.
2492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2493 ac_top_srcdir=$ac_top_build_prefix$srcdir
2494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2495 esac
2496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2498 cd "$ac_dir" || { ac_status=$?; continue; }
2499 # Check for guested configure.
2500 if test -f "$ac_srcdir/configure.gnu"; then
2501 echo &&
2502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2503 elif test -f "$ac_srcdir/configure"; then
2504 echo &&
2505 $SHELL "$ac_srcdir/configure" --help=recursive
2506 else
2507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2508 fi || ac_status=$?
2509 cd "$ac_pwd" || { ac_status=$?; break; }
2510 done
2513 test -n "$ac_init_help" && exit $ac_status
2514 if $ac_init_version; then
2515 cat <<\_ACEOF
2516 Wine configure 2.5
2517 generated by GNU Autoconf 2.69
2519 Copyright (C) 2012 Free Software Foundation, Inc.
2520 This configure script is free software; the Free Software Foundation
2521 gives unlimited permission to copy, distribute and modify it.
2522 _ACEOF
2523 exit
2526 ## ------------------------ ##
2527 ## Autoconf initialization. ##
2528 ## ------------------------ ##
2530 # ac_fn_c_try_compile LINENO
2531 # --------------------------
2532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2533 ac_fn_c_try_compile ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 rm -f conftest.$ac_objext
2537 if { { ac_try="$ac_compile"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_compile") 2>conftest.err
2545 ac_status=$?
2546 if test -s conftest.err; then
2547 grep -v '^ *+' conftest.err >conftest.er1
2548 cat conftest.er1 >&5
2549 mv -f conftest.er1 conftest.err
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; } && {
2553 test -z "$ac_c_werror_flag" ||
2554 test ! -s conftest.err
2555 } && test -s conftest.$ac_objext; then :
2556 ac_retval=0
2557 else
2558 $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 ac_retval=1
2563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 as_fn_set_status $ac_retval
2566 } # ac_fn_c_try_compile
2568 # ac_fn_cxx_try_compile LINENO
2569 # ----------------------------
2570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2571 ac_fn_cxx_try_compile ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 rm -f conftest.$ac_objext
2575 if { { ac_try="$ac_compile"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_compile") 2>conftest.err
2583 ac_status=$?
2584 if test -s conftest.err; then
2585 grep -v '^ *+' conftest.err >conftest.er1
2586 cat conftest.er1 >&5
2587 mv -f conftest.er1 conftest.err
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; } && {
2591 test -z "$ac_cxx_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then :
2594 ac_retval=0
2595 else
2596 $as_echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 ac_retval=1
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 as_fn_set_status $ac_retval
2604 } # ac_fn_cxx_try_compile
2606 # ac_fn_c_try_link LINENO
2607 # -----------------------
2608 # Try to link conftest.$ac_ext, and return whether this succeeded.
2609 ac_fn_c_try_link ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 rm -f conftest.$ac_objext conftest$ac_exeext
2613 if { { ac_try="$ac_link"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>conftest.err
2621 ac_status=$?
2622 if test -s conftest.err; then
2623 grep -v '^ *+' conftest.err >conftest.er1
2624 cat conftest.er1 >&5
2625 mv -f conftest.er1 conftest.err
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; } && {
2629 test -z "$ac_c_werror_flag" ||
2630 test ! -s conftest.err
2631 } && test -s conftest$ac_exeext && {
2632 test "$cross_compiling" = yes ||
2633 test -x conftest$ac_exeext
2634 }; then :
2635 ac_retval=0
2636 else
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2640 ac_retval=1
2642 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2643 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2644 # interfere with the next link command; also delete a directory that is
2645 # left behind by Apple's compiler. We do this before executing the actions.
2646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_link
2652 # ac_fn_c_try_cpp LINENO
2653 # ----------------------
2654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_c_try_cpp ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 if { { ac_try="$ac_cpp conftest.$ac_ext"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } > conftest.i && {
2674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2676 }; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_cpp
2689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2690 # -------------------------------------------------------
2691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2692 # the include files in INCLUDES and setting the cache variable VAR
2693 # accordingly.
2694 ac_fn_c_check_header_mongrel ()
2696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2697 if eval \${$3+:} false; then :
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 eval ac_res=\$$3
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 else
2707 # Is the header compilable?
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2709 $as_echo_n "checking $2 usability... " >&6; }
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2713 #include <$2>
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 ac_header_compiler=yes
2717 else
2718 ac_header_compiler=no
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2722 $as_echo "$ac_header_compiler" >&6; }
2724 # Is the header present?
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2726 $as_echo_n "checking $2 presence... " >&6; }
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2729 #include <$2>
2730 _ACEOF
2731 if ac_fn_c_try_cpp "$LINENO"; then :
2732 ac_header_preproc=yes
2733 else
2734 ac_header_preproc=no
2736 rm -f conftest.err conftest.i conftest.$ac_ext
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2738 $as_echo "$ac_header_preproc" >&6; }
2740 # So? What about this header?
2741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2742 yes:no: )
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2748 no:yes:* )
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2759 ( $as_echo "## ------------------------------------ ##
2760 ## Report this to wine-devel@winehq.org ##
2761 ## ------------------------------------ ##"
2762 ) | sed "s/^/$as_me: WARNING: /" >&2
2764 esac
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \${$3+:} false; then :
2768 $as_echo_n "(cached) " >&6
2769 else
2770 eval "$3=\$ac_header_compiler"
2772 eval ac_res=\$$3
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2774 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 } # ac_fn_c_check_header_mongrel
2780 # ac_fn_c_try_run LINENO
2781 # ----------------------
2782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2783 # that executables *can* be run.
2784 ac_fn_c_try_run ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 if { { ac_try="$ac_link"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link") 2>&5
2795 ac_status=$?
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2798 { { case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_try") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; }; }; then :
2808 ac_retval=0
2809 else
2810 $as_echo "$as_me: program exited with status $ac_status" >&5
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_retval=$ac_status
2816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_run
2822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2823 # -------------------------------------------------------
2824 # Tests whether HEADER exists and can be compiled using the include files in
2825 # INCLUDES, setting the cache variable VAR accordingly.
2826 ac_fn_c_check_header_compile ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2837 #include <$2>
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 eval "$3=yes"
2841 else
2842 eval "$3=no"
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 eval ac_res=\$$3
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 } # ac_fn_c_check_header_compile
2853 # ac_fn_c_check_func LINENO FUNC VAR
2854 # ----------------------------------
2855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2856 ac_fn_c_check_func ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \${$3+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2868 #define $2 innocuous_$2
2870 /* System header to define __stub macros and hopefully few prototypes,
2871 which can conflict with char $2 (); below.
2872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2873 <limits.h> exists even on freestanding compilers. */
2875 #ifdef __STDC__
2876 # include <limits.h>
2877 #else
2878 # include <assert.h>
2879 #endif
2881 #undef $2
2883 /* Override any GCC internal prototype to avoid an error.
2884 Use char because int might match the return type of a GCC
2885 builtin and then its argument prototype would still apply. */
2886 #ifdef __cplusplus
2887 extern "C"
2888 #endif
2889 char $2 ();
2890 /* The GNU C library defines this for functions which it implements
2891 to always fail with ENOSYS. Some functions are actually named
2892 something starting with __ and the normal name is an alias. */
2893 #if defined __stub_$2 || defined __stub___$2
2894 choke me
2895 #endif
2898 main ()
2900 return $2 ();
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_link "$LINENO"; then :
2906 eval "$3=yes"
2907 else
2908 eval "$3=no"
2910 rm -f core conftest.err conftest.$ac_objext \
2911 conftest$ac_exeext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_func
2920 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2921 # ----------------------------------------------------
2922 # Tries to find if the field MEMBER exists in type AGGR, after including
2923 # INCLUDES, setting cache variable VAR accordingly.
2924 ac_fn_c_check_member ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2928 $as_echo_n "checking for $2.$3... " >&6; }
2929 if eval \${$4+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2938 static $2 ac_aggr;
2939 if (ac_aggr.$3)
2940 return 0;
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 eval "$4=yes"
2947 else
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2954 static $2 ac_aggr;
2955 if (sizeof ac_aggr.$3)
2956 return 0;
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 eval "$4=yes"
2963 else
2964 eval "$4=no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 eval ac_res=\$$4
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_member
2977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2978 # -------------------------------------------
2979 # Tests whether TYPE exists after having included INCLUDES, setting cache
2980 # variable VAR accordingly.
2981 ac_fn_c_check_type ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2985 $as_echo_n "checking for $2... " >&6; }
2986 if eval \${$3+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988 else
2989 eval "$3=no"
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main ()
2996 if (sizeof ($2))
2997 return 0;
2999 return 0;
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main ()
3009 if (sizeof (($2)))
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3017 else
3018 eval "$3=yes"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_type
3030 cat >config.log <<_ACEOF
3031 This file contains any messages produced by compilers while
3032 running configure, to aid debugging if configure makes a mistake.
3034 It was created by Wine $as_me 2.5, which was
3035 generated by GNU Autoconf 2.69. Invocation command line was
3037 $ $0 $@
3039 _ACEOF
3040 exec 5>>config.log
3042 cat <<_ASUNAME
3043 ## --------- ##
3044 ## Platform. ##
3045 ## --------- ##
3047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3064 _ASUNAME
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 for as_dir in $PATH
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 $as_echo "PATH: $as_dir"
3072 done
3073 IFS=$as_save_IFS
3075 } >&5
3077 cat >&5 <<_ACEOF
3080 ## ----------- ##
3081 ## Core tests. ##
3082 ## ----------- ##
3084 _ACEOF
3087 # Keep a trace of the command line.
3088 # Strip out --no-create and --no-recursion so they do not pile up.
3089 # Strip out --silent because we don't want to record it for future runs.
3090 # Also quote any args containing shell meta-characters.
3091 # Make two passes to allow for proper duplicate-argument suppression.
3092 ac_configure_args=
3093 ac_configure_args0=
3094 ac_configure_args1=
3095 ac_must_keep_next=false
3096 for ac_pass in 1 2
3098 for ac_arg
3100 case $ac_arg in
3101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3103 | -silent | --silent | --silen | --sile | --sil)
3104 continue ;;
3105 *\'*)
3106 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3107 esac
3108 case $ac_pass in
3109 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3111 as_fn_append ac_configure_args1 " '$ac_arg'"
3112 if test $ac_must_keep_next = true; then
3113 ac_must_keep_next=false # Got value, back to normal.
3114 else
3115 case $ac_arg in
3116 *=* | --config-cache | -C | -disable-* | --disable-* \
3117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3119 | -with-* | --with-* | -without-* | --without-* | --x)
3120 case "$ac_configure_args0 " in
3121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3122 esac
3124 -* ) ac_must_keep_next=true ;;
3125 esac
3127 as_fn_append ac_configure_args " '$ac_arg'"
3129 esac
3130 done
3131 done
3132 { ac_configure_args0=; unset ac_configure_args0;}
3133 { ac_configure_args1=; unset ac_configure_args1;}
3135 # When interrupted or exit'd, cleanup temporary files, and complete
3136 # config.log. We remove comments because anyway the quotes in there
3137 # would cause problems or look ugly.
3138 # WARNING: Use '\'' to represent an apostrophe within the trap.
3139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3140 trap 'exit_status=$?
3141 # Save into config.log some information that might help in debugging.
3143 echo
3145 $as_echo "## ---------------- ##
3146 ## Cache variables. ##
3147 ## ---------------- ##"
3148 echo
3149 # The following way of writing the cache mishandles newlines in values,
3151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3152 eval ac_val=\$$ac_var
3153 case $ac_val in #(
3154 *${as_nl}*)
3155 case $ac_var in #(
3156 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3158 esac
3159 case $ac_var in #(
3160 _ | IFS | as_nl) ;; #(
3161 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3162 *) { eval $ac_var=; unset $ac_var;} ;;
3163 esac ;;
3164 esac
3165 done
3166 (set) 2>&1 |
3167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3168 *${as_nl}ac_space=\ *)
3169 sed -n \
3170 "s/'\''/'\''\\\\'\'''\''/g;
3171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3172 ;; #(
3174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3176 esac |
3177 sort
3179 echo
3181 $as_echo "## ----------------- ##
3182 ## Output variables. ##
3183 ## ----------------- ##"
3184 echo
3185 for ac_var in $ac_subst_vars
3187 eval ac_val=\$$ac_var
3188 case $ac_val in
3189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3190 esac
3191 $as_echo "$ac_var='\''$ac_val'\''"
3192 done | sort
3193 echo
3195 if test -n "$ac_subst_files"; then
3196 $as_echo "## ------------------- ##
3197 ## File substitutions. ##
3198 ## ------------------- ##"
3199 echo
3200 for ac_var in $ac_subst_files
3202 eval ac_val=\$$ac_var
3203 case $ac_val in
3204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3205 esac
3206 $as_echo "$ac_var='\''$ac_val'\''"
3207 done | sort
3208 echo
3211 if test -s confdefs.h; then
3212 $as_echo "## ----------- ##
3213 ## confdefs.h. ##
3214 ## ----------- ##"
3215 echo
3216 cat confdefs.h
3217 echo
3219 test "$ac_signal" != 0 &&
3220 $as_echo "$as_me: caught signal $ac_signal"
3221 $as_echo "$as_me: exit $exit_status"
3222 } >&5
3223 rm -f core *.core core.conftest.* &&
3224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3225 exit $exit_status
3227 for ac_signal in 1 2 13 15; do
3228 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3229 done
3230 ac_signal=0
3232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3233 rm -f -r conftest* confdefs.h
3235 $as_echo "/* confdefs.h */" > confdefs.h
3237 # Predefined preprocessor variables.
3239 cat >>confdefs.h <<_ACEOF
3240 #define PACKAGE_NAME "$PACKAGE_NAME"
3241 _ACEOF
3243 cat >>confdefs.h <<_ACEOF
3244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3245 _ACEOF
3247 cat >>confdefs.h <<_ACEOF
3248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3249 _ACEOF
3251 cat >>confdefs.h <<_ACEOF
3252 #define PACKAGE_STRING "$PACKAGE_STRING"
3253 _ACEOF
3255 cat >>confdefs.h <<_ACEOF
3256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3257 _ACEOF
3259 cat >>confdefs.h <<_ACEOF
3260 #define PACKAGE_URL "$PACKAGE_URL"
3261 _ACEOF
3264 # Let the site file select an alternate cache file if it wants to.
3265 # Prefer an explicitly selected file to automatically selected ones.
3266 ac_site_file1=NONE
3267 ac_site_file2=NONE
3268 if test -n "$CONFIG_SITE"; then
3269 # We do not want a PATH search for config.site.
3270 case $CONFIG_SITE in #((
3271 -*) ac_site_file1=./$CONFIG_SITE;;
3272 */*) ac_site_file1=$CONFIG_SITE;;
3273 *) ac_site_file1=./$CONFIG_SITE;;
3274 esac
3275 elif test "x$prefix" != xNONE; then
3276 ac_site_file1=$prefix/share/config.site
3277 ac_site_file2=$prefix/etc/config.site
3278 else
3279 ac_site_file1=$ac_default_prefix/share/config.site
3280 ac_site_file2=$ac_default_prefix/etc/config.site
3282 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3284 test "x$ac_site_file" = xNONE && continue
3285 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3288 sed 's/^/| /' "$ac_site_file" >&5
3289 . "$ac_site_file" \
3290 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 as_fn_error $? "failed to load site script $ac_site_file
3293 See \`config.log' for more details" "$LINENO" 5; }
3295 done
3297 if test -r "$cache_file"; then
3298 # Some versions of bash will fail to source /dev/null (special files
3299 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3300 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3302 $as_echo "$as_me: loading cache $cache_file" >&6;}
3303 case $cache_file in
3304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3305 *) . "./$cache_file";;
3306 esac
3308 else
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3310 $as_echo "$as_me: creating cache $cache_file" >&6;}
3311 >$cache_file
3314 # Check that the precious variables saved in the cache have kept the same
3315 # value.
3316 ac_cache_corrupted=false
3317 for ac_var in $ac_precious_vars; do
3318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3319 eval ac_new_set=\$ac_env_${ac_var}_set
3320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3321 eval ac_new_val=\$ac_env_${ac_var}_value
3322 case $ac_old_set,$ac_new_set in
3323 set,)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3326 ac_cache_corrupted=: ;;
3327 ,set)
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3330 ac_cache_corrupted=: ;;
3331 ,);;
3333 if test "x$ac_old_val" != "x$ac_new_val"; then
3334 # differences in whitespace do not lead to failure.
3335 ac_old_val_w=`echo x $ac_old_val`
3336 ac_new_val_w=`echo x $ac_new_val`
3337 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3340 ac_cache_corrupted=:
3341 else
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3344 eval $ac_var=\$ac_old_val
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3347 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3349 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3350 fi;;
3351 esac
3352 # Pass precious variables to config.status.
3353 if test "$ac_new_set" = set; then
3354 case $ac_new_val in
3355 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3356 *) ac_arg=$ac_var=$ac_new_val ;;
3357 esac
3358 case " $ac_configure_args " in
3359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3360 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3361 esac
3363 done
3364 if $ac_cache_corrupted; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3369 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3371 ## -------------------- ##
3372 ## Main body of script. ##
3373 ## -------------------- ##
3375 ac_ext=c
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 ac_config_headers="$ac_config_headers include/config.h"
3385 ac_aux_dir=
3386 for ac_dir in tools "$srcdir"/tools; do
3387 if test -f "$ac_dir/install-sh"; then
3388 ac_aux_dir=$ac_dir
3389 ac_install_sh="$ac_aux_dir/install-sh -c"
3390 break
3391 elif test -f "$ac_dir/install.sh"; then
3392 ac_aux_dir=$ac_dir
3393 ac_install_sh="$ac_aux_dir/install.sh -c"
3394 break
3395 elif test -f "$ac_dir/shtool"; then
3396 ac_aux_dir=$ac_dir
3397 ac_install_sh="$ac_aux_dir/shtool install -c"
3398 break
3400 done
3401 if test -z "$ac_aux_dir"; then
3402 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3405 # These three variables are undocumented and unsupported,
3406 # and are intended to be withdrawn in a future Autoconf release.
3407 # They can cause serious problems if a builder's source tree is in a directory
3408 # whose full name contains unusual characters.
3409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3415 libwine_version="1.0"
3419 # Check whether --enable-win16 was given.
3420 if test "${enable_win16+set}" = set; then :
3421 enableval=$enable_win16;
3424 # Check whether --enable-win64 was given.
3425 if test "${enable_win64+set}" = set; then :
3426 enableval=$enable_win64;
3429 # Check whether --enable-tests was given.
3430 if test "${enable_tests+set}" = set; then :
3431 enableval=$enable_tests;
3434 # Check whether --enable-maintainer-mode was given.
3435 if test "${enable_maintainer_mode+set}" = set; then :
3436 enableval=$enable_maintainer_mode;
3441 # Check whether --with-alsa was given.
3442 if test "${with_alsa+set}" = set; then :
3443 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3447 # Check whether --with-capi was given.
3448 if test "${with_capi+set}" = set; then :
3449 withval=$with_capi;
3453 # Check whether --with-cms was given.
3454 if test "${with_cms+set}" = set; then :
3455 withval=$with_cms;
3459 # Check whether --with-coreaudio was given.
3460 if test "${with_coreaudio+set}" = set; then :
3461 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3465 # Check whether --with-cups was given.
3466 if test "${with_cups+set}" = set; then :
3467 withval=$with_cups;
3471 # Check whether --with-curses was given.
3472 if test "${with_curses+set}" = set; then :
3473 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3477 # Check whether --with-dbus was given.
3478 if test "${with_dbus+set}" = set; then :
3479 withval=$with_dbus;
3483 # Check whether --with-fontconfig was given.
3484 if test "${with_fontconfig+set}" = set; then :
3485 withval=$with_fontconfig;
3489 # Check whether --with-freetype was given.
3490 if test "${with_freetype+set}" = set; then :
3491 withval=$with_freetype;
3495 # Check whether --with-gettext was given.
3496 if test "${with_gettext+set}" = set; then :
3497 withval=$with_gettext;
3501 # Check whether --with-gettextpo was given.
3502 if test "${with_gettextpo+set}" = set; then :
3503 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3507 # Check whether --with-gphoto was given.
3508 if test "${with_gphoto+set}" = set; then :
3509 withval=$with_gphoto;
3513 # Check whether --with-glu was given.
3514 if test "${with_glu+set}" = set; then :
3515 withval=$with_glu;
3519 # Check whether --with-gnutls was given.
3520 if test "${with_gnutls+set}" = set; then :
3521 withval=$with_gnutls;
3525 # Check whether --with-gsm was given.
3526 if test "${with_gsm+set}" = set; then :
3527 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3531 # Check whether --with-gstreamer was given.
3532 if test "${with_gstreamer+set}" = set; then :
3533 withval=$with_gstreamer;
3537 # Check whether --with-hal was given.
3538 if test "${with_hal+set}" = set; then :
3539 withval=$with_hal;
3543 # Check whether --with-jpeg was given.
3544 if test "${with_jpeg+set}" = set; then :
3545 withval=$with_jpeg;
3549 # Check whether --with-ldap was given.
3550 if test "${with_ldap+set}" = set; then :
3551 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3555 # Check whether --with-mpg123 was given.
3556 if test "${with_mpg123+set}" = set; then :
3557 withval=$with_mpg123;
3561 # Check whether --with-netapi was given.
3562 if test "${with_netapi+set}" = set; then :
3563 withval=$with_netapi;
3567 # Check whether --with-openal was given.
3568 if test "${with_openal+set}" = set; then :
3569 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3573 # Check whether --with-opencl was given.
3574 if test "${with_opencl+set}" = set; then :
3575 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3579 # Check whether --with-opengl was given.
3580 if test "${with_opengl+set}" = set; then :
3581 withval=$with_opengl;
3585 # Check whether --with-osmesa was given.
3586 if test "${with_osmesa+set}" = set; then :
3587 withval=$with_osmesa;
3591 # Check whether --with-oss was given.
3592 if test "${with_oss+set}" = set; then :
3593 withval=$with_oss;
3597 # Check whether --with-pcap was given.
3598 if test "${with_pcap+set}" = set; then :
3599 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3603 # Check whether --with-png was given.
3604 if test "${with_png+set}" = set; then :
3605 withval=$with_png;
3609 # Check whether --with-pthread was given.
3610 if test "${with_pthread+set}" = set; then :
3611 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3615 # Check whether --with-pulse was given.
3616 if test "${with_pulse+set}" = set; then :
3617 withval=$with_pulse;
3621 # Check whether --with-sane was given.
3622 if test "${with_sane+set}" = set; then :
3623 withval=$with_sane;
3627 # Check whether --with-tiff was given.
3628 if test "${with_tiff+set}" = set; then :
3629 withval=$with_tiff;
3633 # Check whether --with-udev was given.
3634 if test "${with_udev+set}" = set; then :
3635 withval=$with_udev;
3639 # Check whether --with-v4l was given.
3640 if test "${with_v4l+set}" = set; then :
3641 withval=$with_v4l;
3645 # Check whether --with-xcomposite was given.
3646 if test "${with_xcomposite+set}" = set; then :
3647 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3651 # Check whether --with-xcursor was given.
3652 if test "${with_xcursor+set}" = set; then :
3653 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3657 # Check whether --with-xinerama was given.
3658 if test "${with_xinerama+set}" = set; then :
3659 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3663 # Check whether --with-xinput was given.
3664 if test "${with_xinput+set}" = set; then :
3665 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3669 # Check whether --with-xinput2 was given.
3670 if test "${with_xinput2+set}" = set; then :
3671 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3675 # Check whether --with-xml was given.
3676 if test "${with_xml+set}" = set; then :
3677 withval=$with_xml;
3681 # Check whether --with-xrandr was given.
3682 if test "${with_xrandr+set}" = set; then :
3683 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3687 # Check whether --with-xrender was given.
3688 if test "${with_xrender+set}" = set; then :
3689 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3693 # Check whether --with-xshape was given.
3694 if test "${with_xshape+set}" = set; then :
3695 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3699 # Check whether --with-xshm was given.
3700 if test "${with_xshm+set}" = set; then :
3701 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3705 # Check whether --with-xslt was given.
3706 if test "${with_xslt+set}" = set; then :
3707 withval=$with_xslt;
3711 # Check whether --with-xxf86vm was given.
3712 if test "${with_xxf86vm+set}" = set; then :
3713 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
3717 # Check whether --with-zlib was given.
3718 if test "${with_zlib+set}" = set; then :
3719 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3724 # Check whether --with-wine-tools was given.
3725 if test "${with_wine_tools+set}" = set; then :
3726 withval=$with_wine_tools;
3730 # Check whether --with-wine64 was given.
3731 if test "${with_wine64+set}" = set; then :
3732 withval=$with_wine64;
3736 # Make sure we can run config.sub.
3737 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3738 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3741 $as_echo_n "checking build system type... " >&6; }
3742 if ${ac_cv_build+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 ac_build_alias=$build_alias
3746 test "x$ac_build_alias" = x &&
3747 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3748 test "x$ac_build_alias" = x &&
3749 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3750 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3751 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3755 $as_echo "$ac_cv_build" >&6; }
3756 case $ac_cv_build in
3757 *-*-*) ;;
3758 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3759 esac
3760 build=$ac_cv_build
3761 ac_save_IFS=$IFS; IFS='-'
3762 set x $ac_cv_build
3763 shift
3764 build_cpu=$1
3765 build_vendor=$2
3766 shift; shift
3767 # Remember, the first character of IFS is used to create $*,
3768 # except with old shells:
3769 build_os=$*
3770 IFS=$ac_save_IFS
3771 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3775 $as_echo_n "checking host system type... " >&6; }
3776 if ${ac_cv_host+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test "x$host_alias" = x; then
3780 ac_cv_host=$ac_cv_build
3781 else
3782 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3783 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3788 $as_echo "$ac_cv_host" >&6; }
3789 case $ac_cv_host in
3790 *-*-*) ;;
3791 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3792 esac
3793 host=$ac_cv_host
3794 ac_save_IFS=$IFS; IFS='-'
3795 set x $ac_cv_host
3796 shift
3797 host_cpu=$1
3798 host_vendor=$2
3799 shift; shift
3800 # Remember, the first character of IFS is used to create $*,
3801 # except with old shells:
3802 host_os=$*
3803 IFS=$ac_save_IFS
3804 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3808 case "$srcdir" in
3809 .) ;;
3810 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3811 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3812 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3813 fi ;;
3814 esac
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3819 set x ${MAKE-make}
3820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 cat >conftest.make <<\_ACEOF
3825 SHELL = /bin/sh
3826 all:
3827 @echo '@@@%%%=$(MAKE)=@@@%%%'
3828 _ACEOF
3829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3831 *@@@%%%=?*=@@@%%%*)
3832 eval ac_cv_prog_make_${ac_make}_set=yes;;
3834 eval ac_cv_prog_make_${ac_make}_set=no;;
3835 esac
3836 rm -f conftest.make
3838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3840 $as_echo "yes" >&6; }
3841 SET_MAKE=
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3845 SET_MAKE="MAKE=${MAKE-make}"
3848 ac_ext=c
3849 ac_cpp='$CPP $CPPFLAGS'
3850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853 if test -n "$ac_tool_prefix"; then
3854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_CC+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 if test -n "$CC"; then
3862 ac_cv_prog_CC="$CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3877 IFS=$as_save_IFS
3881 CC=$ac_cv_prog_CC
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3892 if test -z "$ac_cv_prog_CC"; then
3893 ac_ct_CC=$CC
3894 # Extract the first word of "gcc", so it can be a program name with args.
3895 set dummy gcc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$ac_ct_CC"; then
3902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_ac_ct_CC="gcc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3915 done
3916 done
3917 IFS=$as_save_IFS
3921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3922 if test -n "$ac_ct_CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3924 $as_echo "$ac_ct_CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3930 if test "x$ac_ct_CC" = x; then
3931 CC=""
3932 else
3933 case $cross_compiling:$ac_tool_warned in
3934 yes:)
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3937 ac_tool_warned=yes ;;
3938 esac
3939 CC=$ac_ct_CC
3941 else
3942 CC="$ac_cv_prog_CC"
3945 if test -z "$CC"; then
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}cc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}cc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3986 if test -z "$CC"; then
3987 # Extract the first word of "cc", so it can be a program name with args.
3988 set dummy cc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 ac_prog_rejected=no
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4006 ac_prog_rejected=yes
4007 continue
4009 ac_cv_prog_CC="cc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4013 done
4014 done
4015 IFS=$as_save_IFS
4017 if test $ac_prog_rejected = yes; then
4018 # We found a bogon in the path, so make sure we never use it.
4019 set dummy $ac_cv_prog_CC
4020 shift
4021 if test $# != 0; then
4022 # We chose a different compiler from the bogus one.
4023 # However, it has the same basename, so the bogon will be chosen
4024 # first if we set CC to just the basename; use the full file name.
4025 shift
4026 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4031 CC=$ac_cv_prog_CC
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4042 if test -z "$CC"; then
4043 if test -n "$ac_tool_prefix"; then
4044 for ac_prog in cl.exe
4046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_CC+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 if test -n "$CC"; then
4054 ac_cv_prog_CC="$CC" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4059 IFS=$as_save_IFS
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 break 2
4067 done
4068 done
4069 IFS=$as_save_IFS
4073 CC=$ac_cv_prog_CC
4074 if test -n "$CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$CC" && break
4084 done
4086 if test -z "$CC"; then
4087 ac_ct_CC=$CC
4088 for ac_prog in cl.exe
4090 # Extract the first word of "$ac_prog", so it can be a program name with args.
4091 set dummy $ac_prog; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 if test -n "$ac_ct_CC"; then
4098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4099 else
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 for as_dir in $PATH
4103 IFS=$as_save_IFS
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4107 ac_cv_prog_ac_ct_CC="$ac_prog"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4111 done
4112 done
4113 IFS=$as_save_IFS
4117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4118 if test -n "$ac_ct_CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4120 $as_echo "$ac_ct_CC" >&6; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4127 test -n "$ac_ct_CC" && break
4128 done
4130 if test "x$ac_ct_CC" = x; then
4131 CC=""
4132 else
4133 case $cross_compiling:$ac_tool_warned in
4134 yes:)
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4137 ac_tool_warned=yes ;;
4138 esac
4139 CC=$ac_ct_CC
4146 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error $? "no acceptable C compiler found in \$PATH
4149 See \`config.log' for more details" "$LINENO" 5; }
4151 # Provide some information about the compiler.
4152 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4153 set X $ac_compile
4154 ac_compiler=$2
4155 for ac_option in --version -v -V -qversion; do
4156 { { ac_try="$ac_compiler $ac_option >&5"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 $as_echo "$ac_try_echo"; } >&5
4163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4164 ac_status=$?
4165 if test -s conftest.err; then
4166 sed '10a\
4167 ... rest of stderr output deleted ...
4168 10q' conftest.err >conftest.er1
4169 cat conftest.er1 >&5
4171 rm -f conftest.er1 conftest.err
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }
4174 done
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 ac_clean_files_save=$ac_clean_files
4188 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4189 # Try to create an executable without -o first, disregard a.out.
4190 # It will help us diagnose broken compilers, and finding out an intuition
4191 # of exeext.
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4193 $as_echo_n "checking whether the C compiler works... " >&6; }
4194 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4196 # The possible output files:
4197 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4199 ac_rmfiles=
4200 for ac_file in $ac_files
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4205 esac
4206 done
4207 rm -f $ac_rmfiles
4209 if { { ac_try="$ac_link_default"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_link_default") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4221 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4222 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4223 # so that the user can short-circuit this test for compilers unknown to
4224 # Autoconf.
4225 for ac_file in $ac_files ''
4227 test -f "$ac_file" || continue
4228 case $ac_file in
4229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4231 [ab].out )
4232 # We found the default executable, but exeext='' is most
4233 # certainly right.
4234 break;;
4235 *.* )
4236 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4237 then :; else
4238 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4240 # We set ac_cv_exeext here because the later test for it is not
4241 # safe: cross compilers may not add the suffix if given an `-o'
4242 # argument, so we may need to know it at that point already.
4243 # Even if this section looks crufty: it has the advantage of
4244 # actually working.
4245 break;;
4247 break;;
4248 esac
4249 done
4250 test "$ac_cv_exeext" = no && ac_cv_exeext=
4252 else
4253 ac_file=''
4255 if test -z "$ac_file"; then :
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4258 $as_echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error 77 "C compiler cannot create executables
4264 See \`config.log' for more details" "$LINENO" 5; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4270 $as_echo_n "checking for C compiler default output file name... " >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4272 $as_echo "$ac_file" >&6; }
4273 ac_exeext=$ac_cv_exeext
4275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4276 ac_clean_files=$ac_clean_files_save
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4278 $as_echo_n "checking for suffix of executables... " >&6; }
4279 if { { ac_try="$ac_link"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_link") 2>&5
4287 ac_status=$?
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }; then :
4290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4292 # work properly (i.e., refer to `conftest.exe'), while it won't with
4293 # `rm'.
4294 for ac_file in conftest.exe conftest conftest.*; do
4295 test -f "$ac_file" || continue
4296 case $ac_file in
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4299 break;;
4300 * ) break;;
4301 esac
4302 done
4303 else
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest conftest$ac_cv_exeext
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4311 $as_echo "$ac_cv_exeext" >&6; }
4313 rm -f conftest.$ac_ext
4314 EXEEXT=$ac_cv_exeext
4315 ac_exeext=$EXEEXT
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4318 #include <stdio.h>
4320 main ()
4322 FILE *f = fopen ("conftest.out", "w");
4323 return ferror (f) || fclose (f) != 0;
4326 return 0;
4328 _ACEOF
4329 ac_clean_files="$ac_clean_files conftest.out"
4330 # Check that the compiler produces executables we can run. If not, either
4331 # the compiler is broken, or we cross compile.
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4333 $as_echo_n "checking whether we are cross compiling... " >&6; }
4334 if test "$cross_compiling" != yes; then
4335 { { ac_try="$ac_link"
4336 case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341 $as_echo "$ac_try_echo"; } >&5
4342 (eval "$ac_link") 2>&5
4343 ac_status=$?
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4346 if { ac_try='./conftest$ac_cv_exeext'
4347 { { case "(($ac_try" in
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4350 esac
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_try") 2>&5
4354 ac_status=$?
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4356 test $ac_status = 0; }; }; then
4357 cross_compiling=no
4358 else
4359 if test "$cross_compiling" = maybe; then
4360 cross_compiling=yes
4361 else
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error $? "cannot run C compiled programs.
4365 If you meant to cross compile, use \`--host'.
4366 See \`config.log' for more details" "$LINENO" 5; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4371 $as_echo "$cross_compiling" >&6; }
4373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4374 ac_clean_files=$ac_clean_files_save
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4376 $as_echo_n "checking for suffix of object files... " >&6; }
4377 if ${ac_cv_objext+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4384 main ()
4388 return 0;
4390 _ACEOF
4391 rm -f conftest.o conftest.obj
4392 if { { ac_try="$ac_compile"
4393 case "(($ac_try" in
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4396 esac
4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4398 $as_echo "$ac_try_echo"; } >&5
4399 (eval "$ac_compile") 2>&5
4400 ac_status=$?
4401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402 test $ac_status = 0; }; then :
4403 for ac_file in conftest.o conftest.obj conftest.*; do
4404 test -f "$ac_file" || continue;
4405 case $ac_file in
4406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4407 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4408 break;;
4409 esac
4410 done
4411 else
4412 $as_echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.$ac_ext >&5
4415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4417 as_fn_error $? "cannot compute suffix of object files: cannot compile
4418 See \`config.log' for more details" "$LINENO" 5; }
4420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4423 $as_echo "$ac_cv_objext" >&6; }
4424 OBJEXT=$ac_cv_objext
4425 ac_objext=$OBJEXT
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4428 if ${ac_cv_c_compiler_gnu+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 main ()
4437 #ifndef __GNUC__
4438 choke me
4439 #endif
4442 return 0;
4444 _ACEOF
4445 if ac_fn_c_try_compile "$LINENO"; then :
4446 ac_compiler_gnu=yes
4447 else
4448 ac_compiler_gnu=no
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4455 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4456 if test $ac_compiler_gnu = yes; then
4457 GCC=yes
4458 else
4459 GCC=
4461 ac_test_CFLAGS=${CFLAGS+set}
4462 ac_save_CFLAGS=$CFLAGS
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4464 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4465 if ${ac_cv_prog_cc_g+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 ac_save_c_werror_flag=$ac_c_werror_flag
4469 ac_c_werror_flag=yes
4470 ac_cv_prog_cc_g=no
4471 CFLAGS="-g"
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4480 return 0;
4482 _ACEOF
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_g=yes
4485 else
4486 CFLAGS=""
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4500 else
4501 ac_c_werror_flag=$ac_save_c_werror_flag
4502 CFLAGS="-g"
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4515 ac_cv_prog_cc_g=yes
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 ac_c_werror_flag=$ac_save_c_werror_flag
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4525 $as_echo "$ac_cv_prog_cc_g" >&6; }
4526 if test "$ac_test_CFLAGS" = set; then
4527 CFLAGS=$ac_save_CFLAGS
4528 elif test $ac_cv_prog_cc_g = yes; then
4529 if test "$GCC" = yes; then
4530 CFLAGS="-g -O2"
4531 else
4532 CFLAGS="-g"
4534 else
4535 if test "$GCC" = yes; then
4536 CFLAGS="-O2"
4537 else
4538 CFLAGS=
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4543 if ${ac_cv_prog_cc_c89+:} false; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 ac_cv_prog_cc_c89=no
4547 ac_save_CC=$CC
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <stdarg.h>
4551 #include <stdio.h>
4552 struct stat;
4553 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4554 struct buf { int x; };
4555 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4556 static char *e (p, i)
4557 char **p;
4558 int i;
4560 return p[i];
4562 static char *f (char * (*g) (char **, int), char **p, ...)
4564 char *s;
4565 va_list v;
4566 va_start (v,p);
4567 s = g (p, va_arg (v,int));
4568 va_end (v);
4569 return s;
4572 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4573 function prototypes and stuff, but not '\xHH' hex character constants.
4574 These don't provoke an error unfortunately, instead are silently treated
4575 as 'x'. The following induces an error, until -std is added to get
4576 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4577 array size at least. It's necessary to write '\x00'==0 to get something
4578 that's true only with -std. */
4579 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4581 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4582 inside strings and character constants. */
4583 #define FOO(x) 'x'
4584 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4586 int test (int i, double x);
4587 struct s1 {int (*f) (int a);};
4588 struct s2 {int (*f) (double a);};
4589 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4590 int argc;
4591 char **argv;
4593 main ()
4595 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4597 return 0;
4599 _ACEOF
4600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4601 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4603 CC="$ac_save_CC $ac_arg"
4604 if ac_fn_c_try_compile "$LINENO"; then :
4605 ac_cv_prog_cc_c89=$ac_arg
4607 rm -f core conftest.err conftest.$ac_objext
4608 test "x$ac_cv_prog_cc_c89" != "xno" && break
4609 done
4610 rm -f conftest.$ac_ext
4611 CC=$ac_save_CC
4614 # AC_CACHE_VAL
4615 case "x$ac_cv_prog_cc_c89" in
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4618 $as_echo "none needed" >&6; } ;;
4619 xno)
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4621 $as_echo "unsupported" >&6; } ;;
4623 CC="$CC $ac_cv_prog_cc_c89"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4625 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4626 esac
4627 if test "x$ac_cv_prog_cc_c89" != xno; then :
4631 ac_ext=c
4632 ac_cpp='$CPP $CPPFLAGS'
4633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 ac_ext=cpp
4638 ac_cpp='$CXXCPP $CPPFLAGS'
4639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4642 if test -z "$CXX"; then
4643 if test -n "$CCC"; then
4644 CXX=$CCC
4645 else
4646 if test -n "$ac_tool_prefix"; then
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_CXX+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$CXX"; then
4657 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 CXX=$ac_cv_prog_CXX
4677 if test -n "$CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4679 $as_echo "$CXX" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$CXX" && break
4687 done
4689 if test -z "$CXX"; then
4690 ac_ct_CXX=$CXX
4691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4693 # Extract the first word of "$ac_prog", so it can be a program name with args.
4694 set dummy $ac_prog; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -n "$ac_ct_CXX"; then
4701 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CXX="$ac_prog"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4721 if test -n "$ac_ct_CXX"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4723 $as_echo "$ac_ct_CXX" >&6; }
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4730 test -n "$ac_ct_CXX" && break
4731 done
4733 if test "x$ac_ct_CXX" = x; then
4734 CXX="g++"
4735 else
4736 case $cross_compiling:$ac_tool_warned in
4737 yes:)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4741 esac
4742 CXX=$ac_ct_CXX
4748 # Provide some information about the compiler.
4749 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4750 set X $ac_compile
4751 ac_compiler=$2
4752 for ac_option in --version -v -V -qversion; do
4753 { { ac_try="$ac_compiler $ac_option >&5"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4759 $as_echo "$ac_try_echo"; } >&5
4760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761 ac_status=$?
4762 if test -s conftest.err; then
4763 sed '10a\
4764 ... rest of stderr output deleted ...
4765 10q' conftest.err >conftest.er1
4766 cat conftest.er1 >&5
4768 rm -f conftest.er1 conftest.err
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }
4771 done
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4774 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4775 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4784 #ifndef __GNUC__
4785 choke me
4786 #endif
4789 return 0;
4791 _ACEOF
4792 if ac_fn_cxx_try_compile "$LINENO"; then :
4793 ac_compiler_gnu=yes
4794 else
4795 ac_compiler_gnu=no
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4802 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4803 if test $ac_compiler_gnu = yes; then
4804 GXX=yes
4805 else
4806 GXX=
4808 ac_test_CXXFLAGS=${CXXFLAGS+set}
4809 ac_save_CXXFLAGS=$CXXFLAGS
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4811 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4812 if ${ac_cv_prog_cxx_g+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4816 ac_cxx_werror_flag=yes
4817 ac_cv_prog_cxx_g=no
4818 CXXFLAGS="-g"
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 main ()
4827 return 0;
4829 _ACEOF
4830 if ac_fn_cxx_try_compile "$LINENO"; then :
4831 ac_cv_prog_cxx_g=yes
4832 else
4833 CXXFLAGS=""
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 main ()
4842 return 0;
4844 _ACEOF
4845 if ac_fn_cxx_try_compile "$LINENO"; then :
4847 else
4848 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4849 CXXFLAGS="-g"
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4862 ac_cv_prog_cxx_g=yes
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4872 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4873 if test "$ac_test_CXXFLAGS" = set; then
4874 CXXFLAGS=$ac_save_CXXFLAGS
4875 elif test $ac_cv_prog_cxx_g = yes; then
4876 if test "$GXX" = yes; then
4877 CXXFLAGS="-g -O2"
4878 else
4879 CXXFLAGS="-g"
4881 else
4882 if test "$GXX" = yes; then
4883 CXXFLAGS="-O2"
4884 else
4885 CXXFLAGS=
4888 ac_ext=c
4889 ac_cpp='$CPP $CPPFLAGS'
4890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4896 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_CPPBIN+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$CPPBIN"; then
4903 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 CPPBIN=$ac_cv_prog_CPPBIN
4923 if test -n "$CPPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4925 $as_echo "$CPPBIN" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$ac_cv_prog_CPPBIN"; then
4934 ac_ct_CPPBIN=$CPPBIN
4935 # Extract the first word of "cpp", so it can be a program name with args.
4936 set dummy cpp; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 if test -n "$ac_ct_CPPBIN"; then
4943 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4944 else
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_CPPBIN="cpp"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4956 done
4957 done
4958 IFS=$as_save_IFS
4962 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4963 if test -n "$ac_ct_CPPBIN"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4965 $as_echo "$ac_ct_CPPBIN" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4971 if test "x$ac_ct_CPPBIN" = x; then
4972 CPPBIN="cpp"
4973 else
4974 case $cross_compiling:$ac_tool_warned in
4975 yes:)
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned=yes ;;
4979 esac
4980 CPPBIN=$ac_ct_CPPBIN
4982 else
4983 CPPBIN="$ac_cv_prog_CPPBIN"
4987 cat >>confdefs.h <<_ACEOF
4988 #define EXEEXT "$ac_exeext"
4989 _ACEOF
4991 if test -n "$ac_tool_prefix"; then
4992 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4993 set dummy ${ac_tool_prefix}ld; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_LD+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$LD"; then
5000 ac_cv_prog_LD="$LD" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_LD="${ac_tool_prefix}ld"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 LD=$ac_cv_prog_LD
5020 if test -n "$LD"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5022 $as_echo "$LD" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5030 if test -z "$ac_cv_prog_LD"; then
5031 ac_ct_LD=$LD
5032 # Extract the first word of "ld", so it can be a program name with args.
5033 set dummy ld; ac_word=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 if test -n "$ac_ct_LD"; then
5040 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_ac_ct_LD="ld"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 break 2
5053 done
5054 done
5055 IFS=$as_save_IFS
5059 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5060 if test -n "$ac_ct_LD"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5062 $as_echo "$ac_ct_LD" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5068 if test "x$ac_ct_LD" = x; then
5069 LD=""
5070 else
5071 case $cross_compiling:$ac_tool_warned in
5072 yes:)
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5075 ac_tool_warned=yes ;;
5076 esac
5077 LD=$ac_ct_LD
5079 else
5080 LD="$ac_cv_prog_LD"
5084 case $host in
5085 *-darwin*)
5086 with_fontconfig=${with_fontconfig:-no}
5088 *-mingw32*|*-cygwin*)
5089 enable_win16=${enable_win16:-no}
5090 CFLAGS="$CFLAGS -D_WIN32"
5092 esac
5094 case $host in
5095 x86_64*|amd64*)
5096 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5097 then
5098 CC="$CC -m32"
5099 CXX="$CXX -m32"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5101 $as_echo_n "checking whether $CC works... " >&6; }
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5107 main ()
5111 return 0;
5113 _ACEOF
5114 if ac_fn_c_try_link "$LINENO"; then :
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5116 $as_echo "yes" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5122 rm -f core conftest.err conftest.$ac_objext \
5123 conftest$ac_exeext conftest.$ac_ext
5124 host_cpu="i386"
5125 notice_platform="32-bit "
5126 TARGETFLAGS="-m32"
5128 enable_win16=${enable_win16:-yes}
5129 else
5130 if test "x${GCC}" = "xyes"
5131 then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5133 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <stdarg.h>
5138 main ()
5140 void func(__builtin_ms_va_list *args);
5142 return 0;
5144 _ACEOF
5145 if ac_fn_c_try_compile "$LINENO"; then :
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5147 $as_echo "yes" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155 CC="$CC -m64"
5156 CXX="$CXX -m64"
5157 host_cpu="x86_64"
5158 notice_platform="64-bit "
5159 TARGETFLAGS="-m64"
5163 arm*)
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5165 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5168 int ac_test(int i) { return i; }
5170 main ()
5172 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5174 return 0;
5176 _ACEOF
5177 if ac_fn_c_try_link "$LINENO"; then :
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5179 $as_echo "yes" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5183 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5185 rm -f core conftest.err conftest.$ac_objext \
5186 conftest$ac_exeext conftest.$ac_ext
5187 CFLAGS="$CFLAGS -marm"
5188 TARGETFLAGS="-marm"
5191 i[3456789]86*)
5192 enable_win16=${enable_win16:-yes}
5194 esac
5196 enable_win16=${enable_win16:-no}
5197 enable_win64=${enable_win64:-no}
5199 enable_winetest=${enable_winetest:-$enable_tests}
5201 if test -n "$with_wine64"
5202 then
5203 if test "x$enable_win64" = "xyes"
5204 then
5205 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5206 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5208 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5209 You should create a separate build directory and run configure from there." "$LINENO" 5
5210 enable_fonts=${enable_fonts:-no}
5211 enable_server=${enable_server:-no}
5212 elif test "x$enable_win64" = "xyes"
5213 then
5214 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5218 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5219 if ${wine_cv_toolsdir+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 wine_cv_toolsdir="$with_wine_tools"
5223 if test -z "$with_wine_tools"; then
5224 if test "$cross_compiling" = "yes"; then
5225 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5226 elif test -n "$with_wine64"; then
5227 wine_cv_toolsdir="$with_wine64"
5230 if test -z "$wine_cv_toolsdir"; then
5231 wine_makedep=tools/makedep
5232 wine_cv_toolsdir="\$(top_builddir)"
5233 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5234 wine_makedep=$wine_cv_toolsdir/tools/makedep
5235 case "$wine_cv_toolsdir" in
5236 /*) ;;
5237 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5238 esac
5239 enable_tools=${enable_tools:-no}
5240 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5241 else
5242 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5246 $as_echo "$wine_cv_toolsdir" >&6; }
5247 TOOLSDIR=$wine_cv_toolsdir
5249 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5250 then
5251 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5255 for ac_prog in flex
5257 # Extract the first word of "$ac_prog", so it can be a program name with args.
5258 set dummy $ac_prog; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_FLEX+:} false; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 if test -n "$FLEX"; then
5265 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5266 else
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 for as_dir in $PATH
5270 IFS=$as_save_IFS
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_FLEX="$ac_prog"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 break 2
5278 done
5279 done
5280 IFS=$as_save_IFS
5284 FLEX=$ac_cv_prog_FLEX
5285 if test -n "$FLEX"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5287 $as_echo "$FLEX" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5294 test -n "$FLEX" && break
5295 done
5296 test -n "$FLEX" || FLEX="none"
5298 if test "$FLEX" = "none"
5299 then
5300 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5303 $as_echo_n "checking whether flex is recent enough... " >&6; }
5304 cat >conftest.l <<EOF
5305 %top{
5306 #include "prediluvian.h"
5310 if $FLEX -t conftest.l >/dev/null 2>&5
5311 then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5313 $as_echo "yes" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5317 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5320 for ac_prog in bison
5322 # Extract the first word of "$ac_prog", so it can be a program name with args.
5323 set dummy $ac_prog; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_BISON+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$BISON"; then
5330 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_BISON="$ac_prog"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 BISON=$ac_cv_prog_BISON
5350 if test -n "$BISON"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5352 $as_echo "$BISON" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5359 test -n "$BISON" && break
5360 done
5361 test -n "$BISON" || BISON="none"
5363 if test "$BISON" = "none"
5364 then
5365 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5368 if test -n "$ac_tool_prefix"; then
5369 for ac_prog in ar gar
5371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_AR+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$AR"; then
5379 ac_cv_prog_AR="$AR" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 AR=$ac_cv_prog_AR
5399 if test -n "$AR"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5401 $as_echo "$AR" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 test -n "$AR" && break
5409 done
5411 if test -z "$AR"; then
5412 ac_ct_AR=$AR
5413 for ac_prog in ar gar
5415 # Extract the first word of "$ac_prog", so it can be a program name with args.
5416 set dummy $ac_prog; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_AR"; then
5423 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_AR="$ac_prog"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5443 if test -n "$ac_ct_AR"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5445 $as_echo "$ac_ct_AR" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 test -n "$ac_ct_AR" && break
5453 done
5455 if test "x$ac_ct_AR" = x; then
5456 AR="ar"
5457 else
5458 case $cross_compiling:$ac_tool_warned in
5459 yes:)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5463 esac
5464 AR=$ac_ct_AR
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}strip; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_STRIP+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$STRIP"; then
5477 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 STRIP=$ac_cv_prog_STRIP
5497 if test -n "$STRIP"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5499 $as_echo "$STRIP" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_STRIP"; then
5508 ac_ct_STRIP=$STRIP
5509 # Extract the first word of "strip", so it can be a program name with args.
5510 set dummy strip; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_STRIP"; then
5517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_STRIP="strip"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5537 if test -n "$ac_ct_STRIP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5539 $as_echo "$ac_ct_STRIP" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_STRIP" = x; then
5546 STRIP="strip"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 STRIP=$ac_ct_STRIP
5556 else
5557 STRIP="$ac_cv_prog_STRIP"
5560 ARFLAGS=rc
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_RANLIB+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$RANLIB"; then
5571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 RANLIB=$ac_cv_prog_RANLIB
5591 if test -n "$RANLIB"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5593 $as_echo "$RANLIB" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_RANLIB"; then
5602 ac_ct_RANLIB=$RANLIB
5603 # Extract the first word of "ranlib", so it can be a program name with args.
5604 set dummy ranlib; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$ac_ct_RANLIB"; then
5611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_RANLIB="ranlib"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5631 if test -n "$ac_ct_RANLIB"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5633 $as_echo "$ac_ct_RANLIB" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_RANLIB" = x; then
5640 RANLIB=":"
5641 else
5642 case $cross_compiling:$ac_tool_warned in
5643 yes:)
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned=yes ;;
5647 esac
5648 RANLIB=$ac_ct_RANLIB
5650 else
5651 RANLIB="$ac_cv_prog_RANLIB"
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5655 $as_echo_n "checking whether ln -s works... " >&6; }
5656 LN_S=$as_ln_s
5657 if test "$LN_S" = "ln -s"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5659 $as_echo "yes" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5662 $as_echo "no, using $LN_S" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5666 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5667 if ${ac_cv_path_GREP+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -z "$GREP"; then
5671 ac_path_GREP_found=false
5672 # Loop through the user's path and test for each of PROGNAME-LIST
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_prog in grep ggrep; do
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5681 as_fn_executable_p "$ac_path_GREP" || continue
5682 # Check for GNU ac_path_GREP and select it if it is found.
5683 # Check for GNU $ac_path_GREP
5684 case `"$ac_path_GREP" --version 2>&1` in
5685 *GNU*)
5686 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5688 ac_count=0
5689 $as_echo_n 0123456789 >"conftest.in"
5690 while :
5692 cat "conftest.in" "conftest.in" >"conftest.tmp"
5693 mv "conftest.tmp" "conftest.in"
5694 cp "conftest.in" "conftest.nl"
5695 $as_echo 'GREP' >> "conftest.nl"
5696 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5698 as_fn_arith $ac_count + 1 && ac_count=$as_val
5699 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5700 # Best one so far, save it but keep looking for a better one
5701 ac_cv_path_GREP="$ac_path_GREP"
5702 ac_path_GREP_max=$ac_count
5704 # 10*(2^10) chars as input seems more than enough
5705 test $ac_count -gt 10 && break
5706 done
5707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5708 esac
5710 $ac_path_GREP_found && break 3
5711 done
5712 done
5713 done
5714 IFS=$as_save_IFS
5715 if test -z "$ac_cv_path_GREP"; then
5716 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5718 else
5719 ac_cv_path_GREP=$GREP
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5724 $as_echo "$ac_cv_path_GREP" >&6; }
5725 GREP="$ac_cv_path_GREP"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5729 $as_echo_n "checking for egrep... " >&6; }
5730 if ${ac_cv_path_EGREP+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5734 then ac_cv_path_EGREP="$GREP -E"
5735 else
5736 if test -z "$EGREP"; then
5737 ac_path_EGREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in egrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5747 as_fn_executable_p "$ac_path_EGREP" || continue
5748 # Check for GNU ac_path_EGREP and select it if it is found.
5749 # Check for GNU $ac_path_EGREP
5750 case `"$ac_path_EGREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5754 ac_count=0
5755 $as_echo_n 0123456789 >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 $as_echo 'EGREP' >> "conftest.nl"
5762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 as_fn_arith $ac_count + 1 && ac_count=$as_val
5765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_EGREP="$ac_path_EGREP"
5768 ac_path_EGREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5776 $ac_path_EGREP_found && break 3
5777 done
5778 done
5779 done
5780 IFS=$as_save_IFS
5781 if test -z "$ac_cv_path_EGREP"; then
5782 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5784 else
5785 ac_cv_path_EGREP=$EGREP
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5791 $as_echo "$ac_cv_path_EGREP" >&6; }
5792 EGREP="$ac_cv_path_EGREP"
5795 # Extract the first word of "ldconfig", so it can be a program name with args.
5796 set dummy ldconfig; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_path_LDCONFIG+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 case $LDCONFIG in
5803 [\\/]* | ?:[\\/]*)
5804 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in /sbin /usr/sbin $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5822 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5824 esac
5826 LDCONFIG=$ac_cv_path_LDCONFIG
5827 if test -n "$LDCONFIG"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5829 $as_echo "$LDCONFIG" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5836 for ac_prog in msgfmt
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy $ac_prog; ac_word=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_MSGFMT+:} false; then :
5843 $as_echo_n "(cached) " >&6
5844 else
5845 if test -n "$MSGFMT"; then
5846 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5847 else
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH
5851 IFS=$as_save_IFS
5852 test -z "$as_dir" && as_dir=.
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_MSGFMT="$ac_prog"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 break 2
5859 done
5860 done
5861 IFS=$as_save_IFS
5865 MSGFMT=$ac_cv_prog_MSGFMT
5866 if test -n "$MSGFMT"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5868 $as_echo "$MSGFMT" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$MSGFMT" && break
5876 done
5877 test -n "$MSGFMT" || MSGFMT="false"
5879 if ${ac_tool_prefix+:} false; then :
5880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5919 if test "x$cross_compiling" = xyes; then :
5921 else
5922 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5923 # Extract the first word of "pkg-config", so it can be a program name with args.
5924 set dummy pkg-config; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$PKG_CONFIG"; then
5931 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_PKG_CONFIG="pkg-config"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5951 if test -n "$PKG_CONFIG"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5953 $as_echo "$PKG_CONFIG" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 else
5962 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5965 if test "x$enable_maintainer_mode" != "xyes"
5966 then
5967 FONTFORGE=""
5968 RSVG=""
5969 CONVERT=""
5970 ICOTOOL=""
5971 else
5972 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5973 for ac_prog in fontforge
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_FONTFORGE+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$FONTFORGE"; then
5983 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_FONTFORGE="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 FONTFORGE=$ac_cv_prog_FONTFORGE
6003 if test -n "$FONTFORGE"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6005 $as_echo "$FONTFORGE" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$FONTFORGE" && break
6013 done
6014 test -n "$FONTFORGE" || FONTFORGE="false"
6016 for ac_prog in rsvg-convert rsvg
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_RSVG+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$RSVG"; then
6026 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_RSVG="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 RSVG=$ac_cv_prog_RSVG
6046 if test -n "$RSVG"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6048 $as_echo "$RSVG" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$RSVG" && break
6056 done
6057 test -n "$RSVG" || RSVG="false"
6059 for ac_prog in convert
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_CONVERT+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$CONVERT"; then
6069 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_CONVERT="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 CONVERT=$ac_cv_prog_CONVERT
6089 if test -n "$CONVERT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6091 $as_echo "$CONVERT" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$CONVERT" && break
6099 done
6100 test -n "$CONVERT" || CONVERT="false"
6102 for ac_prog in icotool
6104 # Extract the first word of "$ac_prog", so it can be a program name with args.
6105 set dummy $ac_prog; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_ICOTOOL+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$ICOTOOL"; then
6112 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_ICOTOOL="$ac_prog"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6125 done
6126 done
6127 IFS=$as_save_IFS
6131 ICOTOOL=$ac_cv_prog_ICOTOOL
6132 if test -n "$ICOTOOL"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6134 $as_echo "$ICOTOOL" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6141 test -n "$ICOTOOL" && break
6142 done
6143 test -n "$ICOTOOL" || ICOTOOL="false"
6145 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6146 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6148 if test "$CONVERT" = false
6149 then
6150 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6153 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6154 convert_version=`convert --version | head -n1`
6155 if test "x$convert_version" != "x"
6156 then
6157 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6158 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6159 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6160 then
6161 CONVERT=false
6164 if test "$CONVERT" = false
6165 then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6167 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6168 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6171 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6175 if test "$ICOTOOL" = false
6176 then
6177 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6178 else
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6180 $as_echo_n "checking for recent enough icotool... " >&6; }
6181 icotool_version=`icotool --version | head -n1`
6182 if test "x$icotool_version" != "x"
6183 then
6184 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6185 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6186 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6187 then
6188 ICOTOOL=false
6189 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6192 if test "$ICOTOOL" = false
6193 then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6195 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6196 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6199 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6203 with_gettext=yes
6204 with_gettextpo=yes
6205 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6208 test "x$with_gettext" != xno || MSGFMT=false
6209 if test "$MSGFMT" != "false"
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6212 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6213 cat >conftest.po <<EOF
6214 # comment
6215 msgctxt "ctxt"
6216 msgid "id"
6217 msgstr "str"
6219 if $MSGFMT -o /dev/null conftest.po 2>&5
6220 then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 MSGFMT=false
6229 if test "$MSGFMT" = false; then :
6230 case "x$with_gettext" in
6231 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6232 xno) ;;
6233 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6234 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6235 esac
6236 enable_po=${enable_po:-no}
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6241 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6242 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6243 $as_echo_n "(cached) " >&6
6244 else
6245 ac_check_lib_save_LIBS=$LIBS
6246 LIBS="-li386 $LIBS"
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 /* Override any GCC internal prototype to avoid an error.
6251 Use char because int might match the return type of a GCC
6252 builtin and then its argument prototype would still apply. */
6253 #ifdef __cplusplus
6254 extern "C"
6255 #endif
6256 char i386_set_ldt ();
6258 main ()
6260 return i386_set_ldt ();
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_link "$LINENO"; then :
6266 ac_cv_lib_i386_i386_set_ldt=yes
6267 else
6268 ac_cv_lib_i386_i386_set_ldt=no
6270 rm -f core conftest.err conftest.$ac_objext \
6271 conftest$ac_exeext conftest.$ac_ext
6272 LIBS=$ac_check_lib_save_LIBS
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6275 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6276 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6277 cat >>confdefs.h <<_ACEOF
6278 #define HAVE_LIBI386 1
6279 _ACEOF
6281 LIBS="-li386 $LIBS"
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6286 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6287 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 ac_check_lib_save_LIBS=$LIBS
6291 LIBS="-lossaudio $LIBS"
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 /* Override any GCC internal prototype to avoid an error.
6296 Use char because int might match the return type of a GCC
6297 builtin and then its argument prototype would still apply. */
6298 #ifdef __cplusplus
6299 extern "C"
6300 #endif
6301 char _oss_ioctl ();
6303 main ()
6305 return _oss_ioctl ();
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"; then :
6311 ac_cv_lib_ossaudio__oss_ioctl=yes
6312 else
6313 ac_cv_lib_ossaudio__oss_ioctl=no
6315 rm -f core conftest.err conftest.$ac_objext \
6316 conftest$ac_exeext conftest.$ac_ext
6317 LIBS=$ac_check_lib_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6320 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6321 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6322 cat >>confdefs.h <<_ACEOF
6323 #define HAVE_LIBOSSAUDIO 1
6324 _ACEOF
6326 LIBS="-lossaudio $LIBS"
6331 OPENGL_LIBS=""
6335 # Check whether --enable-largefile was given.
6336 if test "${enable_largefile+set}" = set; then :
6337 enableval=$enable_largefile;
6340 if test "$enable_largefile" != no; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6343 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6344 if ${ac_cv_sys_largefile_CC+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_cv_sys_largefile_CC=no
6348 if test "$GCC" != yes; then
6349 ac_save_CC=$CC
6350 while :; do
6351 # IRIX 6.2 and later do not support large files by default,
6352 # so use the C compiler's -n32 option if that helps.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <sys/types.h>
6356 /* Check that off_t can represent 2**63 - 1 correctly.
6357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6358 since some C++ compilers masquerading as C compilers
6359 incorrectly reject 9223372036854775807. */
6360 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6362 && LARGE_OFF_T % 2147483647 == 1)
6363 ? 1 : -1];
6365 main ()
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_compile "$LINENO"; then :
6373 break
6375 rm -f core conftest.err conftest.$ac_objext
6376 CC="$CC -n32"
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_largefile_CC=' -n32'; break
6380 rm -f core conftest.err conftest.$ac_objext
6381 break
6382 done
6383 CC=$ac_save_CC
6384 rm -f conftest.$ac_ext
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6388 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6389 if test "$ac_cv_sys_largefile_CC" != no; then
6390 CC=$CC$ac_cv_sys_largefile_CC
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6394 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6395 if ${ac_cv_sys_file_offset_bits+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 while :; do
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <sys/types.h>
6402 /* Check that off_t can represent 2**63 - 1 correctly.
6403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6404 since some C++ compilers masquerading as C compilers
6405 incorrectly reject 9223372036854775807. */
6406 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6408 && LARGE_OFF_T % 2147483647 == 1)
6409 ? 1 : -1];
6411 main ()
6415 return 0;
6417 _ACEOF
6418 if ac_fn_c_try_compile "$LINENO"; then :
6419 ac_cv_sys_file_offset_bits=no; break
6421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6424 #define _FILE_OFFSET_BITS 64
6425 #include <sys/types.h>
6426 /* Check that off_t can represent 2**63 - 1 correctly.
6427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6428 since some C++ compilers masquerading as C compilers
6429 incorrectly reject 9223372036854775807. */
6430 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6432 && LARGE_OFF_T % 2147483647 == 1)
6433 ? 1 : -1];
6435 main ()
6439 return 0;
6441 _ACEOF
6442 if ac_fn_c_try_compile "$LINENO"; then :
6443 ac_cv_sys_file_offset_bits=64; break
6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6446 ac_cv_sys_file_offset_bits=unknown
6447 break
6448 done
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6451 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6452 case $ac_cv_sys_file_offset_bits in #(
6453 no | unknown) ;;
6455 cat >>confdefs.h <<_ACEOF
6456 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6457 _ACEOF
6459 esac
6460 rm -rf conftest*
6461 if test $ac_cv_sys_file_offset_bits = unknown; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6463 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6464 if ${ac_cv_sys_large_files+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 while :; do
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <sys/types.h>
6471 /* Check that off_t can represent 2**63 - 1 correctly.
6472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6473 since some C++ compilers masquerading as C compilers
6474 incorrectly reject 9223372036854775807. */
6475 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6477 && LARGE_OFF_T % 2147483647 == 1)
6478 ? 1 : -1];
6480 main ()
6484 return 0;
6486 _ACEOF
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488 ac_cv_sys_large_files=no; break
6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #define _LARGE_FILES 1
6494 #include <sys/types.h>
6495 /* Check that off_t can represent 2**63 - 1 correctly.
6496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6497 since some C++ compilers masquerading as C compilers
6498 incorrectly reject 9223372036854775807. */
6499 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6501 && LARGE_OFF_T % 2147483647 == 1)
6502 ? 1 : -1];
6504 main ()
6508 return 0;
6510 _ACEOF
6511 if ac_fn_c_try_compile "$LINENO"; then :
6512 ac_cv_sys_large_files=1; break
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6515 ac_cv_sys_large_files=unknown
6516 break
6517 done
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6520 $as_echo "$ac_cv_sys_large_files" >&6; }
6521 case $ac_cv_sys_large_files in #(
6522 no | unknown) ;;
6524 cat >>confdefs.h <<_ACEOF
6525 #define _LARGE_FILES $ac_cv_sys_large_files
6526 _ACEOF
6528 esac
6529 rm -rf conftest*
6536 ac_ext=c
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6542 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6543 # On Suns, sometimes $CPP names a directory.
6544 if test -n "$CPP" && test -d "$CPP"; then
6545 CPP=
6547 if test -z "$CPP"; then
6548 if ${ac_cv_prog_CPP+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 # Double quotes because CPP needs to be expanded
6552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6554 ac_preproc_ok=false
6555 for ac_c_preproc_warn_flag in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 #ifdef __STDC__
6566 # include <limits.h>
6567 #else
6568 # include <assert.h>
6569 #endif
6570 Syntax error
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6574 else
6575 # Broken: fails on valid input.
6576 continue
6578 rm -f conftest.err conftest.i conftest.$ac_ext
6580 # OK, works on sane cases. Now check whether nonexistent headers
6581 # can be detected and how.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #include <ac_nonexistent.h>
6585 _ACEOF
6586 if ac_fn_c_try_cpp "$LINENO"; then :
6587 # Broken: success on invalid input.
6588 continue
6589 else
6590 # Passes both tests.
6591 ac_preproc_ok=:
6592 break
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 done
6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6598 rm -f conftest.i conftest.err conftest.$ac_ext
6599 if $ac_preproc_ok; then :
6600 break
6603 done
6604 ac_cv_prog_CPP=$CPP
6607 CPP=$ac_cv_prog_CPP
6608 else
6609 ac_cv_prog_CPP=$CPP
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6612 $as_echo "$CPP" >&6; }
6613 ac_preproc_ok=false
6614 for ac_c_preproc_warn_flag in '' yes
6616 # Use a header file that comes with gcc, so configuring glibc
6617 # with a fresh cross-compiler works.
6618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6619 # <limits.h> exists even on freestanding compilers.
6620 # On the NeXT, cc -E runs the code through the compiler's parser,
6621 # not just through cpp. "Syntax error" is here to catch this case.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #ifdef __STDC__
6625 # include <limits.h>
6626 #else
6627 # include <assert.h>
6628 #endif
6629 Syntax error
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6633 else
6634 # Broken: fails on valid input.
6635 continue
6637 rm -f conftest.err conftest.i conftest.$ac_ext
6639 # OK, works on sane cases. Now check whether nonexistent headers
6640 # can be detected and how.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if ac_fn_c_try_cpp "$LINENO"; then :
6646 # Broken: success on invalid input.
6647 continue
6648 else
6649 # Passes both tests.
6650 ac_preproc_ok=:
6651 break
6653 rm -f conftest.err conftest.i conftest.$ac_ext
6655 done
6656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6657 rm -f conftest.i conftest.err conftest.$ac_ext
6658 if $ac_preproc_ok; then :
6660 else
6661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6663 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6664 See \`config.log' for more details" "$LINENO" 5; }
6667 ac_ext=c
6668 ac_cpp='$CPP $CPPFLAGS'
6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6675 $as_echo_n "checking for ANSI C header files... " >&6; }
6676 if ${ac_cv_header_stdc+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <stdlib.h>
6682 #include <stdarg.h>
6683 #include <string.h>
6684 #include <float.h>
6687 main ()
6691 return 0;
6693 _ACEOF
6694 if ac_fn_c_try_compile "$LINENO"; then :
6695 ac_cv_header_stdc=yes
6696 else
6697 ac_cv_header_stdc=no
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 if test $ac_cv_header_stdc = yes; then
6702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #include <string.h>
6707 _ACEOF
6708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6709 $EGREP "memchr" >/dev/null 2>&1; then :
6711 else
6712 ac_cv_header_stdc=no
6714 rm -f conftest*
6718 if test $ac_cv_header_stdc = yes; then
6719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <stdlib.h>
6724 _ACEOF
6725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6726 $EGREP "free" >/dev/null 2>&1; then :
6728 else
6729 ac_cv_header_stdc=no
6731 rm -f conftest*
6735 if test $ac_cv_header_stdc = yes; then
6736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6737 if test "$cross_compiling" = yes; then :
6739 else
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <ctype.h>
6743 #include <stdlib.h>
6744 #if ((' ' & 0x0FF) == 0x020)
6745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6747 #else
6748 # define ISLOWER(c) \
6749 (('a' <= (c) && (c) <= 'i') \
6750 || ('j' <= (c) && (c) <= 'r') \
6751 || ('s' <= (c) && (c) <= 'z'))
6752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6753 #endif
6755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6757 main ()
6759 int i;
6760 for (i = 0; i < 256; i++)
6761 if (XOR (islower (i), ISLOWER (i))
6762 || toupper (i) != TOUPPER (i))
6763 return 2;
6764 return 0;
6766 _ACEOF
6767 if ac_fn_c_try_run "$LINENO"; then :
6769 else
6770 ac_cv_header_stdc=no
6772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6773 conftest.$ac_objext conftest.beam conftest.$ac_ext
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6779 $as_echo "$ac_cv_header_stdc" >&6; }
6780 if test $ac_cv_header_stdc = yes; then
6782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6788 inttypes.h stdint.h unistd.h
6789 do :
6790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796 _ACEOF
6800 done
6803 for ac_header in \
6804 AL/al.h \
6805 ApplicationServices/ApplicationServices.h \
6806 AudioToolbox/AudioConverter.h \
6807 AudioUnit/AudioUnit.h \
6808 AudioUnit/AudioComponent.h \
6809 CL/cl.h \
6810 Carbon/Carbon.h \
6811 CommonCrypto/CommonDigest.h \
6812 CoreAudio/CoreAudio.h \
6813 CoreServices/CoreServices.h \
6814 DiskArbitration/DiskArbitration.h \
6815 IOKit/IOKitLib.h \
6816 IOKit/hid/IOHIDLib.h \
6817 OpenAL/al.h \
6818 OpenCL/opencl.h \
6819 QuickTime/ImageCompression.h \
6820 Security/Security.h \
6821 alias.h \
6822 alsa/asoundlib.h \
6823 arpa/inet.h \
6824 arpa/nameser.h \
6825 asm/types.h \
6826 asm/user.h \
6827 curses.h \
6828 direct.h \
6829 dirent.h \
6830 dlfcn.h \
6831 elf.h \
6832 float.h \
6833 fnmatch.h \
6834 getopt.h \
6835 gettext-po.h \
6836 grp.h \
6837 gsm.h \
6838 gsm/gsm.h \
6839 ieeefp.h \
6840 inet/mib2.h \
6841 io.h \
6842 kstat.h \
6843 lber.h \
6844 ldap.h \
6845 libproc.h \
6846 link.h \
6847 linux/cdrom.h \
6848 linux/compiler.h \
6849 linux/filter.h \
6850 linux/hdreg.h \
6851 linux/hidraw.h \
6852 linux/input.h \
6853 linux/ioctl.h \
6854 linux/joystick.h \
6855 linux/major.h \
6856 linux/param.h \
6857 linux/serial.h \
6858 linux/types.h \
6859 linux/ucdrom.h \
6860 lwp.h \
6861 mach-o/nlist.h \
6862 mach-o/loader.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/sysarch.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 pcap/pcap.h \
6876 poll.h \
6877 port.h \
6878 process.h \
6879 pthread.h \
6880 pwd.h \
6881 sched.h \
6882 scsi/scsi.h \
6883 scsi/scsi_ioctl.h \
6884 scsi/sg.h \
6885 stdbool.h \
6886 stdint.h \
6887 stropts.h \
6888 sys/asoundlib.h \
6889 sys/attr.h \
6890 sys/cdio.h \
6891 sys/elf32.h \
6892 sys/epoll.h \
6893 sys/event.h \
6894 sys/exec_elf.h \
6895 sys/filio.h \
6896 sys/inotify.h \
6897 sys/ioctl.h \
6898 sys/ipc.h \
6899 sys/limits.h \
6900 sys/link.h \
6901 sys/mman.h \
6902 sys/modem.h \
6903 sys/msg.h \
6904 sys/mtio.h \
6905 sys/param.h \
6906 sys/poll.h \
6907 sys/prctl.h \
6908 sys/protosw.h \
6909 sys/ptrace.h \
6910 sys/queue.h \
6911 sys/resource.h \
6912 sys/scsiio.h \
6913 sys/shm.h \
6914 sys/signal.h \
6915 sys/socket.h \
6916 sys/socketvar.h \
6917 sys/sockio.h \
6918 sys/statvfs.h \
6919 sys/strtio.h \
6920 sys/syscall.h \
6921 sys/sysinfo.h \
6922 sys/tihdr.h \
6923 sys/time.h \
6924 sys/timeout.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/user.h \
6928 sys/utsname.h \
6929 sys/vm86.h \
6930 sys/vnode.h \
6931 sys/wait.h \
6932 syscall.h \
6933 termios.h \
6934 unistd.h \
6935 utime.h \
6936 valgrind/memcheck.h \
6937 valgrind/valgrind.h \
6938 zlib.h
6940 do :
6941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6942 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6953 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6954 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6955 $as_echo_n "(cached) " >&6
6956 else
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6961 main ()
6963 return makedev(0, 0);
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 ac_cv_header_sys_types_h_makedev=yes
6970 else
6971 ac_cv_header_sys_types_h_makedev=no
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6978 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6980 if test $ac_cv_header_sys_types_h_makedev = no; then
6981 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6982 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6984 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6990 if test $ac_cv_header_sys_mkdev_h = no; then
6991 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6992 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6994 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7003 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7004 if ${ac_cv_header_stat_broken+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 #include <sys/stat.h>
7012 #if defined S_ISBLK && defined S_IFDIR
7013 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7014 #endif
7016 #if defined S_ISBLK && defined S_IFCHR
7017 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7018 #endif
7020 #if defined S_ISLNK && defined S_IFREG
7021 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7022 #endif
7024 #if defined S_ISSOCK && defined S_IFREG
7025 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7026 #endif
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_header_stat_broken=no
7031 else
7032 ac_cv_header_stat_broken=yes
7034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7037 $as_echo "$ac_cv_header_stat_broken" >&6; }
7038 if test $ac_cv_header_stat_broken = yes; then
7040 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7046 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7047 do :
7048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_PARAM_H
7051 # include <sys/param.h>
7052 #endif
7054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7055 cat >>confdefs.h <<_ACEOF
7056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7057 _ACEOF
7061 done
7064 for ac_header in \
7065 netinet/ip.h \
7066 net/if.h \
7067 net/if_arp.h \
7068 net/if_dl.h \
7069 net/if_types.h \
7070 net/route.h \
7071 netinet/if_ether.h \
7072 netinet/if_inarp.h \
7073 netinet/in_pcb.h \
7074 netinet/ip_icmp.h \
7075 netinet/ip_var.h \
7076 netinet/udp.h \
7077 netipx/ipx.h \
7078 sys/un.h \
7080 do :
7081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7083 #ifdef HAVE_SYS_SOCKET_H
7084 # include <sys/socket.h>
7085 #endif
7086 #ifdef HAVE_SYS_SOCKETVAR_H
7087 # include <sys/socketvar.h>
7088 #endif
7089 #ifdef HAVE_NET_ROUTE_H
7090 # include <net/route.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IN_H
7093 # include <netinet/in.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IN_SYSTM_H
7096 # include <netinet/in_systm.h>
7097 #endif
7098 #ifdef HAVE_NET_IF_H
7099 # include <net/if.h>
7100 #endif
7101 #ifdef HAVE_NETINET_IP_H
7102 # include <netinet/ip.h>
7103 #endif
7105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7108 _ACEOF
7112 done
7115 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7116 do :
7117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7118 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7119 #ifdef HAVE_ALIAS_H
7120 # include <alias.h>
7121 #endif
7122 #ifdef HAVE_SYS_SOCKET_H
7123 # include <sys/socket.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKETVAR_H
7126 # include <sys/socketvar.h>
7127 #endif
7128 #ifdef HAVE_SYS_TIMEOUT_H
7129 # include <sys/timeout.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IN_H
7132 # include <netinet/in.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IN_SYSTM_H
7135 # include <netinet/in_systm.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IP_H
7138 # include <netinet/ip.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_VAR_H
7141 # include <netinet/ip_var.h>
7142 #endif
7143 #ifdef HAVE_NETINET_IP_ICMP_H
7144 # include <netinet/ip_icmp.h>
7145 #endif
7146 #ifdef HAVE_NETINET_UDP_H
7147 # include <netinet/udp.h>
7148 #endif
7149 #ifdef HAVE_NETINET_TCP_H
7150 # include <netinet/tcp.h>
7151 #endif
7152 #ifdef HAVE_NETINET_TCP_TIMER_H
7153 #include <netinet/tcp_timer.h>
7154 #endif
7156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7163 done
7166 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7167 do :
7168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7170 #ifdef HAVE_ASM_TYPES_H
7171 # include <asm/types.h>
7172 #endif
7173 #ifdef HAVE_SYS_SOCKET_H
7174 # include <sys/socket.h>
7175 #endif
7176 #ifdef HAVE_LINUX_TYPES_H
7177 # include <linux/types.h>
7178 #endif
7180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7181 cat >>confdefs.h <<_ACEOF
7182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7187 done
7190 for ac_header in mach-o/dyld_images.h
7191 do :
7192 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7193 # include <stdbool.h>
7194 #endif
7195 #ifdef HAVE_STDINT_H
7196 # include <stdint.h>
7197 #endif
7199 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7202 _ACEOF
7206 done
7209 for ac_header in resolv.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7214 #endif
7215 #ifdef HAVE_NETINET_IN_H
7216 # include <netinet/in.h>
7217 #endif
7218 #ifdef HAVE_ARPA_NAMESER_H
7219 # include <arpa/nameser.h>
7220 #endif
7222 if test "x$ac_cv_header_resolv_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_RESOLV_H 1
7225 _ACEOF
7229 done
7232 for ac_header in ifaddrs.h
7233 do :
7234 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7236 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_IFADDRS_H 1
7239 _ACEOF
7243 done
7246 for ac_header in sys/ucontext.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7250 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_SYS_UCONTEXT_H 1
7253 _ACEOF
7257 done
7260 for ac_header in sys/thr.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7263 #ifdef HAVE_SYS_UCONTEXT_H
7264 #include <sys/ucontext.h>
7265 #endif
7267 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_SYS_THR_H 1
7270 _ACEOF
7274 done
7277 for ac_header in pthread_np.h
7278 do :
7279 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7280 #include <pthread.h>
7281 #endif
7283 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7284 cat >>confdefs.h <<_ACEOF
7285 #define HAVE_PTHREAD_NP_H 1
7286 _ACEOF
7290 done
7293 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7294 do :
7295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7297 #include <sys/time.h>
7298 #endif
7299 #include <sys/types.h>
7300 #ifdef HAVE_ASM_TYPES_H
7301 #include <asm/types.h>
7302 #endif
7304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7307 _ACEOF
7311 done
7314 for ac_header in libprocstat.h
7315 do :
7316 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7317 #include <sys/param.h>
7318 #endif
7319 #ifdef HAVE_SYS_QUEUE_H
7320 #include <sys/queue.h>
7321 #endif
7322 #ifdef HAVE_SYS_SOCKET_H
7323 #include <sys/socket.h>
7324 #endif
7326 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_LIBPROCSTAT_H 1
7329 _ACEOF
7333 done
7337 dlldir="\${libdir}/wine"
7339 DLLFLAGS="-D_REENTRANT"
7341 LDRPATH_INSTALL=""
7343 LDRPATH_LOCAL=""
7345 LDEXECFLAGS=""
7347 LIBEXT="so"
7348 DLLEXT=".so"
7349 IMPLIBEXT="def"
7350 # Extract the first word of "ldd", so it can be a program name with args.
7351 set dummy ldd; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_path_LDD+:} false; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 case $LDD in
7358 [\\/]* | ?:[\\/]*)
7359 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 as_dummy="/sbin:/usr/sbin:$PATH"
7364 for as_dir in $as_dummy
7366 IFS=$as_save_IFS
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7378 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7380 esac
7382 LDD=$ac_cv_path_LDD
7383 if test -n "$LDD"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7385 $as_echo "$LDD" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}otool; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_OTOOL+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$OTOOL"; then
7401 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 OTOOL=$ac_cv_prog_OTOOL
7421 if test -n "$OTOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7423 $as_echo "$OTOOL" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_OTOOL"; then
7432 ac_ct_OTOOL=$OTOOL
7433 # Extract the first word of "otool", so it can be a program name with args.
7434 set dummy otool; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$ac_ct_OTOOL"; then
7441 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_OTOOL="otool"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7461 if test -n "$ac_ct_OTOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7463 $as_echo "$ac_ct_OTOOL" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_OTOOL" = x; then
7470 OTOOL="otool"
7471 else
7472 case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478 OTOOL=$ac_ct_OTOOL
7480 else
7481 OTOOL="$ac_cv_prog_OTOOL"
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_READELF+:} false; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$READELF"; then
7493 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 READELF=$ac_cv_prog_READELF
7513 if test -n "$READELF"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7515 $as_echo "$READELF" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7523 if test -z "$ac_cv_prog_READELF"; then
7524 ac_ct_READELF=$READELF
7525 # Extract the first word of "readelf", so it can be a program name with args.
7526 set dummy readelf; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$ac_ct_READELF"; then
7533 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_READELF="readelf"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7553 if test -n "$ac_ct_READELF"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7555 $as_echo "$ac_ct_READELF" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7561 if test "x$ac_ct_READELF" = x; then
7562 READELF="true"
7563 else
7564 case $cross_compiling:$ac_tool_warned in
7565 yes:)
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7568 ac_tool_warned=yes ;;
7569 esac
7570 READELF=$ac_ct_READELF
7572 else
7573 READELF="$ac_cv_prog_READELF"
7576 wine_rules_file=conf$$rules.make
7577 rm -f $wine_rules_file
7578 SUBDIRS=""
7580 DISABLED_SUBDIRS=""
7582 CONFIGURE_TARGETS=""
7584 ALL_TEST_RESOURCES=""
7587 wine_fn_append_file ()
7589 as_fn_append $1 " \\$as_nl $2"
7592 wine_fn_append_rule ()
7594 $as_echo "$1" >>$wine_rules_file
7597 wine_fn_has_flag ()
7599 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7602 wine_fn_all_rules ()
7604 wine_fn_append_file SUBDIRS $ac_dir
7605 wine_fn_append_rule \
7606 "all: $ac_dir
7607 .PHONY: $ac_dir
7608 $ac_dir: dummy
7609 @cd $ac_dir && \$(MAKE)"
7612 wine_fn_install_rules ()
7614 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install $ac_dir/uninstall
7618 $ac_dir/install:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install
7620 $ac_dir/uninstall::
7621 @cd $ac_dir && \$(MAKE) uninstall
7622 install:: $ac_dir/install
7623 __uninstall__: $ac_dir/uninstall"
7625 if wine_fn_has_flag install-lib
7626 then
7627 wine_fn_append_rule \
7628 ".PHONY: $ac_dir/install-lib
7629 $ac_dir/install-lib:: $ac_dir
7630 @cd $ac_dir && \$(MAKE) install-lib
7631 install-lib:: $ac_dir/install-lib"
7634 if wine_fn_has_flag install-dev
7635 then
7636 wine_fn_append_rule \
7637 ".PHONY: $ac_dir/install-dev
7638 $ac_dir/install-dev:: $ac_dir
7639 @cd $ac_dir && \$(MAKE) install-dev
7640 install-dev:: $ac_dir/install-dev"
7644 wine_fn_clean_rules ()
7646 ac_clean=$@
7648 if wine_fn_has_flag clean
7649 then
7650 wine_fn_append_rule \
7651 "$ac_dir/clean: dummy
7652 @cd $ac_dir && \$(MAKE) clean"
7653 else
7654 wine_fn_append_rule \
7655 "$ac_dir/clean: dummy
7656 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7658 wine_fn_append_rule \
7659 "__clean__: $ac_dir/clean
7660 .PHONY: $ac_dir/clean"
7663 wine_fn_disabled_rules ()
7665 ac_clean=$@
7667 wine_fn_append_file SUBDIRS $ac_dir
7668 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7669 wine_fn_append_rule \
7670 "__clean__: $ac_dir/clean
7671 .PHONY: $ac_dir/clean
7672 $ac_dir/clean: dummy
7673 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7676 wine_fn_config_makefile ()
7678 ac_dir=$1
7679 ac_enable=$2
7680 ac_flags=$3
7682 case $ac_dir in
7683 fonts|server) test -z "$with_wine64" || return ;;
7684 esac
7685 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7686 wine_fn_disabled_rules; return
7688 wine_fn_all_rules
7689 wine_fn_install_rules
7690 wine_fn_clean_rules
7693 wine_fn_config_lib ()
7695 ac_name=$1
7696 ac_flags=$2
7697 ac_dir=dlls/$ac_name
7698 ac_deps="include"
7700 if test "x$enable_tools" = xno; then :
7702 else
7703 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7705 wine_fn_all_rules
7706 wine_fn_clean_rules
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install $ac_dir/uninstall
7710 $ac_dir/install:: $ac_dir
7711 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7714 install install-dev:: $ac_dir/install
7715 __uninstall__: $ac_dir/uninstall
7716 __builddeps__: $ac_dir
7717 $ac_dir: $ac_deps"
7720 wine_fn_config_dll ()
7722 ac_name=$1
7723 ac_dir=dlls/$ac_name
7724 ac_enable=$2
7725 ac_flags=$3
7726 ac_implib=${4:-$ac_name}
7727 ac_file=$ac_dir/lib$ac_implib
7728 ac_dll=$ac_name
7729 ac_deps="include"
7730 ac_implibflags=""
7732 if test "x$enable_tools" = xno; then :
7734 else
7735 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7737 case $ac_name in
7738 *.*16) ac_implibflags=" -m16" ;;
7739 *.*) ;;
7740 *) ac_dll=$ac_dll.dll ;;
7741 esac
7743 ac_clean=
7744 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7745 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7747 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7748 if test "$ac_enable" != enable_win16
7749 then
7750 wine_fn_clean_rules $ac_clean
7751 wine_fn_append_file SUBDIRS $ac_dir
7752 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7753 else
7754 wine_fn_disabled_rules $ac_clean
7755 return
7757 else
7758 wine_fn_all_rules
7759 wine_fn_clean_rules $ac_clean
7760 wine_fn_append_rule \
7761 "$ac_dir: __builddeps__
7762 manpages htmlpages sgmlpages xmlpages::
7763 @cd $ac_dir && \$(MAKE) \$@
7764 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7765 install install-lib:: $ac_dir/install-lib
7766 __uninstall__: $ac_dir/uninstall"
7767 if test -n "$DLLEXT"
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install-lib:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7772 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7775 else
7776 wine_fn_append_rule \
7777 "$ac_dir/install-lib:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7784 if wine_fn_has_flag staticimplib
7785 then
7786 wine_fn_append_rule \
7787 "__builddeps__: $ac_file.a
7788 $ac_file.a $ac_file.cross.a: $ac_deps
7789 $ac_file.a: dummy
7790 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7791 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7792 $ac_dir/install-dev:: $ac_file.a
7793 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7794 $ac_dir/uninstall::
7795 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7796 install install-dev:: $ac_dir/install-dev
7797 __uninstall__: $ac_dir/uninstall"
7799 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7800 then
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.cross.a
7803 $ac_file.cross.a: dummy
7804 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7807 elif wine_fn_has_flag implib
7808 then
7809 wine_fn_append_rule \
7810 "__builddeps__: $ac_file.$IMPLIBEXT
7811 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7812 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7813 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7815 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7816 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7817 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7818 $ac_dir/uninstall::
7819 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7820 install install-dev:: $ac_dir/install-dev
7821 __uninstall__: $ac_dir/uninstall"
7822 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7823 then
7824 wine_fn_append_rule \
7825 "__builddeps__: $ac_file.cross.a
7826 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7827 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7832 wine_fn_config_program ()
7834 ac_name=$1
7835 ac_dir=programs/$ac_name
7836 ac_enable=$2
7837 ac_flags=$3
7838 ac_program=$ac_name
7840 case $ac_name in
7841 *.*) ;;
7842 *) ac_program=$ac_program.exe ;;
7843 esac
7845 ac_clean=
7846 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7847 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7849 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7850 wine_fn_disabled_rules $ac_clean; return
7853 wine_fn_all_rules
7854 wine_fn_clean_rules $ac_clean
7855 wine_fn_append_rule "$ac_dir: __builddeps__"
7857 wine_fn_has_flag install || return
7858 wine_fn_append_rule \
7859 ".PHONY: $ac_dir/install $ac_dir/uninstall
7860 install install-lib:: $ac_dir/install
7861 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$DLLEXT"
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: $ac_dir
7867 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7868 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7869 $ac_dir/uninstall::
7870 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7872 if test -z "$with_wine64" && wine_fn_has_flag installbin
7873 then
7874 wine_fn_append_rule \
7875 "$ac_dir/install:: __tooldeps__
7876 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7877 $ac_dir/uninstall::
7878 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7880 else
7881 wine_fn_append_rule \
7882 "$ac_dir/install:: $ac_dir
7883 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7884 $ac_dir/uninstall::
7885 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7888 if test -z "$with_wine64" && wine_fn_has_flag manpage
7889 then
7890 wine_fn_append_rule \
7891 "$ac_dir/install:: $ac_dir
7892 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7898 wine_fn_config_test ()
7900 ac_dir=$1
7901 ac_name=$2
7902 ac_flags=$3
7904 ac_clean=
7905 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7906 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7908 if test "x$enable_tests" = xno; then :
7909 wine_fn_disabled_rules $ac_clean; return
7912 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7913 wine_fn_all_rules
7914 wine_fn_clean_rules $ac_clean
7916 wine_fn_append_rule \
7917 "$ac_dir: __builddeps__
7918 programs/winetest: $ac_dir
7919 check test: $ac_dir/test
7920 .PHONY: $ac_dir/test
7921 $ac_dir/test: dummy
7922 @cd $ac_dir && \$(MAKE) test
7923 testclean::
7924 \$(RM) $ac_dir/*.ok"
7926 if test -n "$CROSSTARGET"
7927 then
7928 wine_fn_append_rule \
7929 "crosstest: $ac_dir/crosstest
7930 .PHONY: $ac_dir/crosstest
7931 $ac_dir/crosstest: __builddeps__ dummy
7932 @cd $ac_dir && \$(MAKE) crosstest"
7936 wine_fn_config_tool ()
7938 ac_dir=$1
7939 ac_flags=$2
7940 if test "x$enable_tools" = xno; then :
7941 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7944 wine_fn_all_rules
7945 wine_fn_install_rules
7946 wine_fn_clean_rules
7948 wine_fn_append_rule "__tooldeps__: $ac_dir"
7949 wine_fn_append_rule "$ac_dir: libs/port"
7950 case $ac_dir in
7951 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7952 esac
7955 wine_fn_config_symlink ()
7957 ac_linkdir=
7958 if test "x$1" = "x-d"
7959 then
7960 ac_linkdir=$2
7961 shift; shift
7963 ac_links=$@
7964 wine_fn_append_rule \
7965 "$ac_links:
7966 @./config.status \$@"
7967 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7968 test -n "$ac_linkdir" || return
7969 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7972 wine_binary="wine"
7973 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7974 WINELOADER_PROGRAMS="$wine_binary"
7976 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7978 case $host_os in
7979 cygwin*|mingw32*)
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_DLLTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$DLLTOOL"; then
7989 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 DLLTOOL=$ac_cv_prog_DLLTOOL
8009 if test -n "$DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8011 $as_echo "$DLLTOOL" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_DLLTOOL"; then
8020 ac_ct_DLLTOOL=$DLLTOOL
8021 # Extract the first word of "dlltool", so it can be a program name with args.
8022 set dummy dlltool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$ac_ct_DLLTOOL"; then
8029 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8049 if test -n "$ac_ct_DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8051 $as_echo "$ac_ct_DLLTOOL" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_DLLTOOL" = x; then
8058 DLLTOOL="false"
8059 else
8060 case $cross_compiling:$ac_tool_warned in
8061 yes:)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8065 esac
8066 DLLTOOL=$ac_ct_DLLTOOL
8068 else
8069 DLLTOOL="$ac_cv_prog_DLLTOOL"
8072 LIBEXT="dll"
8073 DLLEXT=""
8074 IMPLIBEXT="a"
8075 enable_iphlpapi=${enable_iphlpapi:-no}
8076 enable_kernel32=${enable_kernel32:-no}
8077 enable_msvcrt=${enable_msvcrt:-no}
8078 enable_ntdll=${enable_ntdll:-no}
8079 enable_ws2_32=${enable_ws2_32:-no}
8080 enable_loader=${enable_loader:-no}
8081 enable_server=${enable_server:-no}
8082 with_x=${with_x:-no}
8083 with_pthread=${with_pthread:-no}
8085 crtlibs=""
8086 case $host_os in
8087 mingw32*)
8088 crtlibs="-lmsvcrt"
8089 SOCKET_LIBS="-lws2_32"
8091 esac
8093 LIBWINE_SHAREDLIB="libwine.dll"
8095 LIBWINE_IMPORTLIB="libwine.a"
8097 LIBWINE_INSTALL_LIB="libwine.dll"
8099 LIBWINE_INSTALL_DEV="libwine.a"
8101 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8103 LIBWINE_DEPENDS="wine.def"
8107 darwin*|macosx*)
8108 for ac_header in libunwind.h
8109 do :
8110 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_LIBUNWIND_H 1
8114 _ACEOF
8118 done
8120 LIBEXT="dylib"
8121 DLLFLAGS="$DLLFLAGS -fPIC"
8122 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8123 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8124 COREFOUNDATION_LIBS="-framework CoreFoundation"
8126 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8128 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8130 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8132 CORESERVICES_LIBS="-framework CoreServices"
8134 APPKIT_LIBS="-framework AppKit"
8136 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8138 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8139 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 ac_wine_try_cflags_saved=$CFLAGS
8143 CFLAGS="$CFLAGS -Wl,-no_pie"
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 int main(int argc, char **argv) { return 0; }
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 ac_cv_cflags__Wl__no_pie=yes
8150 else
8151 ac_cv_cflags__Wl__no_pie=no
8153 rm -f core conftest.err conftest.$ac_objext \
8154 conftest$ac_exeext conftest.$ac_ext
8155 CFLAGS=$ac_wine_try_cflags_saved
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8158 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8159 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8160 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8162 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8163 then
8164 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8167 if test "$ac_cv_header_Security_Security_h" = "yes"
8168 then
8169 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8171 ac_save_LIBS="$LIBS"
8172 LIBS="$LIBS $SECURITY_LIBS"
8173 for ac_func in SSLCopyPeerCertificates
8174 do :
8175 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8176 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8177 cat >>confdefs.h <<_ACEOF
8178 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8179 _ACEOF
8182 done
8184 LIBS="$ac_save_LIBS"
8185 with_gnutls=${with_gnutls:-no}
8187 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8188 then
8189 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8190 then
8191 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8193 else
8194 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8197 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8198 ac_save_LIBS="$LIBS"
8199 LIBS="$LIBS $COREAUDIO_LIBS"
8200 for ac_func in AUGraphAddNode
8201 do :
8202 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8203 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_AUGRAPHADDNODE 1
8206 _ACEOF
8209 done
8211 LIBS="$ac_save_LIBS"
8213 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8214 then
8215 OPENAL_LIBS="-framework OpenAL"
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_OPENAL 1
8220 _ACEOF
8222 ac_cv_lib_openal=yes
8224 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8225 then
8226 OPENCL_LIBS="-framework OpenCL"
8228 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8230 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8231 then
8232 ac_save_LIBS="$LIBS"
8233 LIBS="$LIBS $IOKIT_LIBS"
8234 for ac_func in IOHIDManagerCreate
8235 do :
8236 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8237 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_IOHIDMANAGERCREATE 1
8240 _ACEOF
8243 done
8245 LIBS="$ac_save_LIBS"
8247 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8248 then
8249 ac_save_LIBS="$LIBS"
8250 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8252 $as_echo_n "checking for the QuickTime framework... " >&6; }
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 #include <QuickTime/ImageCompression.h>
8257 main ()
8259 CodecManagerVersion(NULL);
8261 return 0;
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8267 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8269 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 ac_cv_header_QuickTime_ImageCompression_h=no
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 LIBS="$ac_save_LIBS"
8279 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8280 then
8281 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8283 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8284 then
8285 CARBON_LIBS="-framework Carbon"
8289 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8290 then
8291 ac_save_LIBS="$LIBS"
8292 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8293 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8294 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8295 enable_winemac_drv=${enable_winemac_drv:-yes}
8298 LIBS="$ac_save_LIBS"
8301 if test "x$enable_win16" = "xyes"
8302 then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8304 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8305 if test "$cross_compiling" = yes; then :
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8307 $as_echo "cross-compiling, assuming yes" >&6; }
8308 else
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 asm(".text\n"
8312 "bad:\tnop;nop\n"
8313 "good:\tnop;nop\n\t"
8314 ".globl _testfunc\n"
8315 "_testfunc:\tcallw good");
8316 extern void testfunc();
8318 main ()
8320 unsigned short *p = (unsigned short *)testfunc;
8321 return p[0] != 0xe866 || p[1] != 0xfffa
8323 return 0;
8325 _ACEOF
8326 if ac_fn_c_try_run "$LINENO"; then :
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8328 $as_echo "yes" >&6; }
8329 else
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8332 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
8334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8335 conftest.$ac_objext conftest.beam conftest.$ac_ext
8340 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8342 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8344 LIBWINE_INSTALL_DEV="libwine.dylib"
8346 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8348 WINELOADER_DEPENDS="wine_info.plist"
8352 linux-android*)
8353 DLLFLAGS="$DLLFLAGS -fPIC"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8355 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8356 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8367 else
8368 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8375 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8376 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8377 LDEXECFLAGS="-Wl,--export-dynamic"
8379 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8381 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8382 if eval \${$as_ac_var+:} false; then :
8383 $as_echo_n "(cached) " >&6
8384 else
8385 ac_wine_try_cflags_saved=$CFLAGS
8386 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8389 int main(int argc, char **argv) { return 0; }
8390 _ACEOF
8391 if ac_fn_c_try_link "$LINENO"; then :
8392 eval "$as_ac_var=yes"
8393 else
8394 eval "$as_ac_var=no"
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 CFLAGS=$ac_wine_try_cflags_saved
8400 eval ac_res=\$$as_ac_var
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8402 $as_echo "$ac_res" >&6; }
8403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8404 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8405 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8406 else
8407 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8409 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8410 if eval \${$as_ac_var+:} false; then :
8411 $as_echo_n "(cached) " >&6
8412 else
8413 ac_wine_try_cflags_saved=$CFLAGS
8414 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8417 int main(int argc, char **argv) { return 0; }
8418 _ACEOF
8419 if ac_fn_c_try_link "$LINENO"; then :
8420 eval "$as_ac_var=yes"
8421 else
8422 eval "$as_ac_var=no"
8424 rm -f core conftest.err conftest.$ac_objext \
8425 conftest$ac_exeext conftest.$ac_ext
8426 CFLAGS=$ac_wine_try_cflags_saved
8428 eval ac_res=\$$as_ac_var
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8430 $as_echo "$ac_res" >&6; }
8431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8432 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8433 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8438 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8439 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_cflags__Wl___enable_new_dtags=yes
8450 else
8451 ac_cv_cflags__Wl___enable_new_dtags=no
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8458 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8459 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8460 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8463 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8464 if ${ac_cv_cflags__Wl__pie+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -Wl,-pie"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_cflags__Wl__pie=yes
8475 else
8476 ac_cv_cflags__Wl__pie=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8483 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8484 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8485 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8488 LIBWINE_SHAREDLIB="libwine.so"
8490 LIBWINE_INSTALL_LIB="libwine.so"
8492 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8497 DLLFLAGS="$DLLFLAGS -fPIC"
8498 LDEXECFLAGS=""
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8500 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8501 if ${ac_cv_c_dll_gnuelf+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 void myfunc() {}
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_c_dll_gnuelf="yes"
8512 else
8513 ac_cv_c_dll_gnuelf="no"
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8520 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8521 if test "$ac_cv_c_dll_gnuelf" = "yes"
8522 then
8523 LIBWINE_LDFLAGS="-shared"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8526 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8537 else
8538 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8547 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8551 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8562 else
8563 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8570 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8571 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8572 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8576 echo '{ global: *; };' >conftest.map
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8578 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8579 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8590 else
8591 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8598 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8599 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8600 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8602 rm -f conftest.map
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8605 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8606 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8617 else
8618 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8625 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8626 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8627 LDEXECFLAGS="-Wl,--export-dynamic"
8630 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8632 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8633 if eval \${$as_ac_var+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 int main(int argc, char **argv) { return 0; }
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 eval "$as_ac_var=yes"
8644 else
8645 eval "$as_ac_var=no"
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 eval ac_res=\$$as_ac_var
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8653 $as_echo "$ac_res" >&6; }
8654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8655 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8656 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8657 else
8658 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8660 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8661 if eval \${$as_ac_var+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 ac_wine_try_cflags_saved=$CFLAGS
8665 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 int main(int argc, char **argv) { return 0; }
8669 _ACEOF
8670 if ac_fn_c_try_link "$LINENO"; then :
8671 eval "$as_ac_var=yes"
8672 else
8673 eval "$as_ac_var=no"
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 eval ac_res=\$$as_ac_var
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8681 $as_echo "$ac_res" >&6; }
8682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8683 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8684 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8690 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl___enable_new_dtags=yes
8701 else
8702 ac_cv_cflags__Wl___enable_new_dtags=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8711 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8714 case $host_cpu in
8715 *i[3456789]86* | x86_64)
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8717 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8718 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 int main(int argc, char **argv) { return 0; }
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8729 else
8730 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8737 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8738 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8739 case $host_os in
8740 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8741 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8742 esac
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8745 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8746 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 int main(int argc, char **argv) { return 0; }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8757 else
8758 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8765 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8766 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8767 case $host_os in
8768 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8769 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8770 esac
8772 # Extract the first word of "prelink", so it can be a program name with args.
8773 set dummy prelink; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775 $as_echo_n "checking for $ac_word... " >&6; }
8776 if ${ac_cv_path_PRELINK+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 case $PRELINK in
8780 [\\/]* | ?:[\\/]*)
8781 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 for as_dir in /sbin /usr/sbin $PATH
8787 IFS=$as_save_IFS
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 break 2
8795 done
8796 done
8797 IFS=$as_save_IFS
8799 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8801 esac
8803 PRELINK=$ac_cv_path_PRELINK
8804 if test -n "$PRELINK"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8806 $as_echo "$PRELINK" >&6; }
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8813 if test "x$PRELINK" = xfalse
8814 then
8815 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8819 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8820 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_wine_try_cflags_saved=$CFLAGS
8824 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 int main(int argc, char **argv) { return 0; }
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8831 else
8832 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 CFLAGS=$ac_wine_try_cflags_saved
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8839 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8840 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8841 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8844 esac
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8848 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8849 if ${ac_cv_c_dll_unixware+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 void myfunc() {}
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_c_dll_unixware="yes"
8860 else
8861 ac_cv_c_dll_unixware="no"
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8868 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8869 if test "$ac_cv_c_dll_unixware" = "yes"
8870 then
8871 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8874 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8876 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8878 LIBWINE_INSTALL_DEV="libwine.so"
8880 LIBWINE_DEPENDS="wine.map"
8883 esac
8885 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8886 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8887 enable_winemac_drv=${enable_winemac_drv:-no}
8888 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8890 CROSSTARGET=""
8892 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8893 then
8894 case "$host_cpu" in
8895 arm*)
8896 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8897 i[3456789]86*)
8898 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
8899 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8900 mingw32-gcc" ;;
8901 x86_64)
8902 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
8903 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8905 ac_prefix_list="" ;;
8906 esac
8907 for ac_prog in $ac_prefix_list
8909 # Extract the first word of "$ac_prog", so it can be a program name with args.
8910 set dummy $ac_prog; ac_word=$2
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8912 $as_echo_n "checking for $ac_word... " >&6; }
8913 if ${ac_cv_prog_CROSSCC+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 if test -n "$CROSSCC"; then
8917 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8918 else
8919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 for as_dir in $PATH
8922 IFS=$as_save_IFS
8923 test -z "$as_dir" && as_dir=.
8924 for ac_exec_ext in '' $ac_executable_extensions; do
8925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8926 ac_cv_prog_CROSSCC="$ac_prog"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 break 2
8930 done
8931 done
8932 IFS=$as_save_IFS
8936 CROSSCC=$ac_cv_prog_CROSSCC
8937 if test -n "$CROSSCC"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8939 $as_echo "$CROSSCC" >&6; }
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8946 test -n "$CROSSCC" && break
8947 done
8948 test -n "$CROSSCC" || CROSSCC="false"
8950 if test "$CROSSCC" != "false"
8951 then
8952 ac_save_CC="$CC"
8953 CC="$CROSSCC"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8955 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8960 main ()
8964 return 0;
8966 _ACEOF
8967 if ac_fn_c_try_compile "$LINENO"; then :
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8969 $as_echo "yes" >&6; }
8970 set x $CROSSCC
8971 shift
8972 while test $# -ge 1
8974 case "$1" in
8975 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8976 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8977 esac
8978 shift
8979 done
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8985 CC="$ac_save_CC"
8990 if test "$ac_cv_header_pthread_h" = "yes"
8991 then
8992 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8993 if test "x$ac_cv_func_pthread_create" = xyes; then :
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8997 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8998 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 ac_check_lib_save_LIBS=$LIBS
9002 LIBS="-lpthread $LIBS"
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char pthread_create ();
9014 main ()
9016 return pthread_create ();
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 ac_cv_lib_pthread_pthread_create=yes
9023 else
9024 ac_cv_lib_pthread_pthread_create=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_lib_save_LIBS
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9031 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9032 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9033 PTHREAD_LIBS="-lpthread"
9040 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9041 case "x$with_pthread" in
9042 xno) ;;
9043 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9044 Wine cannot support threads without libpthread.
9045 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9046 esac
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9052 $as_echo_n "checking for X... " >&6; }
9055 # Check whether --with-x was given.
9056 if test "${with_x+set}" = set; then :
9057 withval=$with_x;
9060 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9061 if test "x$with_x" = xno; then
9062 # The user explicitly disabled X.
9063 have_x=disabled
9064 else
9065 case $x_includes,$x_libraries in #(
9066 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9067 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 # One or both of the vars are not set, and there is no cached value.
9071 ac_x_includes=no ac_x_libraries=no
9072 rm -f -r conftest.dir
9073 if mkdir conftest.dir; then
9074 cd conftest.dir
9075 cat >Imakefile <<'_ACEOF'
9076 incroot:
9077 @echo incroot='${INCROOT}'
9078 usrlibdir:
9079 @echo usrlibdir='${USRLIBDIR}'
9080 libdir:
9081 @echo libdir='${LIBDIR}'
9082 _ACEOF
9083 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9084 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9085 for ac_var in incroot usrlibdir libdir; do
9086 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9087 done
9088 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9089 for ac_extension in a so sl dylib la dll; do
9090 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9091 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9092 ac_im_usrlibdir=$ac_im_libdir; break
9094 done
9095 # Screen out bogus values from the imake configuration. They are
9096 # bogus both because they are the default anyway, and because
9097 # using them would break gcc on systems where it needs fixed includes.
9098 case $ac_im_incroot in
9099 /usr/include) ac_x_includes= ;;
9100 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9101 esac
9102 case $ac_im_usrlibdir in
9103 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9104 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9105 esac
9107 cd ..
9108 rm -f -r conftest.dir
9111 # Standard set of common directories for X headers.
9112 # Check X11 before X11Rn because it is often a symlink to the current release.
9113 ac_x_header_dirs='
9114 /usr/X11/include
9115 /usr/X11R7/include
9116 /usr/X11R6/include
9117 /usr/X11R5/include
9118 /usr/X11R4/include
9120 /usr/include/X11
9121 /usr/include/X11R7
9122 /usr/include/X11R6
9123 /usr/include/X11R5
9124 /usr/include/X11R4
9126 /usr/local/X11/include
9127 /usr/local/X11R7/include
9128 /usr/local/X11R6/include
9129 /usr/local/X11R5/include
9130 /usr/local/X11R4/include
9132 /usr/local/include/X11
9133 /usr/local/include/X11R7
9134 /usr/local/include/X11R6
9135 /usr/local/include/X11R5
9136 /usr/local/include/X11R4
9138 /usr/X386/include
9139 /usr/x386/include
9140 /usr/XFree86/include/X11
9142 /usr/include
9143 /usr/local/include
9144 /usr/unsupported/include
9145 /usr/athena/include
9146 /usr/local/x11r5/include
9147 /usr/lpp/Xamples/include
9149 /usr/openwin/include
9150 /usr/openwin/share/include'
9152 if test "$ac_x_includes" = no; then
9153 # Guess where to find include files, by looking for Xlib.h.
9154 # First, try using that file with no special directory specified.
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 #include <X11/Xlib.h>
9158 _ACEOF
9159 if ac_fn_c_try_cpp "$LINENO"; then :
9160 # We can compile using X headers with no special include directory.
9161 ac_x_includes=
9162 else
9163 for ac_dir in $ac_x_header_dirs; do
9164 if test -r "$ac_dir/X11/Xlib.h"; then
9165 ac_x_includes=$ac_dir
9166 break
9168 done
9170 rm -f conftest.err conftest.i conftest.$ac_ext
9171 fi # $ac_x_includes = no
9173 if test "$ac_x_libraries" = no; then
9174 # Check for the libraries.
9175 # See if we find them without any special options.
9176 # Don't add to $LIBS permanently.
9177 ac_save_LIBS=$LIBS
9178 LIBS="-lX11 $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181 #include <X11/Xlib.h>
9183 main ()
9185 XrmInitialize ()
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 LIBS=$ac_save_LIBS
9192 # We can link X programs with no special library path.
9193 ac_x_libraries=
9194 else
9195 LIBS=$ac_save_LIBS
9196 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9198 # Don't even attempt the hair of trying to link an X program!
9199 for ac_extension in a so sl dylib la dll; do
9200 if test -r "$ac_dir/libX11.$ac_extension"; then
9201 ac_x_libraries=$ac_dir
9202 break 2
9204 done
9205 done
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 fi # $ac_x_libraries = no
9211 case $ac_x_includes,$ac_x_libraries in #(
9212 no,* | *,no | *\'*)
9213 # Didn't find X, or a directory has "'" in its name.
9214 ac_cv_have_x="have_x=no";; #(
9216 # Record where we found X for the cache.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$ac_x_includes'\
9219 ac_x_libraries='$ac_x_libraries'"
9220 esac
9222 ;; #(
9223 *) have_x=yes;;
9224 esac
9225 eval "$ac_cv_have_x"
9226 fi # $with_x != no
9228 if test "$have_x" != yes; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9230 $as_echo "$have_x" >&6; }
9231 no_x=yes
9232 else
9233 # If each of the values was on the command line, it overrides each guess.
9234 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9235 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9236 # Update the cache value to reflect the command line values.
9237 ac_cv_have_x="have_x=yes\
9238 ac_x_includes='$x_includes'\
9239 ac_x_libraries='$x_libraries'"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9241 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9244 if test "$no_x" = yes; then
9245 # Not all programs may use this symbol, but it does not hurt to define it.
9247 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9249 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9250 else
9251 if test -n "$x_includes"; then
9252 X_CFLAGS="$X_CFLAGS -I$x_includes"
9255 # It would also be nice to do this for all -L options, not just this one.
9256 if test -n "$x_libraries"; then
9257 X_LIBS="$X_LIBS -L$x_libraries"
9258 # For Solaris; some versions of Sun CC require a space after -R and
9259 # others require no space. Words are not sufficient . . . .
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9261 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9262 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9263 ac_xsave_c_werror_flag=$ac_c_werror_flag
9264 ac_c_werror_flag=yes
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9269 main ()
9273 return 0;
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9279 X_LIBS="$X_LIBS -R$x_libraries"
9280 else
9281 LIBS="$ac_xsave_LIBS -R $x_libraries"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9286 main ()
9290 return 0;
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9295 $as_echo "yes" >&6; }
9296 X_LIBS="$X_LIBS -R $x_libraries"
9297 else
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9299 $as_echo "neither works" >&6; }
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 ac_c_werror_flag=$ac_xsave_c_werror_flag
9307 LIBS=$ac_xsave_LIBS
9310 # Check for system-dependent libraries X programs must link with.
9311 # Do this before checking for the system-independent R6 libraries
9312 # (-lICE), since we may need -lsocket or whatever for X linking.
9314 if test "$ISC" = yes; then
9315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9316 else
9317 # Martyn Johnson says this is needed for Ultrix, if the X
9318 # libraries were built with DECnet support. And Karl Berry says
9319 # the Alpha needs dnet_stub (dnet does not exist).
9320 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char XOpenDisplay ();
9332 main ()
9334 return XOpenDisplay ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9341 else
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9343 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9344 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_check_lib_save_LIBS=$LIBS
9348 LIBS="-ldnet $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char dnet_ntoa ();
9360 main ()
9362 return dnet_ntoa ();
9364 return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_lib_dnet_dnet_ntoa=yes
9369 else
9370 ac_cv_lib_dnet_dnet_ntoa=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_lib_save_LIBS
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9377 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9378 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9384 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9385 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_check_lib_save_LIBS=$LIBS
9389 LIBS="-ldnet_stub $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char dnet_ntoa ();
9401 main ()
9403 return dnet_ntoa ();
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9410 else
9411 ac_cv_lib_dnet_stub_dnet_ntoa=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9418 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9419 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS="$ac_xsave_LIBS"
9429 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9430 # to get the SysV transport functions.
9431 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9432 # needs -lnsl.
9433 # The nsl library prevents programs from opening the X display
9434 # on Irix 5.2, according to T.E. Dickey.
9435 # The functions gethostbyname, getservbyname, and inet_addr are
9436 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9437 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9438 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9442 if test $ac_cv_func_gethostbyname = no; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9444 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9445 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_check_lib_save_LIBS=$LIBS
9449 LIBS="-lnsl $LIBS"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9456 #ifdef __cplusplus
9457 extern "C"
9458 #endif
9459 char gethostbyname ();
9461 main ()
9463 return gethostbyname ();
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_lib_nsl_gethostbyname=yes
9470 else
9471 ac_cv_lib_nsl_gethostbyname=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_lib_save_LIBS
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9478 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9479 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9483 if test $ac_cv_lib_nsl_gethostbyname = no; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9485 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9486 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lbsd $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char gethostbyname ();
9502 main ()
9504 return gethostbyname ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_bsd_gethostbyname=yes
9511 else
9512 ac_cv_lib_bsd_gethostbyname=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9519 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9520 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9527 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9528 # socket/setsockopt and other routines are undefined under SCO ODT
9529 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9530 # on later versions), says Simon Leinen: it contains gethostby*
9531 # variants that don't use the name server (or something). -lsocket
9532 # must be given before -lnsl if both are needed. We assume that
9533 # if connect needs -lnsl, so does gethostbyname.
9534 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9535 if test "x$ac_cv_func_connect" = xyes; then :
9539 if test $ac_cv_func_connect = no; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9541 $as_echo_n "checking for connect in -lsocket... " >&6; }
9542 if ${ac_cv_lib_socket_connect+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char connect ();
9558 main ()
9560 return connect ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_socket_connect=yes
9567 else
9568 ac_cv_lib_socket_connect=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9575 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9576 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9577 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9582 # Guillermo Gomez says -lposix is necessary on A/UX.
9583 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9584 if test "x$ac_cv_func_remove" = xyes; then :
9588 if test $ac_cv_func_remove = no; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9590 $as_echo_n "checking for remove in -lposix... " >&6; }
9591 if ${ac_cv_lib_posix_remove+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_lib_save_LIBS=$LIBS
9595 LIBS="-lposix $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char remove ();
9607 main ()
9609 return remove ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 ac_cv_lib_posix_remove=yes
9616 else
9617 ac_cv_lib_posix_remove=no
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9624 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9625 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9632 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9633 if test "x$ac_cv_func_shmat" = xyes; then :
9637 if test $ac_cv_func_shmat = no; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9639 $as_echo_n "checking for shmat in -lipc... " >&6; }
9640 if ${ac_cv_lib_ipc_shmat+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lipc $LIBS"
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char shmat ();
9656 main ()
9658 return shmat ();
9660 return 0;
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_lib_ipc_shmat=yes
9665 else
9666 ac_cv_lib_ipc_shmat=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_lib_save_LIBS
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9673 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9674 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9681 # Check for libraries that X11R6 Xt/Xaw programs need.
9682 ac_save_LDFLAGS=$LDFLAGS
9683 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9685 # check for ICE first), but we must link in the order -lSM -lICE or
9686 # we get undefined symbols. So assume we have SM if we have ICE.
9687 # These have to be linked with before -lX11, unlike the other
9688 # libraries we check for below, so use a different variable.
9689 # John Interrante, Karl Berry
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9691 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9692 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_check_lib_save_LIBS=$LIBS
9696 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 #endif
9706 char IceConnectionNumber ();
9708 main ()
9710 return IceConnectionNumber ();
9712 return 0;
9714 _ACEOF
9715 if ac_fn_c_try_link "$LINENO"; then :
9716 ac_cv_lib_ICE_IceConnectionNumber=yes
9717 else
9718 ac_cv_lib_ICE_IceConnectionNumber=no
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9725 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9726 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9727 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9730 LDFLAGS=$ac_save_LDFLAGS
9735 if test "$have_x" = "yes"
9736 then
9737 ac_save_CPPFLAGS="$CPPFLAGS"
9738 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9741 $as_echo_n "checking for -lX11... " >&6; }
9742 if ${ac_cv_lib_soname_X11+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char XCreateWindow ();
9758 main ()
9760 return XCreateWindow ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 case "$LIBEXT" in
9767 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9768 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'` ;;
9769 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9770 if ${ac_cv_lib_soname_X11:+false} :; then :
9771 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9772 fi ;;
9773 esac
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_soname_save_LIBS
9779 if ${ac_cv_lib_soname_X11:+false} :; then :
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9781 $as_echo "not found" >&6; }
9783 else
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9785 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9787 cat >>confdefs.h <<_ACEOF
9788 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9789 _ACEOF
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9794 $as_echo_n "checking for -lXext... " >&6; }
9795 if ${ac_cv_lib_soname_Xext+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XextCreateExtension ();
9811 main ()
9813 return XextCreateExtension ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xext:+false} :; then :
9824 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xext:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9836 else
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9838 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9840 cat >>confdefs.h <<_ACEOF
9841 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9842 _ACEOF
9844 X_LIBS="$X_LIBS -lXext"
9846 X_LIBS="$X_LIBS -lX11"
9848 for ac_header in X11/Xlib.h \
9849 X11/XKBlib.h \
9850 X11/Xutil.h \
9851 X11/Xcursor/Xcursor.h \
9852 X11/extensions/shape.h \
9853 X11/extensions/XInput.h \
9854 X11/extensions/XInput2.h \
9855 X11/extensions/XShm.h \
9856 X11/extensions/Xcomposite.h \
9857 X11/extensions/Xinerama.h \
9858 X11/extensions/Xrandr.h \
9859 X11/extensions/Xrender.h \
9860 X11/extensions/xf86vmode.h \
9861 X11/extensions/xf86vmproto.h
9862 do :
9863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9865 # include <X11/Xlib.h>
9866 #endif
9867 #ifdef HAVE_X11_XUTIL_H
9868 # include <X11/Xutil.h>
9869 #endif
9871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9872 cat >>confdefs.h <<_ACEOF
9873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9874 _ACEOF
9878 done
9881 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9882 then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9884 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9885 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_check_lib_save_LIBS=$LIBS
9889 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XkbQueryExtension ();
9901 main ()
9903 return XkbQueryExtension ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_lib_X11_XkbQueryExtension=yes
9910 else
9911 ac_cv_lib_X11_XkbQueryExtension=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 LIBS=$ac_check_lib_save_LIBS
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9918 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9919 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9921 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9927 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9928 then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9930 $as_echo_n "checking for -lXcursor... " >&6; }
9931 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char XcursorImageLoadCursor ();
9947 main ()
9949 return XcursorImageLoadCursor ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9960 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9974 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9978 _ACEOF
9983 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9984 case "x$with_xcursor" in
9985 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9986 xno) ;;
9987 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9988 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9989 esac
9993 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9994 then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9996 $as_echo_n "checking for -lXi... " >&6; }
9997 if ${ac_cv_lib_soname_Xi+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XOpenDevice ();
10013 main ()
10015 return XOpenDevice ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_Xi:+false} :; then :
10026 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_Xi:+false} :; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 $as_echo "not found" >&6; }
10038 else
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10040 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10042 cat >>confdefs.h <<_ACEOF
10043 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10044 _ACEOF
10049 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10050 case "x$with_xinput" in
10051 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10054 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10055 esac
10059 if test "x$ac_cv_lib_soname_Xi" != x
10060 then
10061 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10062 case "x$with_xinput2" in
10063 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10066 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10067 esac
10072 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10073 then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10075 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10076 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_check_lib_save_LIBS=$LIBS
10080 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 char XShmQueryExtension ();
10092 main ()
10094 return XShmQueryExtension ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_lib_Xext_XShmQueryExtension=yes
10101 else
10102 ac_cv_lib_Xext_XShmQueryExtension=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 LIBS=$ac_check_lib_save_LIBS
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10109 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10110 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10112 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10117 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10118 case "x$with_xshm" in
10119 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10120 xno) ;;
10121 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10122 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10123 esac
10127 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10128 then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10130 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10131 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_lib_save_LIBS=$LIBS
10135 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char XShapeQueryExtension ();
10147 main ()
10149 return XShapeQueryExtension ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_lib_Xext_XShapeQueryExtension=yes
10156 else
10157 ac_cv_lib_Xext_XShapeQueryExtension=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_lib_save_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10164 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10165 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10167 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10172 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10173 case "x$with_xshape" in
10174 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10175 xno) ;;
10176 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10177 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10178 esac
10182 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10183 then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10185 $as_echo_n "checking for -lXxf86vm... " >&6; }
10186 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 #ifdef __cplusplus
10198 extern "C"
10199 #endif
10200 char XF86VidModeQueryExtension ();
10202 main ()
10204 return XF86VidModeQueryExtension ();
10206 return 0;
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 case "$LIBEXT" in
10211 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10215 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10225 $as_echo "not found" >&6; }
10227 else
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10229 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10231 cat >>confdefs.h <<_ACEOF
10232 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10233 _ACEOF
10238 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10239 case "x$with_xxf86vm" in
10240 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10241 xno) ;;
10242 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10243 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10244 esac
10248 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10249 then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10251 $as_echo_n "checking for -lXrender... " >&6; }
10252 if ${ac_cv_lib_soname_Xrender+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderQueryExtension ();
10268 main ()
10270 return XRenderQueryExtension ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 case "$LIBEXT" in
10277 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10281 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 fi ;;
10283 esac
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10295 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10299 _ACEOF
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10302 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRenderSetPictureTransform ();
10319 main ()
10321 return XRenderSetPictureTransform ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10328 else
10329 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10339 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10344 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10345 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356 #ifdef __cplusplus
10357 extern "C"
10358 #endif
10359 char XRenderCreateLinearGradient ();
10361 main ()
10363 return XRenderCreateLinearGradient ();
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10370 else
10371 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10378 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10379 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10381 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10388 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10389 case "x$with_xrender" in
10390 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10391 xno) ;;
10392 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10393 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10394 esac
10398 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10399 then
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 #include <X11/Xlib.h>
10403 #include <X11/extensions/Xrandr.h>
10405 main ()
10407 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_compile "$LINENO"; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10414 $as_echo_n "checking for -lXrandr... " >&6; }
10415 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10416 $as_echo_n "(cached) " >&6
10417 else
10418 ac_check_soname_save_LIBS=$LIBS
10419 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 char XRRQueryExtension ();
10431 main ()
10433 return XRRQueryExtension ();
10435 return 0;
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 case "$LIBEXT" in
10440 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10444 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10445 fi ;;
10446 esac
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10456 else
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10458 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10462 _ACEOF
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 #include <X11/Xlib.h>
10467 #include <X11/extensions/Xrandr.h>
10469 main ()
10471 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_compile "$LINENO"; then :
10478 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10486 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10487 case "x$with_xrandr" in
10488 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10491 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10492 esac
10496 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10497 then
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 #include <X11/Xlib.h>
10501 #include <X11/extensions/Xinerama.h>
10503 main ()
10505 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_compile "$LINENO"; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10512 $as_echo_n "checking for -lXinerama... " >&6; }
10513 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XineramaQueryScreens ();
10529 main ()
10531 return XineramaQueryScreens ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10542 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10556 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10560 _ACEOF
10565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10568 case "x$with_xinerama" in
10569 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10572 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10573 esac
10577 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10580 $as_echo_n "checking for -lXcomposite... " >&6; }
10581 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_check_soname_save_LIBS=$LIBS
10585 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char XCompositeRedirectWindow ();
10597 main ()
10599 return XCompositeRedirectWindow ();
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 case "$LIBEXT" in
10606 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10607 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'` ;;
10608 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10609 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10610 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10611 fi ;;
10612 esac
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_soname_save_LIBS
10618 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10620 $as_echo "not found" >&6; }
10622 else
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10624 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10626 cat >>confdefs.h <<_ACEOF
10627 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10628 _ACEOF
10633 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10634 case "x$with_xcomposite" in
10635 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10636 xno) ;;
10637 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10638 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10639 esac
10643 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10644 #include <X11/Xlib.h>
10645 #endif
10647 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_XICCALLBACK_CALLBACK 1
10651 _ACEOF
10655 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10656 #include <X11/Xlib.h>
10657 #endif
10659 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10661 cat >>confdefs.h <<_ACEOF
10662 #define HAVE_XEVENT_XCOOKIE 1
10663 _ACEOF
10670 opengl_msg=""
10671 if test "x$with_opengl" != "xno"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char glXCreateContext ();
10691 main ()
10693 return glXCreateContext ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 case "$LIBEXT" in
10700 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 fi ;;
10706 esac
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10716 $as_echo_n "checking for -lGL... " >&6; }
10717 if ${ac_cv_lib_soname_GL+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 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"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char glXCreateContext ();
10733 main ()
10735 return glXCreateContext ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 case "$LIBEXT" in
10742 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10743 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'` ;;
10744 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10745 if ${ac_cv_lib_soname_GL:+false} :; then :
10746 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10747 fi ;;
10748 esac
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LIBS=$ac_check_soname_save_LIBS
10754 if ${ac_cv_lib_soname_GL:+false} :; then :
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10756 $as_echo "not found" >&6; }
10757 if test -f /usr/X11R6/lib/libGL.a
10758 then
10759 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10760 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10761 else
10762 opengl_msg="No OpenGL library found on this system."
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10770 _ACEOF
10772 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"
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10776 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10780 _ACEOF
10782 OPENGL_LIBS="-lGL"
10784 if test "x$with_glu" != "xno"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10787 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10788 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char gluLookAt ();
10804 main ()
10806 return gluLookAt ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_GLU_gluLookAt=yes
10813 else
10814 ac_cv_lib_GLU_gluLookAt=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10821 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10822 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10826 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10827 case "x$with_glu" in
10828 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10829 xno) ;;
10830 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10831 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10832 esac
10837 if test "x$with_osmesa" != "xno"
10838 then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10840 $as_echo_n "checking for -lOSMesa... " >&6; }
10841 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10842 $as_echo_n "(cached) " >&6
10843 else
10844 ac_check_soname_save_LIBS=$LIBS
10845 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10849 /* Override any GCC internal prototype to avoid an error.
10850 Use char because int might match the return type of a GCC
10851 builtin and then its argument prototype would still apply. */
10852 #ifdef __cplusplus
10853 extern "C"
10854 #endif
10855 char glAccum ();
10857 main ()
10859 return glAccum ();
10861 return 0;
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 case "$LIBEXT" in
10866 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10867 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'` ;;
10868 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10869 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10870 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10871 fi ;;
10872 esac
10874 rm -f core conftest.err conftest.$ac_objext \
10875 conftest$ac_exeext conftest.$ac_ext
10876 LIBS=$ac_check_soname_save_LIBS
10878 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10880 $as_echo "not found" >&6; }
10882 else
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10884 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10886 cat >>confdefs.h <<_ACEOF
10887 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10888 _ACEOF
10892 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10893 case "x$with_osmesa" in
10894 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10895 xno) ;;
10896 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10897 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10898 esac
10903 if test -n "$opengl_msg"; then :
10904 case "x$with_opengl" in
10905 x) as_fn_append wine_warnings "|$opengl_msg
10906 OpenGL and Direct3D won't be supported." ;;
10907 xno) ;;
10908 *) as_fn_error $? "$opengl_msg
10909 OpenGL and Direct3D won't be supported.
10910 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10911 esac
10915 CPPFLAGS="$ac_save_CPPFLAGS"
10916 else
10917 X_CFLAGS=""
10918 X_LIBS=""
10920 if test "x$X_LIBS" = "x"; then :
10921 case "x$with_x" in
10922 xno) ;;
10923 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10924 without X support, which probably isn't what you want. You will need
10925 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10926 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10927 esac
10928 enable_winex11_drv=${enable_winex11_drv:-no}
10931 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10933 if test "$ac_cv_header_CL_cl_h" = "yes"
10934 then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10936 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10937 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10938 $as_echo_n "(cached) " >&6
10939 else
10940 ac_check_lib_save_LIBS=$LIBS
10941 LIBS="-lOpenCL $LIBS"
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10948 #ifdef __cplusplus
10949 extern "C"
10950 #endif
10951 char clGetPlatformInfo ();
10953 main ()
10955 return clGetPlatformInfo ();
10957 return 0;
10959 _ACEOF
10960 if ac_fn_c_try_link "$LINENO"; then :
10961 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10962 else
10963 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10965 rm -f core conftest.err conftest.$ac_objext \
10966 conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_check_lib_save_LIBS
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10970 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10971 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10972 OPENCL_LIBS="-lOpenCL"
10977 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10978 case "x$with_opencl" in
10979 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10980 xno) ;;
10981 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10982 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10983 esac
10984 enable_opencl=${enable_opencl:-no}
10987 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10988 then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10990 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10991 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10992 $as_echo_n "(cached) " >&6
10993 else
10994 ac_check_lib_save_LIBS=$LIBS
10995 LIBS="-lpcap $LIBS"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char pcap_create ();
11007 main ()
11009 return pcap_create ();
11011 return 0;
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 ac_cv_lib_pcap_pcap_create=yes
11016 else
11017 ac_cv_lib_pcap_pcap_create=no
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11024 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11025 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11026 PCAP_LIBS="-lpcap"
11031 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11032 case "x$with_pcap" in
11033 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11034 xno) ;;
11035 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11036 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11037 esac
11038 enable_wpcap=${enable_wpcap:-no}
11042 if test "x$with_xml" != "xno"
11043 then
11044 if ${XML2_CFLAGS:+false} :; then :
11045 if ${PKG_CONFIG+:} false; then :
11046 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11049 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11050 if ${XML2_LIBS:+false} :; then :
11051 if ${PKG_CONFIG+:} false; then :
11052 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11055 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11056 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11057 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11058 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11059 ac_save_CPPFLAGS=$CPPFLAGS
11060 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11061 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11062 do :
11063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11066 cat >>confdefs.h <<_ACEOF
11067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11068 _ACEOF
11072 done
11074 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"
11075 then
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11077 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11078 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11079 $as_echo_n "(cached) " >&6
11080 else
11081 ac_check_lib_save_LIBS=$LIBS
11082 LIBS="-lxml2 $XML2_LIBS $LIBS"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char xmlParseMemory ();
11094 main ()
11096 return xmlParseMemory ();
11098 return 0;
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"; then :
11102 ac_cv_lib_xml2_xmlParseMemory=yes
11103 else
11104 ac_cv_lib_xml2_xmlParseMemory=no
11106 rm -f core conftest.err conftest.$ac_objext \
11107 conftest$ac_exeext conftest.$ac_ext
11108 LIBS=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11111 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11112 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11114 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11116 else
11117 XML2_LIBS=""
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11121 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11122 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lxml2 $XML2_LIBS $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char xmlReadMemory ();
11138 main ()
11140 return xmlReadMemory ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_xml2_xmlReadMemory=yes
11147 else
11148 ac_cv_lib_xml2_xmlReadMemory=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11155 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11156 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11158 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11163 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11164 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11165 $as_echo_n "(cached) " >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $XML2_LIBS $LIBS"
11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 /* end confdefs.h. */
11172 /* Override any GCC internal prototype to avoid an error.
11173 Use char because int might match the return type of a GCC
11174 builtin and then its argument prototype would still apply. */
11175 #ifdef __cplusplus
11176 extern "C"
11177 #endif
11178 char xmlNewDocPI ();
11180 main ()
11182 return xmlNewDocPI ();
11184 return 0;
11186 _ACEOF
11187 if ac_fn_c_try_link "$LINENO"; then :
11188 ac_cv_lib_xml2_xmlNewDocPI=yes
11189 else
11190 ac_cv_lib_xml2_xmlNewDocPI=no
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11194 LIBS=$ac_check_lib_save_LIBS
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11197 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11198 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11200 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11205 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11206 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_lib_save_LIBS=$LIBS
11210 LIBS="-lxml2 $XML2_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char xmlSchemaSetParserStructuredErrors ();
11222 main ()
11224 return xmlSchemaSetParserStructuredErrors ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11231 else
11232 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11239 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11240 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11242 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11247 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11248 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lxml2 $XML2_LIBS $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char xmlSchemaSetValidStructuredErrors ();
11264 main ()
11266 return xmlSchemaSetValidStructuredErrors ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11273 else
11274 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11281 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11282 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11284 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11289 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11290 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lxml2 $XML2_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char xmlFirstElementChild ();
11306 main ()
11308 return xmlFirstElementChild ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_xml2_xmlFirstElementChild=yes
11315 else
11316 ac_cv_lib_xml2_xmlFirstElementChild=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11323 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11324 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11326 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11330 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11332 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11334 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11338 else
11339 XML2_CFLAGS=""
11340 XML2_LIBS=""
11342 CPPFLAGS=$ac_save_CPPFLAGS
11343 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11344 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11347 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11348 case "x$with_xml" in
11349 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11350 xno) ;;
11351 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11352 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11353 esac
11357 if test "x$with_xslt" != "xno"
11358 then
11359 if ${XSLT_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11364 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11365 if ${XSLT_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11370 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11371 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11372 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11374 ac_save_CPPFLAGS=$CPPFLAGS
11375 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11376 for ac_header in libxslt/pattern.h libxslt/transform.h
11377 do :
11378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11380 # include <libxslt/pattern.h>
11381 #endif
11383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11384 cat >>confdefs.h <<_ACEOF
11385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11386 _ACEOF
11390 done
11392 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11393 then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11395 $as_echo_n "checking for -lxslt... " >&6; }
11396 if ${ac_cv_lib_soname_xslt+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lxslt $XSLT_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char xsltCompilePattern ();
11412 main ()
11414 return xsltCompilePattern ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_xslt:+false} :; then :
11425 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_xslt:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11439 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11443 _ACEOF
11447 else
11448 XSLT_CFLAGS=""
11450 CPPFLAGS=$ac_save_CPPFLAGS
11451 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11452 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11455 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11456 case "x$with_xslt" in
11457 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11458 xno) ;;
11459 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11460 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11461 esac
11465 if test "x$with_dbus" != "xno"
11466 then
11467 if ${DBUS_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11473 if ${DBUS_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11480 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11482 ac_save_CPPFLAGS=$CPPFLAGS
11483 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11484 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11487 $as_echo_n "checking for -ldbus-1... " >&6; }
11488 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11489 $as_echo_n "(cached) " >&6
11490 else
11491 ac_check_soname_save_LIBS=$LIBS
11492 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char dbus_connection_close ();
11504 main ()
11506 return dbus_connection_close ();
11508 return 0;
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"; then :
11512 case "$LIBEXT" in
11513 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11514 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'` ;;
11515 *) 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'`
11516 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11517 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11518 fi ;;
11519 esac
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11528 DBUS_CFLAGS=""
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11531 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11535 _ACEOF
11539 else
11540 DBUS_CFLAGS=""
11544 CPPFLAGS=$ac_save_CPPFLAGS
11545 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11546 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11549 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11550 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11551 case "x$with_dbus" in
11552 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11553 xno) ;;
11554 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11555 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11556 esac
11560 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11561 then
11562 if ${HAL_CFLAGS:+false} :; then :
11563 if ${PKG_CONFIG+:} false; then :
11564 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11568 if ${HAL_LIBS:+false} :; then :
11569 if ${PKG_CONFIG+:} false; then :
11570 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11574 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11575 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11576 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11577 ac_save_CPPFLAGS=$CPPFLAGS
11578 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11579 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11580 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11582 $as_echo_n "checking for -lhal... " >&6; }
11583 if ${ac_cv_lib_soname_hal+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lhal $HAL_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char libhal_ctx_new ();
11599 main ()
11601 return libhal_ctx_new ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_hal:+false} :; then :
11612 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_hal:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11623 HAL_CFLAGS=""
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11626 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11630 _ACEOF
11634 else
11635 HAL_CFLAGS=""
11639 CPPFLAGS=$ac_save_CPPFLAGS
11640 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11641 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11643 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11644 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11645 case "x$with_hal" in
11646 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11647 xno) ;;
11648 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11649 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11650 esac
11655 if test "x$with_gnutls" != "xno"
11656 then
11657 if ${GNUTLS_CFLAGS:+false} :; then :
11658 if ${PKG_CONFIG+:} false; then :
11659 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11663 if ${GNUTLS_LIBS:+false} :; then :
11664 if ${PKG_CONFIG+:} false; then :
11665 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11670 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11672 ac_save_CPPFLAGS=$CPPFLAGS
11673 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11674 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11675 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 #include <gnutls/gnutls.h>
11679 #include <gnutls/crypto.h>
11681 main ()
11683 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11685 return 0;
11687 _ACEOF
11688 if ac_fn_c_try_compile "$LINENO"; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11690 $as_echo_n "checking for -lgnutls... " >&6; }
11691 if ${ac_cv_lib_soname_gnutls+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_soname_save_LIBS=$LIBS
11695 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char gnutls_global_init ();
11707 main ()
11709 return gnutls_global_init ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 case "$LIBEXT" in
11716 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11717 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'` ;;
11718 *) 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'`
11719 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11720 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'`
11721 fi ;;
11722 esac
11724 rm -f core conftest.err conftest.$ac_objext \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_soname_save_LIBS
11728 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11730 $as_echo "not found" >&6; }
11731 GNUTLS_CFLAGS=""
11732 else
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11734 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11736 cat >>confdefs.h <<_ACEOF
11737 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11738 _ACEOF
11742 ac_wine_check_funcs_save_LIBS="$LIBS"
11743 LIBS="$LIBS $GNUTLS_LIBS"
11744 for ac_func in gnutls_hash
11745 do :
11746 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11747 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11748 cat >>confdefs.h <<_ACEOF
11749 #define HAVE_GNUTLS_HASH 1
11750 _ACEOF
11752 else
11753 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11755 done
11757 LIBS="$ac_wine_check_funcs_save_LIBS"
11759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11760 else
11761 GNUTLS_CFLAGS=""
11765 CPPFLAGS=$ac_save_CPPFLAGS
11766 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11767 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11770 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11771 case "x$with_gnutls" in
11772 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11773 xno) ;;
11774 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11775 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11776 esac
11780 CURSES_LIBS=""
11781 if test "$ac_cv_header_ncurses_h" = "yes"
11782 then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11784 $as_echo_n "checking for -lncurses... " >&6; }
11785 if ${ac_cv_lib_soname_ncurses+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_soname_save_LIBS=$LIBS
11789 LIBS="-lncurses $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char waddch ();
11801 main ()
11803 return waddch ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 case "$LIBEXT" in
11810 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11811 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'` ;;
11812 *) 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'`
11813 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11814 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 fi ;;
11816 esac
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11828 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11832 _ACEOF
11834 CURSES_LIBS="-lncurses"
11836 elif test "$ac_cv_header_curses_h" = "yes"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11839 $as_echo_n "checking for -lcurses... " >&6; }
11840 if ${ac_cv_lib_soname_curses+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lcurses $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char waddch ();
11856 main ()
11858 return waddch ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_curses:+false} :; then :
11869 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_curses:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11883 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11887 _ACEOF
11889 CURSES_LIBS="-lcurses"
11892 ac_save_LIBS="$LIBS"
11893 LIBS="$LIBS $CURSES_LIBS"
11894 for ac_func in mousemask
11895 do :
11896 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11897 if test "x$ac_cv_func_mousemask" = xyes; then :
11898 cat >>confdefs.h <<_ACEOF
11899 #define HAVE_MOUSEMASK 1
11900 _ACEOF
11903 done
11905 LIBS="$ac_save_LIBS"
11906 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11907 case "x$with_curses" in
11908 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11909 xno) ;;
11910 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11911 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11912 esac
11916 if test "x$with_sane" != "xno"
11917 then
11918 if ${SANE_CFLAGS:+false} :; then :
11919 if ${PKG_CONFIG+:} false; then :
11920 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11923 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11924 if ${SANE_LIBS:+false} :; then :
11925 if ${PKG_CONFIG+:} false; then :
11926 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11929 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11931 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11932 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11933 ac_save_CPPFLAGS=$CPPFLAGS
11934 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11935 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11936 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11938 $as_echo_n "checking for -lsane... " >&6; }
11939 if ${ac_cv_lib_soname_sane+:} false; then :
11940 $as_echo_n "(cached) " >&6
11941 else
11942 ac_check_soname_save_LIBS=$LIBS
11943 LIBS="-lsane $SANE_LIBS $LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char sane_init ();
11955 main ()
11957 return sane_init ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 case "$LIBEXT" in
11964 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11967 if ${ac_cv_lib_soname_sane:+false} :; then :
11968 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11969 fi ;;
11970 esac
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_sane:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11979 SANE_CFLAGS=""
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11982 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11984 cat >>confdefs.h <<_ACEOF
11985 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11986 _ACEOF
11990 else
11991 SANE_CFLAGS=""
11995 CPPFLAGS=$ac_save_CPPFLAGS
11996 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11997 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12000 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12001 case "x$with_sane" in
12002 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12003 xno) ;;
12004 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12005 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12006 esac
12010 if test "x$with_v4l" != "xno"
12011 then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12013 $as_echo_n "checking for -lv4l1... " >&6; }
12014 if ${ac_cv_lib_soname_v4l1+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_soname_save_LIBS=$LIBS
12018 LIBS="-lv4l1 $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char v4l1_open ();
12030 main ()
12032 return v4l1_open ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 case "$LIBEXT" in
12039 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12040 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'` ;;
12041 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12042 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12043 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12044 fi ;;
12045 esac
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_soname_save_LIBS
12051 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12053 $as_echo "not found" >&6; }
12055 else
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12057 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12059 cat >>confdefs.h <<_ACEOF
12060 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12061 _ACEOF
12066 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12067 case "x$with_v4l" in
12068 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12069 xno) ;;
12070 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12071 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12072 esac
12076 if test "x$with_gphoto" != "xno"
12077 then
12078 if ${GPHOTO2_CFLAGS:+false} :; then :
12079 if ${PKG_CONFIG+:} false; then :
12080 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12083 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12084 if ${GPHOTO2_LIBS:+false} :; then :
12085 if ${PKG_CONFIG+:} false; then :
12086 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12089 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12090 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12091 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12092 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12093 ac_save_CPPFLAGS=$CPPFLAGS
12094 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12095 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12096 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12098 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12099 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char gp_camera_new ();
12115 main ()
12117 return gp_camera_new ();
12119 return 0;
12121 _ACEOF
12122 if ac_fn_c_try_link "$LINENO"; then :
12123 ac_cv_lib_gphoto2_gp_camera_new=yes
12124 else
12125 ac_cv_lib_gphoto2_gp_camera_new=no
12127 rm -f core conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12132 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12133 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12135 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12137 else
12138 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12141 else
12142 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12146 CPPFLAGS=$ac_save_CPPFLAGS
12147 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12148 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12150 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12155 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12156 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12157 if ${PKG_CONFIG+:} false; then :
12158 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12161 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12162 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12163 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12165 ac_save_CPPFLAGS=$CPPFLAGS
12166 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12167 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12170 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12171 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_check_lib_save_LIBS=$LIBS
12175 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12177 /* end confdefs.h. */
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char gp_port_info_list_new ();
12187 main ()
12189 return gp_port_info_list_new ();
12191 return 0;
12193 _ACEOF
12194 if ac_fn_c_try_link "$LINENO"; then :
12195 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12196 else
12197 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_lib_save_LIBS
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12204 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12205 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12207 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12209 else
12210 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12213 else
12214 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12219 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12224 case "x$with_gphoto" in
12225 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12226 xno) ;;
12227 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12228 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12229 esac
12232 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12233 case "x$with_gphoto" in
12234 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12235 xno) ;;
12236 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12237 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12238 esac
12243 if test "$ac_cv_header_resolv_h" = "yes"
12244 then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12246 $as_echo_n "checking for resolver library... " >&6; }
12247 if ${ac_cv_have_resolv+:} false; then :
12248 $as_echo_n "(cached) " >&6
12249 else
12250 ac_save_LIBS="$LIBS"
12251 for lib in '' -lresolv
12253 LIBS="$lib $ac_save_LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12256 #ifdef HAVE_NETINET_IN_H
12257 #include <netinet/in.h>
12258 #endif
12259 #include <resolv.h>
12261 main ()
12263 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_link "$LINENO"; then :
12269 ac_cv_have_resolv=${lib:-"none required"}
12270 else
12271 ac_cv_have_resolv="not found"
12273 rm -f core conftest.err conftest.$ac_objext \
12274 conftest$ac_exeext conftest.$ac_ext
12275 test "x$ac_cv_have_resolv" = "xnot found" || break
12276 done
12277 LIBS="$ac_save_LIBS"
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12280 $as_echo "$ac_cv_have_resolv" >&6; }
12282 case "$ac_cv_have_resolv" in
12283 "not found") ;;
12284 "none required")
12286 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12289 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12291 RESOLV_LIBS=$ac_cv_have_resolv
12293 esac
12296 if test "x$with_cms" != "xno"
12297 then
12298 if ${LCMS2_CFLAGS:+false} :; then :
12299 if ${PKG_CONFIG+:} false; then :
12300 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12304 if ${LCMS2_LIBS:+false} :; then :
12305 if ${PKG_CONFIG+:} false; then :
12306 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12310 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12311 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12312 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12313 ac_save_CPPFLAGS=$CPPFLAGS
12314 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12315 for ac_header in lcms2.h
12316 do :
12317 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12318 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12319 cat >>confdefs.h <<_ACEOF
12320 #define HAVE_LCMS2_H 1
12321 _ACEOF
12325 done
12327 if test "$ac_cv_header_lcms2_h" = "yes"
12328 then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12330 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12331 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_lib_save_LIBS=$LIBS
12335 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char cmsOpenProfileFromFile ();
12347 main ()
12349 return cmsOpenProfileFromFile ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12356 else
12357 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12361 LIBS=$ac_check_lib_save_LIBS
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12364 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12365 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12367 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12369 else
12370 LCMS2_LIBS=""
12373 else
12374 LCMS2_CFLAGS=""
12375 LCMS2_LIBS=""
12377 CPPFLAGS=$ac_save_CPPFLAGS
12378 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12379 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12382 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12383 case "x$with_cms" in
12384 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12385 xno) ;;
12386 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12387 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12388 esac
12392 if test "x$with_freetype" != "xno"
12393 then
12394 if ${FREETYPE_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12399 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12400 if ${FREETYPE_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12405 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12406 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12407 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12411 for ac_header in ft2build.h
12412 do :
12413 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12415 cat >>confdefs.h <<_ACEOF
12416 #define HAVE_FT2BUILD_H 1
12417 _ACEOF
12421 done
12423 if test "$ac_cv_header_ft2build_h" = "yes"
12424 then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12426 $as_echo_n "checking for -lfreetype... " >&6; }
12427 if ${ac_cv_lib_soname_freetype+:} false; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 ac_check_soname_save_LIBS=$LIBS
12431 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char FT_Init_FreeType ();
12443 main ()
12445 return FT_Init_FreeType ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"; then :
12451 case "$LIBEXT" in
12452 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12453 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'` ;;
12454 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12455 if ${ac_cv_lib_soname_freetype:+false} :; then :
12456 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12457 fi ;;
12458 esac
12460 rm -f core conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12462 LIBS=$ac_check_soname_save_LIBS
12464 if ${ac_cv_lib_soname_freetype:+false} :; then :
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12466 $as_echo "not found" >&6; }
12467 FREETYPE_LIBS=""
12468 else
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12470 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12472 cat >>confdefs.h <<_ACEOF
12473 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12474 _ACEOF
12477 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12479 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12480 #include FT_MODULE_H
12482 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12484 cat >>confdefs.h <<_ACEOF
12485 #define HAVE_FT_TRUETYPEENGINETYPE 1
12486 _ACEOF
12492 else
12493 FREETYPE_CFLAGS=""
12494 FREETYPE_LIBS=""
12496 CPPFLAGS=$ac_save_CPPFLAGS
12497 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12498 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12501 if test "x$ac_cv_lib_soname_freetype" = x; then :
12502 case "x$with_freetype" in
12503 xno) ;;
12504 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12505 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12506 esac
12507 enable_fonts=${enable_fonts:-no}
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12511 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12512 if ${ac_cv_c_ppdev+:} false; then :
12513 $as_echo_n "(cached) " >&6
12514 else
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12517 #ifdef HAVE_SYS_IOCTL_H
12518 # include <sys/ioctl.h>
12519 #endif
12520 #include <linux/ppdev.h>
12522 main ()
12524 ioctl (1,PPCLAIM,0)
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_compile "$LINENO"; then :
12530 ac_cv_c_ppdev="yes"
12531 else
12532 ac_cv_c_ppdev="no"
12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12537 $as_echo "$ac_cv_c_ppdev" >&6; }
12538 if test "$ac_cv_c_ppdev" = "yes"
12539 then
12541 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12545 ac_wine_check_funcs_save_LIBS="$LIBS"
12546 LIBS="$LIBS $PTHREAD_LIBS"
12547 for ac_func in \
12548 pthread_attr_get_np \
12549 pthread_getattr_np \
12550 pthread_getthreadid_np \
12551 pthread_get_stackaddr_np \
12552 pthread_get_stacksize_np
12553 do :
12554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12559 _ACEOF
12562 done
12564 LIBS="$ac_wine_check_funcs_save_LIBS"
12566 if test "$ac_cv_header_zlib_h" = "yes"
12567 then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12569 $as_echo_n "checking for inflate in -lz... " >&6; }
12570 if ${ac_cv_lib_z_inflate+:} false; then :
12571 $as_echo_n "(cached) " >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-lz $LIBS"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char inflate ();
12586 main ()
12588 return inflate ();
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_link "$LINENO"; then :
12594 ac_cv_lib_z_inflate=yes
12595 else
12596 ac_cv_lib_z_inflate=no
12598 rm -f core conftest.err conftest.$ac_objext \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12603 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12604 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12606 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12608 Z_LIBS="-lz"
12613 if test "x$Z_LIBS" = "x"; then :
12614 case "x$with_zlib" in
12615 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12616 xno) ;;
12617 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12618 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12619 esac
12623 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12624 then
12625 if test "$ac_cv_header_gettext_po_h" = "yes"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12628 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12629 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-lgettextpo $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char po_message_msgctxt ();
12645 main ()
12647 return po_message_msgctxt ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12654 else
12655 ac_cv_lib_gettextpo_po_message_msgctxt=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12662 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12663 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12665 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12667 GETTEXTPO_LIBS="-lgettextpo"
12672 if test "x$GETTEXTPO_LIBS" = "x"; then :
12673 case "x$with_gettextpo" in
12674 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12675 xno) ;;
12676 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12677 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12678 esac
12681 if test "$srcdir" != .; then :
12682 case "x$with_gettextpo" in
12683 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12684 xno) ;;
12685 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12686 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12687 esac
12692 if test "x$with_pulse" != "xno";
12693 then
12694 if ${PULSE_CFLAGS:+false} :; then :
12695 if ${PKG_CONFIG+:} false; then :
12696 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12700 if ${PULSE_LIBS:+false} :; then :
12701 if ${PKG_CONFIG+:} false; then :
12702 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12707 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12708 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12709 ac_save_CPPFLAGS=$CPPFLAGS
12710 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12711 for ac_header in pulse/pulseaudio.h
12712 do :
12713 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12714 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12715 cat >>confdefs.h <<_ACEOF
12716 #define HAVE_PULSE_PULSEAUDIO_H 1
12717 _ACEOF
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12719 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12720 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12721 $as_echo_n "(cached) " >&6
12722 else
12723 ac_check_lib_save_LIBS=$LIBS
12724 LIBS="-lpulse $PULSE_LIBS $LIBS"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 /* Override any GCC internal prototype to avoid an error.
12729 Use char because int might match the return type of a GCC
12730 builtin and then its argument prototype would still apply. */
12731 #ifdef __cplusplus
12732 extern "C"
12733 #endif
12734 char pa_stream_is_corked ();
12736 main ()
12738 return pa_stream_is_corked ();
12740 return 0;
12742 _ACEOF
12743 if ac_fn_c_try_link "$LINENO"; then :
12744 ac_cv_lib_pulse_pa_stream_is_corked=yes
12745 else
12746 ac_cv_lib_pulse_pa_stream_is_corked=no
12748 rm -f core conftest.err conftest.$ac_objext \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_lib_save_LIBS
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12753 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12754 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12756 else
12757 PULSE_LIBS=""
12760 else
12761 PULSE_LIBS=""
12764 done
12766 CPPFLAGS=$ac_save_CPPFLAGS
12767 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 if test -z "$PULSE_LIBS"; then :
12772 case "x$with_pulse" in
12773 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12774 xno) ;;
12775 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12776 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12777 esac
12778 enable_winepulse_drv=${enable_winepulse_drv:-no}
12781 if test "x$with_gstreamer" != "xno"
12782 then
12783 if ${GSTREAMER_CFLAGS:+false} :; then :
12784 if ${PKG_CONFIG+:} false; then :
12785 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12789 if ${GSTREAMER_LIBS:+false} :; then :
12790 if ${PKG_CONFIG+:} false; then :
12791 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12796 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12797 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12798 ac_save_CPPFLAGS=$CPPFLAGS
12799 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12800 ac_gst_incl=""
12801 for i in $GSTREAMER_CFLAGS
12803 case "$i" in
12804 -I*) ac_gst_incl="$ac_gst_incl $i";;
12805 esac
12806 done
12807 GSTREAMER_CFLAGS=$ac_gst_incl
12808 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12809 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12810 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12812 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 #include <gst/gst.h>
12817 main ()
12819 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_compile "$LINENO"; then :
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12826 $as_echo "yes" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12828 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12829 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 ac_check_lib_save_LIBS=$LIBS
12833 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12837 /* Override any GCC internal prototype to avoid an error.
12838 Use char because int might match the return type of a GCC
12839 builtin and then its argument prototype would still apply. */
12840 #ifdef __cplusplus
12841 extern "C"
12842 #endif
12843 char gst_pad_new ();
12845 main ()
12847 return gst_pad_new ();
12849 return 0;
12851 _ACEOF
12852 if ac_fn_c_try_link "$LINENO"; then :
12853 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12854 else
12855 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12857 rm -f core conftest.err conftest.$ac_objext \
12858 conftest$ac_exeext conftest.$ac_ext
12859 LIBS=$ac_check_lib_save_LIBS
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12862 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12863 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12867 else
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12869 $as_echo "no" >&6; }
12870 ac_glib2_broken=yes
12871 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 CPPFLAGS=$ac_save_CPPFLAGS
12878 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12879 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12882 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 :
12883 case "x$with_gstreamer" in
12884 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12885 xno) ;;
12886 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12887 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12888 esac
12891 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12893 ALSA_LIBS=""
12895 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12896 then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12898 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12899 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12900 $as_echo_n "(cached) " >&6
12901 else
12902 ac_check_lib_save_LIBS=$LIBS
12903 LIBS="-lasound $LIBS"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12910 #ifdef __cplusplus
12911 extern "C"
12912 #endif
12913 char snd_pcm_hw_params_get_access_mask ();
12915 main ()
12917 return snd_pcm_hw_params_get_access_mask ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"; then :
12923 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12924 else
12925 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12927 rm -f core conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12929 LIBS=$ac_check_lib_save_LIBS
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12932 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12933 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12936 #ifdef HAVE_ALSA_ASOUNDLIB_H
12937 #include <alsa/asoundlib.h>
12938 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12939 #include <sys/asoundlib.h>
12940 #endif
12942 main ()
12944 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_compile "$LINENO"; then :
12950 ALSA_LIBS="-lasound"
12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12956 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12958 if test "x$with_oss" != xno
12959 then
12960 ac_save_CPPFLAGS="$CPPFLAGS"
12961 if test -f /etc/oss.conf
12962 then
12963 . /etc/oss.conf
12965 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12966 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12967 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12968 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12969 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12971 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12973 cat >>confdefs.h <<_ACEOF
12974 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12975 _ACEOF
12977 OSS4_CFLAGS="$ac_oss_incl"
12984 CPPFLAGS="$ac_save_CPPFLAGS"
12986 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12987 case "x$with_oss" in
12988 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12989 xno) ;;
12990 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12991 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12992 esac
12993 enable_wineoss_drv=${enable_wineoss_drv:-no}
12996 if test "x$with_udev" != "xno"
12997 then
12998 if ${UDEV_CFLAGS:+false} :; then :
12999 if ${PKG_CONFIG+:} false; then :
13000 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13004 if ${UDEV_LIBS:+false} :; then :
13005 if ${PKG_CONFIG+:} false; then :
13006 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13010 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13011 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13012 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13013 ac_save_CPPFLAGS=$CPPFLAGS
13014 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13015 for ac_header in libudev.h
13016 do :
13017 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_libudev_h" = xyes; then :
13019 cat >>confdefs.h <<_ACEOF
13020 #define HAVE_LIBUDEV_H 1
13021 _ACEOF
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13023 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13024 if ${ac_cv_lib_udev_udev_new+:} false; then :
13025 $as_echo_n "(cached) " >&6
13026 else
13027 ac_check_lib_save_LIBS=$LIBS
13028 LIBS="-ludev $UDEV_LIBS $LIBS"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13035 #ifdef __cplusplus
13036 extern "C"
13037 #endif
13038 char udev_new ();
13040 main ()
13042 return udev_new ();
13044 return 0;
13046 _ACEOF
13047 if ac_fn_c_try_link "$LINENO"; then :
13048 ac_cv_lib_udev_udev_new=yes
13049 else
13050 ac_cv_lib_udev_udev_new=no
13052 rm -f core conftest.err conftest.$ac_objext \
13053 conftest$ac_exeext conftest.$ac_ext
13054 LIBS=$ac_check_lib_save_LIBS
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13057 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13058 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13060 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13062 else
13063 UDEV_LIBS=""
13066 else
13067 UDEV_LIBS=""
13070 done
13072 CPPFLAGS=$ac_save_CPPFLAGS
13073 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13074 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13077 if test "x$UDEV_LIBS" = "x"; then :
13078 case "x$with_udev" in
13079 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13080 xno) ;;
13081 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13082 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13083 esac
13087 if test "x$with_capi" != "xno"
13088 then
13089 if ${CAPI20_CFLAGS:+false} :; then :
13090 if ${PKG_CONFIG+:} false; then :
13091 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13095 if ${CAPI20_LIBS:+false} :; then :
13096 if ${PKG_CONFIG+:} false; then :
13097 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13102 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13103 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13104 ac_save_CPPFLAGS=$CPPFLAGS
13105 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13106 for ac_header in capi20.h linux/capi.h
13107 do :
13108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13109 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13111 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13112 cat >>confdefs.h <<_ACEOF
13113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13114 _ACEOF
13118 done
13120 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13121 then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13123 $as_echo_n "checking for -lcapi20... " >&6; }
13124 if ${ac_cv_lib_soname_capi20+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_soname_save_LIBS=$LIBS
13128 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char capi20_register ();
13140 main ()
13142 return capi20_register ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 case "$LIBEXT" in
13149 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13150 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'` ;;
13151 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13152 if ${ac_cv_lib_soname_capi20:+false} :; then :
13153 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13154 fi ;;
13155 esac
13157 rm -f core conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13159 LIBS=$ac_check_soname_save_LIBS
13161 if ${ac_cv_lib_soname_capi20:+false} :; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13163 $as_echo "not found" >&6; }
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13167 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13169 cat >>confdefs.h <<_ACEOF
13170 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13171 _ACEOF
13176 CPPFLAGS=$ac_save_CPPFLAGS
13177 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13178 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13181 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13182 case "x$with_capi" in
13183 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13184 xno) ;;
13185 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13186 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13187 esac
13191 CUPS_CFLAGS=""
13193 if test "x$with_cups" != "xno"
13194 then
13195 ac_save_CPPFLAGS="$CPPFLAGS"
13196 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13197 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13198 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13199 for ac_header in cups/cups.h
13200 do :
13201 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13202 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13203 cat >>confdefs.h <<_ACEOF
13204 #define HAVE_CUPS_CUPS_H 1
13205 _ACEOF
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13207 $as_echo_n "checking for -lcups... " >&6; }
13208 if ${ac_cv_lib_soname_cups+:} false; then :
13209 $as_echo_n "(cached) " >&6
13210 else
13211 ac_check_soname_save_LIBS=$LIBS
13212 LIBS="-lcups $ac_cups_libs $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char cupsGetDefault ();
13224 main ()
13226 return cupsGetDefault ();
13228 return 0;
13230 _ACEOF
13231 if ac_fn_c_try_link "$LINENO"; then :
13232 case "$LIBEXT" in
13233 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13234 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'` ;;
13235 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13236 if ${ac_cv_lib_soname_cups:+false} :; then :
13237 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13238 fi ;;
13239 esac
13241 rm -f core conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 LIBS=$ac_check_soname_save_LIBS
13245 if ${ac_cv_lib_soname_cups:+false} :; then :
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13247 $as_echo "not found" >&6; }
13249 else
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13251 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13253 cat >>confdefs.h <<_ACEOF
13254 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13255 _ACEOF
13257 CUPS_CFLAGS="$ac_cups_cflags"
13259 for ac_header in cups/ppd.h
13260 do :
13261 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13262 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13263 cat >>confdefs.h <<_ACEOF
13264 #define HAVE_CUPS_PPD_H 1
13265 _ACEOF
13269 done
13273 done
13275 CPPFLAGS="$ac_save_CPPFLAGS"
13277 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13278 case "x$with_cups" in
13279 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13280 xno) ;;
13281 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13282 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13283 esac
13287 if test "x$with_fontconfig" != "xno"
13288 then
13289 if ${FONTCONFIG_CFLAGS:+false} :; then :
13290 if ${PKG_CONFIG+:} false; then :
13291 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13294 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13295 if ${FONTCONFIG_LIBS:+false} :; then :
13296 if ${PKG_CONFIG+:} false; then :
13297 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13300 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13302 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13303 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13304 ac_save_CPPFLAGS=$CPPFLAGS
13305 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13306 for ac_header in fontconfig/fontconfig.h
13307 do :
13308 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13309 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13310 cat >>confdefs.h <<_ACEOF
13311 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13312 _ACEOF
13316 done
13318 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13319 then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13321 $as_echo_n "checking for -lfontconfig... " >&6; }
13322 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_soname_save_LIBS=$LIBS
13326 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char FcInit ();
13338 main ()
13340 return FcInit ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 case "$LIBEXT" in
13347 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13348 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'` ;;
13349 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13350 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13351 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13352 fi ;;
13353 esac
13355 rm -f core conftest.err conftest.$ac_objext \
13356 conftest$ac_exeext conftest.$ac_ext
13357 LIBS=$ac_check_soname_save_LIBS
13359 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13361 $as_echo "not found" >&6; }
13362 FONTCONFIG_CFLAGS=""
13363 else
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13365 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13367 cat >>confdefs.h <<_ACEOF
13368 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13369 _ACEOF
13373 else
13374 FONTCONFIG_CFLAGS=""
13376 CPPFLAGS=$ac_save_CPPFLAGS
13377 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13378 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13381 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13382 case "x$with_fontconfig" in
13383 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13384 xno) ;;
13385 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13386 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13387 esac
13391 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13394 $as_echo_n "checking for -lgsm... " >&6; }
13395 if ${ac_cv_lib_soname_gsm+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lgsm $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char gsm_create ();
13411 main ()
13413 return gsm_create ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_gsm:+false} :; then :
13424 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13428 rm -f core conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_gsm:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13436 else
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13438 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13440 cat >>confdefs.h <<_ACEOF
13441 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13442 _ACEOF
13447 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13448 case "x$with_gsm" in
13449 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13452 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13453 esac
13457 if test "x$with_jpeg" != "xno"
13458 then
13459 if ${JPEG_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13465 if ${JPEG_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13472 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13476 for ac_header in jpeglib.h
13477 do :
13478 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13479 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13480 cat >>confdefs.h <<_ACEOF
13481 #define HAVE_JPEGLIB_H 1
13482 _ACEOF
13486 done
13488 if test "$ac_cv_header_jpeglib_h" = "yes"
13489 then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13491 $as_echo_n "checking for -ljpeg... " >&6; }
13492 if ${ac_cv_lib_soname_jpeg+:} false; then :
13493 $as_echo_n "(cached) " >&6
13494 else
13495 ac_check_soname_save_LIBS=$LIBS
13496 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13503 #ifdef __cplusplus
13504 extern "C"
13505 #endif
13506 char jpeg_start_decompress ();
13508 main ()
13510 return jpeg_start_decompress ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"; then :
13516 case "$LIBEXT" in
13517 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13518 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'` ;;
13519 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13520 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13521 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13522 fi ;;
13523 esac
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_soname_save_LIBS
13529 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13531 $as_echo "not found" >&6; }
13532 JPEG_CFLAGS=""
13533 else
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13535 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13537 cat >>confdefs.h <<_ACEOF
13538 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13539 _ACEOF
13543 else
13544 JPEG_CFLAGS=""
13546 CPPFLAGS=$ac_save_CPPFLAGS
13547 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13548 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13551 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13552 case "x$with_jpeg" in
13553 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13554 xno) ;;
13555 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13556 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13557 esac
13561 if test "x$with_png" != "xno"
13562 then
13563 if ${PNG_CFLAGS:+false} :; then :
13564 if ${PKG_CONFIG+:} false; then :
13565 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13568 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13569 if ${PNG_LIBS:+false} :; then :
13570 if ${PKG_CONFIG+:} false; then :
13571 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13574 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13576 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13577 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13578 ac_save_CPPFLAGS=$CPPFLAGS
13579 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13580 for ac_header in png.h
13581 do :
13582 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13583 if test "x$ac_cv_header_png_h" = xyes; then :
13584 cat >>confdefs.h <<_ACEOF
13585 #define HAVE_PNG_H 1
13586 _ACEOF
13590 done
13592 if test "$ac_cv_header_png_h" = "yes"
13593 then
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13595 $as_echo_n "checking for -lpng... " >&6; }
13596 if ${ac_cv_lib_soname_png+:} false; then :
13597 $as_echo_n "(cached) " >&6
13598 else
13599 ac_check_soname_save_LIBS=$LIBS
13600 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13604 /* Override any GCC internal prototype to avoid an error.
13605 Use char because int might match the return type of a GCC
13606 builtin and then its argument prototype would still apply. */
13607 #ifdef __cplusplus
13608 extern "C"
13609 #endif
13610 char png_create_read_struct ();
13612 main ()
13614 return png_create_read_struct ();
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"; then :
13620 case "$LIBEXT" in
13621 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13622 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'` ;;
13623 *) 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'`
13624 if ${ac_cv_lib_soname_png:+false} :; then :
13625 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13626 fi ;;
13627 esac
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_check_soname_save_LIBS
13633 if ${ac_cv_lib_soname_png:+false} :; then :
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13635 $as_echo "not found" >&6; }
13636 PNG_CFLAGS=""
13637 else
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13639 $as_echo "$ac_cv_lib_soname_png" >&6; }
13641 cat >>confdefs.h <<_ACEOF
13642 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13643 _ACEOF
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <png.h>
13649 main ()
13651 typeof(png_set_expand_gray_1_2_4_to_8) *p
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_compile "$LINENO"; then :
13658 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13663 else
13664 PNG_CFLAGS=""
13666 CPPFLAGS=$ac_save_CPPFLAGS
13667 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13668 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13671 if test "x$ac_cv_lib_soname_png" = "x"; then :
13672 case "x$with_png" in
13673 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13674 xno) ;;
13675 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13676 This is an error since --with-png was requested." "$LINENO" 5 ;;
13677 esac
13681 if test "x$with_tiff" != "xno"
13682 then
13683 if ${TIFF_CFLAGS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13689 if ${TIFF_LIBS:+false} :; then :
13690 if ${PKG_CONFIG+:} false; then :
13691 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13697 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13698 ac_save_CPPFLAGS=$CPPFLAGS
13699 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13700 for ac_header in tiffio.h
13701 do :
13702 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13703 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_TIFFIO_H 1
13706 _ACEOF
13710 done
13712 if test "$ac_cv_header_tiffio_h" = "yes"
13713 then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13715 $as_echo_n "checking for -ltiff... " >&6; }
13716 if ${ac_cv_lib_soname_tiff+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_check_soname_save_LIBS=$LIBS
13720 LIBS="-ltiff $TIFF_LIBS $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13727 #ifdef __cplusplus
13728 extern "C"
13729 #endif
13730 char TIFFClientOpen ();
13732 main ()
13734 return TIFFClientOpen ();
13736 return 0;
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 case "$LIBEXT" in
13741 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13742 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'` ;;
13743 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13744 if ${ac_cv_lib_soname_tiff:+false} :; then :
13745 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13746 fi ;;
13747 esac
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_soname_save_LIBS
13753 if ${ac_cv_lib_soname_tiff:+false} :; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13755 $as_echo "not found" >&6; }
13757 else
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13759 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13761 cat >>confdefs.h <<_ACEOF
13762 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13763 _ACEOF
13768 CPPFLAGS=$ac_save_CPPFLAGS
13769 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13770 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13773 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13774 case "x$with_tiff" in
13775 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13776 xno) ;;
13777 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13778 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13779 esac
13783 if test "x$with_mpg123" != "xno"
13784 then
13785 if ${MPG123_CFLAGS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13791 if ${MPG123_LIBS:+false} :; then :
13792 if ${PKG_CONFIG+:} false; then :
13793 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13797 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13798 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13799 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13800 ac_save_CPPFLAGS=$CPPFLAGS
13801 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13802 for ac_header in mpg123.h
13803 do :
13804 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13805 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define HAVE_MPG123_H 1
13808 _ACEOF
13812 done
13814 if test "$ac_cv_header_mpg123_h" = "yes"
13815 then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13817 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13818 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 #ifdef __cplusplus
13830 extern "C"
13831 #endif
13832 char mpg123_feed ();
13834 main ()
13836 return mpg123_feed ();
13838 return 0;
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_lib_mpg123_mpg123_feed=yes
13843 else
13844 ac_cv_lib_mpg123_mpg123_feed=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_lib_save_LIBS
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13851 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13852 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13854 else
13855 MPG123_LIBS=""
13858 else
13859 MPG123_CFLAGS=""
13860 MPG123_LIBS=""
13862 CPPFLAGS=$ac_save_CPPFLAGS
13863 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13864 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13867 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13868 case "x$with_mpg123" in
13869 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13870 xno) ;;
13871 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13872 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13873 esac
13874 enable_winemp3_acm=${enable_winemp3_acm:-no}
13877 if test "$ac_cv_header_AL_al_h" = "yes"
13878 then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13880 $as_echo_n "checking for -lopenal... " >&6; }
13881 if ${ac_cv_lib_soname_openal+:} false; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 ac_check_soname_save_LIBS=$LIBS
13885 LIBS="-lopenal $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 #ifdef __cplusplus
13893 extern "C"
13894 #endif
13895 char alGetSource3i ();
13897 main ()
13899 return alGetSource3i ();
13901 return 0;
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 case "$LIBEXT" in
13906 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13907 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'` ;;
13908 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13909 if ${ac_cv_lib_soname_openal:+false} :; then :
13910 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13911 fi ;;
13912 esac
13914 rm -f core conftest.err conftest.$ac_objext \
13915 conftest$ac_exeext conftest.$ac_ext
13916 LIBS=$ac_check_soname_save_LIBS
13918 if ${ac_cv_lib_soname_openal:+false} :; then :
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13920 $as_echo "not found" >&6; }
13922 else
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13924 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13926 cat >>confdefs.h <<_ACEOF
13927 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13928 _ACEOF
13930 OPENAL_LIBS="-lopenal"
13932 ac_cv_lib_openal=yes
13934 cat >>confdefs.h <<_ACEOF
13935 #define HAVE_OPENAL 1
13936 _ACEOF
13940 if test "x$ac_cv_lib_openal" != xyes; then :
13941 case "x$with_openal" in
13942 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13943 xno) ;;
13944 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13945 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13946 esac
13947 enable_openal32=${enable_openal32:-no}
13950 if test "x$ac_cv_lib_openal" = xyes
13951 then
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13953 $as_echo_n "checking for openal-soft... " >&6; }
13954 if ${ac_cv_have_openalsoft+:} false; then :
13955 $as_echo_n "(cached) " >&6
13956 else
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 #include <AL/al.h>
13960 #include <AL/alc.h>
13961 #include <AL/alext.h>
13962 LPALCRENDERSAMPLESSOFT x;
13964 main ()
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_compile "$LINENO"; then :
13972 ac_cv_have_openalsoft=yes
13973 else
13974 ac_cv_have_openalsoft=no
13976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13979 $as_echo "$ac_cv_have_openalsoft" >&6; }
13981 if test "x$ac_cv_have_openalsoft" != xyes
13982 then
13983 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13984 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13985 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13986 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13987 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13988 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13989 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13990 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13991 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13992 enable_xapofx1_1=${enable_xapofx1_1:-no}
13993 enable_xapofx1_2=${enable_xapofx1_2:-no}
13994 enable_xapofx1_3=${enable_xapofx1_3:-no}
13995 enable_xapofx1_4=${enable_xapofx1_4:-no}
13996 enable_xapofx1_5=${enable_xapofx1_5:-no}
13997 enable_xaudio2_0=${enable_xaudio2_0:-no}
13998 enable_xaudio2_1=${enable_xaudio2_1:-no}
13999 enable_xaudio2_2=${enable_xaudio2_2:-no}
14000 enable_xaudio2_3=${enable_xaudio2_3:-no}
14001 enable_xaudio2_4=${enable_xaudio2_4:-no}
14002 enable_xaudio2_5=${enable_xaudio2_5:-no}
14003 enable_xaudio2_6=${enable_xaudio2_6:-no}
14004 enable_xaudio2_7=${enable_xaudio2_7:-no}
14005 enable_xaudio2_8=${enable_xaudio2_8:-no}
14006 enable_xaudio2_9=${enable_xaudio2_9:-no}
14009 if test "$ac_cv_header_kstat_h" = "yes"
14010 then
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14012 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14013 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14014 $as_echo_n "(cached) " >&6
14015 else
14016 ac_check_lib_save_LIBS=$LIBS
14017 LIBS="-lkstat $LIBS"
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14021 /* Override any GCC internal prototype to avoid an error.
14022 Use char because int might match the return type of a GCC
14023 builtin and then its argument prototype would still apply. */
14024 #ifdef __cplusplus
14025 extern "C"
14026 #endif
14027 char kstat_open ();
14029 main ()
14031 return kstat_open ();
14033 return 0;
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_lib_kstat_kstat_open=yes
14038 else
14039 ac_cv_lib_kstat_kstat_open=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 LIBS=$ac_check_lib_save_LIBS
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14046 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14047 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14049 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14051 KSTAT_LIBS="-lkstat"
14057 if test "$ac_cv_header_libprocstat_h" = "yes"
14058 then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14060 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14061 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_check_lib_save_LIBS=$LIBS
14065 LIBS="-lprocstat $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14072 #ifdef __cplusplus
14073 extern "C"
14074 #endif
14075 char procstat_open_sysctl ();
14077 main ()
14079 return procstat_open_sysctl ();
14081 return 0;
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_lib_procstat_procstat_open_sysctl=yes
14086 else
14087 ac_cv_lib_procstat_procstat_open_sysctl=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 LIBS=$ac_check_lib_save_LIBS
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14094 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14095 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14097 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14099 PROCSTAT_LIBS="-lprocstat"
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14106 $as_echo_n "checking for -lodbc... " >&6; }
14107 if ${ac_cv_lib_soname_odbc+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_check_soname_save_LIBS=$LIBS
14111 LIBS="-lodbc $LIBS"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14118 #ifdef __cplusplus
14119 extern "C"
14120 #endif
14121 char SQLConnect ();
14123 main ()
14125 return SQLConnect ();
14127 return 0;
14129 _ACEOF
14130 if ac_fn_c_try_link "$LINENO"; then :
14131 case "$LIBEXT" in
14132 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14133 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'` ;;
14134 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14135 if ${ac_cv_lib_soname_odbc:+false} :; then :
14136 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14137 fi ;;
14138 esac
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_soname_save_LIBS
14144 if ${ac_cv_lib_soname_odbc:+false} :; then :
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14146 $as_echo "not found" >&6; }
14147 cat >>confdefs.h <<_ACEOF
14148 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14149 _ACEOF
14151 else
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14153 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14155 cat >>confdefs.h <<_ACEOF
14156 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14157 _ACEOF
14162 if test "x$with_netapi" != "xno"
14163 then
14164 if ${NETAPI_CFLAGS:+false} :; then :
14165 if ${PKG_CONFIG+:} false; then :
14166 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14170 if ${NETAPI_LIBS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14177 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14178 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14179 ac_save_CPPFLAGS=$CPPFLAGS
14180 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14182 $as_echo_n "checking for -lnetapi... " >&6; }
14183 if ${ac_cv_lib_soname_netapi+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_check_soname_save_LIBS=$LIBS
14187 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 #ifdef __cplusplus
14195 extern "C"
14196 #endif
14197 char libnetapi_init ();
14199 main ()
14201 return libnetapi_init ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 case "$LIBEXT" in
14208 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14209 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'` ;;
14210 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14211 if ${ac_cv_lib_soname_netapi:+false} :; then :
14212 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14213 fi ;;
14214 esac
14216 rm -f core conftest.err conftest.$ac_objext \
14217 conftest$ac_exeext conftest.$ac_ext
14218 LIBS=$ac_check_soname_save_LIBS
14220 if ${ac_cv_lib_soname_netapi:+false} :; then :
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14222 $as_echo "not found" >&6; }
14223 cat >>confdefs.h <<_ACEOF
14224 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14225 _ACEOF
14227 else
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14229 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14231 cat >>confdefs.h <<_ACEOF
14232 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14233 _ACEOF
14237 CPPFLAGS=$ac_save_CPPFLAGS
14238 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14239 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14243 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14244 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14245 then
14246 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14250 EXTRACFLAGS=""
14252 if test "x${GCC}" = "xyes"
14253 then
14254 EXTRACFLAGS="-Wall -pipe"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14257 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14258 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 if test "$cross_compiling" = yes; then :
14262 ac_cv_c_gcc_strength_bug="no"
14263 else
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14266 int L[4] = {0,1,2,3};
14268 main ()
14270 static int Array[3];
14271 unsigned int B = 3;
14272 int i;
14273 for(i=0; i<B; i++) Array[i] = i - 3;
14274 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14275 L[i] = 4;
14276 return (Array[1] != -2 || L[2] != 3)
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_run "$LINENO"; then :
14282 ac_cv_c_gcc_strength_bug="no"
14283 else
14284 ac_cv_c_gcc_strength_bug="yes"
14286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14287 conftest.$ac_objext conftest.beam conftest.$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14292 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14293 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14294 then
14295 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14299 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14300 if ${ac_cv_cflags__fno_builtin+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 ac_wine_try_cflags_saved=$CFLAGS
14304 CFLAGS="$CFLAGS -fno-builtin"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14307 int main(int argc, char **argv) { return 0; }
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"; then :
14310 ac_cv_cflags__fno_builtin=yes
14311 else
14312 ac_cv_cflags__fno_builtin=no
14314 rm -f core conftest.err conftest.$ac_objext \
14315 conftest$ac_exeext conftest.$ac_ext
14316 CFLAGS=$ac_wine_try_cflags_saved
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14319 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14320 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14321 BUILTINFLAG="-fno-builtin"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14325 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14326 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_wine_try_cflags_saved=$CFLAGS
14330 CFLAGS="$CFLAGS -fno-strict-aliasing"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 int main(int argc, char **argv) { return 0; }
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_cflags__fno_strict_aliasing=yes
14337 else
14338 ac_cv_cflags__fno_strict_aliasing=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 CFLAGS=$ac_wine_try_cflags_saved
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14345 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14346 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14347 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14350 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14351 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 ac_wine_try_cflags_saved=$CFLAGS
14355 CFLAGS="$CFLAGS -fexcess-precision=standard"
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14358 int main(int argc, char **argv) { return 0; }
14359 _ACEOF
14360 if ac_fn_c_try_link "$LINENO"; then :
14361 ac_cv_cflags__fexcess_precision_standard=yes
14362 else
14363 ac_cv_cflags__fexcess_precision_standard=no
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 CFLAGS=$ac_wine_try_cflags_saved
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14370 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14371 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14372 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14375 saved_CFLAGS=$CFLAGS
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14377 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14378 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 ac_wine_try_cflags_saved=$CFLAGS
14382 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 int main(int argc, char **argv) { return 0; }
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 ac_cv_cflags__Werror_unknown_warning_option=yes
14389 else
14390 ac_cv_cflags__Werror_unknown_warning_option=no
14392 rm -f core conftest.err conftest.$ac_objext \
14393 conftest$ac_exeext conftest.$ac_ext
14394 CFLAGS=$ac_wine_try_cflags_saved
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14397 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14398 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14399 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14402 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14403 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 ac_wine_try_cflags_saved=$CFLAGS
14407 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14410 int main(int argc, char **argv) { return 0; }
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"; then :
14413 ac_cv_cflags__Wdeclaration_after_statement=yes
14414 else
14415 ac_cv_cflags__Wdeclaration_after_statement=no
14417 rm -f core conftest.err conftest.$ac_objext \
14418 conftest$ac_exeext conftest.$ac_ext
14419 CFLAGS=$ac_wine_try_cflags_saved
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14422 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14423 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14424 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14427 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14428 if ${ac_cv_cflags__Wempty_body+:} false; then :
14429 $as_echo_n "(cached) " >&6
14430 else
14431 ac_wine_try_cflags_saved=$CFLAGS
14432 CFLAGS="$CFLAGS -Wempty-body"
14433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14435 int main(int argc, char **argv) { return 0; }
14436 _ACEOF
14437 if ac_fn_c_try_link "$LINENO"; then :
14438 ac_cv_cflags__Wempty_body=yes
14439 else
14440 ac_cv_cflags__Wempty_body=no
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 CFLAGS=$ac_wine_try_cflags_saved
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14447 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14448 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14449 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14452 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14453 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_wine_try_cflags_saved=$CFLAGS
14457 CFLAGS="$CFLAGS -Wignored-qualifiers"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 int main(int argc, char **argv) { return 0; }
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_cflags__Wignored_qualifiers=yes
14464 else
14465 ac_cv_cflags__Wignored_qualifiers=no
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14472 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14473 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14474 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14477 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14478 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 ac_wine_try_cflags_saved=$CFLAGS
14482 CFLAGS="$CFLAGS -Wshift-overflow=2"
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14485 int main(int argc, char **argv) { return 0; }
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_cflags__Wshift_overflow_2=yes
14489 else
14490 ac_cv_cflags__Wshift_overflow_2=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 CFLAGS=$ac_wine_try_cflags_saved
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14497 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14498 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14499 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14502 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14503 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_wine_try_cflags_saved=$CFLAGS
14507 CFLAGS="$CFLAGS -Wstrict-prototypes"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int main(int argc, char **argv) { return 0; }
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_cflags__Wstrict_prototypes=yes
14514 else
14515 ac_cv_cflags__Wstrict_prototypes=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 CFLAGS=$ac_wine_try_cflags_saved
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14522 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14523 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14524 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14527 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14528 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_wine_try_cflags_saved=$CFLAGS
14532 CFLAGS="$CFLAGS -Wtype-limits"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 int main(int argc, char **argv) { return 0; }
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 ac_cv_cflags__Wtype_limits=yes
14539 else
14540 ac_cv_cflags__Wtype_limits=no
14542 rm -f core conftest.err conftest.$ac_objext \
14543 conftest$ac_exeext conftest.$ac_ext
14544 CFLAGS=$ac_wine_try_cflags_saved
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14547 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14548 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14549 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14552 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14553 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__Wunused_but_set_parameter=yes
14564 else
14565 ac_cv_cflags__Wunused_but_set_parameter=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14572 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14573 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14574 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14577 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14578 if ${ac_cv_cflags__Wvla+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 ac_wine_try_cflags_saved=$CFLAGS
14582 CFLAGS="$CFLAGS -Wvla"
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14585 int main(int argc, char **argv) { return 0; }
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_cflags__Wvla=yes
14589 else
14590 ac_cv_cflags__Wvla=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 CFLAGS=$ac_wine_try_cflags_saved
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14597 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14598 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14599 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14602 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14603 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_wine_try_cflags_saved=$CFLAGS
14607 CFLAGS="$CFLAGS -Wwrite-strings"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14610 int main(int argc, char **argv) { return 0; }
14611 _ACEOF
14612 if ac_fn_c_try_link "$LINENO"; then :
14613 ac_cv_cflags__Wwrite_strings=yes
14614 else
14615 ac_cv_cflags__Wwrite_strings=no
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14619 CFLAGS=$ac_wine_try_cflags_saved
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14622 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14623 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14624 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14628 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14629 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14630 $as_echo_n "(cached) " >&6
14631 else
14632 ac_wine_try_cflags_saved=$CFLAGS
14633 CFLAGS="$CFLAGS -Wpointer-arith"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 int main(int argc, char **argv) { return 0; }
14637 _ACEOF
14638 if ac_fn_c_try_link "$LINENO"; then :
14639 ac_cv_cflags__Wpointer_arith=yes
14640 else
14641 ac_cv_cflags__Wpointer_arith=no
14643 rm -f core conftest.err conftest.$ac_objext \
14644 conftest$ac_exeext conftest.$ac_ext
14645 CFLAGS=$ac_wine_try_cflags_saved
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14648 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14649 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14650 saved_string_h_CFLAGS=$CFLAGS
14651 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14653 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14654 if ${ac_cv_c_string_h_warnings+:} false; then :
14655 $as_echo_n "(cached) " >&6
14656 else
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 #include <string.h>
14661 main ()
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_compile "$LINENO"; then :
14669 ac_cv_c_string_h_warnings=no
14670 else
14671 ac_cv_c_string_h_warnings=yes
14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14676 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14677 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14678 CFLAGS=$saved_string_h_CFLAGS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14682 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14683 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 ac_wine_try_cflags_saved=$CFLAGS
14687 CFLAGS="$CFLAGS -Wlogical-op"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 int main(int argc, char **argv) { return 0; }
14691 _ACEOF
14692 if ac_fn_c_try_link "$LINENO"; then :
14693 ac_cv_cflags__Wlogical_op=yes
14694 else
14695 ac_cv_cflags__Wlogical_op=no
14697 rm -f core conftest.err conftest.$ac_objext \
14698 conftest$ac_exeext conftest.$ac_ext
14699 CFLAGS=$ac_wine_try_cflags_saved
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14702 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14703 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14704 saved_string_h_CFLAGS=$CFLAGS
14705 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14707 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14708 if ${ac_cv_c_logicalop_noisy+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14713 #include <string.h>
14714 char*f(const char *h,char n) {return strchr(h,n);}
14716 main ()
14720 return 0;
14722 _ACEOF
14723 if ac_fn_c_try_compile "$LINENO"; then :
14724 ac_cv_c_logicalop_noisy=no
14725 else
14726 ac_cv_c_logicalop_noisy=yes
14728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14731 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14732 CFLAGS=$saved_string_h_CFLAGS
14733 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14736 CFLAGS=$saved_CFLAGS
14738 for ac_flag in $CFLAGS; do
14739 case $ac_flag in
14740 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14741 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14742 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 ac_wine_try_cflags_saved=$CFLAGS
14746 CFLAGS="$CFLAGS -gdwarf-2"
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 int main(int argc, char **argv) { return 0; }
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"; then :
14752 ac_cv_cflags__gdwarf_2=yes
14753 else
14754 ac_cv_cflags__gdwarf_2=no
14756 rm -f core conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 CFLAGS=$ac_wine_try_cflags_saved
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14761 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14762 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14763 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14766 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14767 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14768 $as_echo_n "(cached) " >&6
14769 else
14770 ac_wine_try_cflags_saved=$CFLAGS
14771 CFLAGS="$CFLAGS -gstrict-dwarf"
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14774 int main(int argc, char **argv) { return 0; }
14775 _ACEOF
14776 if ac_fn_c_try_link "$LINENO"; then :
14777 ac_cv_cflags__gstrict_dwarf=yes
14778 else
14779 ac_cv_cflags__gstrict_dwarf=no
14781 rm -f core conftest.err conftest.$ac_objext \
14782 conftest$ac_exeext conftest.$ac_ext
14783 CFLAGS=$ac_wine_try_cflags_saved
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14786 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14787 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14788 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14789 fi ;;
14790 esac
14791 done
14793 case $host_cpu in
14794 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14795 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14796 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_wine_try_cflags_saved=$CFLAGS
14800 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14803 int main(int argc, char **argv) { return 0; }
14804 _ACEOF
14805 if ac_fn_c_try_link "$LINENO"; then :
14806 ac_cv_cflags__fno_omit_frame_pointer=yes
14807 else
14808 ac_cv_cflags__fno_omit_frame_pointer=no
14810 rm -f core conftest.err conftest.$ac_objext \
14811 conftest$ac_exeext conftest.$ac_ext
14812 CFLAGS=$ac_wine_try_cflags_saved
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14815 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14816 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14817 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14818 fi ;;
14819 esac
14821 case $host in
14822 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14823 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14824 if ${ac_cv_cflags__Wno_format+:} false; then :
14825 $as_echo_n "(cached) " >&6
14826 else
14827 ac_wine_try_cflags_saved=$CFLAGS
14828 CFLAGS="$CFLAGS -Wno-format"
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14831 int main(int argc, char **argv) { return 0; }
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 ac_cv_cflags__Wno_format=yes
14835 else
14836 ac_cv_cflags__Wno_format=no
14838 rm -f core conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext conftest.$ac_ext
14840 CFLAGS=$ac_wine_try_cflags_saved
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14843 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14844 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14845 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14846 fi ;;
14847 esac
14849 if test "x$enable_maintainer_mode" = "xyes"
14850 then
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14852 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14853 if ${ac_cv_cflags__Werror+:} false; then :
14854 $as_echo_n "(cached) " >&6
14855 else
14856 ac_wine_try_cflags_saved=$CFLAGS
14857 CFLAGS="$CFLAGS -Werror"
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 int main(int argc, char **argv) { return 0; }
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 ac_cv_cflags__Werror=yes
14864 else
14865 ac_cv_cflags__Werror=no
14867 rm -f core conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 CFLAGS=$ac_wine_try_cflags_saved
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14872 $as_echo "$ac_cv_cflags__Werror" >&6; }
14873 if test "x$ac_cv_cflags__Werror" = xyes; then :
14874 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14878 saved_CFLAGS="$CFLAGS"
14879 CFLAGS="$CFLAGS -Werror"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14881 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14882 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14889 main ()
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"; then :
14897 ac_cv_have_ms_hook_prologue="yes"
14898 else
14899 ac_cv_have_ms_hook_prologue="no"
14901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14904 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14905 CFLAGS="$saved_CFLAGS"
14906 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14907 then
14909 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14911 else
14912 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14919 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14920 if ${ac_cv_c_fortify_enabled+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 #include <string.h>
14927 main ()
14929 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14930 #error Fortify enabled
14931 #endif
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_compile "$LINENO"; then :
14937 ac_cv_c_fortify_enabled=no
14938 else
14939 ac_cv_c_fortify_enabled=yes
14941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14944 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14945 if test "$ac_cv_c_fortify_enabled" = yes
14946 then
14947 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14952 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14953 if ${ac_cv_c_extern_prefix+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 extern int ac_test;
14960 main ()
14962 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 ac_cv_c_extern_prefix="yes"
14969 else
14970 ac_cv_c_extern_prefix="no"
14972 rm -f core conftest.err conftest.$ac_objext \
14973 conftest$ac_exeext conftest.$ac_ext
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14976 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14978 case $host_cpu in
14979 *i[3456789]86*)
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14981 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14982 if ${ac_cv_c_stdcall_suffix+:} false; then :
14983 $as_echo_n "(cached) " >&6
14984 else
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14987 #ifndef _MSC_VER
14988 #define __stdcall __attribute__((__stdcall__))
14989 #endif
14990 int __stdcall ac_test(int i) { return i; }
14992 main ()
14994 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 ac_cv_c_stdcall_suffix="yes"
15001 else
15002 ac_cv_c_stdcall_suffix="no"
15004 rm -f core conftest.err conftest.$ac_objext \
15005 conftest$ac_exeext conftest.$ac_ext
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15008 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15009 *) ac_cv_c_stdcall_suffix="no" ;;
15010 esac
15013 if test "$ac_cv_c_extern_prefix" = "yes"
15014 then
15015 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15017 asm_name_prefix="_"
15018 else
15019 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15021 asm_name_prefix=""
15025 if test "$ac_cv_c_stdcall_suffix" = "yes"
15026 then
15027 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15029 else
15030 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15036 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15037 if ${ac_cv_asm_func_def+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15044 main ()
15046 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15048 return 0;
15050 _ACEOF
15051 if ac_fn_c_try_link "$LINENO"; then :
15052 ac_cv_asm_func_def=".def"
15053 else
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15058 main ()
15060 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_asm_func_def=".type @function"
15067 else
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15072 main ()
15074 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 ac_cv_asm_func_def=".type 2"
15081 else
15082 ac_cv_asm_func_def="unknown"
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15094 $as_echo "$ac_cv_asm_func_def" >&6; }
15097 case "$ac_cv_asm_func_def" in
15098 ".def")
15099 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15101 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15102 ".type @function")
15103 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15105 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15106 ".type 2")
15107 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15109 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15111 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15113 asm_func_header="" ;;
15114 esac
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15117 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15118 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 asm(".text\n\t.long 0");
15125 main ()
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_compile "$LINENO"; then :
15133 ac_cv_c_asm_outside_funcs="yes"
15134 else
15135 ac_cv_c_asm_outside_funcs="no"
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15140 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15143 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15144 if ${ac_cv_c_dot_previous+:} false; then :
15145 $as_echo_n "(cached) " >&6
15146 else
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15151 main ()
15153 asm(".text\nac_test:\t.long 0\n\t.previous");
15155 return 0;
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"; then :
15159 ac_cv_c_dot_previous="yes"
15160 else
15161 ac_cv_c_dot_previous="no"
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15167 $as_echo "$ac_cv_c_dot_previous" >&6; }
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15170 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15171 if ${ac_cv_c_cfi_support+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15178 main ()
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_compile "$LINENO"; then :
15186 ac_cv_c_cfi_support="yes"
15187 else
15188 ac_cv_c_cfi_support="no"
15190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15193 $as_echo "$ac_cv_c_cfi_support" >&6; }
15195 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15196 asm_func_trailer=""
15197 if test "$ac_cv_c_dot_previous" = "yes"
15198 then
15199 asm_func_trailer="\\n\\t.previous"
15201 if test "$ac_cv_c_cfi_support" = "yes"
15202 then
15203 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15204 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15206 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15208 UNWINDFLAGS=-fasynchronous-unwind-tables
15210 else
15211 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15213 if test "x$enable_win64" = "xyes"
15214 then
15215 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15219 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15222 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15223 then
15224 cat >>confdefs.h <<_ACEOF
15225 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15226 _ACEOF
15228 else
15229 cat >>confdefs.h <<_ACEOF
15230 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15231 _ACEOF
15235 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15238 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15242 case $build_os in
15243 cygwin*|mingw32*) TOOLSEXT=".exe"
15245 esac
15247 case $host_os in
15248 linux-android*) ;;
15249 linux*)
15250 case $host_cpu in
15251 *i[3456789]86*|x86_64*)
15252 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15253 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15255 esac
15257 esac
15260 ac_save_CFLAGS="$CFLAGS"
15261 CFLAGS="$CFLAGS $BUILTINFLAG"
15262 for ac_func in \
15263 __res_get_state \
15264 __res_getservers \
15265 _finite \
15266 _isnan \
15267 _pclose \
15268 _popen \
15269 _snprintf \
15270 _spawnvp \
15271 _strdup \
15272 _stricmp \
15273 _strnicmp \
15274 _strtoi64 \
15275 _strtoui64 \
15276 _vsnprintf \
15277 asctime_r \
15278 chsize \
15279 dlopen \
15280 epoll_create \
15281 ffs \
15282 finitef \
15283 fnmatch \
15284 fork \
15285 fpclass \
15286 fstatfs \
15287 fstatvfs \
15288 ftruncate \
15289 futimens \
15290 futimes \
15291 futimesat \
15292 getattrlist \
15293 getopt_long_only \
15294 getpwuid \
15295 gettimeofday \
15296 getuid \
15297 if_nameindex \
15298 isnanf \
15299 kqueue \
15300 lstat \
15301 memmove \
15302 mmap \
15303 pclose \
15304 pipe2 \
15305 poll \
15306 popen \
15307 port_create \
15308 prctl \
15309 pread \
15310 proc_pidinfo \
15311 pwrite \
15312 readdir \
15313 readlink \
15314 sched_yield \
15315 select \
15316 setproctitle \
15317 setprogname \
15318 setrlimit \
15319 settimeofday \
15320 sigaltstack \
15321 sigprocmask \
15322 snprintf \
15323 statfs \
15324 statvfs \
15325 strcasecmp \
15326 strdup \
15327 strerror \
15328 strncasecmp \
15329 strtold \
15330 strtoll \
15331 strtoull \
15332 symlink \
15333 sysinfo \
15334 tcdrain \
15335 thr_kill2 \
15336 timegm \
15337 usleep \
15338 vsnprintf
15340 do :
15341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15344 cat >>confdefs.h <<_ACEOF
15345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15346 _ACEOF
15349 done
15351 CFLAGS="$ac_save_CFLAGS"
15353 if test "$ac_cv_func_dlopen" = no
15354 then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15356 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15357 if ${ac_cv_lib_dl_dlopen+:} false; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360 ac_check_lib_save_LIBS=$LIBS
15361 LIBS="-ldl $LIBS"
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15368 #ifdef __cplusplus
15369 extern "C"
15370 #endif
15371 char dlopen ();
15373 main ()
15375 return dlopen ();
15377 return 0;
15379 _ACEOF
15380 if ac_fn_c_try_link "$LINENO"; then :
15381 ac_cv_lib_dl_dlopen=yes
15382 else
15383 ac_cv_lib_dl_dlopen=no
15385 rm -f core conftest.err conftest.$ac_objext \
15386 conftest$ac_exeext conftest.$ac_ext
15387 LIBS=$ac_check_lib_save_LIBS
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15391 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15392 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15393 DL_LIBS="-ldl"
15398 ac_wine_check_funcs_save_LIBS="$LIBS"
15399 LIBS="$LIBS $DL_LIBS"
15400 for ac_func in dladdr
15401 do :
15402 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15403 if test "x$ac_cv_func_dladdr" = xyes; then :
15404 cat >>confdefs.h <<_ACEOF
15405 #define HAVE_DLADDR 1
15406 _ACEOF
15409 done
15411 LIBS="$ac_wine_check_funcs_save_LIBS"
15413 if test "$ac_cv_func_poll" = no
15414 then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15416 $as_echo_n "checking for poll in -lpoll... " >&6; }
15417 if ${ac_cv_lib_poll_poll+:} false; then :
15418 $as_echo_n "(cached) " >&6
15419 else
15420 ac_check_lib_save_LIBS=$LIBS
15421 LIBS="-lpoll $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char poll ();
15433 main ()
15435 return poll ();
15437 return 0;
15439 _ACEOF
15440 if ac_fn_c_try_link "$LINENO"; then :
15441 ac_cv_lib_poll_poll=yes
15442 else
15443 ac_cv_lib_poll_poll=no
15445 rm -f core conftest.err conftest.$ac_objext \
15446 conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_lib_save_LIBS
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15450 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15451 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15452 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15453 POLL_LIBS="-lpoll"
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15460 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15461 if ${ac_cv_search_gethostbyname+:} false; then :
15462 $as_echo_n "(cached) " >&6
15463 else
15464 ac_func_search_save_LIBS=$LIBS
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15468 /* Override any GCC internal prototype to avoid an error.
15469 Use char because int might match the return type of a GCC
15470 builtin and then its argument prototype would still apply. */
15471 #ifdef __cplusplus
15472 extern "C"
15473 #endif
15474 char gethostbyname ();
15476 main ()
15478 return gethostbyname ();
15480 return 0;
15482 _ACEOF
15483 for ac_lib in '' nsl; do
15484 if test -z "$ac_lib"; then
15485 ac_res="none required"
15486 else
15487 ac_res=-l$ac_lib
15488 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15490 if ac_fn_c_try_link "$LINENO"; then :
15491 ac_cv_search_gethostbyname=$ac_res
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext
15495 if ${ac_cv_search_gethostbyname+:} false; then :
15496 break
15498 done
15499 if ${ac_cv_search_gethostbyname+:} false; then :
15501 else
15502 ac_cv_search_gethostbyname=no
15504 rm conftest.$ac_ext
15505 LIBS=$ac_func_search_save_LIBS
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15508 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15509 ac_res=$ac_cv_search_gethostbyname
15510 if test "$ac_res" != no; then :
15511 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15517 $as_echo_n "checking for library containing connect... " >&6; }
15518 if ${ac_cv_search_connect+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 ac_func_search_save_LIBS=$LIBS
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15525 /* Override any GCC internal prototype to avoid an error.
15526 Use char because int might match the return type of a GCC
15527 builtin and then its argument prototype would still apply. */
15528 #ifdef __cplusplus
15529 extern "C"
15530 #endif
15531 char connect ();
15533 main ()
15535 return connect ();
15537 return 0;
15539 _ACEOF
15540 for ac_lib in '' socket; do
15541 if test -z "$ac_lib"; then
15542 ac_res="none required"
15543 else
15544 ac_res=-l$ac_lib
15545 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15547 if ac_fn_c_try_link "$LINENO"; then :
15548 ac_cv_search_connect=$ac_res
15550 rm -f core conftest.err conftest.$ac_objext \
15551 conftest$ac_exeext
15552 if ${ac_cv_search_connect+:} false; then :
15553 break
15555 done
15556 if ${ac_cv_search_connect+:} false; then :
15558 else
15559 ac_cv_search_connect=no
15561 rm conftest.$ac_ext
15562 LIBS=$ac_func_search_save_LIBS
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15565 $as_echo "$ac_cv_search_connect" >&6; }
15566 ac_res=$ac_cv_search_connect
15567 if test "$ac_res" != no; then :
15568 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15574 $as_echo_n "checking for library containing inet_aton... " >&6; }
15575 if ${ac_cv_search_inet_aton+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 ac_func_search_save_LIBS=$LIBS
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15582 /* Override any GCC internal prototype to avoid an error.
15583 Use char because int might match the return type of a GCC
15584 builtin and then its argument prototype would still apply. */
15585 #ifdef __cplusplus
15586 extern "C"
15587 #endif
15588 char inet_aton ();
15590 main ()
15592 return inet_aton ();
15594 return 0;
15596 _ACEOF
15597 for ac_lib in '' resolv; do
15598 if test -z "$ac_lib"; then
15599 ac_res="none required"
15600 else
15601 ac_res=-l$ac_lib
15602 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_search_inet_aton=$ac_res
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext
15609 if ${ac_cv_search_inet_aton+:} false; then :
15610 break
15612 done
15613 if ${ac_cv_search_inet_aton+:} false; then :
15615 else
15616 ac_cv_search_inet_aton=no
15618 rm conftest.$ac_ext
15619 LIBS=$ac_func_search_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15622 $as_echo "$ac_cv_search_inet_aton" >&6; }
15623 ac_res=$ac_cv_search_inet_aton
15624 if test "$ac_res" != no; then :
15625 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15630 for ac_func in \
15631 getaddrinfo \
15632 getnameinfo \
15633 getnetbyname \
15634 getprotobyname \
15635 getprotobynumber \
15636 getservbyport \
15637 inet_addr \
15638 inet_network \
15639 inet_ntop \
15640 inet_pton \
15641 sendmsg \
15642 socketpair \
15644 do :
15645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15648 cat >>confdefs.h <<_ACEOF
15649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15650 _ACEOF
15653 done
15656 ac_save_LIBS=$LIBS
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15658 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15659 if ${ac_cv_search_clock_gettime+:} false; then :
15660 $as_echo_n "(cached) " >&6
15661 else
15662 ac_func_search_save_LIBS=$LIBS
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 #ifdef __cplusplus
15670 extern "C"
15671 #endif
15672 char clock_gettime ();
15674 main ()
15676 return clock_gettime ();
15678 return 0;
15680 _ACEOF
15681 for ac_lib in '' rt; do
15682 if test -z "$ac_lib"; then
15683 ac_res="none required"
15684 else
15685 ac_res=-l$ac_lib
15686 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15688 if ac_fn_c_try_link "$LINENO"; then :
15689 ac_cv_search_clock_gettime=$ac_res
15691 rm -f core conftest.err conftest.$ac_objext \
15692 conftest$ac_exeext
15693 if ${ac_cv_search_clock_gettime+:} false; then :
15694 break
15696 done
15697 if ${ac_cv_search_clock_gettime+:} false; then :
15699 else
15700 ac_cv_search_clock_gettime=no
15702 rm conftest.$ac_ext
15703 LIBS=$ac_func_search_save_LIBS
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15706 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15707 ac_res=$ac_cv_search_clock_gettime
15708 if test "$ac_res" != no; then :
15709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15711 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15713 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15717 LIBS=$ac_save_LIBS
15719 LDAP_LIBS=""
15721 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15722 then
15723 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15725 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15727 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15728 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 ac_check_lib_save_LIBS=$LIBS
15732 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15736 /* Override any GCC internal prototype to avoid an error.
15737 Use char because int might match the return type of a GCC
15738 builtin and then its argument prototype would still apply. */
15739 #ifdef __cplusplus
15740 extern "C"
15741 #endif
15742 char ldap_initialize ();
15744 main ()
15746 return ldap_initialize ();
15748 return 0;
15750 _ACEOF
15751 if ac_fn_c_try_link "$LINENO"; then :
15752 ac_cv_lib_ldap_r_ldap_initialize=yes
15753 else
15754 ac_cv_lib_ldap_r_ldap_initialize=no
15756 rm -f core conftest.err conftest.$ac_objext \
15757 conftest$ac_exeext conftest.$ac_ext
15758 LIBS=$ac_check_lib_save_LIBS
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15761 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15762 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15764 $as_echo_n "checking for ber_init in -llber... " >&6; }
15765 if ${ac_cv_lib_lber_ber_init+:} false; then :
15766 $as_echo_n "(cached) " >&6
15767 else
15768 ac_check_lib_save_LIBS=$LIBS
15769 LIBS="-llber $PTHREAD_LIBS $LIBS"
15770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15773 /* Override any GCC internal prototype to avoid an error.
15774 Use char because int might match the return type of a GCC
15775 builtin and then its argument prototype would still apply. */
15776 #ifdef __cplusplus
15777 extern "C"
15778 #endif
15779 char ber_init ();
15781 main ()
15783 return ber_init ();
15785 return 0;
15787 _ACEOF
15788 if ac_fn_c_try_link "$LINENO"; then :
15789 ac_cv_lib_lber_ber_init=yes
15790 else
15791 ac_cv_lib_lber_ber_init=no
15793 rm -f core conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_lib_save_LIBS
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15798 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15799 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15801 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15803 LDAP_LIBS="-lldap_r -llber"
15810 ac_wine_check_funcs_save_LIBS="$LIBS"
15811 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15812 for ac_func in \
15813 ldap_count_references \
15814 ldap_first_reference \
15815 ldap_next_reference \
15816 ldap_parse_reference \
15817 ldap_parse_sort_control \
15818 ldap_parse_sortresponse_control \
15819 ldap_parse_vlv_control \
15820 ldap_parse_vlvresponse_control
15821 do :
15822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15823 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15824 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15827 _ACEOF
15830 done
15832 LIBS="$ac_wine_check_funcs_save_LIBS"
15834 if test "x$LDAP_LIBS" = "x"; then :
15835 case "x$with_ldap" in
15836 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15837 xno) ;;
15838 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15839 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15840 esac
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15845 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15846 if ${wine_cv_one_arg_mkdir+:} false; then :
15847 $as_echo_n "(cached) " >&6
15848 else
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851 #include <sys/stat.h>
15853 main ()
15855 mkdir("foo");
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_compile "$LINENO"; then :
15861 wine_cv_one_arg_mkdir=yes
15862 else
15863 wine_cv_one_arg_mkdir=no
15865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15868 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15869 if test "$wine_cv_one_arg_mkdir" = "yes"
15870 then
15872 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15877 $as_echo_n "checking for sched_setaffinity... " >&6; }
15878 if ${wine_cv_have_sched_setaffinity+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15883 #define _GNU_SOURCE
15884 #include <sched.h>
15886 main ()
15888 sched_setaffinity(0, 0, 0);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_link "$LINENO"; then :
15894 wine_cv_have_sched_setaffinity=yes
15895 else
15896 wine_cv_have_sched_setaffinity=no
15898 rm -f core conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15902 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15903 if test "$wine_cv_have_sched_setaffinity" = "yes"
15904 then
15906 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15911 $as_echo_n "checking for fallocate... " >&6; }
15912 if ${wine_cv_have_fallocate+:} false; then :
15913 $as_echo_n "(cached) " >&6
15914 else
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15916 /* end confdefs.h. */
15917 #define _GNU_SOURCE
15918 #include <fcntl.h>
15920 main ()
15922 fallocate(-1, 0, 0, 0);
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_link "$LINENO"; then :
15928 wine_cv_have_fallocate=yes
15929 else
15930 wine_cv_have_fallocate=no
15932 rm -f core conftest.err conftest.$ac_objext \
15933 conftest$ac_exeext conftest.$ac_ext
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15936 $as_echo "$wine_cv_have_fallocate" >&6; }
15937 if test "$wine_cv_have_fallocate" = "yes"
15938 then
15940 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15946 $as_echo_n "checking for inline... " >&6; }
15947 if ${ac_cv_c_inline+:} false; then :
15948 $as_echo_n "(cached) " >&6
15949 else
15950 ac_cv_c_inline=no
15951 for ac_kw in inline __inline__ __inline; do
15952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 #ifndef __cplusplus
15955 typedef int foo_t;
15956 static $ac_kw foo_t static_foo () {return 0; }
15957 $ac_kw foo_t foo () {return 0; }
15958 #endif
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962 ac_cv_c_inline=$ac_kw
15964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15965 test "$ac_cv_c_inline" != no && break
15966 done
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15970 $as_echo "$ac_cv_c_inline" >&6; }
15972 case $ac_cv_c_inline in
15973 inline | yes) ;;
15975 case $ac_cv_c_inline in
15976 no) ac_val=;;
15977 *) ac_val=$ac_cv_c_inline;;
15978 esac
15979 cat >>confdefs.h <<_ACEOF
15980 #ifndef __cplusplus
15981 #define inline $ac_val
15982 #endif
15983 _ACEOF
15985 esac
15987 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15988 if test "x$ac_cv_type_mode_t" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_MODE_T 1
15992 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_off_t" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_OFF_T 1
16001 _ACEOF
16005 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16006 if test "x$ac_cv_type_pid_t" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_PID_T 1
16010 _ACEOF
16014 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16015 if test "x$ac_cv_type_size_t" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_SIZE_T 1
16019 _ACEOF
16023 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16024 if test "x$ac_cv_type_ssize_t" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_SSIZE_T 1
16028 _ACEOF
16032 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16033 if test "x$ac_cv_type_long_long" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_LONG_LONG 1
16037 _ACEOF
16041 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16042 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_FSBLKCNT_T 1
16046 _ACEOF
16050 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16051 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_FSFILCNT_T 1
16055 _ACEOF
16060 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16061 #include <signal.h>
16063 if test "x$ac_cv_type_sigset_t" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_SIGSET_T 1
16067 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16074 if test "x$ac_cv_type_request_sense" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_REQUEST_SENSE 1
16078 _ACEOF
16084 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16085 #ifdef HAVE_SYS_SOCKET_H
16086 #include <sys/socket.h>
16087 #endif
16088 #ifdef HAVE_SYS_SOCKETVAR_H
16089 #include <sys/socketvar.h>
16090 #endif
16091 #ifdef HAVE_NET_ROUTE_H
16092 #include <net/route.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IN_H
16095 #include <netinet/in.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IN_SYSTM_H
16098 #include <netinet/in_systm.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IP_H
16101 #include <netinet/ip.h>
16102 #endif
16103 #ifdef HAVE_NETINET_IN_PCB_H
16104 #include <netinet/in_pcb.h>
16105 #endif
16107 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_XINPGEN 1
16111 _ACEOF
16117 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16118 #include <link.h>
16119 #endif
16120 #ifdef HAVE_SYS_LINK_H
16121 #include <sys/link.h>
16122 #endif
16124 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_R_DEBUG 1
16128 _ACEOF
16132 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16133 #include <link.h>
16134 #endif
16135 #ifdef HAVE_SYS_LINK_H
16136 #include <sys/link.h>
16137 #endif
16139 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_LINK_MAP 1
16143 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16150 #include <linux/input.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16157 _ACEOF
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16164 $as_echo_n "checking for sigaddset... " >&6; }
16165 if ${wine_cv_have_sigaddset+:} false; then :
16166 $as_echo_n "(cached) " >&6
16167 else
16168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16169 /* end confdefs.h. */
16170 #include <signal.h>
16172 main ()
16174 sigset_t set; sigaddset(&set,SIGTERM);
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 wine_cv_have_sigaddset=yes
16181 else
16182 wine_cv_have_sigaddset=no
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16188 $as_echo "$wine_cv_have_sigaddset" >&6; }
16189 if test "$wine_cv_have_sigaddset" = "yes"
16190 then
16192 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16198 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16199 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16200 $as_echo_n "(cached) " >&6
16201 else
16202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16203 /* end confdefs.h. */
16204 #include <netdb.h>
16206 main ()
16209 char *name=0;
16210 struct hostent he;
16211 struct hostent *result;
16212 char *buf=0;
16213 int bufsize=0;
16214 int errnr;
16215 char *addr=0;
16216 int addrlen=0;
16217 int addrtype=0;
16218 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16219 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16222 return 0;
16224 _ACEOF
16225 if ac_fn_c_try_link "$LINENO"; then :
16226 wine_cv_linux_gethostbyname_r_6=yes
16227 else
16228 wine_cv_linux_gethostbyname_r_6=no
16231 rm -f core conftest.err conftest.$ac_objext \
16232 conftest$ac_exeext conftest.$ac_ext
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16236 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16237 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16238 then
16240 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16244 if test "$ac_cv_header_linux_joystick_h" = "yes"
16245 then
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16247 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16248 if ${wine_cv_linux_joystick_22_api+:} false; then :
16249 $as_echo_n "(cached) " >&6
16250 else
16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 /* end confdefs.h. */
16254 #include <sys/ioctl.h>
16255 #include <sys/types.h>
16256 #include <linux/joystick.h>
16258 struct js_event blub;
16259 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16260 #error "no 2.2 header"
16261 #endif
16264 main ()
16266 /*empty*/
16268 return 0;
16270 _ACEOF
16271 if ac_fn_c_try_compile "$LINENO"; then :
16272 wine_cv_linux_joystick_22_api=yes
16273 else
16274 wine_cv_linux_joystick_22_api=no
16276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16280 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16281 if test "$wine_cv_linux_joystick_22_api" = "yes"
16282 then
16284 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16290 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16291 #ifdef HAVE_SYS_PARAM_H
16292 # include <sys/param.h>
16293 #endif
16294 #ifdef HAVE_SYS_MOUNT_H
16295 # include <sys/mount.h>
16296 #endif
16297 #ifdef HAVE_SYS_VFS_H
16298 # include <sys/vfs.h>
16299 #endif
16300 #ifdef HAVE_SYS_STATFS_H
16301 # include <sys/statfs.h>
16302 #endif
16304 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_STATFS_F_BFREE 1
16308 _ACEOF
16312 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16313 #ifdef HAVE_SYS_PARAM_H
16314 # include <sys/param.h>
16315 #endif
16316 #ifdef HAVE_SYS_MOUNT_H
16317 # include <sys/mount.h>
16318 #endif
16319 #ifdef HAVE_SYS_VFS_H
16320 # include <sys/vfs.h>
16321 #endif
16322 #ifdef HAVE_SYS_STATFS_H
16323 # include <sys/statfs.h>
16324 #endif
16326 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16330 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16335 #ifdef HAVE_SYS_PARAM_H
16336 # include <sys/param.h>
16337 #endif
16338 #ifdef HAVE_SYS_MOUNT_H
16339 # include <sys/mount.h>
16340 #endif
16341 #ifdef HAVE_SYS_VFS_H
16342 # include <sys/vfs.h>
16343 #endif
16344 #ifdef HAVE_SYS_STATFS_H
16345 # include <sys/statfs.h>
16346 #endif
16348 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16357 #ifdef HAVE_SYS_PARAM_H
16358 # include <sys/param.h>
16359 #endif
16360 #ifdef HAVE_SYS_MOUNT_H
16361 # include <sys/mount.h>
16362 #endif
16363 #ifdef HAVE_SYS_VFS_H
16364 # include <sys/vfs.h>
16365 #endif
16366 #ifdef HAVE_SYS_STATFS_H
16367 # include <sys/statfs.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_STATFS_F_FFREE 1
16374 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16379 #ifdef HAVE_SYS_PARAM_H
16380 # include <sys/param.h>
16381 #endif
16382 #ifdef HAVE_SYS_MOUNT_H
16383 # include <sys/mount.h>
16384 #endif
16385 #ifdef HAVE_SYS_VFS_H
16386 # include <sys/vfs.h>
16387 #endif
16388 #ifdef HAVE_SYS_STATFS_H
16389 # include <sys/statfs.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16396 _ACEOF
16400 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16401 #ifdef HAVE_SYS_PARAM_H
16402 # include <sys/param.h>
16403 #endif
16404 #ifdef HAVE_SYS_MOUNT_H
16405 # include <sys/mount.h>
16406 #endif
16407 #ifdef HAVE_SYS_VFS_H
16408 # include <sys/vfs.h>
16409 #endif
16410 #ifdef HAVE_SYS_STATFS_H
16411 # include <sys/statfs.h>
16412 #endif
16414 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16418 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16425 #include <sys/statvfs.h>
16426 #endif
16428 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16432 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16439 #include <dirent.h>
16440 #endif
16442 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16446 _ACEOF
16452 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16453 #ifdef HAVE_SYS_SOCKET_H
16454 # include <sys/socket.h>
16455 #endif
16456 #ifdef HAVE_SYS_UN_H
16457 # include <sys/un.h>
16458 #endif
16460 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16462 cat >>confdefs.h <<_ACEOF
16463 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16464 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16469 #ifdef HAVE_SYS_SOCKET_H
16470 # include <sys/socket.h>
16471 #endif
16472 #ifdef HAVE_SYS_UN_H
16473 # include <sys/un.h>
16474 #endif
16476 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16480 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16485 #ifdef HAVE_SYS_SOCKET_H
16486 # include <sys/socket.h>
16487 #endif
16488 #ifdef HAVE_SYS_UN_H
16489 # include <sys/un.h>
16490 #endif
16492 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16496 _ACEOF
16502 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16503 #ifdef HAVE_SCSI_SG_H
16504 #include <scsi/sg.h>
16505 #endif
16507 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_SCSIREQ_T_CMD 1
16511 _ACEOF
16515 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>
16516 #ifdef HAVE_SCSI_SG_H
16517 #include <scsi/sg.h>
16518 #endif
16520 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16532 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16534 cat >>confdefs.h <<_ACEOF
16535 #define HAVE_SIGINFO_T_SI_FD 1
16536 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16543 #ifdef HAVE_SYS_MTIO_H
16544 #include <sys/mtio.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16551 _ACEOF
16555 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16556 #ifdef HAVE_SYS_MTIO_H
16557 #include <sys/mtio.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16564 _ACEOF
16568 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16569 #ifdef HAVE_SYS_MTIO_H
16570 #include <sys/mtio.h>
16571 #endif
16573 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16577 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16584 #include <getopt.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_OPTION_NAME 1
16591 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16598 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16602 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16607 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_STRUCT_STAT_ST_MTIM 1
16611 _ACEOF
16615 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16616 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16620 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_CTIM 1
16629 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16638 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STAT_ST_ATIM 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16661 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16665 _ACEOF
16669 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16670 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16674 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16679 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16683 _ACEOF
16687 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16688 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16692 _ACEOF
16696 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16697 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16701 _ACEOF
16707 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
16708 #include <sys/types.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IN_H
16711 #include <netinet/in.h>
16712 #endif
16714 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16718 _ACEOF
16724 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16725 #include <sys/types.h>
16726 #endif
16727 #ifdef HAVE_NETINET_IN_H
16728 #include <netinet/in.h>
16729 #endif
16730 #ifdef HAVE_RESOLV_H
16731 #include <resolv.h>
16732 #endif
16734 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT___RES_STATE 1
16738 _ACEOF
16744 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
16745 #include <resolv.h>
16746 #endif
16748 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16752 _ACEOF
16758 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16759 #include <sys/types.h>
16760 #endif
16761 #ifdef HAVE_NETINET_IN_H
16762 # include <netinet/in.h>
16763 #endif
16764 #ifdef HAVE_ARPA_NAMESER_H
16765 # include <arpa/nameser.h>
16766 #endif
16768 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16770 cat >>confdefs.h <<_ACEOF
16771 #define HAVE_NS_MSG__MSG_PTR 1
16772 _ACEOF
16778 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16779 #include <sys/types.h>
16780 #endif
16781 #ifdef HAVE_NETINET_IN_H
16782 #include <netinet/in.h>
16783 #endif
16784 #ifdef HAVE_NETINET_IP_H
16785 #include <netinet/ip.h>
16786 #endif
16787 #ifdef HAVE_NETINET_IP_ICMP_H
16788 #include <netinet/ip_icmp.h>
16789 #endif
16790 #ifdef HAVE_NETINET_ICMP_VAR_H
16791 #include <netinet/icmp_var.h>
16792 #endif
16794 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16798 _ACEOF
16804 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16805 #include <sys/types.h>
16806 #endif
16807 #ifdef HAVE_ALIAS_H
16808 #include <alias.h>
16809 #endif
16810 #ifdef HAVE_SYS_SOCKET_H
16811 #include <sys/socket.h>
16812 #endif
16813 #ifdef HAVE_SYS_SOCKETVAR_H
16814 #include <sys/socketvar.h>
16815 #endif
16816 #ifdef HAVE_SYS_TIMEOUT_H
16817 #include <sys/timeout.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IN_H
16820 #include <netinet/in.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IN_SYSTM_H
16823 #include <netinet/in_systm.h>
16824 #endif
16825 #ifdef HAVE_NETINET_IP_H
16826 #include <netinet/ip.h>
16827 #endif
16828 #ifdef HAVE_NETINET_IP_VAR_H
16829 #include <netinet/ip_var.h>
16830 #endif
16831 #ifdef HAVE_NETINET_IP_ICMP_H
16832 #include <netinet/ip_icmp.h>
16833 #endif
16834 #ifdef HAVE_NETINET_ICMP_VAR_H
16835 #include <netinet/icmp_var.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16842 _ACEOF
16848 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16849 #include <sys/types.h>
16850 #endif
16851 #ifdef HAVE_SYS_SOCKETVAR_H
16852 #include <sys/socketvar.h>
16853 #endif
16854 #ifdef HAVE_NETINET_IN_H
16855 #include <netinet/in.h>
16856 #endif
16857 #ifdef HAVE_NETINET_IP_VAR_H
16858 #include <netinet/ip_var.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16865 _ACEOF
16871 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
16872 #include <netinet/ip_var.h>
16873 #endif
16875 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16879 _ACEOF
16885 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16886 #include <sys/types.h>
16887 #endif
16888 #ifdef HAVE_SYS_SOCKETVAR_H
16889 #include <sys/socketvar.h>
16890 #endif
16891 #ifdef HAVE_NETINET_IN_H
16892 #include <netinet/in.h>
16893 #endif
16894 #ifdef HAVE_NETINET_TCP_H
16895 #include <netinet/tcp.h>
16896 #endif
16897 #ifdef HAVE_NETINET_TCP_VAR_H
16898 #include <netinet/tcp_var.h>
16899 #endif
16901 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16905 _ACEOF
16911 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
16912 #include <netinet/tcp_var.h>
16913 #endif
16915 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16917 cat >>confdefs.h <<_ACEOF
16918 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16919 _ACEOF
16925 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16926 #include <sys/types.h>
16927 #endif
16928 #ifdef HAVE_NETINET_IN_H
16929 #include <netinet/in.h>
16930 #endif
16931 #ifdef HAVE_NETINET_IP_VAR_H
16932 #include <netinet/ip_var.h>
16933 #endif
16934 #ifdef HAVE_NETINET_UDP_H
16935 #include <netinet/udp.h>
16936 #endif
16937 #ifdef HAVE_NETINET_UDP_VAR_H
16938 #include <netinet/udp_var.h>
16939 #endif
16941 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16945 _ACEOF
16951 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16952 #include <sys/types.h>
16953 #endif
16954 #ifdef HAVE_NET_IF_H
16955 # include <net/if.h>
16956 #endif
16958 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16962 _ACEOF
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16969 $as_echo_n "checking for timezone variable... " >&6; }
16970 if ${ac_cv_have_timezone+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <time.h>
16977 main ()
16979 timezone = 1
16981 return 0;
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_have_timezone="yes"
16986 else
16987 ac_cv_have_timezone="no"
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16993 $as_echo "$ac_cv_have_timezone" >&6; }
16994 if test "$ac_cv_have_timezone" = "yes"
16995 then
16997 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17001 $as_echo_n "checking for daylight variable... " >&6; }
17002 if ${ac_cv_have_daylight+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 #include <time.h>
17009 main ()
17011 daylight = 1
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_have_daylight="yes"
17018 else
17019 ac_cv_have_daylight="no"
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17025 $as_echo "$ac_cv_have_daylight" >&6; }
17026 if test "$ac_cv_have_daylight" = "yes"
17027 then
17029 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17033 ac_save_LIBS="$LIBS"
17034 LIBS="$LIBS -lm"
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17036 $as_echo_n "checking for isfinite... " >&6; }
17037 if ${ac_cv_have_isfinite+:} false; then :
17038 $as_echo_n "(cached) " >&6
17039 else
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #define _GNU_SOURCE
17043 #include <math.h>
17045 main ()
17047 float f = 0.0; return isfinite(f)
17049 return 0;
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"; then :
17053 ac_cv_have_isfinite="yes"
17054 else
17055 ac_cv_have_isfinite="no"
17057 rm -f core conftest.err conftest.$ac_objext \
17058 conftest$ac_exeext conftest.$ac_ext
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17061 $as_echo "$ac_cv_have_isfinite" >&6; }
17062 if test "$ac_cv_have_isfinite" = "yes"
17063 then
17065 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17070 $as_echo_n "checking for isinf... " >&6; }
17071 if ${ac_cv_have_isinf+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <math.h>
17078 main ()
17080 float f = 0.0; return isinf(f)
17082 return 0;
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_have_isinf="yes"
17087 else
17088 ac_cv_have_isinf="no"
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17094 $as_echo "$ac_cv_have_isinf" >&6; }
17095 if test "$ac_cv_have_isinf" = "yes"
17096 then
17098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17103 $as_echo_n "checking for isnan... " >&6; }
17104 if ${ac_cv_have_isnan+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 #include <math.h>
17111 main ()
17113 float f = 0.0; return isnan(f)
17115 return 0;
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_have_isnan="yes"
17120 else
17121 ac_cv_have_isnan="no"
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17127 $as_echo "$ac_cv_have_isnan" >&6; }
17128 if test "$ac_cv_have_isnan" = "yes"
17129 then
17131 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17135 for ac_func in \
17136 asinh \
17137 asinhf \
17138 cbrt \
17139 cbrtf \
17140 erf \
17141 erff \
17142 exp2 \
17143 exp2f \
17144 lgamma \
17145 lgammaf \
17146 llrint \
17147 llrintf \
17148 llround \
17149 llroundf \
17150 log2 \
17151 log2f \
17152 lrint \
17153 lrintf \
17154 lround \
17155 lroundf \
17156 nearbyint \
17157 nearbyintf \
17158 powl \
17159 remainder \
17160 remainderf \
17161 rint \
17162 rintf \
17163 round \
17164 roundf \
17165 trunc \
17166 truncf
17168 do :
17169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17171 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17172 cat >>confdefs.h <<_ACEOF
17173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17174 _ACEOF
17177 done
17179 LIBS="$ac_save_LIBS"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17182 $as_echo_n "checking for __builtin_clz... " >&6; }
17183 if ${ac_cv_have___builtin_clz+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17190 main ()
17192 return __builtin_clz(1)
17194 return 0;
17196 _ACEOF
17197 if ac_fn_c_try_link "$LINENO"; then :
17198 ac_cv_have___builtin_clz="yes"
17199 else
17200 ac_cv_have___builtin_clz="no"
17202 rm -f core conftest.err conftest.$ac_objext \
17203 conftest$ac_exeext conftest.$ac_ext
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17206 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17207 if test "$ac_cv_have___builtin_clz" = "yes"
17208 then
17210 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17215 $as_echo_n "checking for __builtin_popcount... " >&6; }
17216 if ${ac_cv_have___builtin_popcount+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17223 main ()
17225 return __builtin_popcount(1)
17227 return 0;
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_have___builtin_popcount="yes"
17232 else
17233 ac_cv_have___builtin_popcount="no"
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17239 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17240 if test "$ac_cv_have___builtin_popcount" = "yes"
17241 then
17243 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17248 case $host_cpu in
17249 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17250 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17251 if ${ac_cv_cpp_def___i386__+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 #ifndef __i386__
17258 #endif
17259 _ACEOF
17260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17261 $EGREP "yes" >/dev/null 2>&1; then :
17262 ac_cv_cpp_def___i386__=yes
17263 else
17264 ac_cv_cpp_def___i386__=no
17266 rm -f conftest*
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17270 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17271 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17272 CFLAGS="$CFLAGS -D__i386__"
17273 LINTFLAGS="$LINTFLAGS -D__i386__"
17274 fi ;;
17275 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17276 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17277 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #ifndef __x86_64__
17284 #endif
17285 _ACEOF
17286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17287 $EGREP "yes" >/dev/null 2>&1; then :
17288 ac_cv_cpp_def___x86_64__=yes
17289 else
17290 ac_cv_cpp_def___x86_64__=no
17292 rm -f conftest*
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17296 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17297 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17298 CFLAGS="$CFLAGS -D__x86_64__"
17299 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17300 fi ;;
17301 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17302 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17303 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #ifndef __sparc64__
17310 #endif
17311 _ACEOF
17312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17313 $EGREP "yes" >/dev/null 2>&1; then :
17314 ac_cv_cpp_def___sparc64__=yes
17315 else
17316 ac_cv_cpp_def___sparc64__=no
17318 rm -f conftest*
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17322 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17323 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17324 CFLAGS="$CFLAGS -D__sparc64__"
17325 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17326 fi ;;
17327 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17328 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17329 if ${ac_cv_cpp_def___sparc__+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 #ifndef __sparc__
17336 #endif
17337 _ACEOF
17338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17339 $EGREP "yes" >/dev/null 2>&1; then :
17340 ac_cv_cpp_def___sparc__=yes
17341 else
17342 ac_cv_cpp_def___sparc__=no
17344 rm -f conftest*
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17348 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17349 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17350 CFLAGS="$CFLAGS -D__sparc__"
17351 LINTFLAGS="$LINTFLAGS -D__sparc__"
17352 fi ;;
17353 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17354 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17355 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #ifndef __powerpc64__
17362 #endif
17363 _ACEOF
17364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17365 $EGREP "yes" >/dev/null 2>&1; then :
17366 ac_cv_cpp_def___powerpc64__=yes
17367 else
17368 ac_cv_cpp_def___powerpc64__=no
17370 rm -f conftest*
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17374 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17375 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17376 CFLAGS="$CFLAGS -D__powerpc64__"
17377 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17378 fi ;;
17379 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17380 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17381 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #ifndef __powerpc__
17388 #endif
17389 _ACEOF
17390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17391 $EGREP "yes" >/dev/null 2>&1; then :
17392 ac_cv_cpp_def___powerpc__=yes
17393 else
17394 ac_cv_cpp_def___powerpc__=no
17396 rm -f conftest*
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17400 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17401 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17402 CFLAGS="$CFLAGS -D__powerpc__"
17403 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17404 fi ;;
17405 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17406 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17407 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17408 $as_echo_n "(cached) " >&6
17409 else
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #ifndef __aarch64__
17414 #endif
17415 _ACEOF
17416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17417 $EGREP "yes" >/dev/null 2>&1; then :
17418 ac_cv_cpp_def___aarch64__=yes
17419 else
17420 ac_cv_cpp_def___aarch64__=no
17422 rm -f conftest*
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17426 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17427 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17428 CFLAGS="$CFLAGS -D__aarch64__"
17429 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17430 fi ;;
17431 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17432 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17433 if ${ac_cv_cpp_def___arm__+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #ifndef __arm__
17440 #endif
17441 _ACEOF
17442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17443 $EGREP "yes" >/dev/null 2>&1; then :
17444 ac_cv_cpp_def___arm__=yes
17445 else
17446 ac_cv_cpp_def___arm__=no
17448 rm -f conftest*
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17452 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17453 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17454 CFLAGS="$CFLAGS -D__arm__"
17455 LINTFLAGS="$LINTFLAGS -D__arm__"
17456 fi ;;
17457 esac
17459 case $host_vendor in
17460 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17461 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17462 if ${ac_cv_cpp_def___sun__+:} false; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 #ifndef __sun__
17469 #endif
17470 _ACEOF
17471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17472 $EGREP "yes" >/dev/null 2>&1; then :
17473 ac_cv_cpp_def___sun__=yes
17474 else
17475 ac_cv_cpp_def___sun__=no
17477 rm -f conftest*
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17481 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17482 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17483 CFLAGS="$CFLAGS -D__sun__"
17484 LINTFLAGS="$LINTFLAGS -D__sun__"
17485 fi ;;
17486 esac
17492 ac_config_commands="$ac_config_commands include/stamp-h"
17494 $as_echo_n "creating Makefile rules..." >&6
17496 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17497 SOCKET_LIBS = $SOCKET_LIBS
17498 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17499 IOKIT_LIBS = $IOKIT_LIBS
17500 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17501 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17502 CORESERVICES_LIBS = $CORESERVICES_LIBS
17503 APPKIT_LIBS = $APPKIT_LIBS
17504 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17505 SECURITY_LIBS = $SECURITY_LIBS
17506 COREAUDIO_LIBS = $COREAUDIO_LIBS
17507 OPENAL_LIBS = $OPENAL_LIBS
17508 OPENCL_LIBS = $OPENCL_LIBS
17509 QUICKTIME_LIBS = $QUICKTIME_LIBS
17510 CARBON_LIBS = $CARBON_LIBS
17511 PTHREAD_LIBS = $PTHREAD_LIBS
17512 X_CFLAGS = $X_CFLAGS
17513 X_PRE_LIBS = $X_PRE_LIBS
17514 X_LIBS = $X_LIBS
17515 X_EXTRA_LIBS = $X_EXTRA_LIBS
17516 PCAP_LIBS = $PCAP_LIBS
17517 XML2_CFLAGS = $XML2_CFLAGS
17518 XML2_LIBS = $XML2_LIBS
17519 XSLT_CFLAGS = $XSLT_CFLAGS
17520 XSLT_LIBS = $XSLT_LIBS
17521 DBUS_CFLAGS = $DBUS_CFLAGS
17522 DBUS_LIBS = $DBUS_LIBS
17523 HAL_CFLAGS = $HAL_CFLAGS
17524 HAL_LIBS = $HAL_LIBS
17525 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17526 GNUTLS_LIBS = $GNUTLS_LIBS
17527 SANE_CFLAGS = $SANE_CFLAGS
17528 SANE_LIBS = $SANE_LIBS
17529 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17530 GPHOTO2_LIBS = $GPHOTO2_LIBS
17531 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17532 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17533 RESOLV_LIBS = $RESOLV_LIBS
17534 LCMS2_CFLAGS = $LCMS2_CFLAGS
17535 LCMS2_LIBS = $LCMS2_LIBS
17536 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17537 FREETYPE_LIBS = $FREETYPE_LIBS
17538 Z_LIBS = $Z_LIBS
17539 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17540 PULSE_CFLAGS = $PULSE_CFLAGS
17541 PULSE_LIBS = $PULSE_LIBS
17542 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17543 GSTREAMER_LIBS = $GSTREAMER_LIBS
17544 ALSA_LIBS = $ALSA_LIBS
17545 OSS4_CFLAGS = $OSS4_CFLAGS
17546 UDEV_CFLAGS = $UDEV_CFLAGS
17547 UDEV_LIBS = $UDEV_LIBS
17548 CAPI20_CFLAGS = $CAPI20_CFLAGS
17549 CAPI20_LIBS = $CAPI20_LIBS
17550 CUPS_CFLAGS = $CUPS_CFLAGS
17551 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17552 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17553 JPEG_CFLAGS = $JPEG_CFLAGS
17554 JPEG_LIBS = $JPEG_LIBS
17555 PNG_CFLAGS = $PNG_CFLAGS
17556 PNG_LIBS = $PNG_LIBS
17557 TIFF_CFLAGS = $TIFF_CFLAGS
17558 TIFF_LIBS = $TIFF_LIBS
17559 MPG123_CFLAGS = $MPG123_CFLAGS
17560 MPG123_LIBS = $MPG123_LIBS
17561 KSTAT_LIBS = $KSTAT_LIBS
17562 PROCSTAT_LIBS = $PROCSTAT_LIBS
17563 NETAPI_CFLAGS = $NETAPI_CFLAGS
17564 NETAPI_LIBS = $NETAPI_LIBS
17565 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17566 DL_LIBS = $DL_LIBS
17567 POLL_LIBS = $POLL_LIBS
17568 RT_LIBS = $RT_LIBS
17569 LDAP_LIBS = $LDAP_LIBS
17574 wine_fn_append_rule "
17575 # Rules automatically generated by configure
17577 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17579 .INIT: Makefile
17580 .MAKEFILEDEPS:
17581 all: Makefile
17582 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17583 @./config.status Make.tmp Makefile
17584 depend: \$(MAKEDEP) dummy
17585 \$(MAKEDEP)"
17587 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17588 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17590 if test "x$enable_fonts" != xno; then
17591 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17592 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17593 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17594 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17595 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17596 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17598 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17599 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17600 ac_config_links="$ac_config_links wine:tools/winewrapper"
17601 wine_fn_config_symlink wine
17602 if test "x$enable_win64" != xno; then
17603 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17604 wine_fn_config_symlink wine64
17607 wine_fn_config_dll acledit enable_acledit
17608 wine_fn_config_dll aclui enable_aclui implib
17609 wine_fn_config_dll activeds enable_activeds implib
17610 wine_fn_config_dll actxprxy enable_actxprxy clean
17611 wine_fn_config_lib adsiid
17612 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17613 wine_fn_config_test dlls/advapi32/tests advapi32_test
17614 wine_fn_config_dll advpack enable_advpack implib
17615 wine_fn_config_test dlls/advpack/tests advpack_test
17616 wine_fn_config_dll amstream enable_amstream clean
17617 wine_fn_config_test dlls/amstream/tests amstream_test
17618 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17619 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17630 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17636 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17639 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17641 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17644 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17645 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17646 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17652 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17654 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17656 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17658 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17659 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17663 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17666 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17667 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17669 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17674 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17677 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17681 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17683 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17685 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17686 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17693 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17696 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17701 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17705 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17707 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17708 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17710 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17722 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17723 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17730 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17732 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17733 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17734 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17735 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17736 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17737 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17738 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17739 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17740 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17741 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17742 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17743 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17744 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17745 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17746 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17747 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17748 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17749 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17750 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17751 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17752 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17753 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17754 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17755 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17756 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17757 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17758 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17759 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17760 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17761 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17762 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17763 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17764 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17765 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17766 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17767 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17768 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17769 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17770 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17771 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17772 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17773 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17774 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17775 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17776 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17777 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17778 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17779 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17780 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17781 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17782 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17783 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17784 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17785 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17786 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17787 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17788 wine_fn_config_dll apphelp enable_apphelp
17789 wine_fn_config_test dlls/apphelp/tests apphelp_test
17790 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17791 wine_fn_config_dll atl enable_atl clean,implib
17792 wine_fn_config_test dlls/atl/tests atl_test
17793 wine_fn_config_dll atl100 enable_atl100 clean,implib
17794 wine_fn_config_test dlls/atl100/tests atl100_test
17795 wine_fn_config_dll atl110 enable_atl110 clean
17796 wine_fn_config_dll atl80 enable_atl80 clean,implib
17797 wine_fn_config_test dlls/atl80/tests atl80_test
17798 wine_fn_config_dll atl90 enable_atl90 clean
17799 wine_fn_config_dll authz enable_authz
17800 wine_fn_config_dll avicap32 enable_avicap32 implib
17801 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17802 wine_fn_config_test dlls/avifil32/tests avifil32_test
17803 wine_fn_config_dll avifile.dll16 enable_win16
17804 wine_fn_config_dll avrt enable_avrt implib
17805 wine_fn_config_dll bcrypt enable_bcrypt implib
17806 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17807 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17808 wine_fn_config_dll browseui enable_browseui clean
17809 wine_fn_config_test dlls/browseui/tests browseui_test
17810 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17811 wine_fn_config_dll cabinet enable_cabinet implib
17812 wine_fn_config_test dlls/cabinet/tests cabinet_test
17813 wine_fn_config_dll capi2032 enable_capi2032 implib
17814 wine_fn_config_dll cards enable_cards implib
17815 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17816 wine_fn_config_dll clusapi enable_clusapi implib
17817 wine_fn_config_dll combase enable_combase
17818 wine_fn_config_test dlls/combase/tests combase_test
17819 wine_fn_config_dll comcat enable_comcat
17820 wine_fn_config_test dlls/comcat/tests comcat_test
17821 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17822 wine_fn_config_test dlls/comctl32/tests comctl32_test
17823 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17824 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17825 wine_fn_config_dll comm.drv16 enable_win16
17826 wine_fn_config_dll commdlg.dll16 enable_win16
17827 wine_fn_config_dll compobj.dll16 enable_win16
17828 wine_fn_config_dll compstui enable_compstui implib
17829 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17830 wine_fn_config_dll concrt140 enable_concrt140
17831 wine_fn_config_dll connect enable_connect
17832 wine_fn_config_dll credui enable_credui clean,implib
17833 wine_fn_config_test dlls/credui/tests credui_test
17834 wine_fn_config_dll crtdll enable_crtdll
17835 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17836 wine_fn_config_test dlls/crypt32/tests crypt32_test
17837 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17838 wine_fn_config_dll cryptdll enable_cryptdll implib
17839 wine_fn_config_dll cryptext enable_cryptext
17840 wine_fn_config_dll cryptnet enable_cryptnet implib
17841 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17842 wine_fn_config_dll cryptui enable_cryptui clean,implib
17843 wine_fn_config_test dlls/cryptui/tests cryptui_test
17844 wine_fn_config_dll ctapi32 enable_ctapi32
17845 wine_fn_config_dll ctl3d.dll16 enable_win16
17846 wine_fn_config_dll ctl3d32 enable_ctl3d32
17847 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17848 wine_fn_config_dll d2d1 enable_d2d1 implib
17849 wine_fn_config_test dlls/d2d1/tests d2d1_test
17850 wine_fn_config_dll d3d10 enable_d3d10 implib
17851 wine_fn_config_test dlls/d3d10/tests d3d10_test
17852 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17853 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17854 wine_fn_config_dll d3d10core enable_d3d10core implib
17855 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17856 wine_fn_config_dll d3d11 enable_d3d11 implib
17857 wine_fn_config_test dlls/d3d11/tests d3d11_test
17858 wine_fn_config_dll d3d8 enable_d3d8 implib
17859 wine_fn_config_test dlls/d3d8/tests d3d8_test
17860 wine_fn_config_dll d3d9 enable_d3d9 implib
17861 wine_fn_config_test dlls/d3d9/tests d3d9_test
17862 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17863 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17864 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17865 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17866 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17867 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17868 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17869 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17870 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17871 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17872 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17873 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17874 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17875 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17876 wine_fn_config_dll d3dim enable_d3dim
17877 wine_fn_config_dll d3drm enable_d3drm implib
17878 wine_fn_config_test dlls/d3drm/tests d3drm_test
17879 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17880 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17881 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17882 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17883 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17884 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17885 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17886 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17887 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17888 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17889 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17890 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17891 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17892 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17893 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17894 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17895 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17896 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17897 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17898 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17899 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17900 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17901 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17902 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17903 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17904 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17905 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17906 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17907 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17908 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17909 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17910 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17911 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17912 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17913 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17914 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17915 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17916 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17917 wine_fn_config_dll davclnt enable_davclnt
17918 wine_fn_config_dll dbgeng enable_dbgeng implib
17919 wine_fn_config_dll dbghelp enable_dbghelp implib
17920 wine_fn_config_dll dciman32 enable_dciman32 implib
17921 wine_fn_config_dll ddeml.dll16 enable_win16
17922 wine_fn_config_dll ddraw enable_ddraw clean,implib
17923 wine_fn_config_test dlls/ddraw/tests ddraw_test
17924 wine_fn_config_dll ddrawex enable_ddrawex clean
17925 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17926 wine_fn_config_dll devenum enable_devenum clean
17927 wine_fn_config_test dlls/devenum/tests devenum_test
17928 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17929 wine_fn_config_dll difxapi enable_difxapi
17930 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17931 wine_fn_config_test dlls/dinput/tests dinput_test
17932 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17933 wine_fn_config_test dlls/dinput8/tests dinput8_test
17934 wine_fn_config_dll dispdib.dll16 enable_win16
17935 wine_fn_config_dll dispex enable_dispex clean
17936 wine_fn_config_test dlls/dispex/tests dispex_test
17937 wine_fn_config_dll display.drv16 enable_win16
17938 wine_fn_config_dll dmband enable_dmband clean
17939 wine_fn_config_test dlls/dmband/tests dmband_test
17940 wine_fn_config_dll dmcompos enable_dmcompos clean
17941 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17942 wine_fn_config_dll dmime enable_dmime clean
17943 wine_fn_config_test dlls/dmime/tests dmime_test
17944 wine_fn_config_dll dmloader enable_dmloader clean
17945 wine_fn_config_test dlls/dmloader/tests dmloader_test
17946 wine_fn_config_dll dmscript enable_dmscript clean
17947 wine_fn_config_test dlls/dmscript/tests dmscript_test
17948 wine_fn_config_dll dmstyle enable_dmstyle clean
17949 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17950 wine_fn_config_dll dmsynth enable_dmsynth clean
17951 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17952 wine_fn_config_dll dmusic enable_dmusic clean
17953 wine_fn_config_test dlls/dmusic/tests dmusic_test
17954 wine_fn_config_dll dmusic32 enable_dmusic32
17955 wine_fn_config_dll dnsapi enable_dnsapi implib
17956 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17957 wine_fn_config_dll dplay enable_dplay
17958 wine_fn_config_dll dplayx enable_dplayx clean,implib
17959 wine_fn_config_test dlls/dplayx/tests dplayx_test
17960 wine_fn_config_dll dpnaddr enable_dpnaddr
17961 wine_fn_config_dll dpnet enable_dpnet clean,implib
17962 wine_fn_config_test dlls/dpnet/tests dpnet_test
17963 wine_fn_config_dll dpnhpast enable_dpnhpast
17964 wine_fn_config_dll dpnlobby enable_dpnlobby
17965 wine_fn_config_dll dpvoice enable_dpvoice clean
17966 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17967 wine_fn_config_dll dpwsockx enable_dpwsockx
17968 wine_fn_config_dll drmclien enable_drmclien
17969 wine_fn_config_dll dsound enable_dsound clean,implib
17970 wine_fn_config_test dlls/dsound/tests dsound_test
17971 wine_fn_config_dll dssenh enable_dssenh
17972 wine_fn_config_test dlls/dssenh/tests dssenh_test
17973 wine_fn_config_dll dswave enable_dswave clean
17974 wine_fn_config_test dlls/dswave/tests dswave_test
17975 wine_fn_config_dll dwmapi enable_dwmapi implib
17976 wine_fn_config_dll dwrite enable_dwrite implib
17977 wine_fn_config_test dlls/dwrite/tests dwrite_test
17978 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17979 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17980 wine_fn_config_lib dxerr8
17981 wine_fn_config_lib dxerr9
17982 wine_fn_config_dll dxgi enable_dxgi implib
17983 wine_fn_config_test dlls/dxgi/tests dxgi_test
17984 wine_fn_config_lib dxguid
17985 wine_fn_config_dll dxva2 enable_dxva2
17986 wine_fn_config_dll esent enable_esent
17987 wine_fn_config_dll evr enable_evr
17988 wine_fn_config_dll explorerframe enable_explorerframe clean
17989 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17990 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17991 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17992 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17993 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17994 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17995 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17996 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17997 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17998 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17999 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18000 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18001 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18002 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18003 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18004 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
18005 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18006 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18007 wine_fn_config_dll faultrep enable_faultrep implib
18008 wine_fn_config_test dlls/faultrep/tests faultrep_test
18009 wine_fn_config_dll fltlib enable_fltlib
18010 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18011 wine_fn_config_dll fntcache enable_fntcache
18012 wine_fn_config_dll fontsub enable_fontsub
18013 wine_fn_config_dll fusion enable_fusion
18014 wine_fn_config_test dlls/fusion/tests fusion_test
18015 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18016 wine_fn_config_dll gameux enable_gameux clean
18017 wine_fn_config_test dlls/gameux/tests gameux_test
18018 wine_fn_config_dll gdi.exe16 enable_win16
18019 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18020 wine_fn_config_test dlls/gdi32/tests gdi32_test
18021 wine_fn_config_dll gdiplus enable_gdiplus implib
18022 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18023 wine_fn_config_dll glu32 enable_glu32 implib
18024 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18025 wine_fn_config_dll gpkcsp enable_gpkcsp
18026 wine_fn_config_dll hal enable_hal
18027 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18028 wine_fn_config_dll hid enable_hid implib
18029 wine_fn_config_test dlls/hid/tests hid_test
18030 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18031 wine_fn_config_dll hlink enable_hlink clean,implib
18032 wine_fn_config_test dlls/hlink/tests hlink_test
18033 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18034 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18035 wine_fn_config_dll httpapi enable_httpapi
18036 wine_fn_config_dll iccvid enable_iccvid clean
18037 wine_fn_config_dll icmp enable_icmp
18038 wine_fn_config_dll ieframe enable_ieframe clean,implib
18039 wine_fn_config_test dlls/ieframe/tests ieframe_test
18040 wine_fn_config_dll ifsmgr.vxd enable_win16
18041 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18042 wine_fn_config_dll imagehlp enable_imagehlp implib
18043 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18044 wine_fn_config_dll imm.dll16 enable_win16
18045 wine_fn_config_dll imm32 enable_imm32 implib
18046 wine_fn_config_test dlls/imm32/tests imm32_test
18047 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18048 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18049 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18050 wine_fn_config_dll inetmib1 enable_inetmib1
18051 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18052 wine_fn_config_dll infosoft enable_infosoft clean
18053 wine_fn_config_test dlls/infosoft/tests infosoft_test
18054 wine_fn_config_dll initpki enable_initpki
18055 wine_fn_config_dll inkobj enable_inkobj
18056 wine_fn_config_dll inseng enable_inseng clean
18057 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18058 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18059 wine_fn_config_dll iprop enable_iprop
18060 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18061 wine_fn_config_dll itircl enable_itircl
18062 wine_fn_config_dll itss enable_itss clean
18063 wine_fn_config_test dlls/itss/tests itss_test
18064 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18065 wine_fn_config_dll jscript enable_jscript clean
18066 wine_fn_config_test dlls/jscript/tests jscript_test
18067 wine_fn_config_dll jsproxy enable_jsproxy implib
18068 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18069 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18070 wine_fn_config_test dlls/kernel32/tests kernel32_test
18071 wine_fn_config_dll kernelbase enable_kernelbase
18072 wine_fn_config_dll keyboard.drv16 enable_win16
18073 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18074 wine_fn_config_dll ksuser enable_ksuser
18075 wine_fn_config_dll ktmw32 enable_ktmw32
18076 wine_fn_config_dll loadperf enable_loadperf implib
18077 wine_fn_config_dll localspl enable_localspl clean
18078 wine_fn_config_test dlls/localspl/tests localspl_test
18079 wine_fn_config_dll localui enable_localui clean
18080 wine_fn_config_test dlls/localui/tests localui_test
18081 wine_fn_config_dll lz32 enable_lz32 implib
18082 wine_fn_config_test dlls/lz32/tests lz32_test
18083 wine_fn_config_dll lzexpand.dll16 enable_win16
18084 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18085 wine_fn_config_test dlls/mapi32/tests mapi32_test
18086 wine_fn_config_dll mapistub enable_mapistub
18087 wine_fn_config_dll mciavi32 enable_mciavi32
18088 wine_fn_config_dll mcicda enable_mcicda
18089 wine_fn_config_dll mciqtz32 enable_mciqtz32
18090 wine_fn_config_dll mciseq enable_mciseq
18091 wine_fn_config_dll mciwave enable_mciwave
18092 wine_fn_config_dll mf enable_mf
18093 wine_fn_config_dll mf3216 enable_mf3216
18094 wine_fn_config_dll mfplat enable_mfplat
18095 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18096 wine_fn_config_dll mgmtapi enable_mgmtapi
18097 wine_fn_config_dll midimap enable_midimap
18098 wine_fn_config_dll mlang enable_mlang clean,implib
18099 wine_fn_config_test dlls/mlang/tests mlang_test
18100 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18101 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18102 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18103 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18104 wine_fn_config_dll mmdevldr.vxd enable_win16
18105 wine_fn_config_dll mmsystem.dll16 enable_win16
18106 wine_fn_config_dll monodebg.vxd enable_win16
18107 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18108 wine_fn_config_dll mouse.drv16 enable_win16
18109 wine_fn_config_dll mpr enable_mpr clean,implib
18110 wine_fn_config_test dlls/mpr/tests mpr_test
18111 wine_fn_config_dll mprapi enable_mprapi implib
18112 wine_fn_config_dll msacm.dll16 enable_win16
18113 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18114 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18115 wine_fn_config_test dlls/msacm32/tests msacm32_test
18116 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18117 wine_fn_config_dll msasn1 enable_msasn1 implib
18118 wine_fn_config_dll mscat32 enable_mscat32
18119 wine_fn_config_dll mscms enable_mscms implib
18120 wine_fn_config_test dlls/mscms/tests mscms_test
18121 wine_fn_config_dll mscoree enable_mscoree clean
18122 wine_fn_config_test dlls/mscoree/tests mscoree_test
18123 wine_fn_config_dll msctf enable_msctf clean
18124 wine_fn_config_test dlls/msctf/tests msctf_test
18125 wine_fn_config_dll msctfp enable_msctfp clean
18126 wine_fn_config_dll msdaps enable_msdaps clean
18127 wine_fn_config_dll msdelta enable_msdelta
18128 wine_fn_config_dll msdmo enable_msdmo implib
18129 wine_fn_config_test dlls/msdmo/tests msdmo_test
18130 wine_fn_config_dll msdrm enable_msdrm
18131 wine_fn_config_dll msftedit enable_msftedit
18132 wine_fn_config_dll msg711.acm enable_msg711_acm
18133 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18134 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18135 wine_fn_config_dll mshtml enable_mshtml clean,implib
18136 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18137 wine_fn_config_dll msi enable_msi clean,implib
18138 wine_fn_config_test dlls/msi/tests msi_test
18139 wine_fn_config_dll msident enable_msident clean
18140 wine_fn_config_dll msimg32 enable_msimg32 implib
18141 wine_fn_config_dll msimsg enable_msimsg
18142 wine_fn_config_dll msimtf enable_msimtf clean
18143 wine_fn_config_dll msisip enable_msisip
18144 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18145 wine_fn_config_dll msls31 enable_msls31
18146 wine_fn_config_dll msnet32 enable_msnet32
18147 wine_fn_config_dll mspatcha enable_mspatcha implib
18148 wine_fn_config_dll msports enable_msports
18149 wine_fn_config_dll msrle32 enable_msrle32 clean
18150 wine_fn_config_test dlls/msrle32/tests msrle32_test
18151 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18152 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18153 wine_fn_config_dll mssign32 enable_mssign32
18154 wine_fn_config_dll mssip32 enable_mssip32
18155 wine_fn_config_dll mstask enable_mstask clean
18156 wine_fn_config_test dlls/mstask/tests mstask_test
18157 wine_fn_config_dll msvcirt enable_msvcirt
18158 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18159 wine_fn_config_dll msvcm80 enable_msvcm80
18160 wine_fn_config_dll msvcm90 enable_msvcm90
18161 wine_fn_config_dll msvcp100 enable_msvcp100
18162 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18163 wine_fn_config_dll msvcp110 enable_msvcp110
18164 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18165 wine_fn_config_dll msvcp120 enable_msvcp120
18166 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18167 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18168 wine_fn_config_dll msvcp140 enable_msvcp140
18169 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18170 wine_fn_config_dll msvcp60 enable_msvcp60
18171 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18172 wine_fn_config_dll msvcp70 enable_msvcp70
18173 wine_fn_config_dll msvcp71 enable_msvcp71
18174 wine_fn_config_dll msvcp80 enable_msvcp80
18175 wine_fn_config_dll msvcp90 enable_msvcp90
18176 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18177 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18178 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18179 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18180 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18181 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18182 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18183 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18184 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18185 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18186 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18187 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18188 wine_fn_config_dll msvcrt enable_msvcrt implib
18189 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18190 wine_fn_config_dll msvcrt20 enable_msvcrt20
18191 wine_fn_config_dll msvcrt40 enable_msvcrt40
18192 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18193 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18194 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18195 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18196 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18197 wine_fn_config_dll msvideo.dll16 enable_win16
18198 wine_fn_config_dll mswsock enable_mswsock implib
18199 wine_fn_config_dll msxml enable_msxml clean
18200 wine_fn_config_dll msxml2 enable_msxml2 clean
18201 wine_fn_config_dll msxml3 enable_msxml3 clean
18202 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18203 wine_fn_config_dll msxml4 enable_msxml4 clean
18204 wine_fn_config_dll msxml6 enable_msxml6 clean
18205 wine_fn_config_dll ncrypt enable_ncrypt
18206 wine_fn_config_dll nddeapi enable_nddeapi implib
18207 wine_fn_config_dll ndis.sys enable_ndis_sys
18208 wine_fn_config_dll netapi32 enable_netapi32 implib
18209 wine_fn_config_test dlls/netapi32/tests netapi32_test
18210 wine_fn_config_dll netcfgx enable_netcfgx clean
18211 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18212 wine_fn_config_dll netprofm enable_netprofm clean
18213 wine_fn_config_test dlls/netprofm/tests netprofm_test
18214 wine_fn_config_dll newdev enable_newdev implib
18215 wine_fn_config_dll normaliz enable_normaliz implib
18216 wine_fn_config_dll npmshtml enable_npmshtml
18217 wine_fn_config_dll npptools enable_npptools
18218 wine_fn_config_dll ntdll enable_ntdll implib
18219 wine_fn_config_test dlls/ntdll/tests ntdll_test
18220 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18221 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18222 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18223 wine_fn_config_dll ntprint enable_ntprint
18224 wine_fn_config_test dlls/ntprint/tests ntprint_test
18225 wine_fn_config_dll objsel enable_objsel clean
18226 wine_fn_config_dll odbc32 enable_odbc32 implib
18227 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18228 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18229 wine_fn_config_dll odbccu32 enable_odbccu32
18230 wine_fn_config_dll ole2.dll16 enable_win16
18231 wine_fn_config_dll ole2conv.dll16 enable_win16
18232 wine_fn_config_dll ole2disp.dll16 enable_win16
18233 wine_fn_config_dll ole2nls.dll16 enable_win16
18234 wine_fn_config_dll ole2prox.dll16 enable_win16
18235 wine_fn_config_dll ole2thk.dll16 enable_win16
18236 wine_fn_config_dll ole32 enable_ole32 clean,implib
18237 wine_fn_config_test dlls/ole32/tests ole32_test
18238 wine_fn_config_dll oleacc enable_oleacc clean,implib
18239 wine_fn_config_test dlls/oleacc/tests oleacc_test
18240 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18241 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18242 wine_fn_config_dll olecli.dll16 enable_win16
18243 wine_fn_config_dll olecli32 enable_olecli32 implib
18244 wine_fn_config_dll oledb32 enable_oledb32 clean
18245 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18246 wine_fn_config_dll oledlg enable_oledlg clean,implib
18247 wine_fn_config_test dlls/oledlg/tests oledlg_test
18248 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18249 wine_fn_config_dll olesvr.dll16 enable_win16
18250 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18251 wine_fn_config_dll olethk32 enable_olethk32
18252 wine_fn_config_dll openal32 enable_openal32
18253 wine_fn_config_dll opencl enable_opencl
18254 wine_fn_config_dll opengl32 enable_opengl32 implib
18255 wine_fn_config_test dlls/opengl32/tests opengl32_test
18256 wine_fn_config_dll packager enable_packager clean
18257 wine_fn_config_test dlls/packager/tests packager_test
18258 wine_fn_config_dll pdh enable_pdh implib
18259 wine_fn_config_test dlls/pdh/tests pdh_test
18260 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18261 wine_fn_config_dll pidgen enable_pidgen
18262 wine_fn_config_dll powrprof enable_powrprof implib
18263 wine_fn_config_dll printui enable_printui
18264 wine_fn_config_dll prntvpt enable_prntvpt
18265 wine_fn_config_dll propsys enable_propsys clean,implib
18266 wine_fn_config_test dlls/propsys/tests propsys_test
18267 wine_fn_config_dll psapi enable_psapi implib
18268 wine_fn_config_test dlls/psapi/tests psapi_test
18269 wine_fn_config_dll pstorec enable_pstorec clean
18270 wine_fn_config_test dlls/pstorec/tests pstorec_test
18271 wine_fn_config_dll qcap enable_qcap
18272 wine_fn_config_test dlls/qcap/tests qcap_test
18273 wine_fn_config_dll qedit enable_qedit clean
18274 wine_fn_config_test dlls/qedit/tests qedit_test
18275 wine_fn_config_dll qmgr enable_qmgr clean
18276 wine_fn_config_test dlls/qmgr/tests qmgr_test
18277 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18278 wine_fn_config_dll quartz enable_quartz clean,implib
18279 wine_fn_config_test dlls/quartz/tests quartz_test clean
18280 wine_fn_config_dll query enable_query
18281 wine_fn_config_dll rasapi16.dll16 enable_win16
18282 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18283 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18284 wine_fn_config_dll rasdlg enable_rasdlg implib
18285 wine_fn_config_dll regapi enable_regapi
18286 wine_fn_config_dll resutils enable_resutils implib
18287 wine_fn_config_dll riched20 enable_riched20 clean,implib
18288 wine_fn_config_test dlls/riched20/tests riched20_test
18289 wine_fn_config_dll riched32 enable_riched32
18290 wine_fn_config_test dlls/riched32/tests riched32_test
18291 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18292 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18293 wine_fn_config_dll rsabase enable_rsabase
18294 wine_fn_config_dll rsaenh enable_rsaenh implib
18295 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18296 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18297 wine_fn_config_dll rtutils enable_rtutils implib
18298 wine_fn_config_dll samlib enable_samlib
18299 wine_fn_config_dll sane.ds enable_sane_ds clean
18300 wine_fn_config_dll scarddlg enable_scarddlg
18301 wine_fn_config_dll sccbase enable_sccbase
18302 wine_fn_config_dll schannel enable_schannel
18303 wine_fn_config_test dlls/schannel/tests schannel_test
18304 wine_fn_config_dll schedsvc enable_schedsvc clean
18305 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18306 wine_fn_config_dll scrobj enable_scrobj clean
18307 wine_fn_config_dll scrrun enable_scrrun clean
18308 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18309 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18310 wine_fn_config_dll secur32 enable_secur32 implib
18311 wine_fn_config_test dlls/secur32/tests secur32_test
18312 wine_fn_config_dll security enable_security
18313 wine_fn_config_dll sensapi enable_sensapi implib
18314 wine_fn_config_dll serialui enable_serialui clean
18315 wine_fn_config_test dlls/serialui/tests serialui_test
18316 wine_fn_config_dll setupapi enable_setupapi clean,implib
18317 wine_fn_config_test dlls/setupapi/tests setupapi_test
18318 wine_fn_config_dll setupx.dll16 enable_win16
18319 wine_fn_config_dll sfc enable_sfc implib
18320 wine_fn_config_dll sfc_os enable_sfc_os implib
18321 wine_fn_config_dll shdoclc enable_shdoclc clean
18322 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18323 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18324 wine_fn_config_dll shell.dll16 enable_win16
18325 wine_fn_config_dll shell32 enable_shell32 clean,implib
18326 wine_fn_config_test dlls/shell32/tests shell32_test
18327 wine_fn_config_dll shfolder enable_shfolder implib
18328 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18329 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18330 wine_fn_config_dll slbcsp enable_slbcsp
18331 wine_fn_config_dll slc enable_slc implib
18332 wine_fn_config_test dlls/slc/tests slc_test
18333 wine_fn_config_dll snmpapi enable_snmpapi implib
18334 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18335 wine_fn_config_dll softpub enable_softpub
18336 wine_fn_config_dll sound.drv16 enable_win16
18337 wine_fn_config_dll spoolss enable_spoolss implib
18338 wine_fn_config_test dlls/spoolss/tests spoolss_test
18339 wine_fn_config_dll sspicli enable_sspicli
18340 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18341 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18342 wine_fn_config_dll sti enable_sti clean,implib
18343 wine_fn_config_test dlls/sti/tests sti_test
18344 wine_fn_config_dll storage.dll16 enable_win16
18345 wine_fn_config_dll stress.dll16 enable_win16
18346 wine_fn_config_lib strmbase
18347 wine_fn_config_lib strmiids
18348 wine_fn_config_dll svrapi enable_svrapi
18349 wine_fn_config_dll sxs enable_sxs implib
18350 wine_fn_config_test dlls/sxs/tests sxs_test
18351 wine_fn_config_dll system.drv16 enable_win16
18352 wine_fn_config_dll t2embed enable_t2embed implib
18353 wine_fn_config_test dlls/t2embed/tests t2embed_test
18354 wine_fn_config_dll tapi32 enable_tapi32 implib
18355 wine_fn_config_dll taskschd enable_taskschd clean
18356 wine_fn_config_test dlls/taskschd/tests taskschd_test
18357 wine_fn_config_dll tdi.sys enable_tdi_sys
18358 wine_fn_config_dll toolhelp.dll16 enable_win16
18359 wine_fn_config_dll traffic enable_traffic
18360 wine_fn_config_dll twain.dll16 enable_win16
18361 wine_fn_config_dll twain_32 enable_twain_32
18362 wine_fn_config_test dlls/twain_32/tests twain_32_test
18363 wine_fn_config_dll typelib.dll16 enable_win16
18364 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18365 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18366 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18367 wine_fn_config_dll unicows enable_unicows implib
18368 wine_fn_config_dll updspapi enable_updspapi
18369 wine_fn_config_dll url enable_url implib
18370 wine_fn_config_dll urlmon enable_urlmon clean,implib
18371 wine_fn_config_test dlls/urlmon/tests urlmon_test
18372 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18373 wine_fn_config_dll user.exe16 enable_win16
18374 wine_fn_config_dll user32 enable_user32 clean,implib
18375 wine_fn_config_test dlls/user32/tests user32_test
18376 wine_fn_config_dll userenv enable_userenv implib
18377 wine_fn_config_test dlls/userenv/tests userenv_test
18378 wine_fn_config_dll usp10 enable_usp10 implib
18379 wine_fn_config_test dlls/usp10/tests usp10_test
18380 wine_fn_config_lib uuid
18381 wine_fn_config_dll uxtheme enable_uxtheme implib
18382 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18383 wine_fn_config_dll vbscript enable_vbscript clean
18384 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18385 wine_fn_config_dll vcomp enable_vcomp
18386 wine_fn_config_test dlls/vcomp/tests vcomp_test
18387 wine_fn_config_dll vcomp100 enable_vcomp100
18388 wine_fn_config_dll vcomp110 enable_vcomp110
18389 wine_fn_config_dll vcomp120 enable_vcomp120
18390 wine_fn_config_dll vcomp140 enable_vcomp140
18391 wine_fn_config_dll vcomp90 enable_vcomp90
18392 wine_fn_config_dll vcruntime140 enable_vcruntime140
18393 wine_fn_config_dll vdhcp.vxd enable_win16
18394 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18395 wine_fn_config_dll ver.dll16 enable_win16
18396 wine_fn_config_dll version enable_version implib
18397 wine_fn_config_test dlls/version/tests version_test
18398 wine_fn_config_dll virtdisk enable_virtdisk
18399 wine_fn_config_dll vmm.vxd enable_win16
18400 wine_fn_config_dll vnbt.vxd enable_win16
18401 wine_fn_config_dll vnetbios.vxd enable_win16
18402 wine_fn_config_dll vssapi enable_vssapi
18403 wine_fn_config_dll vtdapi.vxd enable_win16
18404 wine_fn_config_dll vwin32.vxd enable_win16
18405 wine_fn_config_dll w32skrnl enable_win16
18406 wine_fn_config_dll w32sys.dll16 enable_win16
18407 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18408 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18409 wine_fn_config_dll wbemprox enable_wbemprox clean
18410 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18411 wine_fn_config_dll webservices enable_webservices implib
18412 wine_fn_config_test dlls/webservices/tests webservices_test
18413 wine_fn_config_dll wer enable_wer implib
18414 wine_fn_config_test dlls/wer/tests wer_test
18415 wine_fn_config_dll wevtapi enable_wevtapi
18416 wine_fn_config_dll wiaservc enable_wiaservc clean
18417 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18418 wine_fn_config_dll wimgapi enable_wimgapi
18419 wine_fn_config_dll win32s16.dll16 enable_win16
18420 wine_fn_config_dll win87em.dll16 enable_win16
18421 wine_fn_config_dll winaspi.dll16 enable_win16
18422 wine_fn_config_dll windebug.dll16 enable_win16
18423 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18424 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18425 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18426 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18427 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18428 wine_fn_config_dll winebus.sys enable_winebus_sys
18429 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18430 wine_fn_config_lib winecrt0
18431 wine_fn_config_dll wined3d enable_wined3d implib
18432 wine_fn_config_dll winegstreamer enable_winegstreamer
18433 wine_fn_config_dll winehid.sys enable_winehid_sys
18434 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18435 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18436 wine_fn_config_dll winemapi enable_winemapi
18437 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18438 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18439 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18440 wine_fn_config_dll wineps16.drv16 enable_win16
18441 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18442 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18443 wine_fn_config_dll winex11.drv enable_winex11_drv
18444 wine_fn_config_dll wing.dll16 enable_win16
18445 wine_fn_config_dll wing32 enable_wing32
18446 wine_fn_config_dll winhttp enable_winhttp clean,implib
18447 wine_fn_config_test dlls/winhttp/tests winhttp_test
18448 wine_fn_config_dll wininet enable_wininet clean,implib
18449 wine_fn_config_test dlls/wininet/tests wininet_test
18450 wine_fn_config_dll winmm enable_winmm clean,implib
18451 wine_fn_config_test dlls/winmm/tests winmm_test
18452 wine_fn_config_dll winnls.dll16 enable_win16
18453 wine_fn_config_dll winnls32 enable_winnls32 implib
18454 wine_fn_config_dll winscard enable_winscard implib
18455 wine_fn_config_dll winsock.dll16 enable_win16
18456 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18457 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18458 wine_fn_config_dll winsta enable_winsta
18459 wine_fn_config_dll wintab.dll16 enable_win16
18460 wine_fn_config_dll wintab32 enable_wintab32 implib
18461 wine_fn_config_test dlls/wintab32/tests wintab32_test
18462 wine_fn_config_dll wintrust enable_wintrust implib
18463 wine_fn_config_test dlls/wintrust/tests wintrust_test
18464 wine_fn_config_dll winusb enable_winusb
18465 wine_fn_config_dll wlanapi enable_wlanapi implib
18466 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18467 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18468 wine_fn_config_test dlls/wldap32/tests wldap32_test
18469 wine_fn_config_dll wmasf enable_wmasf
18470 wine_fn_config_dll wmi enable_wmi
18471 wine_fn_config_dll wmiutils enable_wmiutils clean
18472 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18473 wine_fn_config_dll wmp enable_wmp clean
18474 wine_fn_config_test dlls/wmp/tests wmp_test
18475 wine_fn_config_dll wmvcore enable_wmvcore
18476 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18477 wine_fn_config_dll wow32 enable_win16 implib
18478 wine_fn_config_dll wpc enable_wpc clean
18479 wine_fn_config_test dlls/wpc/tests wpc_test
18480 wine_fn_config_dll wpcap enable_wpcap
18481 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18482 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18483 wine_fn_config_dll wsdapi enable_wsdapi implib
18484 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18485 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18486 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18487 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18488 wine_fn_config_dll wsock32 enable_wsock32 implib
18489 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18490 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18491 wine_fn_config_dll wuapi enable_wuapi clean
18492 wine_fn_config_dll wuaueng enable_wuaueng
18493 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18494 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18495 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18496 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18497 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18498 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18499 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18500 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18501 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18502 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18503 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18504 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18505 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18506 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18507 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18508 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18509 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18510 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18511 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18512 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18513 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18514 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18515 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18516 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18517 wine_fn_config_dll xinput1_1 enable_xinput1_1
18518 wine_fn_config_dll xinput1_2 enable_xinput1_2
18519 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18520 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18521 wine_fn_config_dll xinput1_4 enable_xinput1_4
18522 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18523 wine_fn_config_dll xmllite enable_xmllite implib
18524 wine_fn_config_test dlls/xmllite/tests xmllite_test
18525 wine_fn_config_dll xolehlp enable_xolehlp
18526 wine_fn_config_dll xpsprint enable_xpsprint
18527 wine_fn_config_dll xpssvcs enable_xpssvcs
18528 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18529 wine_fn_config_makefile include enable_include clean,install-dev
18530 wine_fn_config_makefile libs/port enable_libs_port
18531 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18532 wine_fn_config_makefile libs/wpp enable_libs_wpp
18533 wine_fn_config_makefile loader enable_loader clean,install-lib
18534 wine_fn_config_makefile po enable_po clean
18535 wine_fn_config_program arp enable_arp install
18536 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18537 wine_fn_config_program attrib enable_attrib clean,install
18538 wine_fn_config_program cabarc enable_cabarc install
18539 wine_fn_config_program cacls enable_cacls install
18540 wine_fn_config_program clock enable_clock clean,install
18541 wine_fn_config_program cmd enable_cmd clean,install
18542 wine_fn_config_test programs/cmd/tests cmd.exe_test
18543 wine_fn_config_program conhost enable_conhost install
18544 wine_fn_config_program control enable_control install
18545 wine_fn_config_program cscript enable_cscript clean,install
18546 wine_fn_config_program dpnsvr enable_dpnsvr install
18547 wine_fn_config_program dxdiag enable_dxdiag clean,install
18548 wine_fn_config_program eject enable_eject install
18549 wine_fn_config_program expand enable_expand install
18550 wine_fn_config_program explorer enable_explorer clean,install
18551 wine_fn_config_program extrac32 enable_extrac32 install
18552 wine_fn_config_program findstr enable_findstr install
18553 wine_fn_config_program fsutil enable_fsutil install
18554 wine_fn_config_program hh enable_hh install
18555 wine_fn_config_program hostname enable_hostname clean,install
18556 wine_fn_config_program icacls enable_icacls install
18557 wine_fn_config_program icinfo enable_icinfo install
18558 wine_fn_config_program iexplore enable_iexplore install
18559 wine_fn_config_program ipconfig enable_ipconfig clean,install
18560 wine_fn_config_program lodctr enable_lodctr install
18561 wine_fn_config_program mofcomp enable_mofcomp install
18562 wine_fn_config_program mshta enable_mshta install
18563 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18564 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18565 wine_fn_config_program net enable_net clean,install
18566 wine_fn_config_program netsh enable_netsh install
18567 wine_fn_config_program netstat enable_netstat clean,install
18568 wine_fn_config_program ngen enable_ngen install
18569 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18570 wine_fn_config_program oleview enable_oleview clean,install
18571 wine_fn_config_program ping enable_ping install
18572 wine_fn_config_program plugplay enable_plugplay install
18573 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18574 wine_fn_config_program progman enable_progman clean,install
18575 wine_fn_config_program reg enable_reg clean,install
18576 wine_fn_config_test programs/reg/tests reg.exe_test
18577 wine_fn_config_program regasm enable_regasm install
18578 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18579 wine_fn_config_test programs/regedit/tests regedit.exe_test
18580 wine_fn_config_program regsvcs enable_regsvcs install
18581 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18582 wine_fn_config_program rpcss enable_rpcss clean,install
18583 wine_fn_config_program rundll.exe16 enable_win16 install
18584 wine_fn_config_program rundll32 enable_rundll32 install
18585 wine_fn_config_program sc enable_sc install
18586 wine_fn_config_program schtasks enable_schtasks install
18587 wine_fn_config_program sdbinst enable_sdbinst install
18588 wine_fn_config_program secedit enable_secedit install
18589 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18590 wine_fn_config_program services enable_services clean,install
18591 wine_fn_config_test programs/services/tests services.exe_test
18592 wine_fn_config_program shutdown enable_shutdown install
18593 wine_fn_config_program spoolsv enable_spoolsv install
18594 wine_fn_config_program start enable_start clean,install
18595 wine_fn_config_program subst enable_subst install
18596 wine_fn_config_program svchost enable_svchost install
18597 wine_fn_config_program systeminfo enable_systeminfo install
18598 wine_fn_config_program taskkill enable_taskkill clean,install
18599 wine_fn_config_program tasklist enable_tasklist install
18600 wine_fn_config_program taskmgr enable_taskmgr clean,install
18601 wine_fn_config_program termsv enable_termsv install
18602 wine_fn_config_program uninstaller enable_uninstaller clean,install
18603 wine_fn_config_program unlodctr enable_unlodctr install
18604 wine_fn_config_program view enable_view clean,install
18605 wine_fn_config_program wevtutil enable_wevtutil install
18606 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18607 wine_fn_config_program winebrowser enable_winebrowser install
18608 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18609 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18610 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18611 wine_fn_config_program winedevice enable_winedevice install
18612 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18613 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18614 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18615 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18616 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18617 wine_fn_config_program winetest enable_winetest clean
18618 wine_fn_config_program winevdm enable_win16 install
18619 wine_fn_config_program winhelp.exe16 enable_win16 install
18620 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18621 wine_fn_config_program winoldap.mod16 enable_win16 install
18622 wine_fn_config_program winver enable_winver install
18623 wine_fn_config_program wmic enable_wmic clean,install
18624 wine_fn_config_program wmplayer enable_wmplayer install
18625 wine_fn_config_program wordpad enable_wordpad clean,install
18626 wine_fn_config_program write enable_write clean,install
18627 wine_fn_config_program wscript enable_wscript clean,install
18628 wine_fn_config_test programs/wscript/tests wscript.exe_test
18629 wine_fn_config_program wusa enable_wusa install
18630 wine_fn_config_program xcopy enable_xcopy clean,install
18631 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18632 wine_fn_config_makefile server enable_server clean,install-lib
18633 wine_fn_config_tool tools clean
18634 wine_fn_config_tool tools/sfnt2fon clean
18635 wine_fn_config_tool tools/widl clean,install-dev
18636 wine_fn_config_tool tools/winebuild clean,install-dev
18637 wine_fn_config_tool tools/winedump clean,install-dev
18638 wine_fn_config_tool tools/winegcc clean,install-dev
18639 wine_fn_config_tool tools/winemaker clean,install-dev
18640 wine_fn_config_tool tools/wmc clean,install-dev
18641 wine_fn_config_tool tools/wrc clean,install-dev
18644 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18645 wine_fn_append_file CONFIGURE_TARGETS "tags"
18646 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18647 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18648 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18649 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18650 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18651 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18653 if test "x$enable_tools" != xno
18654 then
18655 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18656 ac_config_commands="$ac_config_commands tools/makedep"
18660 ac_config_commands="$ac_config_commands Makefile"
18663 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18667 if test "x$enable_maintainer_mode" = xyes
18668 then
18669 wine_fn_append_rule "configure: configure.ac aclocal.m4
18670 autoconf --warnings=all
18671 include/config.h.in: include/stamp-h.in
18672 include/stamp-h.in: configure.ac aclocal.m4
18673 autoheader --warnings=all
18674 @echo timestamp > \$@"
18677 if test "x$enable_tools" != xno
18678 then
18679 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18680 @./config.status tools/makedep
18681 Makefile: tools/makedep$ac_exeext"
18682 else
18683 wine_fn_append_rule "\$(MAKEDEP):
18684 @echo \"You need to run make in $TOOLSDIR first\" && false"
18687 if test -n "$with_wine64"
18688 then
18689 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18690 fonts server:
18691 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18692 $with_wine64/loader/wine:
18693 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18694 $with_wine64/loader/wine-preloader:
18695 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18696 clean::
18697 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18698 else
18699 WINELOADER_INSTALL="wine.inf"
18701 wine_fn_append_rule "install install-lib::
18702 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18703 uninstall::
18704 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18705 case $host_os in
18706 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18707 *) wine_fn_append_rule "install install-lib::
18708 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18709 uninstall::
18710 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18711 esac
18714 $as_echo " done" >&6
18715 cat >confcache <<\_ACEOF
18716 # This file is a shell script that caches the results of configure
18717 # tests run on this system so they can be shared between configure
18718 # scripts and configure runs, see configure's option --config-cache.
18719 # It is not useful on other systems. If it contains results you don't
18720 # want to keep, you may remove or edit it.
18722 # config.status only pays attention to the cache file if you give it
18723 # the --recheck option to rerun configure.
18725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18727 # following values.
18729 _ACEOF
18731 # The following way of writing the cache mishandles newlines in values,
18732 # but we know of no workaround that is simple, portable, and efficient.
18733 # So, we kill variables containing newlines.
18734 # Ultrix sh set writes to stderr and can't be redirected directly,
18735 # and sets the high bit in the cache file unless we assign to the vars.
18737 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18738 eval ac_val=\$$ac_var
18739 case $ac_val in #(
18740 *${as_nl}*)
18741 case $ac_var in #(
18742 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18743 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18744 esac
18745 case $ac_var in #(
18746 _ | IFS | as_nl) ;; #(
18747 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18748 *) { eval $ac_var=; unset $ac_var;} ;;
18749 esac ;;
18750 esac
18751 done
18753 (set) 2>&1 |
18754 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18755 *${as_nl}ac_space=\ *)
18756 # `set' does not quote correctly, so add quotes: double-quote
18757 # substitution turns \\\\ into \\, and sed turns \\ into \.
18758 sed -n \
18759 "s/'/'\\\\''/g;
18760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18761 ;; #(
18763 # `set' quotes correctly as required by POSIX, so do not add quotes.
18764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18766 esac |
18767 sort
18769 sed '
18770 /^ac_cv_env_/b end
18771 t clear
18772 :clear
18773 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18774 t end
18775 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18776 :end' >>confcache
18777 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18778 if test -w "$cache_file"; then
18779 if test "x$cache_file" != "x/dev/null"; then
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18781 $as_echo "$as_me: updating cache $cache_file" >&6;}
18782 if test ! -f "$cache_file" || test -h "$cache_file"; then
18783 cat confcache >"$cache_file"
18784 else
18785 case $cache_file in #(
18786 */* | ?:*)
18787 mv -f confcache "$cache_file"$$ &&
18788 mv -f "$cache_file"$$ "$cache_file" ;; #(
18790 mv -f confcache "$cache_file" ;;
18791 esac
18794 else
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18796 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18799 rm -f confcache
18801 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18802 # Let make expand exec_prefix.
18803 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18805 DEFS=-DHAVE_CONFIG_H
18807 ac_libobjs=
18808 ac_ltlibobjs=
18810 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18811 # 1. Remove the extension, and $U if already installed.
18812 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18813 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18814 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18815 # will be set to the directory where LIBOBJS objects are built.
18816 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18817 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18818 done
18819 LIBOBJS=$ac_libobjs
18821 LTLIBOBJS=$ac_ltlibobjs
18825 : "${CONFIG_STATUS=./config.status}"
18826 ac_write_fail=0
18827 ac_clean_files_save=$ac_clean_files
18828 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18830 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18831 as_write_fail=0
18832 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18833 #! $SHELL
18834 # Generated by $as_me.
18835 # Run this file to recreate the current configuration.
18836 # Compiler output produced by configure, useful for debugging
18837 # configure, is in config.log if it exists.
18839 debug=false
18840 ac_cs_recheck=false
18841 ac_cs_silent=false
18843 SHELL=\${CONFIG_SHELL-$SHELL}
18844 export SHELL
18845 _ASEOF
18846 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18847 ## -------------------- ##
18848 ## M4sh Initialization. ##
18849 ## -------------------- ##
18851 # Be more Bourne compatible
18852 DUALCASE=1; export DUALCASE # for MKS sh
18853 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18854 emulate sh
18855 NULLCMD=:
18856 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18857 # is contrary to our usage. Disable this feature.
18858 alias -g '${1+"$@"}'='"$@"'
18859 setopt NO_GLOB_SUBST
18860 else
18861 case `(set -o) 2>/dev/null` in #(
18862 *posix*) :
18863 set -o posix ;; #(
18864 *) :
18866 esac
18870 as_nl='
18872 export as_nl
18873 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18874 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18876 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18877 # Prefer a ksh shell builtin over an external printf program on Solaris,
18878 # but without wasting forks for bash or zsh.
18879 if test -z "$BASH_VERSION$ZSH_VERSION" \
18880 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18881 as_echo='print -r --'
18882 as_echo_n='print -rn --'
18883 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18884 as_echo='printf %s\n'
18885 as_echo_n='printf %s'
18886 else
18887 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18888 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18889 as_echo_n='/usr/ucb/echo -n'
18890 else
18891 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18892 as_echo_n_body='eval
18893 arg=$1;
18894 case $arg in #(
18895 *"$as_nl"*)
18896 expr "X$arg" : "X\\(.*\\)$as_nl";
18897 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18898 esac;
18899 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18901 export as_echo_n_body
18902 as_echo_n='sh -c $as_echo_n_body as_echo'
18904 export as_echo_body
18905 as_echo='sh -c $as_echo_body as_echo'
18908 # The user is always right.
18909 if test "${PATH_SEPARATOR+set}" != set; then
18910 PATH_SEPARATOR=:
18911 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18912 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18913 PATH_SEPARATOR=';'
18918 # IFS
18919 # We need space, tab and new line, in precisely that order. Quoting is
18920 # there to prevent editors from complaining about space-tab.
18921 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18922 # splitting by setting IFS to empty value.)
18923 IFS=" "" $as_nl"
18925 # Find who we are. Look in the path if we contain no directory separator.
18926 as_myself=
18927 case $0 in #((
18928 *[\\/]* ) as_myself=$0 ;;
18929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18930 for as_dir in $PATH
18932 IFS=$as_save_IFS
18933 test -z "$as_dir" && as_dir=.
18934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18935 done
18936 IFS=$as_save_IFS
18939 esac
18940 # We did not find ourselves, most probably we were run as `sh COMMAND'
18941 # in which case we are not to be found in the path.
18942 if test "x$as_myself" = x; then
18943 as_myself=$0
18945 if test ! -f "$as_myself"; then
18946 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18947 exit 1
18950 # Unset variables that we do not need and which cause bugs (e.g. in
18951 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18952 # suppresses any "Segmentation fault" message there. '((' could
18953 # trigger a bug in pdksh 5.2.14.
18954 for as_var in BASH_ENV ENV MAIL MAILPATH
18955 do eval test x\${$as_var+set} = xset \
18956 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18957 done
18958 PS1='$ '
18959 PS2='> '
18960 PS4='+ '
18962 # NLS nuisances.
18963 LC_ALL=C
18964 export LC_ALL
18965 LANGUAGE=C
18966 export LANGUAGE
18968 # CDPATH.
18969 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18972 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18973 # ----------------------------------------
18974 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18975 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18976 # script with STATUS, using 1 if that was 0.
18977 as_fn_error ()
18979 as_status=$1; test $as_status -eq 0 && as_status=1
18980 if test "$4"; then
18981 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18982 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18984 $as_echo "$as_me: error: $2" >&2
18985 as_fn_exit $as_status
18986 } # as_fn_error
18989 # as_fn_set_status STATUS
18990 # -----------------------
18991 # Set $? to STATUS, without forking.
18992 as_fn_set_status ()
18994 return $1
18995 } # as_fn_set_status
18997 # as_fn_exit STATUS
18998 # -----------------
18999 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19000 as_fn_exit ()
19002 set +e
19003 as_fn_set_status $1
19004 exit $1
19005 } # as_fn_exit
19007 # as_fn_unset VAR
19008 # ---------------
19009 # Portably unset VAR.
19010 as_fn_unset ()
19012 { eval $1=; unset $1;}
19014 as_unset=as_fn_unset
19015 # as_fn_append VAR VALUE
19016 # ----------------------
19017 # Append the text in VALUE to the end of the definition contained in VAR. Take
19018 # advantage of any shell optimizations that allow amortized linear growth over
19019 # repeated appends, instead of the typical quadratic growth present in naive
19020 # implementations.
19021 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19022 eval 'as_fn_append ()
19024 eval $1+=\$2
19026 else
19027 as_fn_append ()
19029 eval $1=\$$1\$2
19031 fi # as_fn_append
19033 # as_fn_arith ARG...
19034 # ------------------
19035 # Perform arithmetic evaluation on the ARGs, and store the result in the
19036 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19037 # must be portable across $(()) and expr.
19038 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19039 eval 'as_fn_arith ()
19041 as_val=$(( $* ))
19043 else
19044 as_fn_arith ()
19046 as_val=`expr "$@" || test $? -eq 1`
19048 fi # as_fn_arith
19051 if expr a : '\(a\)' >/dev/null 2>&1 &&
19052 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19053 as_expr=expr
19054 else
19055 as_expr=false
19058 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19059 as_basename=basename
19060 else
19061 as_basename=false
19064 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19065 as_dirname=dirname
19066 else
19067 as_dirname=false
19070 as_me=`$as_basename -- "$0" ||
19071 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19072 X"$0" : 'X\(//\)$' \| \
19073 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19074 $as_echo X/"$0" |
19075 sed '/^.*\/\([^/][^/]*\)\/*$/{
19076 s//\1/
19079 /^X\/\(\/\/\)$/{
19080 s//\1/
19083 /^X\/\(\/\).*/{
19084 s//\1/
19087 s/.*/./; q'`
19089 # Avoid depending upon Character Ranges.
19090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19093 as_cr_digits='0123456789'
19094 as_cr_alnum=$as_cr_Letters$as_cr_digits
19096 ECHO_C= ECHO_N= ECHO_T=
19097 case `echo -n x` in #(((((
19098 -n*)
19099 case `echo 'xy\c'` in
19100 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19101 xy) ECHO_C='\c';;
19102 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19103 ECHO_T=' ';;
19104 esac;;
19106 ECHO_N='-n';;
19107 esac
19109 rm -f conf$$ conf$$.exe conf$$.file
19110 if test -d conf$$.dir; then
19111 rm -f conf$$.dir/conf$$.file
19112 else
19113 rm -f conf$$.dir
19114 mkdir conf$$.dir 2>/dev/null
19116 if (echo >conf$$.file) 2>/dev/null; then
19117 if ln -s conf$$.file conf$$ 2>/dev/null; then
19118 as_ln_s='ln -s'
19119 # ... but there are two gotchas:
19120 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19121 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19122 # In both cases, we have to default to `cp -pR'.
19123 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19124 as_ln_s='cp -pR'
19125 elif ln conf$$.file conf$$ 2>/dev/null; then
19126 as_ln_s=ln
19127 else
19128 as_ln_s='cp -pR'
19130 else
19131 as_ln_s='cp -pR'
19133 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19134 rmdir conf$$.dir 2>/dev/null
19137 # as_fn_mkdir_p
19138 # -------------
19139 # Create "$as_dir" as a directory, including parents if necessary.
19140 as_fn_mkdir_p ()
19143 case $as_dir in #(
19144 -*) as_dir=./$as_dir;;
19145 esac
19146 test -d "$as_dir" || eval $as_mkdir_p || {
19147 as_dirs=
19148 while :; do
19149 case $as_dir in #(
19150 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19151 *) as_qdir=$as_dir;;
19152 esac
19153 as_dirs="'$as_qdir' $as_dirs"
19154 as_dir=`$as_dirname -- "$as_dir" ||
19155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19156 X"$as_dir" : 'X\(//\)[^/]' \| \
19157 X"$as_dir" : 'X\(//\)$' \| \
19158 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19159 $as_echo X"$as_dir" |
19160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19161 s//\1/
19164 /^X\(\/\/\)[^/].*/{
19165 s//\1/
19168 /^X\(\/\/\)$/{
19169 s//\1/
19172 /^X\(\/\).*/{
19173 s//\1/
19176 s/.*/./; q'`
19177 test -d "$as_dir" && break
19178 done
19179 test -z "$as_dirs" || eval "mkdir $as_dirs"
19180 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19183 } # as_fn_mkdir_p
19184 if mkdir -p . 2>/dev/null; then
19185 as_mkdir_p='mkdir -p "$as_dir"'
19186 else
19187 test -d ./-p && rmdir ./-p
19188 as_mkdir_p=false
19192 # as_fn_executable_p FILE
19193 # -----------------------
19194 # Test if FILE is an executable regular file.
19195 as_fn_executable_p ()
19197 test -f "$1" && test -x "$1"
19198 } # as_fn_executable_p
19199 as_test_x='test -x'
19200 as_executable_p=as_fn_executable_p
19202 # Sed expression to map a string onto a valid CPP name.
19203 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19205 # Sed expression to map a string onto a valid variable name.
19206 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19209 exec 6>&1
19210 ## ----------------------------------- ##
19211 ## Main body of $CONFIG_STATUS script. ##
19212 ## ----------------------------------- ##
19213 _ASEOF
19214 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19217 # Save the log message, to keep $0 and so on meaningful, and to
19218 # report actual input values of CONFIG_FILES etc. instead of their
19219 # values after options handling.
19220 ac_log="
19221 This file was extended by Wine $as_me 2.5, which was
19222 generated by GNU Autoconf 2.69. Invocation command line was
19224 CONFIG_FILES = $CONFIG_FILES
19225 CONFIG_HEADERS = $CONFIG_HEADERS
19226 CONFIG_LINKS = $CONFIG_LINKS
19227 CONFIG_COMMANDS = $CONFIG_COMMANDS
19228 $ $0 $@
19230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19233 _ACEOF
19235 case $ac_config_files in *"
19236 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19237 esac
19239 case $ac_config_headers in *"
19240 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19241 esac
19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 # Files that config.status was made for.
19246 config_files="$ac_config_files"
19247 config_headers="$ac_config_headers"
19248 config_links="$ac_config_links"
19249 config_commands="$ac_config_commands"
19251 _ACEOF
19253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19254 ac_cs_usage="\
19255 \`$as_me' instantiates files and other configuration actions
19256 from templates according to the current configuration. Unless the files
19257 and actions are specified as TAGs, all are instantiated by default.
19259 Usage: $0 [OPTION]... [TAG]...
19261 -h, --help print this help, then exit
19262 -V, --version print version number and configuration settings, then exit
19263 --config print configuration, then exit
19264 -q, --quiet, --silent
19265 do not print progress messages
19266 -d, --debug don't remove temporary files
19267 --recheck update $as_me by reconfiguring in the same conditions
19268 --file=FILE[:TEMPLATE]
19269 instantiate the configuration file FILE
19270 --header=FILE[:TEMPLATE]
19271 instantiate the configuration header FILE
19273 Configuration files:
19274 $config_files
19276 Configuration headers:
19277 $config_headers
19279 Configuration links:
19280 $config_links
19282 Configuration commands:
19283 $config_commands
19285 Report bugs to <wine-devel@winehq.org>.
19286 Wine home page: <http://www.winehq.org>."
19288 _ACEOF
19289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19290 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19291 ac_cs_version="\\
19292 Wine config.status 2.5
19293 configured by $0, generated by GNU Autoconf 2.69,
19294 with options \\"\$ac_cs_config\\"
19296 Copyright (C) 2012 Free Software Foundation, Inc.
19297 This config.status script is free software; the Free Software Foundation
19298 gives unlimited permission to copy, distribute and modify it."
19300 ac_pwd='$ac_pwd'
19301 srcdir='$srcdir'
19302 test -n "\$AWK" || AWK=awk
19303 _ACEOF
19305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19306 # The default lists apply if the user does not specify any file.
19307 ac_need_defaults=:
19308 while test $# != 0
19310 case $1 in
19311 --*=?*)
19312 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19313 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19314 ac_shift=:
19316 --*=)
19317 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19318 ac_optarg=
19319 ac_shift=:
19322 ac_option=$1
19323 ac_optarg=$2
19324 ac_shift=shift
19326 esac
19328 case $ac_option in
19329 # Handling of the options.
19330 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19331 ac_cs_recheck=: ;;
19332 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19333 $as_echo "$ac_cs_version"; exit ;;
19334 --config | --confi | --conf | --con | --co | --c )
19335 $as_echo "$ac_cs_config"; exit ;;
19336 --debug | --debu | --deb | --de | --d | -d )
19337 debug=: ;;
19338 --file | --fil | --fi | --f )
19339 $ac_shift
19340 case $ac_optarg in
19341 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19342 '') as_fn_error $? "missing file argument" ;;
19343 esac
19344 as_fn_append CONFIG_FILES " '$ac_optarg'"
19345 ac_need_defaults=false;;
19346 --header | --heade | --head | --hea )
19347 $ac_shift
19348 case $ac_optarg in
19349 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19350 esac
19351 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19352 ac_need_defaults=false;;
19353 --he | --h)
19354 # Conflict between --help and --header
19355 as_fn_error $? "ambiguous option: \`$1'
19356 Try \`$0 --help' for more information.";;
19357 --help | --hel | -h )
19358 $as_echo "$ac_cs_usage"; exit ;;
19359 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19360 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19361 ac_cs_silent=: ;;
19363 # This is an error.
19364 -*) as_fn_error $? "unrecognized option: \`$1'
19365 Try \`$0 --help' for more information." ;;
19367 *) as_fn_append ac_config_targets " $1"
19368 ac_need_defaults=false ;;
19370 esac
19371 shift
19372 done
19374 ac_configure_extra_args=
19376 if $ac_cs_silent; then
19377 exec 6>/dev/null
19378 ac_configure_extra_args="$ac_configure_extra_args --silent"
19381 _ACEOF
19382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19383 if \$ac_cs_recheck; then
19384 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19385 shift
19386 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19387 CONFIG_SHELL='$SHELL'
19388 export CONFIG_SHELL
19389 exec "\$@"
19392 _ACEOF
19393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19394 exec 5>>config.log
19396 echo
19397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19398 ## Running $as_me. ##
19399 _ASBOX
19400 $as_echo "$ac_log"
19401 } >&5
19403 _ACEOF
19404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19406 # INIT-COMMANDS
19408 wine_fn_output_makedep ()
19410 as_dir=tools; as_fn_mkdir_p
19411 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19413 wine_fn_output_makefile ()
19415 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19416 `cat $wine_rules_file`
19417 _WINE_EOF
19418 as_fn_error $? "could not create Makefile" "$LINENO" 5
19421 _ACEOF
19423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19425 # Handling of arguments.
19426 for ac_config_target in $ac_config_targets
19428 case $ac_config_target in
19429 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19430 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19431 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19432 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19433 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19434 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19435 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19436 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19437 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19438 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19439 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19440 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19441 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19443 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19444 esac
19445 done
19448 # If the user did not use the arguments to specify the items to instantiate,
19449 # then the envvar interface is used. Set only those that are not.
19450 # We use the long form for the default assignment because of an extremely
19451 # bizarre bug on SunOS 4.1.3.
19452 if $ac_need_defaults; then
19453 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19454 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19455 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19456 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19459 # Have a temporary directory for convenience. Make it in the build tree
19460 # simply because there is no reason against having it here, and in addition,
19461 # creating and moving files from /tmp can sometimes cause problems.
19462 # Hook for its removal unless debugging.
19463 # Note that there is a small window in which the directory will not be cleaned:
19464 # after its creation but before its name has been assigned to `$tmp'.
19465 $debug ||
19467 tmp= ac_tmp=
19468 trap 'exit_status=$?
19469 : "${ac_tmp:=$tmp}"
19470 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19472 trap 'as_fn_exit 1' 1 2 13 15
19474 # Create a (secure) tmp directory for tmp files.
19477 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19478 test -d "$tmp"
19479 } ||
19481 tmp=./conf$$-$RANDOM
19482 (umask 077 && mkdir "$tmp")
19483 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19484 ac_tmp=$tmp
19486 # Set up the scripts for CONFIG_FILES section.
19487 # No need to generate them if there are no CONFIG_FILES.
19488 # This happens for instance with `./config.status config.h'.
19489 if test -n "$CONFIG_FILES"; then
19492 ac_cr=`echo X | tr X '\015'`
19493 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19494 # But we know of no other shell where ac_cr would be empty at this
19495 # point, so we can use a bashism as a fallback.
19496 if test "x$ac_cr" = x; then
19497 eval ac_cr=\$\'\\r\'
19499 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19500 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19501 ac_cs_awk_cr='\\r'
19502 else
19503 ac_cs_awk_cr=$ac_cr
19506 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19507 _ACEOF
19511 echo "cat >conf$$subs.awk <<_ACEOF" &&
19512 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19513 echo "_ACEOF"
19514 } >conf$$subs.sh ||
19515 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19516 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19517 ac_delim='%!_!# '
19518 for ac_last_try in false false false false false :; do
19519 . ./conf$$subs.sh ||
19520 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19522 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19523 if test $ac_delim_n = $ac_delim_num; then
19524 break
19525 elif $ac_last_try; then
19526 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19527 else
19528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19530 done
19531 rm -f conf$$subs.sh
19533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19534 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19535 _ACEOF
19536 sed -n '
19538 s/^/S["/; s/!.*/"]=/
19541 s/^[^!]*!//
19542 :repl
19543 t repl
19544 s/'"$ac_delim"'$//
19545 t delim
19548 s/\(.\{148\}\)..*/\1/
19549 t more1
19550 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19553 b repl
19554 :more1
19555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19558 s/.\{148\}//
19559 t nl
19560 :delim
19562 s/\(.\{148\}\)..*/\1/
19563 t more2
19564 s/["\\]/\\&/g; s/^/"/; s/$/"/
19567 :more2
19568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19571 s/.\{148\}//
19572 t delim
19573 ' <conf$$subs.awk | sed '
19574 /^[^""]/{
19576 s/\n//
19578 ' >>$CONFIG_STATUS || ac_write_fail=1
19579 rm -f conf$$subs.awk
19580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19581 _ACAWK
19582 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19583 for (key in S) S_is_set[key] = 1
19584 FS = "\a"
19588 line = $ 0
19589 nfields = split(line, field, "@")
19590 substed = 0
19591 len = length(field[1])
19592 for (i = 2; i < nfields; i++) {
19593 key = field[i]
19594 keylen = length(key)
19595 if (S_is_set[key]) {
19596 value = S[key]
19597 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19598 len += length(value) + length(field[++i])
19599 substed = 1
19600 } else
19601 len += 1 + keylen
19604 print line
19607 _ACAWK
19608 _ACEOF
19609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19610 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19611 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19612 else
19614 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19615 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19616 _ACEOF
19618 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19619 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19620 # trailing colons and then remove the whole line if VPATH becomes empty
19621 # (actually we leave an empty line to preserve line numbers).
19622 if test "x$srcdir" = x.; then
19623 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19625 s///
19626 s/^/:/
19627 s/[ ]*$/:/
19628 s/:\$(srcdir):/:/g
19629 s/:\${srcdir}:/:/g
19630 s/:@srcdir@:/:/g
19631 s/^:*//
19632 s/:*$//
19634 s/\(=[ ]*\).*/\1/
19636 s/\n//
19637 s/^[^=]*=[ ]*$//
19641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19642 fi # test -n "$CONFIG_FILES"
19644 # Set up the scripts for CONFIG_HEADERS section.
19645 # No need to generate them if there are no CONFIG_HEADERS.
19646 # This happens for instance with `./config.status Makefile'.
19647 if test -n "$CONFIG_HEADERS"; then
19648 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19649 BEGIN {
19650 _ACEOF
19652 # Transform confdefs.h into an awk script `defines.awk', embedded as
19653 # here-document in config.status, that substitutes the proper values into
19654 # config.h.in to produce config.h.
19656 # Create a delimiter string that does not exist in confdefs.h, to ease
19657 # handling of long lines.
19658 ac_delim='%!_!# '
19659 for ac_last_try in false false :; do
19660 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19661 if test -z "$ac_tt"; then
19662 break
19663 elif $ac_last_try; then
19664 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19665 else
19666 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19668 done
19670 # For the awk script, D is an array of macro values keyed by name,
19671 # likewise P contains macro parameters if any. Preserve backslash
19672 # newline sequences.
19674 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19675 sed -n '
19676 s/.\{148\}/&'"$ac_delim"'/g
19677 t rset
19678 :rset
19679 s/^[ ]*#[ ]*define[ ][ ]*/ /
19680 t def
19682 :def
19683 s/\\$//
19684 t bsnl
19685 s/["\\]/\\&/g
19686 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19687 D["\1"]=" \3"/p
19688 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19690 :bsnl
19691 s/["\\]/\\&/g
19692 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19693 D["\1"]=" \3\\\\\\n"\\/p
19694 t cont
19695 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19696 t cont
19698 :cont
19700 s/.\{148\}/&'"$ac_delim"'/g
19701 t clear
19702 :clear
19703 s/\\$//
19704 t bsnlc
19705 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19707 :bsnlc
19708 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19709 b cont
19710 ' <confdefs.h | sed '
19711 s/'"$ac_delim"'/"\\\
19712 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19715 for (key in D) D_is_set[key] = 1
19716 FS = "\a"
19718 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19719 line = \$ 0
19720 split(line, arg, " ")
19721 if (arg[1] == "#") {
19722 defundef = arg[2]
19723 mac1 = arg[3]
19724 } else {
19725 defundef = substr(arg[1], 2)
19726 mac1 = arg[2]
19728 split(mac1, mac2, "(") #)
19729 macro = mac2[1]
19730 prefix = substr(line, 1, index(line, defundef) - 1)
19731 if (D_is_set[macro]) {
19732 # Preserve the white space surrounding the "#".
19733 print prefix "define", macro P[macro] D[macro]
19734 next
19735 } else {
19736 # Replace #undef with comments. This is necessary, for example,
19737 # in the case of _POSIX_SOURCE, which is predefined and required
19738 # on some systems where configure will not decide to define it.
19739 if (defundef == "undef") {
19740 print "/*", prefix defundef, macro, "*/"
19741 next
19745 { print }
19746 _ACAWK
19747 _ACEOF
19748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19749 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19750 fi # test -n "$CONFIG_HEADERS"
19753 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19754 shift
19755 for ac_tag
19757 case $ac_tag in
19758 :[FHLC]) ac_mode=$ac_tag; continue;;
19759 esac
19760 case $ac_mode$ac_tag in
19761 :[FHL]*:*);;
19762 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19763 :[FH]-) ac_tag=-:-;;
19764 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19765 esac
19766 ac_save_IFS=$IFS
19767 IFS=:
19768 set x $ac_tag
19769 IFS=$ac_save_IFS
19770 shift
19771 ac_file=$1
19772 shift
19774 case $ac_mode in
19775 :L) ac_source=$1;;
19776 :[FH])
19777 ac_file_inputs=
19778 for ac_f
19780 case $ac_f in
19781 -) ac_f="$ac_tmp/stdin";;
19782 *) # Look for the file first in the build tree, then in the source tree
19783 # (if the path is not absolute). The absolute path cannot be DOS-style,
19784 # because $ac_f cannot contain `:'.
19785 test -f "$ac_f" ||
19786 case $ac_f in
19787 [\\/$]*) false;;
19788 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19789 esac ||
19790 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19791 esac
19792 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19793 as_fn_append ac_file_inputs " '$ac_f'"
19794 done
19796 # Let's still pretend it is `configure' which instantiates (i.e., don't
19797 # use $as_me), people would be surprised to read:
19798 # /* config.h. Generated by config.status. */
19799 configure_input='Generated from '`
19800 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19801 `' by configure.'
19802 if test x"$ac_file" != x-; then
19803 configure_input="$ac_file. $configure_input"
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19805 $as_echo "$as_me: creating $ac_file" >&6;}
19807 # Neutralize special characters interpreted by sed in replacement strings.
19808 case $configure_input in #(
19809 *\&* | *\|* | *\\* )
19810 ac_sed_conf_input=`$as_echo "$configure_input" |
19811 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19812 *) ac_sed_conf_input=$configure_input;;
19813 esac
19815 case $ac_tag in
19816 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19818 esac
19820 esac
19822 ac_dir=`$as_dirname -- "$ac_file" ||
19823 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19824 X"$ac_file" : 'X\(//\)[^/]' \| \
19825 X"$ac_file" : 'X\(//\)$' \| \
19826 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19827 $as_echo X"$ac_file" |
19828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19829 s//\1/
19832 /^X\(\/\/\)[^/].*/{
19833 s//\1/
19836 /^X\(\/\/\)$/{
19837 s//\1/
19840 /^X\(\/\).*/{
19841 s//\1/
19844 s/.*/./; q'`
19845 as_dir="$ac_dir"; as_fn_mkdir_p
19846 ac_builddir=.
19848 case "$ac_dir" in
19849 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19851 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19852 # A ".." for each directory in $ac_dir_suffix.
19853 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19854 case $ac_top_builddir_sub in
19855 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19856 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19857 esac ;;
19858 esac
19859 ac_abs_top_builddir=$ac_pwd
19860 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19861 # for backward compatibility:
19862 ac_top_builddir=$ac_top_build_prefix
19864 case $srcdir in
19865 .) # We are building in place.
19866 ac_srcdir=.
19867 ac_top_srcdir=$ac_top_builddir_sub
19868 ac_abs_top_srcdir=$ac_pwd ;;
19869 [\\/]* | ?:[\\/]* ) # Absolute name.
19870 ac_srcdir=$srcdir$ac_dir_suffix;
19871 ac_top_srcdir=$srcdir
19872 ac_abs_top_srcdir=$srcdir ;;
19873 *) # Relative name.
19874 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19875 ac_top_srcdir=$ac_top_build_prefix$srcdir
19876 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19877 esac
19878 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19881 case $ac_mode in
19884 # CONFIG_FILE
19887 _ACEOF
19889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19890 # If the template does not know about datarootdir, expand it.
19891 # FIXME: This hack should be removed a few years after 2.60.
19892 ac_datarootdir_hack=; ac_datarootdir_seen=
19893 ac_sed_dataroot='
19894 /datarootdir/ {
19898 /@datadir@/p
19899 /@docdir@/p
19900 /@infodir@/p
19901 /@localedir@/p
19902 /@mandir@/p'
19903 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19904 *datarootdir*) ac_datarootdir_seen=yes;;
19905 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19907 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19908 _ACEOF
19909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19910 ac_datarootdir_hack='
19911 s&@datadir@&$datadir&g
19912 s&@docdir@&$docdir&g
19913 s&@infodir@&$infodir&g
19914 s&@localedir@&$localedir&g
19915 s&@mandir@&$mandir&g
19916 s&\\\${datarootdir}&$datarootdir&g' ;;
19917 esac
19918 _ACEOF
19920 # Neutralize VPATH when `$srcdir' = `.'.
19921 # Shell code in configure.ac might set extrasub.
19922 # FIXME: do we really want to maintain this feature?
19923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19924 ac_sed_extra="$ac_vpsub
19925 $extrasub
19926 _ACEOF
19927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19930 s|@configure_input@|$ac_sed_conf_input|;t t
19931 s&@top_builddir@&$ac_top_builddir_sub&;t t
19932 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19933 s&@srcdir@&$ac_srcdir&;t t
19934 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19935 s&@top_srcdir@&$ac_top_srcdir&;t t
19936 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19937 s&@builddir@&$ac_builddir&;t t
19938 s&@abs_builddir@&$ac_abs_builddir&;t t
19939 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19940 $ac_datarootdir_hack
19942 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19943 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19945 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19946 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19947 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19948 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19950 which seems to be undefined. Please make sure it is defined" >&5
19951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19952 which seems to be undefined. Please make sure it is defined" >&2;}
19954 rm -f "$ac_tmp/stdin"
19955 case $ac_file in
19956 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19957 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19958 esac \
19959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19963 # CONFIG_HEADER
19965 if test x"$ac_file" != x-; then
19967 $as_echo "/* $configure_input */" \
19968 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19969 } >"$ac_tmp/config.h" \
19970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19971 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19973 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19974 else
19975 rm -f "$ac_file"
19976 mv "$ac_tmp/config.h" "$ac_file" \
19977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19979 else
19980 $as_echo "/* $configure_input */" \
19981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19982 || as_fn_error $? "could not create -" "$LINENO" 5
19987 # CONFIG_LINK
19990 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19992 else
19993 # Prefer the file from the source tree if names are identical.
19994 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19995 ac_source=$srcdir/$ac_source
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19999 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20001 if test ! -r "$ac_source"; then
20002 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20004 rm -f "$ac_file"
20006 # Try a relative symlink, then a hard link, then a copy.
20007 case $ac_source in
20008 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20009 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20010 esac
20011 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20012 ln "$ac_source" "$ac_file" 2>/dev/null ||
20013 cp -p "$ac_source" "$ac_file" ||
20014 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20017 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20018 $as_echo "$as_me: executing $ac_file commands" >&6;}
20020 esac
20023 case $ac_file$ac_mode in
20024 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20025 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20026 "Makefile":C) wine_fn_output_makefile Makefile ;;
20028 esac
20029 done # for ac_tag
20032 as_fn_exit 0
20033 _ACEOF
20034 ac_clean_files=$ac_clean_files_save
20036 test $ac_write_fail = 0 ||
20037 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20040 # configure is writing to config.log, and then calls config.status.
20041 # config.status does its own redirection, appending to config.log.
20042 # Unfortunately, on DOS this fails, as config.log is still kept open
20043 # by configure, so config.status won't be able to write to it; its
20044 # output is simply discarded. So we exec the FD to /dev/null,
20045 # effectively closing config.log, so it can be properly (re)opened and
20046 # appended to by config.status. When coming back to configure, we
20047 # need to make the FD available again.
20048 if test "$no_create" != yes; then
20049 ac_cs_success=:
20050 ac_config_status_args=
20051 test "$silent" = yes &&
20052 ac_config_status_args="$ac_config_status_args --quiet"
20053 exec 5>/dev/null
20054 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20055 exec 5>>config.log
20056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20057 # would make configure fail if this is the last instruction.
20058 $ac_cs_success || as_fn_exit 1
20060 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20062 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20066 if test "$no_create" = "yes"
20067 then
20068 exit 0
20071 ac_save_IFS="$IFS"
20072 if test "x$wine_notices" != x; then
20073 echo >&6
20074 IFS="|"
20075 for msg in $wine_notices; do
20076 IFS="$ac_save_IFS"
20077 if ${msg:+false} :; then :
20079 else
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20081 $as_echo "$as_me: $msg" >&6;}
20083 done
20085 IFS="|"
20086 for msg in $wine_warnings; do
20087 IFS="$ac_save_IFS"
20088 if ${msg:+false} :; then :
20090 else
20091 echo >&2
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20093 $as_echo "$as_me: WARNING: $msg" >&2;}
20095 done
20096 IFS="$ac_save_IFS"
20098 $as_echo "
20099 $as_me: Finished. Do '${ac_make}' to compile Wine.
20100 " >&6