mshtml.idl: Added HTMLTitleElement coclass declaration.
[wine.git] / configure
blob19d43e17e662117eb5c1dd7bf73216672e5923f9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.6.
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.6'
584 PACKAGE_STRING='Wine 2.6'
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_mtxdm
1336 enable_ncrypt
1337 enable_nddeapi
1338 enable_ndis_sys
1339 enable_netapi32
1340 enable_netcfgx
1341 enable_netprofm
1342 enable_newdev
1343 enable_normaliz
1344 enable_npmshtml
1345 enable_npptools
1346 enable_ntdll
1347 enable_ntdsapi
1348 enable_ntoskrnl_exe
1349 enable_ntprint
1350 enable_objsel
1351 enable_odbc32
1352 enable_odbccp32
1353 enable_odbccu32
1354 enable_ole32
1355 enable_oleacc
1356 enable_oleaut32
1357 enable_olecli32
1358 enable_oledb32
1359 enable_oledlg
1360 enable_olepro32
1361 enable_olesvr32
1362 enable_olethk32
1363 enable_openal32
1364 enable_opencl
1365 enable_opengl32
1366 enable_packager
1367 enable_pdh
1368 enable_photometadatahandler
1369 enable_pidgen
1370 enable_powrprof
1371 enable_printui
1372 enable_prntvpt
1373 enable_propsys
1374 enable_psapi
1375 enable_pstorec
1376 enable_qcap
1377 enable_qedit
1378 enable_qmgr
1379 enable_qmgrprxy
1380 enable_quartz
1381 enable_query
1382 enable_rasapi32
1383 enable_rasdlg
1384 enable_regapi
1385 enable_resutils
1386 enable_riched20
1387 enable_riched32
1388 enable_rpcrt4
1389 enable_rsabase
1390 enable_rsaenh
1391 enable_rstrtmgr
1392 enable_rtutils
1393 enable_samlib
1394 enable_sane_ds
1395 enable_scarddlg
1396 enable_sccbase
1397 enable_schannel
1398 enable_schedsvc
1399 enable_scrobj
1400 enable_scrrun
1401 enable_scsiport_sys
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shdoclc
1410 enable_shdocvw
1411 enable_shell32
1412 enable_shfolder
1413 enable_shlwapi
1414 enable_slbcsp
1415 enable_slc
1416 enable_snmpapi
1417 enable_softpub
1418 enable_spoolss
1419 enable_sspicli
1420 enable_stdole2_tlb
1421 enable_stdole32_tlb
1422 enable_sti
1423 enable_svrapi
1424 enable_sxs
1425 enable_t2embed
1426 enable_tapi32
1427 enable_taskschd
1428 enable_tdi_sys
1429 enable_traffic
1430 enable_twain_32
1431 enable_ucrtbase
1432 enable_uiautomationcore
1433 enable_unicows
1434 enable_updspapi
1435 enable_url
1436 enable_urlmon
1437 enable_usbd_sys
1438 enable_user32
1439 enable_userenv
1440 enable_usp10
1441 enable_uxtheme
1442 enable_vbscript
1443 enable_vcomp
1444 enable_vcomp100
1445 enable_vcomp110
1446 enable_vcomp120
1447 enable_vcomp140
1448 enable_vcomp90
1449 enable_vcruntime140
1450 enable_vdmdbg
1451 enable_version
1452 enable_virtdisk
1453 enable_vssapi
1454 enable_wbemdisp
1455 enable_wbemprox
1456 enable_webservices
1457 enable_wer
1458 enable_wevtapi
1459 enable_wiaservc
1460 enable_wimgapi
1461 enable_windowscodecs
1462 enable_windowscodecsext
1463 enable_winealsa_drv
1464 enable_winebus_sys
1465 enable_winecoreaudio_drv
1466 enable_wined3d
1467 enable_winegstreamer
1468 enable_winehid_sys
1469 enable_winejoystick_drv
1470 enable_winemac_drv
1471 enable_winemapi
1472 enable_winemp3_acm
1473 enable_wineoss_drv
1474 enable_wineps_drv
1475 enable_winepulse_drv
1476 enable_wineqtdecoder
1477 enable_winex11_drv
1478 enable_wing32
1479 enable_winhttp
1480 enable_wininet
1481 enable_winmm
1482 enable_winnls32
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_winusb
1489 enable_wlanapi
1490 enable_wldap32
1491 enable_wmasf
1492 enable_wmi
1493 enable_wmiutils
1494 enable_wmp
1495 enable_wmvcore
1496 enable_wnaspi32
1497 enable_wpc
1498 enable_wpcap
1499 enable_ws2_32
1500 enable_wsdapi
1501 enable_wshom_ocx
1502 enable_wsnmp32
1503 enable_wsock32
1504 enable_wtsapi32
1505 enable_wuapi
1506 enable_wuaueng
1507 enable_x3daudio1_0
1508 enable_x3daudio1_1
1509 enable_x3daudio1_2
1510 enable_x3daudio1_3
1511 enable_x3daudio1_4
1512 enable_x3daudio1_5
1513 enable_x3daudio1_6
1514 enable_x3daudio1_7
1515 enable_xapofx1_1
1516 enable_xapofx1_2
1517 enable_xapofx1_3
1518 enable_xapofx1_4
1519 enable_xapofx1_5
1520 enable_xaudio2_0
1521 enable_xaudio2_1
1522 enable_xaudio2_2
1523 enable_xaudio2_3
1524 enable_xaudio2_4
1525 enable_xaudio2_5
1526 enable_xaudio2_6
1527 enable_xaudio2_7
1528 enable_xaudio2_8
1529 enable_xaudio2_9
1530 enable_xinput1_1
1531 enable_xinput1_2
1532 enable_xinput1_3
1533 enable_xinput1_4
1534 enable_xinput9_1_0
1535 enable_xmllite
1536 enable_xolehlp
1537 enable_xpsprint
1538 enable_xpssvcs
1539 enable_fonts
1540 enable_include
1541 enable_libs_port
1542 enable_libs_wine
1543 enable_libs_wpp
1544 enable_loader
1545 enable_po
1546 enable_arp
1547 enable_aspnet_regiis
1548 enable_attrib
1549 enable_cabarc
1550 enable_cacls
1551 enable_clock
1552 enable_cmd
1553 enable_conhost
1554 enable_control
1555 enable_cscript
1556 enable_dpnsvr
1557 enable_dxdiag
1558 enable_eject
1559 enable_expand
1560 enable_explorer
1561 enable_extrac32
1562 enable_findstr
1563 enable_fsutil
1564 enable_hh
1565 enable_hostname
1566 enable_icacls
1567 enable_icinfo
1568 enable_iexplore
1569 enable_ipconfig
1570 enable_lodctr
1571 enable_mofcomp
1572 enable_mshta
1573 enable_msiexec
1574 enable_msinfo32
1575 enable_net
1576 enable_netsh
1577 enable_netstat
1578 enable_ngen
1579 enable_notepad
1580 enable_oleview
1581 enable_ping
1582 enable_plugplay
1583 enable_presentationfontcache
1584 enable_progman
1585 enable_reg
1586 enable_regasm
1587 enable_regedit
1588 enable_regsvcs
1589 enable_regsvr32
1590 enable_rpcss
1591 enable_rundll32
1592 enable_sc
1593 enable_schtasks
1594 enable_sdbinst
1595 enable_secedit
1596 enable_servicemodelreg
1597 enable_services
1598 enable_shutdown
1599 enable_spoolsv
1600 enable_start
1601 enable_subst
1602 enable_svchost
1603 enable_systeminfo
1604 enable_taskkill
1605 enable_tasklist
1606 enable_taskmgr
1607 enable_termsv
1608 enable_uninstaller
1609 enable_unlodctr
1610 enable_view
1611 enable_wevtutil
1612 enable_wineboot
1613 enable_winebrowser
1614 enable_winecfg
1615 enable_wineconsole
1616 enable_winedbg
1617 enable_winedevice
1618 enable_winefile
1619 enable_winemenubuilder
1620 enable_winemine
1621 enable_winemsibuilder
1622 enable_winepath
1623 enable_winetest
1624 enable_winhlp32
1625 enable_winver
1626 enable_wmic
1627 enable_wmplayer
1628 enable_wordpad
1629 enable_write
1630 enable_wscript
1631 enable_wusa
1632 enable_xcopy
1633 enable_server
1634 enable_tools
1636 ac_precious_vars='build_alias
1637 host_alias
1638 target_alias
1640 CFLAGS
1641 LDFLAGS
1642 LIBS
1643 CPPFLAGS
1645 CXXFLAGS
1648 XMKMF
1649 XML2_CFLAGS
1650 XML2_LIBS
1651 XSLT_CFLAGS
1652 XSLT_LIBS
1653 DBUS_CFLAGS
1654 DBUS_LIBS
1655 HAL_CFLAGS
1656 HAL_LIBS
1657 GNUTLS_CFLAGS
1658 GNUTLS_LIBS
1659 SANE_CFLAGS
1660 SANE_LIBS
1661 GPHOTO2_CFLAGS
1662 GPHOTO2_LIBS
1663 GPHOTO2_PORT_CFLAGS
1664 GPHOTO2_PORT_LIBS
1665 LCMS2_CFLAGS
1666 LCMS2_LIBS
1667 FREETYPE_CFLAGS
1668 FREETYPE_LIBS
1669 PULSE_CFLAGS
1670 PULSE_LIBS
1671 GSTREAMER_CFLAGS
1672 GSTREAMER_LIBS
1673 UDEV_CFLAGS
1674 UDEV_LIBS
1675 CAPI20_CFLAGS
1676 CAPI20_LIBS
1677 FONTCONFIG_CFLAGS
1678 FONTCONFIG_LIBS
1679 JPEG_CFLAGS
1680 JPEG_LIBS
1681 PNG_CFLAGS
1682 PNG_LIBS
1683 TIFF_CFLAGS
1684 TIFF_LIBS
1685 MPG123_CFLAGS
1686 MPG123_LIBS
1687 NETAPI_CFLAGS
1688 NETAPI_LIBS'
1691 # Initialize some variables set by options.
1692 ac_init_help=
1693 ac_init_version=false
1694 ac_unrecognized_opts=
1695 ac_unrecognized_sep=
1696 # The variables have the same names as the options, with
1697 # dashes changed to underlines.
1698 cache_file=/dev/null
1699 exec_prefix=NONE
1700 no_create=
1701 no_recursion=
1702 prefix=NONE
1703 program_prefix=NONE
1704 program_suffix=NONE
1705 program_transform_name=s,x,x,
1706 silent=
1707 site=
1708 srcdir=
1709 verbose=
1710 x_includes=NONE
1711 x_libraries=NONE
1713 # Installation directory options.
1714 # These are left unexpanded so users can "make install exec_prefix=/foo"
1715 # and all the variables that are supposed to be based on exec_prefix
1716 # by default will actually change.
1717 # Use braces instead of parens because sh, perl, etc. also accept them.
1718 # (The list follows the same order as the GNU Coding Standards.)
1719 bindir='${exec_prefix}/bin'
1720 sbindir='${exec_prefix}/sbin'
1721 libexecdir='${exec_prefix}/libexec'
1722 datarootdir='${prefix}/share'
1723 datadir='${datarootdir}'
1724 sysconfdir='${prefix}/etc'
1725 sharedstatedir='${prefix}/com'
1726 localstatedir='${prefix}/var'
1727 runstatedir='${localstatedir}/run'
1728 includedir='${prefix}/include'
1729 oldincludedir='/usr/include'
1730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1731 infodir='${datarootdir}/info'
1732 htmldir='${docdir}'
1733 dvidir='${docdir}'
1734 pdfdir='${docdir}'
1735 psdir='${docdir}'
1736 libdir='${exec_prefix}/lib'
1737 localedir='${datarootdir}/locale'
1738 mandir='${datarootdir}/man'
1740 ac_prev=
1741 ac_dashdash=
1742 for ac_option
1744 # If the previous option needs an argument, assign it.
1745 if test -n "$ac_prev"; then
1746 eval $ac_prev=\$ac_option
1747 ac_prev=
1748 continue
1751 case $ac_option in
1752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1753 *=) ac_optarg= ;;
1754 *) ac_optarg=yes ;;
1755 esac
1757 # Accept the important Cygnus configure options, so we can diagnose typos.
1759 case $ac_dashdash$ac_option in
1761 ac_dashdash=yes ;;
1763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1764 ac_prev=bindir ;;
1765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1766 bindir=$ac_optarg ;;
1768 -build | --build | --buil | --bui | --bu)
1769 ac_prev=build_alias ;;
1770 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1771 build_alias=$ac_optarg ;;
1773 -cache-file | --cache-file | --cache-fil | --cache-fi \
1774 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1775 ac_prev=cache_file ;;
1776 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1777 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1778 cache_file=$ac_optarg ;;
1780 --config-cache | -C)
1781 cache_file=config.cache ;;
1783 -datadir | --datadir | --datadi | --datad)
1784 ac_prev=datadir ;;
1785 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1786 datadir=$ac_optarg ;;
1788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1789 | --dataroo | --dataro | --datar)
1790 ac_prev=datarootdir ;;
1791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1793 datarootdir=$ac_optarg ;;
1795 -disable-* | --disable-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid feature name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "enable_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval enable_$ac_useropt=no ;;
1811 -docdir | --docdir | --docdi | --doc | --do)
1812 ac_prev=docdir ;;
1813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1814 docdir=$ac_optarg ;;
1816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1817 ac_prev=dvidir ;;
1818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1819 dvidir=$ac_optarg ;;
1821 -enable-* | --enable-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid feature name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval enable_$ac_useropt=\$ac_optarg ;;
1837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1839 | --exec | --exe | --ex)
1840 ac_prev=exec_prefix ;;
1841 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1842 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1843 | --exec=* | --exe=* | --ex=*)
1844 exec_prefix=$ac_optarg ;;
1846 -gas | --gas | --ga | --g)
1847 # Obsolete; use --with-gas.
1848 with_gas=yes ;;
1850 -help | --help | --hel | --he | -h)
1851 ac_init_help=long ;;
1852 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1853 ac_init_help=recursive ;;
1854 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1855 ac_init_help=short ;;
1857 -host | --host | --hos | --ho)
1858 ac_prev=host_alias ;;
1859 -host=* | --host=* | --hos=* | --ho=*)
1860 host_alias=$ac_optarg ;;
1862 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1863 ac_prev=htmldir ;;
1864 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1865 | --ht=*)
1866 htmldir=$ac_optarg ;;
1868 -includedir | --includedir | --includedi | --included | --include \
1869 | --includ | --inclu | --incl | --inc)
1870 ac_prev=includedir ;;
1871 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1872 | --includ=* | --inclu=* | --incl=* | --inc=*)
1873 includedir=$ac_optarg ;;
1875 -infodir | --infodir | --infodi | --infod | --info | --inf)
1876 ac_prev=infodir ;;
1877 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1878 infodir=$ac_optarg ;;
1880 -libdir | --libdir | --libdi | --libd)
1881 ac_prev=libdir ;;
1882 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1883 libdir=$ac_optarg ;;
1885 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1886 | --libexe | --libex | --libe)
1887 ac_prev=libexecdir ;;
1888 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1889 | --libexe=* | --libex=* | --libe=*)
1890 libexecdir=$ac_optarg ;;
1892 -localedir | --localedir | --localedi | --localed | --locale)
1893 ac_prev=localedir ;;
1894 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1895 localedir=$ac_optarg ;;
1897 -localstatedir | --localstatedir | --localstatedi | --localstated \
1898 | --localstate | --localstat | --localsta | --localst | --locals)
1899 ac_prev=localstatedir ;;
1900 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1901 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1902 localstatedir=$ac_optarg ;;
1904 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1905 ac_prev=mandir ;;
1906 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1907 mandir=$ac_optarg ;;
1909 -nfp | --nfp | --nf)
1910 # Obsolete; use --without-fp.
1911 with_fp=no ;;
1913 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1914 | --no-cr | --no-c | -n)
1915 no_create=yes ;;
1917 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1918 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1919 no_recursion=yes ;;
1921 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1922 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1923 | --oldin | --oldi | --old | --ol | --o)
1924 ac_prev=oldincludedir ;;
1925 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1926 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1927 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1928 oldincludedir=$ac_optarg ;;
1930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1931 ac_prev=prefix ;;
1932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1933 prefix=$ac_optarg ;;
1935 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1936 | --program-pre | --program-pr | --program-p)
1937 ac_prev=program_prefix ;;
1938 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1939 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1940 program_prefix=$ac_optarg ;;
1942 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1943 | --program-suf | --program-su | --program-s)
1944 ac_prev=program_suffix ;;
1945 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1946 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1947 program_suffix=$ac_optarg ;;
1949 -program-transform-name | --program-transform-name \
1950 | --program-transform-nam | --program-transform-na \
1951 | --program-transform-n | --program-transform- \
1952 | --program-transform | --program-transfor \
1953 | --program-transfo | --program-transf \
1954 | --program-trans | --program-tran \
1955 | --progr-tra | --program-tr | --program-t)
1956 ac_prev=program_transform_name ;;
1957 -program-transform-name=* | --program-transform-name=* \
1958 | --program-transform-nam=* | --program-transform-na=* \
1959 | --program-transform-n=* | --program-transform-=* \
1960 | --program-transform=* | --program-transfor=* \
1961 | --program-transfo=* | --program-transf=* \
1962 | --program-trans=* | --program-tran=* \
1963 | --progr-tra=* | --program-tr=* | --program-t=*)
1964 program_transform_name=$ac_optarg ;;
1966 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1967 ac_prev=pdfdir ;;
1968 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1969 pdfdir=$ac_optarg ;;
1971 -psdir | --psdir | --psdi | --psd | --ps)
1972 ac_prev=psdir ;;
1973 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1974 psdir=$ac_optarg ;;
1976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1977 | -silent | --silent | --silen | --sile | --sil)
1978 silent=yes ;;
1980 -runstatedir | --runstatedir | --runstatedi | --runstated \
1981 | --runstate | --runstat | --runsta | --runst | --runs \
1982 | --run | --ru | --r)
1983 ac_prev=runstatedir ;;
1984 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1985 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1986 | --run=* | --ru=* | --r=*)
1987 runstatedir=$ac_optarg ;;
1989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1990 ac_prev=sbindir ;;
1991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1992 | --sbi=* | --sb=*)
1993 sbindir=$ac_optarg ;;
1995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1997 | --sharedst | --shareds | --shared | --share | --shar \
1998 | --sha | --sh)
1999 ac_prev=sharedstatedir ;;
2000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2003 | --sha=* | --sh=*)
2004 sharedstatedir=$ac_optarg ;;
2006 -site | --site | --sit)
2007 ac_prev=site ;;
2008 -site=* | --site=* | --sit=*)
2009 site=$ac_optarg ;;
2011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2012 ac_prev=srcdir ;;
2013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2014 srcdir=$ac_optarg ;;
2016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2017 | --syscon | --sysco | --sysc | --sys | --sy)
2018 ac_prev=sysconfdir ;;
2019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2021 sysconfdir=$ac_optarg ;;
2023 -target | --target | --targe | --targ | --tar | --ta | --t)
2024 ac_prev=target_alias ;;
2025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2026 target_alias=$ac_optarg ;;
2028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2029 verbose=yes ;;
2031 -version | --version | --versio | --versi | --vers | -V)
2032 ac_init_version=: ;;
2034 -with-* | --with-*)
2035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2036 # Reject names that are not valid shell variable names.
2037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2038 as_fn_error $? "invalid package name: $ac_useropt"
2039 ac_useropt_orig=$ac_useropt
2040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2041 case $ac_user_opts in
2043 "with_$ac_useropt"
2044 "*) ;;
2045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2046 ac_unrecognized_sep=', ';;
2047 esac
2048 eval with_$ac_useropt=\$ac_optarg ;;
2050 -without-* | --without-*)
2051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2052 # Reject names that are not valid shell variable names.
2053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2054 as_fn_error $? "invalid package name: $ac_useropt"
2055 ac_useropt_orig=$ac_useropt
2056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2057 case $ac_user_opts in
2059 "with_$ac_useropt"
2060 "*) ;;
2061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2062 ac_unrecognized_sep=', ';;
2063 esac
2064 eval with_$ac_useropt=no ;;
2066 --x)
2067 # Obsolete; use --with-x.
2068 with_x=yes ;;
2070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2071 | --x-incl | --x-inc | --x-in | --x-i)
2072 ac_prev=x_includes ;;
2073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2075 x_includes=$ac_optarg ;;
2077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2079 ac_prev=x_libraries ;;
2080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2082 x_libraries=$ac_optarg ;;
2084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2085 Try \`$0 --help' for more information"
2088 *=*)
2089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2090 # Reject names that are not valid shell variable names.
2091 case $ac_envvar in #(
2092 '' | [0-9]* | *[!_$as_cr_alnum]* )
2093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2094 esac
2095 eval $ac_envvar=\$ac_optarg
2096 export $ac_envvar ;;
2099 # FIXME: should be removed in autoconf 3.0.
2100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2103 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2106 esac
2107 done
2109 if test -n "$ac_prev"; then
2110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2111 as_fn_error $? "missing argument to $ac_option"
2114 if test -n "$ac_unrecognized_opts"; then
2115 case $enable_option_checking in
2116 no) ;;
2117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2119 esac
2122 # Check all directory arguments for consistency.
2123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2124 datadir sysconfdir sharedstatedir localstatedir includedir \
2125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2126 libdir localedir mandir runstatedir
2128 eval ac_val=\$$ac_var
2129 # Remove trailing slashes.
2130 case $ac_val in
2131 */ )
2132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2133 eval $ac_var=\$ac_val;;
2134 esac
2135 # Be sure to have absolute directory names.
2136 case $ac_val in
2137 [\\/$]* | ?:[\\/]* ) continue;;
2138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2139 esac
2140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2141 done
2143 # There might be people who depend on the old broken behavior: `$host'
2144 # used to hold the argument of --host etc.
2145 # FIXME: To remove some day.
2146 build=$build_alias
2147 host=$host_alias
2148 target=$target_alias
2150 # FIXME: To remove some day.
2151 if test "x$host_alias" != x; then
2152 if test "x$build_alias" = x; then
2153 cross_compiling=maybe
2154 elif test "x$build_alias" != "x$host_alias"; then
2155 cross_compiling=yes
2159 ac_tool_prefix=
2160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2162 test "$silent" = yes && exec 6>/dev/null
2165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2166 ac_ls_di=`ls -di .` &&
2167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2168 as_fn_error $? "working directory cannot be determined"
2169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2170 as_fn_error $? "pwd does not report name of working directory"
2173 # Find the source files, if location was not specified.
2174 if test -z "$srcdir"; then
2175 ac_srcdir_defaulted=yes
2176 # Try the directory containing this script, then the parent directory.
2177 ac_confdir=`$as_dirname -- "$as_myself" ||
2178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2179 X"$as_myself" : 'X\(//\)[^/]' \| \
2180 X"$as_myself" : 'X\(//\)$' \| \
2181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2182 $as_echo X"$as_myself" |
2183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2184 s//\1/
2187 /^X\(\/\/\)[^/].*/{
2188 s//\1/
2191 /^X\(\/\/\)$/{
2192 s//\1/
2195 /^X\(\/\).*/{
2196 s//\1/
2199 s/.*/./; q'`
2200 srcdir=$ac_confdir
2201 if test ! -r "$srcdir/$ac_unique_file"; then
2202 srcdir=..
2204 else
2205 ac_srcdir_defaulted=no
2207 if test ! -r "$srcdir/$ac_unique_file"; then
2208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2212 ac_abs_confdir=`(
2213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2214 pwd)`
2215 # When building in place, set srcdir=.
2216 if test "$ac_abs_confdir" = "$ac_pwd"; then
2217 srcdir=.
2219 # Remove unnecessary trailing slashes from srcdir.
2220 # Double slashes in file names in object file debugging info
2221 # mess up M-x gdb in Emacs.
2222 case $srcdir in
2223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2224 esac
2225 for ac_var in $ac_precious_vars; do
2226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2227 eval ac_env_${ac_var}_value=\$${ac_var}
2228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2230 done
2233 # Report the --help message.
2235 if test "$ac_init_help" = "long"; then
2236 # Omit some internal or obsolete options to make the list less imposing.
2237 # This message is too long to be a string in the A/UX 3.1 sh.
2238 cat <<_ACEOF
2239 \`configure' configures Wine 2.6 to adapt to many kinds of systems.
2241 Usage: $0 [OPTION]... [VAR=VALUE]...
2243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2244 VAR=VALUE. See below for descriptions of some of the useful variables.
2246 Defaults for the options are specified in brackets.
2248 Configuration:
2249 -h, --help display this help and exit
2250 --help=short display options specific to this package
2251 --help=recursive display the short help of all the included packages
2252 -V, --version display version information and exit
2253 -q, --quiet, --silent do not print \`checking ...' messages
2254 --cache-file=FILE cache test results in FILE [disabled]
2255 -C, --config-cache alias for \`--cache-file=config.cache'
2256 -n, --no-create do not create output files
2257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2259 Installation directories:
2260 --prefix=PREFIX install architecture-independent files in PREFIX
2261 [$ac_default_prefix]
2262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2263 [PREFIX]
2265 By default, \`make install' will install all the files in
2266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2268 for instance \`--prefix=\$HOME'.
2270 For better control, use the options below.
2272 Fine tuning of the installation directories:
2273 --bindir=DIR user executables [EPREFIX/bin]
2274 --sbindir=DIR system admin executables [EPREFIX/sbin]
2275 --libexecdir=DIR program executables [EPREFIX/libexec]
2276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2279 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2280 --libdir=DIR object code libraries [EPREFIX/lib]
2281 --includedir=DIR C header files [PREFIX/include]
2282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2285 --infodir=DIR info documentation [DATAROOTDIR/info]
2286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2287 --mandir=DIR man documentation [DATAROOTDIR/man]
2288 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2289 --htmldir=DIR html documentation [DOCDIR]
2290 --dvidir=DIR dvi documentation [DOCDIR]
2291 --pdfdir=DIR pdf documentation [DOCDIR]
2292 --psdir=DIR ps documentation [DOCDIR]
2293 _ACEOF
2295 cat <<\_ACEOF
2297 X features:
2298 --x-includes=DIR X include files are in DIR
2299 --x-libraries=DIR X library files are in DIR
2301 System types:
2302 --build=BUILD configure for building on BUILD [guessed]
2303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2304 _ACEOF
2307 if test -n "$ac_init_help"; then
2308 case $ac_init_help in
2309 short | recursive ) echo "Configuration of Wine 2.6:";;
2310 esac
2311 cat <<\_ACEOF
2313 Optional Features:
2314 --disable-option-checking ignore unrecognized --enable/--with options
2315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2317 --disable-win16 do not include Win16 support
2318 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2319 binaries)
2320 --disable-tests do not build the regression tests
2321 --enable-maintainer-mode
2322 enable maintainer-specific build rules
2323 --disable-largefile omit support for large files
2325 Optional Packages:
2326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2328 --without-alsa do not use the Alsa sound support
2329 --without-capi do not use CAPI (ISDN support)
2330 --without-cms do not use CMS (color management support)
2331 --without-coreaudio do not use the CoreAudio sound support
2332 --without-cups do not use CUPS
2333 --without-curses do not use (n)curses
2334 --without-dbus do not use DBus (dynamic device support)
2335 --without-fontconfig do not use fontconfig
2336 --without-freetype do not use the FreeType library
2337 --without-gettext do not use gettext
2338 --with-gettextpo use the GetTextPO library to rebuild po files
2339 --without-gphoto do not use gphoto (Digital Camera support)
2340 --without-glu do not use the GLU library
2341 --without-gnutls do not use GnuTLS (schannel support)
2342 --without-gsm do not use libgsm (GSM 06.10 codec support)
2343 --without-gstreamer do not use GStreamer (codecs support)
2344 --without-hal do not use HAL (dynamic device support)
2345 --without-jpeg do not use JPEG
2346 --without-ldap do not use LDAP
2347 --without-mpg123 do not use the mpg123 library
2348 --without-netapi do not use the Samba NetAPI library
2349 --without-openal do not use OpenAL
2350 --without-opencl do not use OpenCL
2351 --without-opengl do not use OpenGL
2352 --without-osmesa do not use the OSMesa library
2353 --without-oss do not use the OSS sound support
2354 --without-pcap do not use the Packet Capture library
2355 --without-png do not use PNG
2356 --without-pthread do not use the pthread library
2357 --without-pulse do not use PulseAudio sound support
2358 --without-sane do not use SANE (scanner support)
2359 --without-tiff do not use TIFF
2360 --without-udev do not use udev (plug and play support)
2361 --without-v4l do not use v4l1 (v4l support)
2362 --without-xcomposite do not use the Xcomposite extension
2363 --without-xcursor do not use the Xcursor extension
2364 --without-xinerama do not use Xinerama (multi-monitor support)
2365 --without-xinput do not use the Xinput extension
2366 --without-xinput2 do not use the Xinput 2 extension
2367 --without-xml do not use XML
2368 --without-xrandr do not use Xrandr (resolution changes)
2369 --without-xrender do not use the Xrender extension
2370 --without-xshape do not use the Xshape extension
2371 --without-xshm do not use XShm (shared memory extension)
2372 --without-xslt do not use XSLT
2373 --without-xxf86vm do not use XFree video mode extension
2374 --without-zlib do not use Zlib (data compression)
2375 --with-wine-tools=DIR use Wine tools from directory DIR
2376 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2377 --with-x use the X Window System
2379 Some influential environment variables:
2380 CC C compiler command
2381 CFLAGS C compiler flags
2382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2383 nonstandard directory <lib dir>
2384 LIBS libraries to pass to the linker, e.g. -l<library>
2385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2386 you have headers in a nonstandard directory <include dir>
2387 CXX C++ compiler command
2388 CXXFLAGS C++ compiler flags
2389 CPP C preprocessor
2390 XMKMF Path to xmkmf, Makefile generator for X Window System
2391 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2392 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2393 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2394 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2395 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2396 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2397 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2398 HAL_LIBS Linker flags for hal, overriding pkg-config
2399 GNUTLS_CFLAGS
2400 C compiler flags for gnutls, overriding pkg-config
2401 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2402 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2403 SANE_LIBS Linker flags for libsane, overriding pkg-config
2404 GPHOTO2_CFLAGS
2405 C compiler flags for libgphoto2, overriding pkg-config
2406 GPHOTO2_LIBS
2407 Linker flags for libgphoto2, overriding pkg-config
2408 GPHOTO2_PORT_CFLAGS
2409 C compiler flags for libgphoto2_port, overriding pkg-config
2410 GPHOTO2_PORT_LIBS
2411 Linker flags for libgphoto2_port, overriding pkg-config
2412 LCMS2_CFLAGS
2413 C compiler flags for lcms2, overriding pkg-config
2414 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2415 FREETYPE_CFLAGS
2416 C compiler flags for freetype2, overriding pkg-config
2417 FREETYPE_LIBS
2418 Linker flags for freetype2, overriding pkg-config
2419 PULSE_CFLAGS
2420 C compiler flags for libpulse, overriding pkg-config
2421 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2422 GSTREAMER_CFLAGS
2423 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2424 gstreamer-audio-1.0, overriding pkg-config
2425 GSTREAMER_LIBS
2426 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2427 gstreamer-audio-1.0, overriding pkg-config
2428 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2429 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2430 CAPI20_CFLAGS
2431 C compiler flags for capi20, overriding pkg-config
2432 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2433 FONTCONFIG_CFLAGS
2434 C compiler flags for fontconfig, overriding pkg-config
2435 FONTCONFIG_LIBS
2436 Linker flags for fontconfig, overriding pkg-config
2437 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2438 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2439 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2440 PNG_LIBS Linker flags for libpng, overriding pkg-config
2441 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2442 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2443 MPG123_CFLAGS
2444 C compiler flags for libmpg123, overriding pkg-config
2445 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2446 NETAPI_CFLAGS
2447 C compiler flags for netapi, overriding pkg-config
2448 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2450 Use these variables to override the choices made by `configure' or to help
2451 it to find libraries and programs with nonstandard names/locations.
2453 Report bugs to <wine-devel@winehq.org>.
2454 Wine home page: <http://www.winehq.org>.
2455 _ACEOF
2456 ac_status=$?
2459 if test "$ac_init_help" = "recursive"; then
2460 # If there are subdirs, report their specific --help.
2461 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2462 test -d "$ac_dir" ||
2463 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2464 continue
2465 ac_builddir=.
2467 case "$ac_dir" in
2468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2470 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2471 # A ".." for each directory in $ac_dir_suffix.
2472 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2473 case $ac_top_builddir_sub in
2474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2476 esac ;;
2477 esac
2478 ac_abs_top_builddir=$ac_pwd
2479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2480 # for backward compatibility:
2481 ac_top_builddir=$ac_top_build_prefix
2483 case $srcdir in
2484 .) # We are building in place.
2485 ac_srcdir=.
2486 ac_top_srcdir=$ac_top_builddir_sub
2487 ac_abs_top_srcdir=$ac_pwd ;;
2488 [\\/]* | ?:[\\/]* ) # Absolute name.
2489 ac_srcdir=$srcdir$ac_dir_suffix;
2490 ac_top_srcdir=$srcdir
2491 ac_abs_top_srcdir=$srcdir ;;
2492 *) # Relative name.
2493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2494 ac_top_srcdir=$ac_top_build_prefix$srcdir
2495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2496 esac
2497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2499 cd "$ac_dir" || { ac_status=$?; continue; }
2500 # Check for guested configure.
2501 if test -f "$ac_srcdir/configure.gnu"; then
2502 echo &&
2503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2504 elif test -f "$ac_srcdir/configure"; then
2505 echo &&
2506 $SHELL "$ac_srcdir/configure" --help=recursive
2507 else
2508 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2509 fi || ac_status=$?
2510 cd "$ac_pwd" || { ac_status=$?; break; }
2511 done
2514 test -n "$ac_init_help" && exit $ac_status
2515 if $ac_init_version; then
2516 cat <<\_ACEOF
2517 Wine configure 2.6
2518 generated by GNU Autoconf 2.69
2520 Copyright (C) 2012 Free Software Foundation, Inc.
2521 This configure script is free software; the Free Software Foundation
2522 gives unlimited permission to copy, distribute and modify it.
2523 _ACEOF
2524 exit
2527 ## ------------------------ ##
2528 ## Autoconf initialization. ##
2529 ## ------------------------ ##
2531 # ac_fn_c_try_compile LINENO
2532 # --------------------------
2533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2534 ac_fn_c_try_compile ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 rm -f conftest.$ac_objext
2538 if { { ac_try="$ac_compile"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_compile") 2>conftest.err
2546 ac_status=$?
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest.$ac_objext; then :
2557 ac_retval=0
2558 else
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2562 ac_retval=1
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 as_fn_set_status $ac_retval
2567 } # ac_fn_c_try_compile
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 rm -f conftest.$ac_objext
2576 if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>conftest.err
2584 ac_status=$?
2585 if test -s conftest.err; then
2586 grep -v '^ *+' conftest.err >conftest.er1
2587 cat conftest.er1 >&5
2588 mv -f conftest.er1 conftest.err
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && {
2592 test -z "$ac_cxx_werror_flag" ||
2593 test ! -s conftest.err
2594 } && test -s conftest.$ac_objext; then :
2595 ac_retval=0
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=1
2602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 as_fn_set_status $ac_retval
2605 } # ac_fn_cxx_try_compile
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_link ()
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext conftest$ac_exeext
2614 if { { ac_try="$ac_link"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest$ac_exeext && {
2633 test "$cross_compiling" = yes ||
2634 test -x conftest$ac_exeext
2635 }; then :
2636 ac_retval=0
2637 else
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 ac_retval=1
2643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645 # interfere with the next link command; also delete a directory that is
2646 # left behind by Apple's compiler. We do this before executing the actions.
2647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 as_fn_set_status $ac_retval
2651 } # ac_fn_c_try_link
2653 # ac_fn_c_try_cpp LINENO
2654 # ----------------------
2655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_c_try_cpp ()
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 if { { ac_try="$ac_cpp conftest.$ac_ext"
2660 case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2663 esac
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2667 ac_status=$?
2668 if test -s conftest.err; then
2669 grep -v '^ *+' conftest.err >conftest.er1
2670 cat conftest.er1 >&5
2671 mv -f conftest.er1 conftest.err
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } > conftest.i && {
2675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2676 test ! -s conftest.err
2677 }; then :
2678 ac_retval=0
2679 else
2680 $as_echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2683 ac_retval=1
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2686 as_fn_set_status $ac_retval
2688 } # ac_fn_c_try_cpp
2690 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2691 # -------------------------------------------------------
2692 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2693 # the include files in INCLUDES and setting the cache variable VAR
2694 # accordingly.
2695 ac_fn_c_check_header_mongrel ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 if eval \${$3+:} false; then :
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \${$3+:} false; then :
2702 $as_echo_n "(cached) " >&6
2704 eval ac_res=\$$3
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 else
2708 # Is the header compilable?
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2710 $as_echo_n "checking $2 usability... " >&6; }
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2714 #include <$2>
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 ac_header_compiler=yes
2718 else
2719 ac_header_compiler=no
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2723 $as_echo "$ac_header_compiler" >&6; }
2725 # Is the header present?
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2727 $as_echo_n "checking $2 presence... " >&6; }
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2730 #include <$2>
2731 _ACEOF
2732 if ac_fn_c_try_cpp "$LINENO"; then :
2733 ac_header_preproc=yes
2734 else
2735 ac_header_preproc=no
2737 rm -f conftest.err conftest.i conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2739 $as_echo "$ac_header_preproc" >&6; }
2741 # So? What about this header?
2742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2743 yes:no: )
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2745 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 no:yes:* )
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2751 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2753 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2755 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2757 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2760 ( $as_echo "## ------------------------------------ ##
2761 ## Report this to wine-devel@winehq.org ##
2762 ## ------------------------------------ ##"
2763 ) | sed "s/^/$as_me: WARNING: /" >&2
2765 esac
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval \${$3+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 eval "$3=\$ac_header_compiler"
2773 eval ac_res=\$$3
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2775 $as_echo "$ac_res" >&6; }
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2779 } # ac_fn_c_check_header_mongrel
2781 # ac_fn_c_try_run LINENO
2782 # ----------------------
2783 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2784 # that executables *can* be run.
2785 ac_fn_c_try_run ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 if { { ac_try="$ac_link"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_link") 2>&5
2796 ac_status=$?
2797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2798 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2799 { { case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_try") 2>&5
2806 ac_status=$?
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; }; }; then :
2809 ac_retval=0
2810 else
2811 $as_echo "$as_me: program exited with status $ac_status" >&5
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=$ac_status
2817 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 as_fn_set_status $ac_retval
2821 } # ac_fn_c_try_run
2823 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2824 # -------------------------------------------------------
2825 # Tests whether HEADER exists and can be compiled using the include files in
2826 # INCLUDES, setting the cache variable VAR accordingly.
2827 ac_fn_c_check_header_compile ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2831 $as_echo_n "checking for $2... " >&6; }
2832 if eval \${$3+:} false; then :
2833 $as_echo_n "(cached) " >&6
2834 else
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2838 #include <$2>
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$3=yes"
2842 else
2843 eval "$3=no"
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 eval ac_res=\$$3
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 } # ac_fn_c_check_header_compile
2854 # ac_fn_c_check_func LINENO FUNC VAR
2855 # ----------------------------------
2856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2857 ac_fn_c_check_func ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 $as_echo_n "checking for $2... " >&6; }
2862 if eval \${$3+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2869 #define $2 innocuous_$2
2871 /* System header to define __stub macros and hopefully few prototypes,
2872 which can conflict with char $2 (); below.
2873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2874 <limits.h> exists even on freestanding compilers. */
2876 #ifdef __STDC__
2877 # include <limits.h>
2878 #else
2879 # include <assert.h>
2880 #endif
2882 #undef $2
2884 /* Override any GCC internal prototype to avoid an error.
2885 Use char because int might match the return type of a GCC
2886 builtin and then its argument prototype would still apply. */
2887 #ifdef __cplusplus
2888 extern "C"
2889 #endif
2890 char $2 ();
2891 /* The GNU C library defines this for functions which it implements
2892 to always fail with ENOSYS. Some functions are actually named
2893 something starting with __ and the normal name is an alias. */
2894 #if defined __stub_$2 || defined __stub___$2
2895 choke me
2896 #endif
2899 main ()
2901 return $2 ();
2903 return 0;
2905 _ACEOF
2906 if ac_fn_c_try_link "$LINENO"; then :
2907 eval "$3=yes"
2908 else
2909 eval "$3=no"
2911 rm -f core conftest.err conftest.$ac_objext \
2912 conftest$ac_exeext conftest.$ac_ext
2914 eval ac_res=\$$3
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2916 $as_echo "$ac_res" >&6; }
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 } # ac_fn_c_check_func
2921 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2922 # ----------------------------------------------------
2923 # Tries to find if the field MEMBER exists in type AGGR, after including
2924 # INCLUDES, setting cache variable VAR accordingly.
2925 ac_fn_c_check_member ()
2927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2929 $as_echo_n "checking for $2.$3... " >&6; }
2930 if eval \${$4+:} false; then :
2931 $as_echo_n "(cached) " >&6
2932 else
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2937 main ()
2939 static $2 ac_aggr;
2940 if (ac_aggr.$3)
2941 return 0;
2943 return 0;
2945 _ACEOF
2946 if ac_fn_c_try_compile "$LINENO"; then :
2947 eval "$4=yes"
2948 else
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2953 main ()
2955 static $2 ac_aggr;
2956 if (sizeof ac_aggr.$3)
2957 return 0;
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 eval "$4=yes"
2964 else
2965 eval "$4=no"
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 eval ac_res=\$$4
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973 $as_echo "$ac_res" >&6; }
2974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 } # ac_fn_c_check_member
2978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2979 # -------------------------------------------
2980 # Tests whether TYPE exists after having included INCLUDES, setting cache
2981 # variable VAR accordingly.
2982 ac_fn_c_check_type ()
2984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2986 $as_echo_n "checking for $2... " >&6; }
2987 if eval \${$3+:} false; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 eval "$3=no"
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
2995 main ()
2997 if (sizeof ($2))
2998 return 0;
3000 return 0;
3002 _ACEOF
3003 if ac_fn_c_try_compile "$LINENO"; then :
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main ()
3010 if (sizeof (($2)))
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"; then :
3018 else
3019 eval "$3=yes"
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_type
3031 cat >config.log <<_ACEOF
3032 This file contains any messages produced by compilers while
3033 running configure, to aid debugging if configure makes a mistake.
3035 It was created by Wine $as_me 2.6, which was
3036 generated by GNU Autoconf 2.69. Invocation command line was
3038 $ $0 $@
3040 _ACEOF
3041 exec 5>>config.log
3043 cat <<_ASUNAME
3044 ## --------- ##
3045 ## Platform. ##
3046 ## --------- ##
3048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3065 _ASUNAME
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 $as_echo "PATH: $as_dir"
3073 done
3074 IFS=$as_save_IFS
3076 } >&5
3078 cat >&5 <<_ACEOF
3081 ## ----------- ##
3082 ## Core tests. ##
3083 ## ----------- ##
3085 _ACEOF
3088 # Keep a trace of the command line.
3089 # Strip out --no-create and --no-recursion so they do not pile up.
3090 # Strip out --silent because we don't want to record it for future runs.
3091 # Also quote any args containing shell meta-characters.
3092 # Make two passes to allow for proper duplicate-argument suppression.
3093 ac_configure_args=
3094 ac_configure_args0=
3095 ac_configure_args1=
3096 ac_must_keep_next=false
3097 for ac_pass in 1 2
3099 for ac_arg
3101 case $ac_arg in
3102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3104 | -silent | --silent | --silen | --sile | --sil)
3105 continue ;;
3106 *\'*)
3107 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3108 esac
3109 case $ac_pass in
3110 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3112 as_fn_append ac_configure_args1 " '$ac_arg'"
3113 if test $ac_must_keep_next = true; then
3114 ac_must_keep_next=false # Got value, back to normal.
3115 else
3116 case $ac_arg in
3117 *=* | --config-cache | -C | -disable-* | --disable-* \
3118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3120 | -with-* | --with-* | -without-* | --without-* | --x)
3121 case "$ac_configure_args0 " in
3122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3123 esac
3125 -* ) ac_must_keep_next=true ;;
3126 esac
3128 as_fn_append ac_configure_args " '$ac_arg'"
3130 esac
3131 done
3132 done
3133 { ac_configure_args0=; unset ac_configure_args0;}
3134 { ac_configure_args1=; unset ac_configure_args1;}
3136 # When interrupted or exit'd, cleanup temporary files, and complete
3137 # config.log. We remove comments because anyway the quotes in there
3138 # would cause problems or look ugly.
3139 # WARNING: Use '\'' to represent an apostrophe within the trap.
3140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3141 trap 'exit_status=$?
3142 # Save into config.log some information that might help in debugging.
3144 echo
3146 $as_echo "## ---------------- ##
3147 ## Cache variables. ##
3148 ## ---------------- ##"
3149 echo
3150 # The following way of writing the cache mishandles newlines in values,
3152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3153 eval ac_val=\$$ac_var
3154 case $ac_val in #(
3155 *${as_nl}*)
3156 case $ac_var in #(
3157 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3158 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3159 esac
3160 case $ac_var in #(
3161 _ | IFS | as_nl) ;; #(
3162 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3163 *) { eval $ac_var=; unset $ac_var;} ;;
3164 esac ;;
3165 esac
3166 done
3167 (set) 2>&1 |
3168 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3169 *${as_nl}ac_space=\ *)
3170 sed -n \
3171 "s/'\''/'\''\\\\'\'''\''/g;
3172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3173 ;; #(
3175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3177 esac |
3178 sort
3180 echo
3182 $as_echo "## ----------------- ##
3183 ## Output variables. ##
3184 ## ----------------- ##"
3185 echo
3186 for ac_var in $ac_subst_vars
3188 eval ac_val=\$$ac_var
3189 case $ac_val in
3190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3191 esac
3192 $as_echo "$ac_var='\''$ac_val'\''"
3193 done | sort
3194 echo
3196 if test -n "$ac_subst_files"; then
3197 $as_echo "## ------------------- ##
3198 ## File substitutions. ##
3199 ## ------------------- ##"
3200 echo
3201 for ac_var in $ac_subst_files
3203 eval ac_val=\$$ac_var
3204 case $ac_val in
3205 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3206 esac
3207 $as_echo "$ac_var='\''$ac_val'\''"
3208 done | sort
3209 echo
3212 if test -s confdefs.h; then
3213 $as_echo "## ----------- ##
3214 ## confdefs.h. ##
3215 ## ----------- ##"
3216 echo
3217 cat confdefs.h
3218 echo
3220 test "$ac_signal" != 0 &&
3221 $as_echo "$as_me: caught signal $ac_signal"
3222 $as_echo "$as_me: exit $exit_status"
3223 } >&5
3224 rm -f core *.core core.conftest.* &&
3225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3226 exit $exit_status
3228 for ac_signal in 1 2 13 15; do
3229 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3230 done
3231 ac_signal=0
3233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3234 rm -f -r conftest* confdefs.h
3236 $as_echo "/* confdefs.h */" > confdefs.h
3238 # Predefined preprocessor variables.
3240 cat >>confdefs.h <<_ACEOF
3241 #define PACKAGE_NAME "$PACKAGE_NAME"
3242 _ACEOF
3244 cat >>confdefs.h <<_ACEOF
3245 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3246 _ACEOF
3248 cat >>confdefs.h <<_ACEOF
3249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3250 _ACEOF
3252 cat >>confdefs.h <<_ACEOF
3253 #define PACKAGE_STRING "$PACKAGE_STRING"
3254 _ACEOF
3256 cat >>confdefs.h <<_ACEOF
3257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3258 _ACEOF
3260 cat >>confdefs.h <<_ACEOF
3261 #define PACKAGE_URL "$PACKAGE_URL"
3262 _ACEOF
3265 # Let the site file select an alternate cache file if it wants to.
3266 # Prefer an explicitly selected file to automatically selected ones.
3267 ac_site_file1=NONE
3268 ac_site_file2=NONE
3269 if test -n "$CONFIG_SITE"; then
3270 # We do not want a PATH search for config.site.
3271 case $CONFIG_SITE in #((
3272 -*) ac_site_file1=./$CONFIG_SITE;;
3273 */*) ac_site_file1=$CONFIG_SITE;;
3274 *) ac_site_file1=./$CONFIG_SITE;;
3275 esac
3276 elif test "x$prefix" != xNONE; then
3277 ac_site_file1=$prefix/share/config.site
3278 ac_site_file2=$prefix/etc/config.site
3279 else
3280 ac_site_file1=$ac_default_prefix/share/config.site
3281 ac_site_file2=$ac_default_prefix/etc/config.site
3283 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3285 test "x$ac_site_file" = xNONE && continue
3286 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3288 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3289 sed 's/^/| /' "$ac_site_file" >&5
3290 . "$ac_site_file" \
3291 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $? "failed to load site script $ac_site_file
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 done
3298 if test -r "$cache_file"; then
3299 # Some versions of bash will fail to source /dev/null (special files
3300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3303 $as_echo "$as_me: loading cache $cache_file" >&6;}
3304 case $cache_file in
3305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3306 *) . "./$cache_file";;
3307 esac
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3311 $as_echo "$as_me: creating cache $cache_file" >&6;}
3312 >$cache_file
3315 # Check that the precious variables saved in the cache have kept the same
3316 # value.
3317 ac_cache_corrupted=false
3318 for ac_var in $ac_precious_vars; do
3319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3320 eval ac_new_set=\$ac_env_${ac_var}_set
3321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3322 eval ac_new_val=\$ac_env_${ac_var}_value
3323 case $ac_old_set,$ac_new_set in
3324 set,)
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3326 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3327 ac_cache_corrupted=: ;;
3328 ,set)
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3330 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3331 ac_cache_corrupted=: ;;
3332 ,);;
3334 if test "x$ac_old_val" != "x$ac_new_val"; then
3335 # differences in whitespace do not lead to failure.
3336 ac_old_val_w=`echo x $ac_old_val`
3337 ac_new_val_w=`echo x $ac_new_val`
3338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3340 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3341 ac_cache_corrupted=:
3342 else
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3344 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3345 eval $ac_var=\$ac_old_val
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3348 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3350 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3351 fi;;
3352 esac
3353 # Pass precious variables to config.status.
3354 if test "$ac_new_set" = set; then
3355 case $ac_new_val in
3356 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3357 *) ac_arg=$ac_var=$ac_new_val ;;
3358 esac
3359 case " $ac_configure_args " in
3360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3362 esac
3364 done
3365 if $ac_cache_corrupted; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3369 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3370 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3372 ## -------------------- ##
3373 ## Main body of script. ##
3374 ## -------------------- ##
3376 ac_ext=c
3377 ac_cpp='$CPP $CPPFLAGS'
3378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3384 ac_config_headers="$ac_config_headers include/config.h"
3386 ac_aux_dir=
3387 for ac_dir in tools "$srcdir"/tools; do
3388 if test -f "$ac_dir/install-sh"; then
3389 ac_aux_dir=$ac_dir
3390 ac_install_sh="$ac_aux_dir/install-sh -c"
3391 break
3392 elif test -f "$ac_dir/install.sh"; then
3393 ac_aux_dir=$ac_dir
3394 ac_install_sh="$ac_aux_dir/install.sh -c"
3395 break
3396 elif test -f "$ac_dir/shtool"; then
3397 ac_aux_dir=$ac_dir
3398 ac_install_sh="$ac_aux_dir/shtool install -c"
3399 break
3401 done
3402 if test -z "$ac_aux_dir"; then
3403 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3406 # These three variables are undocumented and unsupported,
3407 # and are intended to be withdrawn in a future Autoconf release.
3408 # They can cause serious problems if a builder's source tree is in a directory
3409 # whose full name contains unusual characters.
3410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3416 libwine_version="1.0"
3420 # Check whether --enable-win16 was given.
3421 if test "${enable_win16+set}" = set; then :
3422 enableval=$enable_win16;
3425 # Check whether --enable-win64 was given.
3426 if test "${enable_win64+set}" = set; then :
3427 enableval=$enable_win64;
3430 # Check whether --enable-tests was given.
3431 if test "${enable_tests+set}" = set; then :
3432 enableval=$enable_tests;
3435 # Check whether --enable-maintainer-mode was given.
3436 if test "${enable_maintainer_mode+set}" = set; then :
3437 enableval=$enable_maintainer_mode;
3442 # Check whether --with-alsa was given.
3443 if test "${with_alsa+set}" = set; then :
3444 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3448 # Check whether --with-capi was given.
3449 if test "${with_capi+set}" = set; then :
3450 withval=$with_capi;
3454 # Check whether --with-cms was given.
3455 if test "${with_cms+set}" = set; then :
3456 withval=$with_cms;
3460 # Check whether --with-coreaudio was given.
3461 if test "${with_coreaudio+set}" = set; then :
3462 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3466 # Check whether --with-cups was given.
3467 if test "${with_cups+set}" = set; then :
3468 withval=$with_cups;
3472 # Check whether --with-curses was given.
3473 if test "${with_curses+set}" = set; then :
3474 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3478 # Check whether --with-dbus was given.
3479 if test "${with_dbus+set}" = set; then :
3480 withval=$with_dbus;
3484 # Check whether --with-fontconfig was given.
3485 if test "${with_fontconfig+set}" = set; then :
3486 withval=$with_fontconfig;
3490 # Check whether --with-freetype was given.
3491 if test "${with_freetype+set}" = set; then :
3492 withval=$with_freetype;
3496 # Check whether --with-gettext was given.
3497 if test "${with_gettext+set}" = set; then :
3498 withval=$with_gettext;
3502 # Check whether --with-gettextpo was given.
3503 if test "${with_gettextpo+set}" = set; then :
3504 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3508 # Check whether --with-gphoto was given.
3509 if test "${with_gphoto+set}" = set; then :
3510 withval=$with_gphoto;
3514 # Check whether --with-glu was given.
3515 if test "${with_glu+set}" = set; then :
3516 withval=$with_glu;
3520 # Check whether --with-gnutls was given.
3521 if test "${with_gnutls+set}" = set; then :
3522 withval=$with_gnutls;
3526 # Check whether --with-gsm was given.
3527 if test "${with_gsm+set}" = set; then :
3528 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3532 # Check whether --with-gstreamer was given.
3533 if test "${with_gstreamer+set}" = set; then :
3534 withval=$with_gstreamer;
3538 # Check whether --with-hal was given.
3539 if test "${with_hal+set}" = set; then :
3540 withval=$with_hal;
3544 # Check whether --with-jpeg was given.
3545 if test "${with_jpeg+set}" = set; then :
3546 withval=$with_jpeg;
3550 # Check whether --with-ldap was given.
3551 if test "${with_ldap+set}" = set; then :
3552 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3556 # Check whether --with-mpg123 was given.
3557 if test "${with_mpg123+set}" = set; then :
3558 withval=$with_mpg123;
3562 # Check whether --with-netapi was given.
3563 if test "${with_netapi+set}" = set; then :
3564 withval=$with_netapi;
3568 # Check whether --with-openal was given.
3569 if test "${with_openal+set}" = set; then :
3570 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3574 # Check whether --with-opencl was given.
3575 if test "${with_opencl+set}" = set; then :
3576 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3580 # Check whether --with-opengl was given.
3581 if test "${with_opengl+set}" = set; then :
3582 withval=$with_opengl;
3586 # Check whether --with-osmesa was given.
3587 if test "${with_osmesa+set}" = set; then :
3588 withval=$with_osmesa;
3592 # Check whether --with-oss was given.
3593 if test "${with_oss+set}" = set; then :
3594 withval=$with_oss;
3598 # Check whether --with-pcap was given.
3599 if test "${with_pcap+set}" = set; then :
3600 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3604 # Check whether --with-png was given.
3605 if test "${with_png+set}" = set; then :
3606 withval=$with_png;
3610 # Check whether --with-pthread was given.
3611 if test "${with_pthread+set}" = set; then :
3612 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3616 # Check whether --with-pulse was given.
3617 if test "${with_pulse+set}" = set; then :
3618 withval=$with_pulse;
3622 # Check whether --with-sane was given.
3623 if test "${with_sane+set}" = set; then :
3624 withval=$with_sane;
3628 # Check whether --with-tiff was given.
3629 if test "${with_tiff+set}" = set; then :
3630 withval=$with_tiff;
3634 # Check whether --with-udev was given.
3635 if test "${with_udev+set}" = set; then :
3636 withval=$with_udev;
3640 # Check whether --with-v4l was given.
3641 if test "${with_v4l+set}" = set; then :
3642 withval=$with_v4l;
3646 # Check whether --with-xcomposite was given.
3647 if test "${with_xcomposite+set}" = set; then :
3648 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3652 # Check whether --with-xcursor was given.
3653 if test "${with_xcursor+set}" = set; then :
3654 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3658 # Check whether --with-xinerama was given.
3659 if test "${with_xinerama+set}" = set; then :
3660 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3664 # Check whether --with-xinput was given.
3665 if test "${with_xinput+set}" = set; then :
3666 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3670 # Check whether --with-xinput2 was given.
3671 if test "${with_xinput2+set}" = set; then :
3672 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3676 # Check whether --with-xml was given.
3677 if test "${with_xml+set}" = set; then :
3678 withval=$with_xml;
3682 # Check whether --with-xrandr was given.
3683 if test "${with_xrandr+set}" = set; then :
3684 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3688 # Check whether --with-xrender was given.
3689 if test "${with_xrender+set}" = set; then :
3690 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3694 # Check whether --with-xshape was given.
3695 if test "${with_xshape+set}" = set; then :
3696 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3700 # Check whether --with-xshm was given.
3701 if test "${with_xshm+set}" = set; then :
3702 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3706 # Check whether --with-xslt was given.
3707 if test "${with_xslt+set}" = set; then :
3708 withval=$with_xslt;
3712 # Check whether --with-xxf86vm was given.
3713 if test "${with_xxf86vm+set}" = set; then :
3714 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
3718 # Check whether --with-zlib was given.
3719 if test "${with_zlib+set}" = set; then :
3720 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3725 # Check whether --with-wine-tools was given.
3726 if test "${with_wine_tools+set}" = set; then :
3727 withval=$with_wine_tools;
3731 # Check whether --with-wine64 was given.
3732 if test "${with_wine64+set}" = set; then :
3733 withval=$with_wine64;
3737 # Make sure we can run config.sub.
3738 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3739 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3742 $as_echo_n "checking build system type... " >&6; }
3743 if ${ac_cv_build+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 ac_build_alias=$build_alias
3747 test "x$ac_build_alias" = x &&
3748 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3749 test "x$ac_build_alias" = x &&
3750 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3751 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3752 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3756 $as_echo "$ac_cv_build" >&6; }
3757 case $ac_cv_build in
3758 *-*-*) ;;
3759 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3760 esac
3761 build=$ac_cv_build
3762 ac_save_IFS=$IFS; IFS='-'
3763 set x $ac_cv_build
3764 shift
3765 build_cpu=$1
3766 build_vendor=$2
3767 shift; shift
3768 # Remember, the first character of IFS is used to create $*,
3769 # except with old shells:
3770 build_os=$*
3771 IFS=$ac_save_IFS
3772 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3776 $as_echo_n "checking host system type... " >&6; }
3777 if ${ac_cv_host+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test "x$host_alias" = x; then
3781 ac_cv_host=$ac_cv_build
3782 else
3783 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3784 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3789 $as_echo "$ac_cv_host" >&6; }
3790 case $ac_cv_host in
3791 *-*-*) ;;
3792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3793 esac
3794 host=$ac_cv_host
3795 ac_save_IFS=$IFS; IFS='-'
3796 set x $ac_cv_host
3797 shift
3798 host_cpu=$1
3799 host_vendor=$2
3800 shift; shift
3801 # Remember, the first character of IFS is used to create $*,
3802 # except with old shells:
3803 host_os=$*
3804 IFS=$ac_save_IFS
3805 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3809 case "$srcdir" in
3810 .) ;;
3811 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3812 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3813 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3814 fi ;;
3815 esac
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3819 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3820 set x ${MAKE-make}
3821 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3822 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 cat >conftest.make <<\_ACEOF
3826 SHELL = /bin/sh
3827 all:
3828 @echo '@@@%%%=$(MAKE)=@@@%%%'
3829 _ACEOF
3830 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3831 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3832 *@@@%%%=?*=@@@%%%*)
3833 eval ac_cv_prog_make_${ac_make}_set=yes;;
3835 eval ac_cv_prog_make_${ac_make}_set=no;;
3836 esac
3837 rm -f conftest.make
3839 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3841 $as_echo "yes" >&6; }
3842 SET_MAKE=
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3846 SET_MAKE="MAKE=${MAKE-make}"
3849 ac_ext=c
3850 ac_cpp='$CPP $CPPFLAGS'
3851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3854 if test -n "$ac_tool_prefix"; then
3855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_CC+:} false; then :
3860 $as_echo_n "(cached) " >&6
3861 else
3862 if test -n "$CC"; then
3863 ac_cv_prog_CC="$CC" # Let the user override the test.
3864 else
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3866 for as_dir in $PATH
3868 IFS=$as_save_IFS
3869 test -z "$as_dir" && as_dir=.
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3876 done
3877 done
3878 IFS=$as_save_IFS
3882 CC=$ac_cv_prog_CC
3883 if test -n "$CC"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3885 $as_echo "$CC" >&6; }
3886 else
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3893 if test -z "$ac_cv_prog_CC"; then
3894 ac_ct_CC=$CC
3895 # Extract the first word of "gcc", so it can be a program name with args.
3896 set dummy gcc; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3900 $as_echo_n "(cached) " >&6
3901 else
3902 if test -n "$ac_ct_CC"; then
3903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3904 else
3905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH
3908 IFS=$as_save_IFS
3909 test -z "$as_dir" && as_dir=.
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_prog_ac_ct_CC="gcc"
3913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 break 2
3916 done
3917 done
3918 IFS=$as_save_IFS
3922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3923 if test -n "$ac_ct_CC"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3925 $as_echo "$ac_ct_CC" >&6; }
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3931 if test "x$ac_ct_CC" = x; then
3932 CC=""
3933 else
3934 case $cross_compiling:$ac_tool_warned in
3935 yes:)
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3938 ac_tool_warned=yes ;;
3939 esac
3940 CC=$ac_ct_CC
3942 else
3943 CC="$ac_cv_prog_CC"
3946 if test -z "$CC"; then
3947 if test -n "$ac_tool_prefix"; then
3948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3949 set dummy ${ac_tool_prefix}cc; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_prog_CC+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 if test -n "$CC"; then
3956 ac_cv_prog_CC="$CC" # Let the user override the test.
3957 else
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 ac_cv_prog_CC="${ac_tool_prefix}cc"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3975 CC=$ac_cv_prog_CC
3976 if test -n "$CC"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3978 $as_echo "$CC" >&6; }
3979 else
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3987 if test -z "$CC"; then
3988 # Extract the first word of "cc", so it can be a program name with args.
3989 set dummy cc; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3997 else
3998 ac_prog_rejected=no
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4002 IFS=$as_save_IFS
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4007 ac_prog_rejected=yes
4008 continue
4010 ac_cv_prog_CC="cc"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4014 done
4015 done
4016 IFS=$as_save_IFS
4018 if test $ac_prog_rejected = yes; then
4019 # We found a bogon in the path, so make sure we never use it.
4020 set dummy $ac_cv_prog_CC
4021 shift
4022 if test $# != 0; then
4023 # We chose a different compiler from the bogus one.
4024 # However, it has the same basename, so the bogon will be chosen
4025 # first if we set CC to just the basename; use the full file name.
4026 shift
4027 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4032 CC=$ac_cv_prog_CC
4033 if test -n "$CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4035 $as_echo "$CC" >&6; }
4036 else
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 for ac_prog in cl.exe
4047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 break 2
4068 done
4069 done
4070 IFS=$as_save_IFS
4074 CC=$ac_cv_prog_CC
4075 if test -n "$CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4077 $as_echo "$CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$CC" && break
4085 done
4087 if test -z "$CC"; then
4088 ac_ct_CC=$CC
4089 for ac_prog in cl.exe
4091 # Extract the first word of "$ac_prog", so it can be a program name with args.
4092 set dummy $ac_prog; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4096 $as_echo_n "(cached) " >&6
4097 else
4098 if test -n "$ac_ct_CC"; then
4099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4100 else
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4104 IFS=$as_save_IFS
4105 test -z "$as_dir" && as_dir=.
4106 for ac_exec_ext in '' $ac_executable_extensions; do
4107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_ac_ct_CC="$ac_prog"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 break 2
4112 done
4113 done
4114 IFS=$as_save_IFS
4118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4119 if test -n "$ac_ct_CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4121 $as_echo "$ac_ct_CC" >&6; }
4122 else
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4128 test -n "$ac_ct_CC" && break
4129 done
4131 if test "x$ac_ct_CC" = x; then
4132 CC=""
4133 else
4134 case $cross_compiling:$ac_tool_warned in
4135 yes:)
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4138 ac_tool_warned=yes ;;
4139 esac
4140 CC=$ac_ct_CC
4147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error $? "no acceptable C compiler found in \$PATH
4150 See \`config.log' for more details" "$LINENO" 5; }
4152 # Provide some information about the compiler.
4153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4154 set X $ac_compile
4155 ac_compiler=$2
4156 for ac_option in --version -v -V -qversion; do
4157 { { ac_try="$ac_compiler $ac_option >&5"
4158 case "(($ac_try" in
4159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 *) ac_try_echo=$ac_try;;
4161 esac
4162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163 $as_echo "$ac_try_echo"; } >&5
4164 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4165 ac_status=$?
4166 if test -s conftest.err; then
4167 sed '10a\
4168 ... rest of stderr output deleted ...
4169 10q' conftest.err >conftest.er1
4170 cat conftest.er1 >&5
4172 rm -f conftest.er1 conftest.err
4173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4174 test $ac_status = 0; }
4175 done
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4181 main ()
4185 return 0;
4187 _ACEOF
4188 ac_clean_files_save=$ac_clean_files
4189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4190 # Try to create an executable without -o first, disregard a.out.
4191 # It will help us diagnose broken compilers, and finding out an intuition
4192 # of exeext.
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4194 $as_echo_n "checking whether the C compiler works... " >&6; }
4195 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4197 # The possible output files:
4198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4200 ac_rmfiles=
4201 for ac_file in $ac_files
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4206 esac
4207 done
4208 rm -f $ac_rmfiles
4210 if { { ac_try="$ac_link_default"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4216 $as_echo "$ac_try_echo"; } >&5
4217 (eval "$ac_link_default") 2>&5
4218 ac_status=$?
4219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4220 test $ac_status = 0; }; then :
4221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4224 # so that the user can short-circuit this test for compilers unknown to
4225 # Autoconf.
4226 for ac_file in $ac_files ''
4228 test -f "$ac_file" || continue
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4232 [ab].out )
4233 # We found the default executable, but exeext='' is most
4234 # certainly right.
4235 break;;
4236 *.* )
4237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4238 then :; else
4239 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4241 # We set ac_cv_exeext here because the later test for it is not
4242 # safe: cross compilers may not add the suffix if given an `-o'
4243 # argument, so we may need to know it at that point already.
4244 # Even if this section looks crufty: it has the advantage of
4245 # actually working.
4246 break;;
4248 break;;
4249 esac
4250 done
4251 test "$ac_cv_exeext" = no && ac_cv_exeext=
4253 else
4254 ac_file=''
4256 if test -z "$ac_file"; then :
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4259 $as_echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.$ac_ext >&5
4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 as_fn_error 77 "C compiler cannot create executables
4265 See \`config.log' for more details" "$LINENO" 5; }
4266 else
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4268 $as_echo "yes" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4271 $as_echo_n "checking for C compiler default output file name... " >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4273 $as_echo "$ac_file" >&6; }
4274 ac_exeext=$ac_cv_exeext
4276 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4277 ac_clean_files=$ac_clean_files_save
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4279 $as_echo_n "checking for suffix of executables... " >&6; }
4280 if { { ac_try="$ac_link"
4281 case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_link") 2>&5
4288 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; then :
4291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4293 # work properly (i.e., refer to `conftest.exe'), while it won't with
4294 # `rm'.
4295 for ac_file in conftest.exe conftest conftest.*; do
4296 test -f "$ac_file" || continue
4297 case $ac_file in
4298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4300 break;;
4301 * ) break;;
4302 esac
4303 done
4304 else
4305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4308 See \`config.log' for more details" "$LINENO" 5; }
4310 rm -f conftest conftest$ac_cv_exeext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4312 $as_echo "$ac_cv_exeext" >&6; }
4314 rm -f conftest.$ac_ext
4315 EXEEXT=$ac_cv_exeext
4316 ac_exeext=$EXEEXT
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4319 #include <stdio.h>
4321 main ()
4323 FILE *f = fopen ("conftest.out", "w");
4324 return ferror (f) || fclose (f) != 0;
4327 return 0;
4329 _ACEOF
4330 ac_clean_files="$ac_clean_files conftest.out"
4331 # Check that the compiler produces executables we can run. If not, either
4332 # the compiler is broken, or we cross compile.
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4334 $as_echo_n "checking whether we are cross compiling... " >&6; }
4335 if test "$cross_compiling" != yes; then
4336 { { ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_link") 2>&5
4344 ac_status=$?
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }
4347 if { ac_try='./conftest$ac_cv_exeext'
4348 { { case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_try") 2>&5
4355 ac_status=$?
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }; }; then
4358 cross_compiling=no
4359 else
4360 if test "$cross_compiling" = maybe; then
4361 cross_compiling=yes
4362 else
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error $? "cannot run C compiled programs.
4366 If you meant to cross compile, use \`--host'.
4367 See \`config.log' for more details" "$LINENO" 5; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4372 $as_echo "$cross_compiling" >&6; }
4374 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4375 ac_clean_files=$ac_clean_files_save
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4377 $as_echo_n "checking for suffix of object files... " >&6; }
4378 if ${ac_cv_objext+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 rm -f conftest.o conftest.obj
4393 if { { ac_try="$ac_compile"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_compile") 2>&5
4401 ac_status=$?
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }; then :
4404 for ac_file in conftest.o conftest.obj conftest.*; do
4405 test -f "$ac_file" || continue;
4406 case $ac_file in
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4409 break;;
4410 esac
4411 done
4412 else
4413 $as_echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5
4416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4418 as_fn_error $? "cannot compute suffix of object files: cannot compile
4419 See \`config.log' for more details" "$LINENO" 5; }
4421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4424 $as_echo "$ac_cv_objext" >&6; }
4425 OBJEXT=$ac_cv_objext
4426 ac_objext=$OBJEXT
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4429 if ${ac_cv_c_compiler_gnu+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4438 #ifndef __GNUC__
4439 choke me
4440 #endif
4443 return 0;
4445 _ACEOF
4446 if ac_fn_c_try_compile "$LINENO"; then :
4447 ac_compiler_gnu=yes
4448 else
4449 ac_compiler_gnu=no
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4457 if test $ac_compiler_gnu = yes; then
4458 GCC=yes
4459 else
4460 GCC=
4462 ac_test_CFLAGS=${CFLAGS+set}
4463 ac_save_CFLAGS=$CFLAGS
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4466 if ${ac_cv_prog_cc_g+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 ac_save_c_werror_flag=$ac_c_werror_flag
4470 ac_c_werror_flag=yes
4471 ac_cv_prog_cc_g=no
4472 CFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_g=yes
4486 else
4487 CFLAGS=""
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4492 main ()
4496 return 0;
4498 _ACEOF
4499 if ac_fn_c_try_compile "$LINENO"; then :
4501 else
4502 ac_c_werror_flag=$ac_save_c_werror_flag
4503 CFLAGS="-g"
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4512 return 0;
4514 _ACEOF
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 ac_cv_prog_cc_g=yes
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 ac_c_werror_flag=$ac_save_c_werror_flag
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4526 $as_echo "$ac_cv_prog_cc_g" >&6; }
4527 if test "$ac_test_CFLAGS" = set; then
4528 CFLAGS=$ac_save_CFLAGS
4529 elif test $ac_cv_prog_cc_g = yes; then
4530 if test "$GCC" = yes; then
4531 CFLAGS="-g -O2"
4532 else
4533 CFLAGS="-g"
4535 else
4536 if test "$GCC" = yes; then
4537 CFLAGS="-O2"
4538 else
4539 CFLAGS=
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4544 if ${ac_cv_prog_cc_c89+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 ac_cv_prog_cc_c89=no
4548 ac_save_CC=$CC
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 #include <stdarg.h>
4552 #include <stdio.h>
4553 struct stat;
4554 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4555 struct buf { int x; };
4556 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4557 static char *e (p, i)
4558 char **p;
4559 int i;
4561 return p[i];
4563 static char *f (char * (*g) (char **, int), char **p, ...)
4565 char *s;
4566 va_list v;
4567 va_start (v,p);
4568 s = g (p, va_arg (v,int));
4569 va_end (v);
4570 return s;
4573 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4574 function prototypes and stuff, but not '\xHH' hex character constants.
4575 These don't provoke an error unfortunately, instead are silently treated
4576 as 'x'. The following induces an error, until -std is added to get
4577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4578 array size at least. It's necessary to write '\x00'==0 to get something
4579 that's true only with -std. */
4580 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4582 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4583 inside strings and character constants. */
4584 #define FOO(x) 'x'
4585 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4587 int test (int i, double x);
4588 struct s1 {int (*f) (int a);};
4589 struct s2 {int (*f) (double a);};
4590 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4591 int argc;
4592 char **argv;
4594 main ()
4596 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4598 return 0;
4600 _ACEOF
4601 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4604 CC="$ac_save_CC $ac_arg"
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_c89=$ac_arg
4608 rm -f core conftest.err conftest.$ac_objext
4609 test "x$ac_cv_prog_cc_c89" != "xno" && break
4610 done
4611 rm -f conftest.$ac_ext
4612 CC=$ac_save_CC
4615 # AC_CACHE_VAL
4616 case "x$ac_cv_prog_cc_c89" in
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4619 $as_echo "none needed" >&6; } ;;
4620 xno)
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4622 $as_echo "unsupported" >&6; } ;;
4624 CC="$CC $ac_cv_prog_cc_c89"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4626 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4627 esac
4628 if test "x$ac_cv_prog_cc_c89" != xno; then :
4632 ac_ext=c
4633 ac_cpp='$CPP $CPPFLAGS'
4634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 ac_ext=cpp
4639 ac_cpp='$CXXCPP $CPPFLAGS'
4640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4643 if test -z "$CXX"; then
4644 if test -n "$CCC"; then
4645 CXX=$CCC
4646 else
4647 if test -n "$ac_tool_prefix"; then
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$CXX"; then
4658 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 CXX=$ac_cv_prog_CXX
4678 if test -n "$CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4680 $as_echo "$CXX" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$CXX" && break
4688 done
4690 if test -z "$CXX"; then
4691 ac_ct_CXX=$CXX
4692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy $ac_prog; ac_word=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4699 $as_echo_n "(cached) " >&6
4700 else
4701 if test -n "$ac_ct_CXX"; then
4702 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4703 else
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH
4707 IFS=$as_save_IFS
4708 test -z "$as_dir" && as_dir=.
4709 for ac_exec_ext in '' $ac_executable_extensions; do
4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4711 ac_cv_prog_ac_ct_CXX="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 break 2
4715 done
4716 done
4717 IFS=$as_save_IFS
4721 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4722 if test -n "$ac_ct_CXX"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4724 $as_echo "$ac_ct_CXX" >&6; }
4725 else
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$ac_ct_CXX" && break
4732 done
4734 if test "x$ac_ct_CXX" = x; then
4735 CXX="g++"
4736 else
4737 case $cross_compiling:$ac_tool_warned in
4738 yes:)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned=yes ;;
4742 esac
4743 CXX=$ac_ct_CXX
4749 # Provide some information about the compiler.
4750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4751 set X $ac_compile
4752 ac_compiler=$2
4753 for ac_option in --version -v -V -qversion; do
4754 { { ac_try="$ac_compiler $ac_option >&5"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4762 ac_status=$?
4763 if test -s conftest.err; then
4764 sed '10a\
4765 ... rest of stderr output deleted ...
4766 10q' conftest.err >conftest.er1
4767 cat conftest.er1 >&5
4769 rm -f conftest.er1 conftest.err
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }
4772 done
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4775 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4776 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4777 $as_echo_n "(cached) " >&6
4778 else
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4783 main ()
4785 #ifndef __GNUC__
4786 choke me
4787 #endif
4790 return 0;
4792 _ACEOF
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4794 ac_compiler_gnu=yes
4795 else
4796 ac_compiler_gnu=no
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4803 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4804 if test $ac_compiler_gnu = yes; then
4805 GXX=yes
4806 else
4807 GXX=
4809 ac_test_CXXFLAGS=${CXXFLAGS+set}
4810 ac_save_CXXFLAGS=$CXXFLAGS
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4812 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4813 if ${ac_cv_prog_cxx_g+:} false; then :
4814 $as_echo_n "(cached) " >&6
4815 else
4816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4817 ac_cxx_werror_flag=yes
4818 ac_cv_prog_cxx_g=no
4819 CXXFLAGS="-g"
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 ac_cv_prog_cxx_g=yes
4833 else
4834 CXXFLAGS=""
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 main ()
4843 return 0;
4845 _ACEOF
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4848 else
4849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4850 CXXFLAGS="-g"
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 main ()
4859 return 0;
4861 _ACEOF
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 ac_cv_prog_cxx_g=yes
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4873 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4874 if test "$ac_test_CXXFLAGS" = set; then
4875 CXXFLAGS=$ac_save_CXXFLAGS
4876 elif test $ac_cv_prog_cxx_g = yes; then
4877 if test "$GXX" = yes; then
4878 CXXFLAGS="-g -O2"
4879 else
4880 CXXFLAGS="-g"
4882 else
4883 if test "$GXX" = yes; then
4884 CXXFLAGS="-O2"
4885 else
4886 CXXFLAGS=
4889 ac_ext=c
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CPPBIN+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$CPPBIN"; then
4904 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 CPPBIN=$ac_cv_prog_CPPBIN
4924 if test -n "$CPPBIN"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4926 $as_echo "$CPPBIN" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4934 if test -z "$ac_cv_prog_CPPBIN"; then
4935 ac_ct_CPPBIN=$CPPBIN
4936 # Extract the first word of "cpp", so it can be a program name with args.
4937 set dummy cpp; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$ac_ct_CPPBIN"; then
4944 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_ac_ct_CPPBIN="cpp"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4964 if test -n "$ac_ct_CPPBIN"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4966 $as_echo "$ac_ct_CPPBIN" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4972 if test "x$ac_ct_CPPBIN" = x; then
4973 CPPBIN="cpp"
4974 else
4975 case $cross_compiling:$ac_tool_warned in
4976 yes:)
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4980 esac
4981 CPPBIN=$ac_ct_CPPBIN
4983 else
4984 CPPBIN="$ac_cv_prog_CPPBIN"
4988 cat >>confdefs.h <<_ACEOF
4989 #define EXEEXT "$ac_exeext"
4990 _ACEOF
4992 if test -n "$ac_tool_prefix"; then
4993 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4994 set dummy ${ac_tool_prefix}ld; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_LD+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$LD"; then
5001 ac_cv_prog_LD="$LD" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_LD="${ac_tool_prefix}ld"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5014 done
5015 done
5016 IFS=$as_save_IFS
5020 LD=$ac_cv_prog_LD
5021 if test -n "$LD"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5023 $as_echo "$LD" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5031 if test -z "$ac_cv_prog_LD"; then
5032 ac_ct_LD=$LD
5033 # Extract the first word of "ld", so it can be a program name with args.
5034 set dummy ld; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$ac_ct_LD"; then
5041 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_ac_ct_LD="ld"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5061 if test -n "$ac_ct_LD"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5063 $as_echo "$ac_ct_LD" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5069 if test "x$ac_ct_LD" = x; then
5070 LD=""
5071 else
5072 case $cross_compiling:$ac_tool_warned in
5073 yes:)
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5076 ac_tool_warned=yes ;;
5077 esac
5078 LD=$ac_ct_LD
5080 else
5081 LD="$ac_cv_prog_LD"
5085 case $host in
5086 *-darwin*)
5087 with_fontconfig=${with_fontconfig:-no}
5089 *-mingw32*|*-cygwin*)
5090 enable_win16=${enable_win16:-no}
5091 CFLAGS="$CFLAGS -D_WIN32"
5093 esac
5095 case $host in
5096 x86_64*|amd64*)
5097 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5098 then
5099 CC="$CC -m32"
5100 CXX="$CXX -m32"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5102 $as_echo_n "checking whether $CC works... " >&6; }
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_link "$LINENO"; then :
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5117 $as_echo "yes" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5121 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5123 rm -f core conftest.err conftest.$ac_objext \
5124 conftest$ac_exeext conftest.$ac_ext
5125 host_cpu="i386"
5126 notice_platform="32-bit "
5127 TARGETFLAGS="-m32"
5129 enable_win16=${enable_win16:-yes}
5130 else
5131 if test "x${GCC}" = "xyes"
5132 then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5134 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <stdarg.h>
5139 main ()
5141 void func(__builtin_ms_va_list *args);
5143 return 0;
5145 _ACEOF
5146 if ac_fn_c_try_compile "$LINENO"; then :
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 $as_echo "yes" >&6; }
5149 else
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5152 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 CC="$CC -m64"
5157 CXX="$CXX -m64"
5158 host_cpu="x86_64"
5159 notice_platform="64-bit "
5160 TARGETFLAGS="-m64"
5164 arm*)
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5166 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5169 int ac_test(int i) { return i; }
5171 main ()
5173 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5175 return 0;
5177 _ACEOF
5178 if ac_fn_c_try_link "$LINENO"; then :
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5180 $as_echo "yes" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5186 rm -f core conftest.err conftest.$ac_objext \
5187 conftest$ac_exeext conftest.$ac_ext
5188 CFLAGS="$CFLAGS -marm"
5189 TARGETFLAGS="-marm"
5192 i[3456789]86*)
5193 enable_win16=${enable_win16:-yes}
5195 esac
5197 enable_win16=${enable_win16:-no}
5198 enable_win64=${enable_win64:-no}
5200 enable_winetest=${enable_winetest:-$enable_tests}
5202 if test -n "$with_wine64"
5203 then
5204 if test "x$enable_win64" = "xyes"
5205 then
5206 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5207 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5209 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5210 You should create a separate build directory and run configure from there." "$LINENO" 5
5211 enable_fonts=${enable_fonts:-no}
5212 enable_server=${enable_server:-no}
5213 elif test "x$enable_win64" = "xyes"
5214 then
5215 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5219 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5220 if ${wine_cv_toolsdir+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 wine_cv_toolsdir="$with_wine_tools"
5224 if test -z "$with_wine_tools"; then
5225 if test "$cross_compiling" = "yes"; then
5226 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5227 elif test -n "$with_wine64"; then
5228 wine_cv_toolsdir="$with_wine64"
5231 if test -z "$wine_cv_toolsdir"; then
5232 wine_makedep=tools/makedep
5233 wine_cv_toolsdir="\$(top_builddir)"
5234 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5235 wine_makedep=$wine_cv_toolsdir/tools/makedep
5236 case "$wine_cv_toolsdir" in
5237 /*) ;;
5238 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5239 esac
5240 enable_tools=${enable_tools:-no}
5241 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5242 else
5243 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5247 $as_echo "$wine_cv_toolsdir" >&6; }
5248 TOOLSDIR=$wine_cv_toolsdir
5250 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5251 then
5252 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5256 for ac_prog in flex
5258 # Extract the first word of "$ac_prog", so it can be a program name with args.
5259 set dummy $ac_prog; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_FLEX+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$FLEX"; then
5266 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_FLEX="$ac_prog"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 FLEX=$ac_cv_prog_FLEX
5286 if test -n "$FLEX"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5288 $as_echo "$FLEX" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5295 test -n "$FLEX" && break
5296 done
5297 test -n "$FLEX" || FLEX="none"
5299 if test "$FLEX" = "none"
5300 then
5301 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5304 $as_echo_n "checking whether flex is recent enough... " >&6; }
5305 cat >conftest.l <<EOF
5306 %top{
5307 #include "prediluvian.h"
5311 if $FLEX -t conftest.l >/dev/null 2>&5
5312 then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5314 $as_echo "yes" >&6; }
5315 else
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5317 $as_echo "no" >&6; }
5318 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5321 for ac_prog in bison
5323 # Extract the first word of "$ac_prog", so it can be a program name with args.
5324 set dummy $ac_prog; ac_word=$2
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326 $as_echo_n "checking for $ac_word... " >&6; }
5327 if ${ac_cv_prog_BISON+:} false; then :
5328 $as_echo_n "(cached) " >&6
5329 else
5330 if test -n "$BISON"; then
5331 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5332 else
5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5336 IFS=$as_save_IFS
5337 test -z "$as_dir" && as_dir=.
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340 ac_cv_prog_BISON="$ac_prog"
5341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 break 2
5344 done
5345 done
5346 IFS=$as_save_IFS
5350 BISON=$ac_cv_prog_BISON
5351 if test -n "$BISON"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5353 $as_echo "$BISON" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 test -n "$BISON" && break
5361 done
5362 test -n "$BISON" || BISON="none"
5364 if test "$BISON" = "none"
5365 then
5366 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5369 if test -n "$ac_tool_prefix"; then
5370 for ac_prog in ar gar
5372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_AR+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$AR"; then
5380 ac_cv_prog_AR="$AR" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 AR=$ac_cv_prog_AR
5400 if test -n "$AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5402 $as_echo "$AR" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$AR" && break
5410 done
5412 if test -z "$AR"; then
5413 ac_ct_AR=$AR
5414 for ac_prog in ar gar
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy $ac_prog; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_AR"; then
5424 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_AR="$ac_prog"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5444 if test -n "$ac_ct_AR"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5446 $as_echo "$ac_ct_AR" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5453 test -n "$ac_ct_AR" && break
5454 done
5456 if test "x$ac_ct_AR" = x; then
5457 AR="ar"
5458 else
5459 case $cross_compiling:$ac_tool_warned in
5460 yes:)
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5463 ac_tool_warned=yes ;;
5464 esac
5465 AR=$ac_ct_AR
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}strip; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_STRIP+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$STRIP"; then
5478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 STRIP=$ac_cv_prog_STRIP
5498 if test -n "$STRIP"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5500 $as_echo "$STRIP" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_STRIP"; then
5509 ac_ct_STRIP=$STRIP
5510 # Extract the first word of "strip", so it can be a program name with args.
5511 set dummy strip; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_STRIP"; then
5518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_STRIP="strip"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5538 if test -n "$ac_ct_STRIP"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5540 $as_echo "$ac_ct_STRIP" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_STRIP" = x; then
5547 STRIP="strip"
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 STRIP=$ac_ct_STRIP
5557 else
5558 STRIP="$ac_cv_prog_STRIP"
5561 ARFLAGS=rc
5563 if test -n "$ac_tool_prefix"; then
5564 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5565 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_RANLIB+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$RANLIB"; then
5572 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 RANLIB=$ac_cv_prog_RANLIB
5592 if test -n "$RANLIB"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5594 $as_echo "$RANLIB" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 if test -z "$ac_cv_prog_RANLIB"; then
5603 ac_ct_RANLIB=$RANLIB
5604 # Extract the first word of "ranlib", so it can be a program name with args.
5605 set dummy ranlib; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$ac_ct_RANLIB"; then
5612 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_ac_ct_RANLIB="ranlib"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5632 if test -n "$ac_ct_RANLIB"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5634 $as_echo "$ac_ct_RANLIB" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5640 if test "x$ac_ct_RANLIB" = x; then
5641 RANLIB=":"
5642 else
5643 case $cross_compiling:$ac_tool_warned in
5644 yes:)
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5648 esac
5649 RANLIB=$ac_ct_RANLIB
5651 else
5652 RANLIB="$ac_cv_prog_RANLIB"
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5656 $as_echo_n "checking whether ln -s works... " >&6; }
5657 LN_S=$as_ln_s
5658 if test "$LN_S" = "ln -s"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5663 $as_echo "no, using $LN_S" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5667 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5668 if ${ac_cv_path_GREP+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -z "$GREP"; then
5672 ac_path_GREP_found=false
5673 # Loop through the user's path and test for each of PROGNAME-LIST
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_prog in grep ggrep; do
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5682 as_fn_executable_p "$ac_path_GREP" || continue
5683 # Check for GNU ac_path_GREP and select it if it is found.
5684 # Check for GNU $ac_path_GREP
5685 case `"$ac_path_GREP" --version 2>&1` in
5686 *GNU*)
5687 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5689 ac_count=0
5690 $as_echo_n 0123456789 >"conftest.in"
5691 while :
5693 cat "conftest.in" "conftest.in" >"conftest.tmp"
5694 mv "conftest.tmp" "conftest.in"
5695 cp "conftest.in" "conftest.nl"
5696 $as_echo 'GREP' >> "conftest.nl"
5697 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5699 as_fn_arith $ac_count + 1 && ac_count=$as_val
5700 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5701 # Best one so far, save it but keep looking for a better one
5702 ac_cv_path_GREP="$ac_path_GREP"
5703 ac_path_GREP_max=$ac_count
5705 # 10*(2^10) chars as input seems more than enough
5706 test $ac_count -gt 10 && break
5707 done
5708 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5709 esac
5711 $ac_path_GREP_found && break 3
5712 done
5713 done
5714 done
5715 IFS=$as_save_IFS
5716 if test -z "$ac_cv_path_GREP"; then
5717 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5719 else
5720 ac_cv_path_GREP=$GREP
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5725 $as_echo "$ac_cv_path_GREP" >&6; }
5726 GREP="$ac_cv_path_GREP"
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5730 $as_echo_n "checking for egrep... " >&6; }
5731 if ${ac_cv_path_EGREP+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5735 then ac_cv_path_EGREP="$GREP -E"
5736 else
5737 if test -z "$EGREP"; then
5738 ac_path_EGREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in egrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5748 as_fn_executable_p "$ac_path_EGREP" || continue
5749 # Check for GNU ac_path_EGREP and select it if it is found.
5750 # Check for GNU $ac_path_EGREP
5751 case `"$ac_path_EGREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5755 ac_count=0
5756 $as_echo_n 0123456789 >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 $as_echo 'EGREP' >> "conftest.nl"
5763 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 as_fn_arith $ac_count + 1 && ac_count=$as_val
5766 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_EGREP="$ac_path_EGREP"
5769 ac_path_EGREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5777 $ac_path_EGREP_found && break 3
5778 done
5779 done
5780 done
5781 IFS=$as_save_IFS
5782 if test -z "$ac_cv_path_EGREP"; then
5783 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5785 else
5786 ac_cv_path_EGREP=$EGREP
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5792 $as_echo "$ac_cv_path_EGREP" >&6; }
5793 EGREP="$ac_cv_path_EGREP"
5796 # Extract the first word of "ldconfig", so it can be a program name with args.
5797 set dummy ldconfig; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_path_LDCONFIG+:} false; then :
5801 $as_echo_n "(cached) " >&6
5802 else
5803 case $LDCONFIG in
5804 [\\/]* | ?:[\\/]*)
5805 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in /sbin /usr/sbin $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5823 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5825 esac
5827 LDCONFIG=$ac_cv_path_LDCONFIG
5828 if test -n "$LDCONFIG"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5830 $as_echo "$LDCONFIG" >&6; }
5831 else
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5837 for ac_prog in msgfmt
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy $ac_prog; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_MSGFMT+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 if test -n "$MSGFMT"; then
5847 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_MSGFMT="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5860 done
5861 done
5862 IFS=$as_save_IFS
5866 MSGFMT=$ac_cv_prog_MSGFMT
5867 if test -n "$MSGFMT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5869 $as_echo "$MSGFMT" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$MSGFMT" && break
5877 done
5878 test -n "$MSGFMT" || MSGFMT="false"
5880 if ${ac_tool_prefix+:} false; then :
5881 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -n "$PKG_CONFIG"; then
5889 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_exec_ext in '' $ac_executable_extensions; do
5897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5898 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 break 2
5902 done
5903 done
5904 IFS=$as_save_IFS
5908 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5909 if test -n "$PKG_CONFIG"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5911 $as_echo "$PKG_CONFIG" >&6; }
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5919 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5920 if test "x$cross_compiling" = xyes; then :
5922 else
5923 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5924 # Extract the first word of "pkg-config", so it can be a program name with args.
5925 set dummy pkg-config; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$PKG_CONFIG"; then
5932 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_PKG_CONFIG="pkg-config"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5952 if test -n "$PKG_CONFIG"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5954 $as_echo "$PKG_CONFIG" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 else
5963 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5966 if test "x$enable_maintainer_mode" != "xyes"
5967 then
5968 FONTFORGE=""
5969 RSVG=""
5970 CONVERT=""
5971 ICOTOOL=""
5972 else
5973 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5974 for ac_prog in fontforge
5976 # Extract the first word of "$ac_prog", so it can be a program name with args.
5977 set dummy $ac_prog; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_FONTFORGE+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 if test -n "$FONTFORGE"; then
5984 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_FONTFORGE="$ac_prog"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 break 2
5997 done
5998 done
5999 IFS=$as_save_IFS
6003 FONTFORGE=$ac_cv_prog_FONTFORGE
6004 if test -n "$FONTFORGE"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6006 $as_echo "$FONTFORGE" >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6013 test -n "$FONTFORGE" && break
6014 done
6015 test -n "$FONTFORGE" || FONTFORGE="false"
6017 for ac_prog in rsvg-convert rsvg
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_RSVG+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$RSVG"; then
6027 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_RSVG="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 RSVG=$ac_cv_prog_RSVG
6047 if test -n "$RSVG"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6049 $as_echo "$RSVG" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$RSVG" && break
6057 done
6058 test -n "$RSVG" || RSVG="false"
6060 for ac_prog in convert
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_CONVERT+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$CONVERT"; then
6070 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_CONVERT="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 CONVERT=$ac_cv_prog_CONVERT
6090 if test -n "$CONVERT"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6092 $as_echo "$CONVERT" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$CONVERT" && break
6100 done
6101 test -n "$CONVERT" || CONVERT="false"
6103 for ac_prog in icotool
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy $ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_ICOTOOL+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$ICOTOOL"; then
6113 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_ICOTOOL="$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 ICOTOOL=$ac_cv_prog_ICOTOOL
6133 if test -n "$ICOTOOL"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6135 $as_echo "$ICOTOOL" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6142 test -n "$ICOTOOL" && break
6143 done
6144 test -n "$ICOTOOL" || ICOTOOL="false"
6146 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6147 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6149 if test "$CONVERT" = false
6150 then
6151 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6152 else
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6154 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6155 convert_version=`convert --version | head -n1`
6156 if test "x$convert_version" != "x"
6157 then
6158 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6159 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6160 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6161 then
6162 CONVERT=false
6165 if test "$CONVERT" = false
6166 then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6168 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6169 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6172 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6176 if test "$ICOTOOL" = false
6177 then
6178 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6181 $as_echo_n "checking for recent enough icotool... " >&6; }
6182 icotool_version=`icotool --version | head -n1`
6183 if test "x$icotool_version" != "x"
6184 then
6185 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6186 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6187 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6188 then
6189 ICOTOOL=false
6190 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6193 if test "$ICOTOOL" = false
6194 then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6196 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6197 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6200 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6204 with_gettext=yes
6205 with_gettextpo=yes
6206 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6209 test "x$with_gettext" != xno || MSGFMT=false
6210 if test "$MSGFMT" != "false"
6211 then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6213 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6214 cat >conftest.po <<EOF
6215 # comment
6216 msgctxt "ctxt"
6217 msgid "id"
6218 msgstr "str"
6220 if $MSGFMT -o /dev/null conftest.po 2>&5
6221 then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6223 $as_echo "yes" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 MSGFMT=false
6230 if test "$MSGFMT" = false; then :
6231 case "x$with_gettext" in
6232 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6233 xno) ;;
6234 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6235 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6236 esac
6237 enable_po=${enable_po:-no}
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6242 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6243 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 ac_check_lib_save_LIBS=$LIBS
6247 LIBS="-li386 $LIBS"
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6251 /* Override any GCC internal prototype to avoid an error.
6252 Use char because int might match the return type of a GCC
6253 builtin and then its argument prototype would still apply. */
6254 #ifdef __cplusplus
6255 extern "C"
6256 #endif
6257 char i386_set_ldt ();
6259 main ()
6261 return i386_set_ldt ();
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_link "$LINENO"; then :
6267 ac_cv_lib_i386_i386_set_ldt=yes
6268 else
6269 ac_cv_lib_i386_i386_set_ldt=no
6271 rm -f core conftest.err conftest.$ac_objext \
6272 conftest$ac_exeext conftest.$ac_ext
6273 LIBS=$ac_check_lib_save_LIBS
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6276 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6277 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6278 cat >>confdefs.h <<_ACEOF
6279 #define HAVE_LIBI386 1
6280 _ACEOF
6282 LIBS="-li386 $LIBS"
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6287 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6288 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 ac_check_lib_save_LIBS=$LIBS
6292 LIBS="-lossaudio $LIBS"
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6296 /* Override any GCC internal prototype to avoid an error.
6297 Use char because int might match the return type of a GCC
6298 builtin and then its argument prototype would still apply. */
6299 #ifdef __cplusplus
6300 extern "C"
6301 #endif
6302 char _oss_ioctl ();
6304 main ()
6306 return _oss_ioctl ();
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_link "$LINENO"; then :
6312 ac_cv_lib_ossaudio__oss_ioctl=yes
6313 else
6314 ac_cv_lib_ossaudio__oss_ioctl=no
6316 rm -f core conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 LIBS=$ac_check_lib_save_LIBS
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6321 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6322 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6323 cat >>confdefs.h <<_ACEOF
6324 #define HAVE_LIBOSSAUDIO 1
6325 _ACEOF
6327 LIBS="-lossaudio $LIBS"
6332 OPENGL_LIBS=""
6336 # Check whether --enable-largefile was given.
6337 if test "${enable_largefile+set}" = set; then :
6338 enableval=$enable_largefile;
6341 if test "$enable_largefile" != no; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6344 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6345 if ${ac_cv_sys_largefile_CC+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 ac_cv_sys_largefile_CC=no
6349 if test "$GCC" != yes; then
6350 ac_save_CC=$CC
6351 while :; do
6352 # IRIX 6.2 and later do not support large files by default,
6353 # so use the C compiler's -n32 option if that helps.
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6356 #include <sys/types.h>
6357 /* Check that off_t can represent 2**63 - 1 correctly.
6358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6359 since some C++ compilers masquerading as C compilers
6360 incorrectly reject 9223372036854775807. */
6361 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6363 && LARGE_OFF_T % 2147483647 == 1)
6364 ? 1 : -1];
6366 main ()
6370 return 0;
6372 _ACEOF
6373 if ac_fn_c_try_compile "$LINENO"; then :
6374 break
6376 rm -f core conftest.err conftest.$ac_objext
6377 CC="$CC -n32"
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_largefile_CC=' -n32'; break
6381 rm -f core conftest.err conftest.$ac_objext
6382 break
6383 done
6384 CC=$ac_save_CC
6385 rm -f conftest.$ac_ext
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6389 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6390 if test "$ac_cv_sys_largefile_CC" != no; then
6391 CC=$CC$ac_cv_sys_largefile_CC
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6395 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6396 if ${ac_cv_sys_file_offset_bits+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 while :; do
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6410 ? 1 : -1];
6412 main ()
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_compile "$LINENO"; then :
6420 ac_cv_sys_file_offset_bits=no; break
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #define _FILE_OFFSET_BITS 64
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6434 ? 1 : -1];
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_sys_file_offset_bits=64; break
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 ac_cv_sys_file_offset_bits=unknown
6448 break
6449 done
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6452 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6453 case $ac_cv_sys_file_offset_bits in #(
6454 no | unknown) ;;
6456 cat >>confdefs.h <<_ACEOF
6457 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6458 _ACEOF
6460 esac
6461 rm -rf conftest*
6462 if test $ac_cv_sys_file_offset_bits = unknown; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6464 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6465 if ${ac_cv_sys_large_files+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 while :; do
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #include <sys/types.h>
6472 /* Check that off_t can represent 2**63 - 1 correctly.
6473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6474 since some C++ compilers masquerading as C compilers
6475 incorrectly reject 9223372036854775807. */
6476 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6478 && LARGE_OFF_T % 2147483647 == 1)
6479 ? 1 : -1];
6481 main ()
6485 return 0;
6487 _ACEOF
6488 if ac_fn_c_try_compile "$LINENO"; then :
6489 ac_cv_sys_large_files=no; break
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6494 #define _LARGE_FILES 1
6495 #include <sys/types.h>
6496 /* Check that off_t can represent 2**63 - 1 correctly.
6497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6498 since some C++ compilers masquerading as C compilers
6499 incorrectly reject 9223372036854775807. */
6500 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6502 && LARGE_OFF_T % 2147483647 == 1)
6503 ? 1 : -1];
6505 main ()
6509 return 0;
6511 _ACEOF
6512 if ac_fn_c_try_compile "$LINENO"; then :
6513 ac_cv_sys_large_files=1; break
6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6516 ac_cv_sys_large_files=unknown
6517 break
6518 done
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6521 $as_echo "$ac_cv_sys_large_files" >&6; }
6522 case $ac_cv_sys_large_files in #(
6523 no | unknown) ;;
6525 cat >>confdefs.h <<_ACEOF
6526 #define _LARGE_FILES $ac_cv_sys_large_files
6527 _ACEOF
6529 esac
6530 rm -rf conftest*
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6543 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6544 # On Suns, sometimes $CPP names a directory.
6545 if test -n "$CPP" && test -d "$CPP"; then
6546 CPP=
6548 if test -z "$CPP"; then
6549 if ${ac_cv_prog_CPP+:} false; then :
6550 $as_echo_n "(cached) " >&6
6551 else
6552 # Double quotes because CPP needs to be expanded
6553 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6555 ac_preproc_ok=false
6556 for ac_c_preproc_warn_flag in '' yes
6558 # Use a header file that comes with gcc, so configuring glibc
6559 # with a fresh cross-compiler works.
6560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6561 # <limits.h> exists even on freestanding compilers.
6562 # On the NeXT, cc -E runs the code through the compiler's parser,
6563 # not just through cpp. "Syntax error" is here to catch this case.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #ifdef __STDC__
6567 # include <limits.h>
6568 #else
6569 # include <assert.h>
6570 #endif
6571 Syntax error
6572 _ACEOF
6573 if ac_fn_c_try_cpp "$LINENO"; then :
6575 else
6576 # Broken: fails on valid input.
6577 continue
6579 rm -f conftest.err conftest.i conftest.$ac_ext
6581 # OK, works on sane cases. Now check whether nonexistent headers
6582 # can be detected and how.
6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6585 #include <ac_nonexistent.h>
6586 _ACEOF
6587 if ac_fn_c_try_cpp "$LINENO"; then :
6588 # Broken: success on invalid input.
6589 continue
6590 else
6591 # Passes both tests.
6592 ac_preproc_ok=:
6593 break
6595 rm -f conftest.err conftest.i conftest.$ac_ext
6597 done
6598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6599 rm -f conftest.i conftest.err conftest.$ac_ext
6600 if $ac_preproc_ok; then :
6601 break
6604 done
6605 ac_cv_prog_CPP=$CPP
6608 CPP=$ac_cv_prog_CPP
6609 else
6610 ac_cv_prog_CPP=$CPP
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6613 $as_echo "$CPP" >&6; }
6614 ac_preproc_ok=false
6615 for ac_c_preproc_warn_flag in '' yes
6617 # Use a header file that comes with gcc, so configuring glibc
6618 # with a fresh cross-compiler works.
6619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6620 # <limits.h> exists even on freestanding compilers.
6621 # On the NeXT, cc -E runs the code through the compiler's parser,
6622 # not just through cpp. "Syntax error" is here to catch this case.
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #ifdef __STDC__
6626 # include <limits.h>
6627 #else
6628 # include <assert.h>
6629 #endif
6630 Syntax error
6631 _ACEOF
6632 if ac_fn_c_try_cpp "$LINENO"; then :
6634 else
6635 # Broken: fails on valid input.
6636 continue
6638 rm -f conftest.err conftest.i conftest.$ac_ext
6640 # OK, works on sane cases. Now check whether nonexistent headers
6641 # can be detected and how.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #include <ac_nonexistent.h>
6645 _ACEOF
6646 if ac_fn_c_try_cpp "$LINENO"; then :
6647 # Broken: success on invalid input.
6648 continue
6649 else
6650 # Passes both tests.
6651 ac_preproc_ok=:
6652 break
6654 rm -f conftest.err conftest.i conftest.$ac_ext
6656 done
6657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6658 rm -f conftest.i conftest.err conftest.$ac_ext
6659 if $ac_preproc_ok; then :
6661 else
6662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6664 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6665 See \`config.log' for more details" "$LINENO" 5; }
6668 ac_ext=c
6669 ac_cpp='$CPP $CPPFLAGS'
6670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6676 $as_echo_n "checking for ANSI C header files... " >&6; }
6677 if ${ac_cv_header_stdc+:} false; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <stdlib.h>
6683 #include <stdarg.h>
6684 #include <string.h>
6685 #include <float.h>
6688 main ()
6692 return 0;
6694 _ACEOF
6695 if ac_fn_c_try_compile "$LINENO"; then :
6696 ac_cv_header_stdc=yes
6697 else
6698 ac_cv_header_stdc=no
6700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6702 if test $ac_cv_header_stdc = yes; then
6703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6706 #include <string.h>
6708 _ACEOF
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "memchr" >/dev/null 2>&1; then :
6712 else
6713 ac_cv_header_stdc=no
6715 rm -f conftest*
6719 if test $ac_cv_header_stdc = yes; then
6720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <stdlib.h>
6725 _ACEOF
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "free" >/dev/null 2>&1; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f conftest*
6736 if test $ac_cv_header_stdc = yes; then
6737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6738 if test "$cross_compiling" = yes; then :
6740 else
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <ctype.h>
6744 #include <stdlib.h>
6745 #if ((' ' & 0x0FF) == 0x020)
6746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6748 #else
6749 # define ISLOWER(c) \
6750 (('a' <= (c) && (c) <= 'i') \
6751 || ('j' <= (c) && (c) <= 'r') \
6752 || ('s' <= (c) && (c) <= 'z'))
6753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6754 #endif
6756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6758 main ()
6760 int i;
6761 for (i = 0; i < 256; i++)
6762 if (XOR (islower (i), ISLOWER (i))
6763 || toupper (i) != TOUPPER (i))
6764 return 2;
6765 return 0;
6767 _ACEOF
6768 if ac_fn_c_try_run "$LINENO"; then :
6770 else
6771 ac_cv_header_stdc=no
6773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6774 conftest.$ac_objext conftest.beam conftest.$ac_ext
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6780 $as_echo "$ac_cv_header_stdc" >&6; }
6781 if test $ac_cv_header_stdc = yes; then
6783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6788 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6789 inttypes.h stdint.h unistd.h
6790 do :
6791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6794 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6795 cat >>confdefs.h <<_ACEOF
6796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6797 _ACEOF
6801 done
6804 for ac_header in \
6805 AL/al.h \
6806 ApplicationServices/ApplicationServices.h \
6807 AudioToolbox/AudioConverter.h \
6808 AudioUnit/AudioUnit.h \
6809 AudioUnit/AudioComponent.h \
6810 CL/cl.h \
6811 Carbon/Carbon.h \
6812 CommonCrypto/CommonDigest.h \
6813 CoreAudio/CoreAudio.h \
6814 CoreServices/CoreServices.h \
6815 DiskArbitration/DiskArbitration.h \
6816 IOKit/IOKitLib.h \
6817 IOKit/hid/IOHIDLib.h \
6818 OpenAL/al.h \
6819 OpenCL/opencl.h \
6820 QuickTime/ImageCompression.h \
6821 Security/Security.h \
6822 alias.h \
6823 alsa/asoundlib.h \
6824 arpa/inet.h \
6825 arpa/nameser.h \
6826 asm/types.h \
6827 asm/user.h \
6828 curses.h \
6829 direct.h \
6830 dirent.h \
6831 dlfcn.h \
6832 elf.h \
6833 float.h \
6834 fnmatch.h \
6835 getopt.h \
6836 gettext-po.h \
6837 grp.h \
6838 gsm.h \
6839 gsm/gsm.h \
6840 ieeefp.h \
6841 inet/mib2.h \
6842 io.h \
6843 kstat.h \
6844 lber.h \
6845 ldap.h \
6846 libproc.h \
6847 link.h \
6848 linux/cdrom.h \
6849 linux/compiler.h \
6850 linux/filter.h \
6851 linux/hdreg.h \
6852 linux/hidraw.h \
6853 linux/input.h \
6854 linux/ioctl.h \
6855 linux/joystick.h \
6856 linux/major.h \
6857 linux/param.h \
6858 linux/serial.h \
6859 linux/types.h \
6860 linux/ucdrom.h \
6861 lwp.h \
6862 mach-o/nlist.h \
6863 mach-o/loader.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/sysarch.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 pcap/pcap.h \
6877 poll.h \
6878 port.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 sched.h \
6883 scsi/scsi.h \
6884 scsi/scsi_ioctl.h \
6885 scsi/sg.h \
6886 stdbool.h \
6887 stdint.h \
6888 stropts.h \
6889 sys/asoundlib.h \
6890 sys/attr.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/event.h \
6895 sys/exec_elf.h \
6896 sys/filio.h \
6897 sys/inotify.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/mman.h \
6903 sys/modem.h \
6904 sys/msg.h \
6905 sys/mtio.h \
6906 sys/param.h \
6907 sys/poll.h \
6908 sys/prctl.h \
6909 sys/protosw.h \
6910 sys/ptrace.h \
6911 sys/queue.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/socketvar.h \
6918 sys/sockio.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysinfo.h \
6923 sys/tihdr.h \
6924 sys/time.h \
6925 sys/timeout.h \
6926 sys/times.h \
6927 sys/uio.h \
6928 sys/user.h \
6929 sys/utsname.h \
6930 sys/vm86.h \
6931 sys/vnode.h \
6932 sys/wait.h \
6933 syscall.h \
6934 termios.h \
6935 unistd.h \
6936 utime.h \
6937 valgrind/memcheck.h \
6938 valgrind/valgrind.h \
6939 zlib.h
6941 do :
6942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6943 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6945 cat >>confdefs.h <<_ACEOF
6946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 _ACEOF
6951 done
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6954 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6955 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6956 $as_echo_n "(cached) " >&6
6957 else
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h. */
6960 #include <sys/types.h>
6962 main ()
6964 return makedev(0, 0);
6966 return 0;
6968 _ACEOF
6969 if ac_fn_c_try_link "$LINENO"; then :
6970 ac_cv_header_sys_types_h_makedev=yes
6971 else
6972 ac_cv_header_sys_types_h_makedev=no
6974 rm -f core conftest.err conftest.$ac_objext \
6975 conftest$ac_exeext conftest.$ac_ext
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6979 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6981 if test $ac_cv_header_sys_types_h_makedev = no; then
6982 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6983 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6985 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6991 if test $ac_cv_header_sys_mkdev_h = no; then
6992 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6993 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6995 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7004 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7005 if ${ac_cv_header_stat_broken+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <sys/types.h>
7011 #include <sys/stat.h>
7013 #if defined S_ISBLK && defined S_IFDIR
7014 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7015 #endif
7017 #if defined S_ISBLK && defined S_IFCHR
7018 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7019 #endif
7021 #if defined S_ISLNK && defined S_IFREG
7022 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7023 #endif
7025 #if defined S_ISSOCK && defined S_IFREG
7026 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7027 #endif
7029 _ACEOF
7030 if ac_fn_c_try_compile "$LINENO"; then :
7031 ac_cv_header_stat_broken=no
7032 else
7033 ac_cv_header_stat_broken=yes
7035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7038 $as_echo "$ac_cv_header_stat_broken" >&6; }
7039 if test $ac_cv_header_stat_broken = yes; then
7041 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7047 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7048 do :
7049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7051 #ifdef HAVE_SYS_PARAM_H
7052 # include <sys/param.h>
7053 #endif
7055 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7056 cat >>confdefs.h <<_ACEOF
7057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7058 _ACEOF
7062 done
7065 for ac_header in \
7066 netinet/ip.h \
7067 net/if.h \
7068 net/if_arp.h \
7069 net/if_dl.h \
7070 net/if_types.h \
7071 net/route.h \
7072 netinet/if_ether.h \
7073 netinet/if_inarp.h \
7074 netinet/in_pcb.h \
7075 netinet/ip_icmp.h \
7076 netinet/ip_var.h \
7077 netinet/udp.h \
7078 netipx/ipx.h \
7079 sys/un.h \
7081 do :
7082 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7083 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7084 #ifdef HAVE_SYS_SOCKET_H
7085 # include <sys/socket.h>
7086 #endif
7087 #ifdef HAVE_SYS_SOCKETVAR_H
7088 # include <sys/socketvar.h>
7089 #endif
7090 #ifdef HAVE_NET_ROUTE_H
7091 # include <net/route.h>
7092 #endif
7093 #ifdef HAVE_NETINET_IN_H
7094 # include <netinet/in.h>
7095 #endif
7096 #ifdef HAVE_NETINET_IN_SYSTM_H
7097 # include <netinet/in_systm.h>
7098 #endif
7099 #ifdef HAVE_NET_IF_H
7100 # include <net/if.h>
7101 #endif
7102 #ifdef HAVE_NETINET_IP_H
7103 # include <netinet/ip.h>
7104 #endif
7106 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7109 _ACEOF
7113 done
7116 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7117 do :
7118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7120 #ifdef HAVE_ALIAS_H
7121 # include <alias.h>
7122 #endif
7123 #ifdef HAVE_SYS_SOCKET_H
7124 # include <sys/socket.h>
7125 #endif
7126 #ifdef HAVE_SYS_SOCKETVAR_H
7127 # include <sys/socketvar.h>
7128 #endif
7129 #ifdef HAVE_SYS_TIMEOUT_H
7130 # include <sys/timeout.h>
7131 #endif
7132 #ifdef HAVE_NETINET_IN_H
7133 # include <netinet/in.h>
7134 #endif
7135 #ifdef HAVE_NETINET_IN_SYSTM_H
7136 # include <netinet/in_systm.h>
7137 #endif
7138 #ifdef HAVE_NETINET_IP_H
7139 # include <netinet/ip.h>
7140 #endif
7141 #ifdef HAVE_NETINET_IP_VAR_H
7142 # include <netinet/ip_var.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IP_ICMP_H
7145 # include <netinet/ip_icmp.h>
7146 #endif
7147 #ifdef HAVE_NETINET_UDP_H
7148 # include <netinet/udp.h>
7149 #endif
7150 #ifdef HAVE_NETINET_TCP_H
7151 # include <netinet/tcp.h>
7152 #endif
7153 #ifdef HAVE_NETINET_TCP_TIMER_H
7154 #include <netinet/tcp_timer.h>
7155 #endif
7157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7160 _ACEOF
7164 done
7167 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7168 do :
7169 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7170 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7171 #ifdef HAVE_ASM_TYPES_H
7172 # include <asm/types.h>
7173 #endif
7174 #ifdef HAVE_SYS_SOCKET_H
7175 # include <sys/socket.h>
7176 #endif
7177 #ifdef HAVE_LINUX_TYPES_H
7178 # include <linux/types.h>
7179 #endif
7181 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7182 cat >>confdefs.h <<_ACEOF
7183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7184 _ACEOF
7188 done
7191 for ac_header in mach-o/dyld_images.h
7192 do :
7193 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7194 # include <stdbool.h>
7195 #endif
7196 #ifdef HAVE_STDINT_H
7197 # include <stdint.h>
7198 #endif
7200 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7201 cat >>confdefs.h <<_ACEOF
7202 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7203 _ACEOF
7207 done
7210 for ac_header in resolv.h
7211 do :
7212 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7213 #ifdef HAVE_SYS_SOCKET_H
7214 # include <sys/socket.h>
7215 #endif
7216 #ifdef HAVE_NETINET_IN_H
7217 # include <netinet/in.h>
7218 #endif
7219 #ifdef HAVE_ARPA_NAMESER_H
7220 # include <arpa/nameser.h>
7221 #endif
7223 if test "x$ac_cv_header_resolv_h" = xyes; then :
7224 cat >>confdefs.h <<_ACEOF
7225 #define HAVE_RESOLV_H 1
7226 _ACEOF
7230 done
7233 for ac_header in ifaddrs.h
7234 do :
7235 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7237 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_IFADDRS_H 1
7240 _ACEOF
7244 done
7247 for ac_header in sys/ucontext.h
7248 do :
7249 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7251 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7252 cat >>confdefs.h <<_ACEOF
7253 #define HAVE_SYS_UCONTEXT_H 1
7254 _ACEOF
7258 done
7261 for ac_header in sys/thr.h
7262 do :
7263 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7264 #ifdef HAVE_SYS_UCONTEXT_H
7265 #include <sys/ucontext.h>
7266 #endif
7268 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_SYS_THR_H 1
7271 _ACEOF
7275 done
7278 for ac_header in pthread_np.h
7279 do :
7280 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7281 #include <pthread.h>
7282 #endif
7284 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define HAVE_PTHREAD_NP_H 1
7287 _ACEOF
7291 done
7294 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7295 do :
7296 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7298 #include <sys/time.h>
7299 #endif
7300 #include <sys/types.h>
7301 #ifdef HAVE_ASM_TYPES_H
7302 #include <asm/types.h>
7303 #endif
7305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7306 cat >>confdefs.h <<_ACEOF
7307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7308 _ACEOF
7312 done
7315 for ac_header in libprocstat.h
7316 do :
7317 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7318 #include <sys/param.h>
7319 #endif
7320 #ifdef HAVE_SYS_QUEUE_H
7321 #include <sys/queue.h>
7322 #endif
7323 #ifdef HAVE_SYS_SOCKET_H
7324 #include <sys/socket.h>
7325 #endif
7327 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7328 cat >>confdefs.h <<_ACEOF
7329 #define HAVE_LIBPROCSTAT_H 1
7330 _ACEOF
7334 done
7338 dlldir="\${libdir}/wine"
7340 DLLFLAGS="-D_REENTRANT"
7342 LDRPATH_INSTALL=""
7344 LDRPATH_LOCAL=""
7346 LDEXECFLAGS=""
7348 LIBEXT="so"
7349 DLLEXT=".so"
7350 IMPLIBEXT="def"
7351 # Extract the first word of "ldd", so it can be a program name with args.
7352 set dummy ldd; ac_word=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if ${ac_cv_path_LDD+:} false; then :
7356 $as_echo_n "(cached) " >&6
7357 else
7358 case $LDD in
7359 [\\/]* | ?:[\\/]*)
7360 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 as_dummy="/sbin:/usr/sbin:$PATH"
7365 for as_dir in $as_dummy
7367 IFS=$as_save_IFS
7368 test -z "$as_dir" && as_dir=.
7369 for ac_exec_ext in '' $ac_executable_extensions; do
7370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7371 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 break 2
7375 done
7376 done
7377 IFS=$as_save_IFS
7379 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7381 esac
7383 LDD=$ac_cv_path_LDD
7384 if test -n "$LDD"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7386 $as_echo "$LDD" >&6; }
7387 else
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7393 if test -n "$ac_tool_prefix"; then
7394 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7395 set dummy ${ac_tool_prefix}otool; ac_word=$2
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397 $as_echo_n "checking for $ac_word... " >&6; }
7398 if ${ac_cv_prog_OTOOL+:} false; then :
7399 $as_echo_n "(cached) " >&6
7400 else
7401 if test -n "$OTOOL"; then
7402 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7403 else
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH
7407 IFS=$as_save_IFS
7408 test -z "$as_dir" && as_dir=.
7409 for ac_exec_ext in '' $ac_executable_extensions; do
7410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 break 2
7415 done
7416 done
7417 IFS=$as_save_IFS
7421 OTOOL=$ac_cv_prog_OTOOL
7422 if test -n "$OTOOL"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7424 $as_echo "$OTOOL" >&6; }
7425 else
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7432 if test -z "$ac_cv_prog_OTOOL"; then
7433 ac_ct_OTOOL=$OTOOL
7434 # Extract the first word of "otool", so it can be a program name with args.
7435 set dummy otool; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437 $as_echo_n "checking for $ac_word... " >&6; }
7438 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
7441 if test -n "$ac_ct_OTOOL"; then
7442 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7443 else
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451 ac_cv_prog_ac_ct_OTOOL="otool"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 break 2
7455 done
7456 done
7457 IFS=$as_save_IFS
7461 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7462 if test -n "$ac_ct_OTOOL"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7464 $as_echo "$ac_ct_OTOOL" >&6; }
7465 else
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7470 if test "x$ac_ct_OTOOL" = x; then
7471 OTOOL="otool"
7472 else
7473 case $cross_compiling:$ac_tool_warned in
7474 yes:)
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7477 ac_tool_warned=yes ;;
7478 esac
7479 OTOOL=$ac_ct_OTOOL
7481 else
7482 OTOOL="$ac_cv_prog_OTOOL"
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if ${ac_cv_prog_READELF+:} false; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$READELF"; then
7494 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7507 done
7508 done
7509 IFS=$as_save_IFS
7513 READELF=$ac_cv_prog_READELF
7514 if test -n "$READELF"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7516 $as_echo "$READELF" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_READELF"; then
7525 ac_ct_READELF=$READELF
7526 # Extract the first word of "readelf", so it can be a program name with args.
7527 set dummy readelf; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$ac_ct_READELF"; then
7534 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543 ac_cv_prog_ac_ct_READELF="readelf"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7554 if test -n "$ac_ct_READELF"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7556 $as_echo "$ac_ct_READELF" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_READELF" = x; then
7563 READELF="true"
7564 else
7565 case $cross_compiling:$ac_tool_warned in
7566 yes:)
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7570 esac
7571 READELF=$ac_ct_READELF
7573 else
7574 READELF="$ac_cv_prog_READELF"
7577 wine_rules_file=conf$$rules.make
7578 rm -f $wine_rules_file
7579 SUBDIRS=""
7581 DISABLED_SUBDIRS=""
7583 CONFIGURE_TARGETS=""
7585 ALL_TEST_RESOURCES=""
7588 wine_fn_append_file ()
7590 as_fn_append $1 " \\$as_nl $2"
7593 wine_fn_append_rule ()
7595 $as_echo "$1" >>$wine_rules_file
7598 wine_fn_has_flag ()
7600 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7603 wine_fn_all_rules ()
7605 wine_fn_append_file SUBDIRS $ac_dir
7606 wine_fn_append_rule \
7607 "all: $ac_dir
7608 .PHONY: $ac_dir
7609 $ac_dir: dummy
7610 @cd $ac_dir && \$(MAKE)"
7613 wine_fn_install_rules ()
7615 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7617 wine_fn_append_rule \
7618 ".PHONY: $ac_dir/install $ac_dir/uninstall
7619 $ac_dir/install:: $ac_dir
7620 @cd $ac_dir && \$(MAKE) install
7621 $ac_dir/uninstall::
7622 @cd $ac_dir && \$(MAKE) uninstall
7623 install:: $ac_dir/install
7624 __uninstall__: $ac_dir/uninstall"
7626 if wine_fn_has_flag install-lib
7627 then
7628 wine_fn_append_rule \
7629 ".PHONY: $ac_dir/install-lib
7630 $ac_dir/install-lib:: $ac_dir
7631 @cd $ac_dir && \$(MAKE) install-lib
7632 install-lib:: $ac_dir/install-lib"
7635 if wine_fn_has_flag install-dev
7636 then
7637 wine_fn_append_rule \
7638 ".PHONY: $ac_dir/install-dev
7639 $ac_dir/install-dev:: $ac_dir
7640 @cd $ac_dir && \$(MAKE) install-dev
7641 install-dev:: $ac_dir/install-dev"
7645 wine_fn_clean_rules ()
7647 ac_clean=$@
7649 if wine_fn_has_flag clean
7650 then
7651 wine_fn_append_rule \
7652 "$ac_dir/clean: dummy
7653 @cd $ac_dir && \$(MAKE) clean"
7654 else
7655 wine_fn_append_rule \
7656 "$ac_dir/clean: dummy
7657 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7659 wine_fn_append_rule \
7660 "__clean__: $ac_dir/clean
7661 .PHONY: $ac_dir/clean"
7664 wine_fn_disabled_rules ()
7666 ac_clean=$@
7668 wine_fn_append_file SUBDIRS $ac_dir
7669 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7670 wine_fn_append_rule \
7671 "__clean__: $ac_dir/clean
7672 .PHONY: $ac_dir/clean
7673 $ac_dir/clean: dummy
7674 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7677 wine_fn_config_makefile ()
7679 ac_dir=$1
7680 ac_enable=$2
7681 ac_flags=$3
7683 case $ac_dir in
7684 fonts|server) test -z "$with_wine64" || return ;;
7685 esac
7686 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7687 wine_fn_disabled_rules; return
7689 wine_fn_all_rules
7690 wine_fn_install_rules
7691 wine_fn_clean_rules
7694 wine_fn_config_lib ()
7696 ac_name=$1
7697 ac_flags=$2
7698 ac_dir=dlls/$ac_name
7699 ac_deps="include"
7701 if test "x$enable_tools" = xno; then :
7703 else
7704 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7706 wine_fn_all_rules
7707 wine_fn_clean_rules
7709 wine_fn_append_rule \
7710 ".PHONY: $ac_dir/install $ac_dir/uninstall
7711 $ac_dir/install:: $ac_dir
7712 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7713 $ac_dir/uninstall::
7714 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7715 install install-dev:: $ac_dir/install
7716 __uninstall__: $ac_dir/uninstall
7717 __builddeps__: $ac_dir
7718 $ac_dir: $ac_deps"
7721 wine_fn_config_dll ()
7723 ac_name=$1
7724 ac_dir=dlls/$ac_name
7725 ac_enable=$2
7726 ac_flags=$3
7727 ac_implib=${4:-$ac_name}
7728 ac_file=$ac_dir/lib$ac_implib
7729 ac_dll=$ac_name
7730 ac_deps="include"
7731 ac_implibflags=""
7733 if test "x$enable_tools" = xno; then :
7735 else
7736 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7738 case $ac_name in
7739 *.*16) ac_implibflags=" -m16" ;;
7740 *.*) ;;
7741 *) ac_dll=$ac_dll.dll ;;
7742 esac
7744 ac_clean=
7745 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7746 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7748 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7749 if test "$ac_enable" != enable_win16
7750 then
7751 wine_fn_clean_rules $ac_clean
7752 wine_fn_append_file SUBDIRS $ac_dir
7753 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7754 else
7755 wine_fn_disabled_rules $ac_clean
7756 return
7758 else
7759 wine_fn_all_rules
7760 wine_fn_clean_rules $ac_clean
7761 wine_fn_append_rule \
7762 "$ac_dir: __builddeps__
7763 manpages htmlpages sgmlpages xmlpages::
7764 @cd $ac_dir && \$(MAKE) \$@
7765 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7766 install install-lib:: $ac_dir/install-lib
7767 __uninstall__: $ac_dir/uninstall"
7768 if test -n "$DLLEXT"
7769 then
7770 wine_fn_append_rule \
7771 "$ac_dir/install-lib:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7773 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7776 else
7777 wine_fn_append_rule \
7778 "$ac_dir/install-lib:: $ac_dir
7779 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7780 $ac_dir/uninstall::
7781 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7785 if wine_fn_has_flag staticimplib
7786 then
7787 wine_fn_append_rule \
7788 "__builddeps__: $ac_file.a
7789 $ac_file.a $ac_file.cross.a: $ac_deps
7790 $ac_file.a: dummy
7791 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7792 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7793 $ac_dir/install-dev:: $ac_file.a
7794 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7795 $ac_dir/uninstall::
7796 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7797 install install-dev:: $ac_dir/install-dev
7798 __uninstall__: $ac_dir/uninstall"
7800 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7801 then
7802 wine_fn_append_rule \
7803 "__builddeps__: $ac_file.cross.a
7804 $ac_file.cross.a: dummy
7805 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7808 elif wine_fn_has_flag implib
7809 then
7810 wine_fn_append_rule \
7811 "__builddeps__: $ac_file.$IMPLIBEXT
7812 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7813 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7814 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7815 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7816 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7817 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7818 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7819 $ac_dir/uninstall::
7820 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7821 install install-dev:: $ac_dir/install-dev
7822 __uninstall__: $ac_dir/uninstall"
7823 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7824 then
7825 wine_fn_append_rule \
7826 "__builddeps__: $ac_file.cross.a
7827 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7828 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7833 wine_fn_config_program ()
7835 ac_name=$1
7836 ac_dir=programs/$ac_name
7837 ac_enable=$2
7838 ac_flags=$3
7839 ac_program=$ac_name
7841 case $ac_name in
7842 *.*) ;;
7843 *) ac_program=$ac_program.exe ;;
7844 esac
7846 ac_clean=
7847 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7848 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7850 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7851 wine_fn_disabled_rules $ac_clean; return
7854 wine_fn_all_rules
7855 wine_fn_clean_rules $ac_clean
7856 wine_fn_append_rule "$ac_dir: __builddeps__"
7858 wine_fn_has_flag install || return
7859 wine_fn_append_rule \
7860 ".PHONY: $ac_dir/install $ac_dir/uninstall
7861 install install-lib:: $ac_dir/install
7862 __uninstall__: $ac_dir/uninstall"
7864 if test -n "$DLLEXT"
7865 then
7866 wine_fn_append_rule \
7867 "$ac_dir/install:: $ac_dir
7868 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7869 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7870 $ac_dir/uninstall::
7871 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7873 if test -z "$with_wine64" && wine_fn_has_flag installbin
7874 then
7875 wine_fn_append_rule \
7876 "$ac_dir/install:: __tooldeps__
7877 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7878 $ac_dir/uninstall::
7879 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7881 else
7882 wine_fn_append_rule \
7883 "$ac_dir/install:: $ac_dir
7884 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7885 $ac_dir/uninstall::
7886 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7889 if test -z "$with_wine64" && wine_fn_has_flag manpage
7890 then
7891 wine_fn_append_rule \
7892 "$ac_dir/install:: $ac_dir
7893 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7894 $ac_dir/uninstall::
7895 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7899 wine_fn_config_test ()
7901 ac_dir=$1
7902 ac_name=$2
7903 ac_flags=$3
7905 ac_clean=
7906 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7907 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7909 if test "x$enable_tests" = xno; then :
7910 wine_fn_disabled_rules $ac_clean; return
7913 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7914 wine_fn_all_rules
7915 wine_fn_clean_rules $ac_clean
7917 wine_fn_append_rule \
7918 "$ac_dir: __builddeps__
7919 programs/winetest: $ac_dir
7920 check test: $ac_dir/test
7921 .PHONY: $ac_dir/test
7922 $ac_dir/test: dummy
7923 @cd $ac_dir && \$(MAKE) test
7924 testclean::
7925 \$(RM) $ac_dir/*.ok"
7927 if test -n "$CROSSTARGET"
7928 then
7929 wine_fn_append_rule \
7930 "crosstest: $ac_dir/crosstest
7931 .PHONY: $ac_dir/crosstest
7932 $ac_dir/crosstest: __builddeps__ dummy
7933 @cd $ac_dir && \$(MAKE) crosstest"
7937 wine_fn_config_tool ()
7939 ac_dir=$1
7940 ac_flags=$2
7941 if test "x$enable_tools" = xno; then :
7942 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7945 wine_fn_all_rules
7946 wine_fn_install_rules
7947 wine_fn_clean_rules
7949 wine_fn_append_rule "__tooldeps__: $ac_dir"
7950 wine_fn_append_rule "$ac_dir: libs/port"
7951 case $ac_dir in
7952 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7953 esac
7956 wine_fn_config_symlink ()
7958 ac_linkdir=
7959 if test "x$1" = "x-d"
7960 then
7961 ac_linkdir=$2
7962 shift; shift
7964 ac_links=$@
7965 wine_fn_append_rule \
7966 "$ac_links:
7967 @./config.status \$@"
7968 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7969 test -n "$ac_linkdir" || return
7970 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7973 wine_binary="wine"
7974 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7975 WINELOADER_PROGRAMS="$wine_binary"
7977 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7979 case $host_os in
7980 cygwin*|mingw32*)
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_DLLTOOL+:} false; then :
7987 $as_echo_n "(cached) " >&6
7988 else
7989 if test -n "$DLLTOOL"; then
7990 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8003 done
8004 done
8005 IFS=$as_save_IFS
8009 DLLTOOL=$ac_cv_prog_DLLTOOL
8010 if test -n "$DLLTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8012 $as_echo "$DLLTOOL" >&6; }
8013 else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8020 if test -z "$ac_cv_prog_DLLTOOL"; then
8021 ac_ct_DLLTOOL=$DLLTOOL
8022 # Extract the first word of "dlltool", so it can be a program name with args.
8023 set dummy dlltool; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 if test -n "$ac_ct_DLLTOOL"; then
8030 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8043 done
8044 done
8045 IFS=$as_save_IFS
8049 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8050 if test -n "$ac_ct_DLLTOOL"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8052 $as_echo "$ac_ct_DLLTOOL" >&6; }
8053 else
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8058 if test "x$ac_ct_DLLTOOL" = x; then
8059 DLLTOOL="false"
8060 else
8061 case $cross_compiling:$ac_tool_warned in
8062 yes:)
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned=yes ;;
8066 esac
8067 DLLTOOL=$ac_ct_DLLTOOL
8069 else
8070 DLLTOOL="$ac_cv_prog_DLLTOOL"
8073 LIBEXT="dll"
8074 DLLEXT=""
8075 IMPLIBEXT="a"
8076 enable_iphlpapi=${enable_iphlpapi:-no}
8077 enable_kernel32=${enable_kernel32:-no}
8078 enable_msvcrt=${enable_msvcrt:-no}
8079 enable_ntdll=${enable_ntdll:-no}
8080 enable_ws2_32=${enable_ws2_32:-no}
8081 enable_loader=${enable_loader:-no}
8082 enable_server=${enable_server:-no}
8083 with_x=${with_x:-no}
8084 with_pthread=${with_pthread:-no}
8086 crtlibs=""
8087 case $host_os in
8088 mingw32*)
8089 crtlibs="-lmsvcrt"
8090 SOCKET_LIBS="-lws2_32"
8092 esac
8094 LIBWINE_SHAREDLIB="libwine.dll"
8096 LIBWINE_IMPORTLIB="libwine.a"
8098 LIBWINE_INSTALL_LIB="libwine.dll"
8100 LIBWINE_INSTALL_DEV="libwine.a"
8102 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8104 LIBWINE_DEPENDS="wine.def"
8108 darwin*|macosx*)
8109 for ac_header in libunwind.h
8110 do :
8111 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_LIBUNWIND_H 1
8115 _ACEOF
8119 done
8121 LIBEXT="dylib"
8122 DLLFLAGS="$DLLFLAGS -fPIC"
8123 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8124 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8125 COREFOUNDATION_LIBS="-framework CoreFoundation"
8127 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8129 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8131 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8133 CORESERVICES_LIBS="-framework CoreServices"
8135 APPKIT_LIBS="-framework AppKit"
8137 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8139 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8140 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8141 $as_echo_n "(cached) " >&6
8142 else
8143 ac_wine_try_cflags_saved=$CFLAGS
8144 CFLAGS="$CFLAGS -Wl,-no_pie"
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8148 _ACEOF
8149 if ac_fn_c_try_link "$LINENO"; then :
8150 ac_cv_cflags__Wl__no_pie=yes
8151 else
8152 ac_cv_cflags__Wl__no_pie=no
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 CFLAGS=$ac_wine_try_cflags_saved
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8159 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8160 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8161 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8163 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8164 then
8165 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8168 if test "$ac_cv_header_Security_Security_h" = "yes"
8169 then
8170 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8172 ac_save_LIBS="$LIBS"
8173 LIBS="$LIBS $SECURITY_LIBS"
8174 for ac_func in SSLCopyPeerCertificates
8175 do :
8176 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8177 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8180 _ACEOF
8183 done
8185 LIBS="$ac_save_LIBS"
8186 with_gnutls=${with_gnutls:-no}
8188 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8189 then
8190 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8191 then
8192 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8194 else
8195 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8198 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8199 ac_save_LIBS="$LIBS"
8200 LIBS="$LIBS $COREAUDIO_LIBS"
8201 for ac_func in AUGraphAddNode
8202 do :
8203 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8204 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8205 cat >>confdefs.h <<_ACEOF
8206 #define HAVE_AUGRAPHADDNODE 1
8207 _ACEOF
8210 done
8212 LIBS="$ac_save_LIBS"
8214 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8215 then
8216 OPENAL_LIBS="-framework OpenAL"
8219 cat >>confdefs.h <<_ACEOF
8220 #define HAVE_OPENAL 1
8221 _ACEOF
8223 ac_cv_lib_openal=yes
8225 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8226 then
8227 OPENCL_LIBS="-framework OpenCL"
8229 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8231 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8232 then
8233 ac_save_LIBS="$LIBS"
8234 LIBS="$LIBS $IOKIT_LIBS"
8235 for ac_func in IOHIDManagerCreate
8236 do :
8237 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8238 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8239 cat >>confdefs.h <<_ACEOF
8240 #define HAVE_IOHIDMANAGERCREATE 1
8241 _ACEOF
8244 done
8246 LIBS="$ac_save_LIBS"
8248 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8249 then
8250 ac_save_LIBS="$LIBS"
8251 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8253 $as_echo_n "checking for the QuickTime framework... " >&6; }
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 #include <QuickTime/ImageCompression.h>
8258 main ()
8260 CodecManagerVersion(NULL);
8262 return 0;
8264 _ACEOF
8265 if ac_fn_c_try_link "$LINENO"; then :
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8267 $as_echo "yes" >&6; }
8268 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8270 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8274 ac_cv_header_QuickTime_ImageCompression_h=no
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 LIBS="$ac_save_LIBS"
8280 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8281 then
8282 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8284 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8285 then
8286 CARBON_LIBS="-framework Carbon"
8290 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8291 then
8292 ac_save_LIBS="$LIBS"
8293 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8294 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8295 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8296 enable_winemac_drv=${enable_winemac_drv:-yes}
8299 LIBS="$ac_save_LIBS"
8302 if test "x$enable_win16" = "xyes"
8303 then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8305 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8306 if test "$cross_compiling" = yes; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8308 $as_echo "cross-compiling, assuming yes" >&6; }
8309 else
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 asm(".text\n"
8313 "bad:\tnop;nop\n"
8314 "good:\tnop;nop\n\t"
8315 ".globl _testfunc\n"
8316 "_testfunc:\tcallw good");
8317 extern void testfunc();
8319 main ()
8321 unsigned short *p = (unsigned short *)testfunc;
8322 return p[0] != 0xe866 || p[1] != 0xfffa
8324 return 0;
8326 _ACEOF
8327 if ac_fn_c_try_run "$LINENO"; then :
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8329 $as_echo "yes" >&6; }
8330 else
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8333 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
8335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8336 conftest.$ac_objext conftest.beam conftest.$ac_ext
8341 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8343 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8345 LIBWINE_INSTALL_DEV="libwine.dylib"
8347 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8349 WINELOADER_DEPENDS="wine_info.plist"
8353 linux-android*)
8354 DLLFLAGS="$DLLFLAGS -fPIC"
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8356 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8357 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 int main(int argc, char **argv) { return 0; }
8365 _ACEOF
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8368 else
8369 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 CFLAGS=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8376 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8377 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8378 LDEXECFLAGS="-Wl,--export-dynamic"
8380 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8382 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8383 if eval \${$as_ac_var+:} false; then :
8384 $as_echo_n "(cached) " >&6
8385 else
8386 ac_wine_try_cflags_saved=$CFLAGS
8387 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8390 int main(int argc, char **argv) { return 0; }
8391 _ACEOF
8392 if ac_fn_c_try_link "$LINENO"; then :
8393 eval "$as_ac_var=yes"
8394 else
8395 eval "$as_ac_var=no"
8397 rm -f core conftest.err conftest.$ac_objext \
8398 conftest$ac_exeext conftest.$ac_ext
8399 CFLAGS=$ac_wine_try_cflags_saved
8401 eval ac_res=\$$as_ac_var
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8403 $as_echo "$ac_res" >&6; }
8404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8405 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8406 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8407 else
8408 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8410 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8411 if eval \${$as_ac_var+:} false; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 ac_wine_try_cflags_saved=$CFLAGS
8415 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 int main(int argc, char **argv) { return 0; }
8419 _ACEOF
8420 if ac_fn_c_try_link "$LINENO"; then :
8421 eval "$as_ac_var=yes"
8422 else
8423 eval "$as_ac_var=no"
8425 rm -f core conftest.err conftest.$ac_objext \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 eval ac_res=\$$as_ac_var
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8431 $as_echo "$ac_res" >&6; }
8432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8433 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8434 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8439 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8440 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 ac_cv_cflags__Wl___enable_new_dtags=yes
8451 else
8452 ac_cv_cflags__Wl___enable_new_dtags=no
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8459 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8460 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8461 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8464 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8465 if ${ac_cv_cflags__Wl__pie+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 ac_wine_try_cflags_saved=$CFLAGS
8469 CFLAGS="$CFLAGS -Wl,-pie"
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8472 int main(int argc, char **argv) { return 0; }
8473 _ACEOF
8474 if ac_fn_c_try_link "$LINENO"; then :
8475 ac_cv_cflags__Wl__pie=yes
8476 else
8477 ac_cv_cflags__Wl__pie=no
8479 rm -f core conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 CFLAGS=$ac_wine_try_cflags_saved
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8484 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8485 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8486 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8489 LIBWINE_SHAREDLIB="libwine.so"
8491 LIBWINE_INSTALL_LIB="libwine.so"
8493 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8498 DLLFLAGS="$DLLFLAGS -fPIC"
8499 LDEXECFLAGS=""
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8501 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8502 if ${ac_cv_c_dll_gnuelf+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 ac_wine_try_cflags_saved=$CFLAGS
8506 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 void myfunc() {}
8510 _ACEOF
8511 if ac_fn_c_try_link "$LINENO"; then :
8512 ac_cv_c_dll_gnuelf="yes"
8513 else
8514 ac_cv_c_dll_gnuelf="no"
8516 rm -f core conftest.err conftest.$ac_objext \
8517 conftest$ac_exeext conftest.$ac_ext
8518 CFLAGS=$ac_wine_try_cflags_saved
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8521 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8522 if test "$ac_cv_c_dll_gnuelf" = "yes"
8523 then
8524 LIBWINE_LDFLAGS="-shared"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8526 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8527 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8538 else
8539 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8546 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8547 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8548 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8549 else
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8552 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8563 else
8564 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8571 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8572 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8573 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8577 echo '{ global: *; };' >conftest.map
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8579 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8580 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 ac_wine_try_cflags_saved=$CFLAGS
8584 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 int main(int argc, char **argv) { return 0; }
8588 _ACEOF
8589 if ac_fn_c_try_link "$LINENO"; then :
8590 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8591 else
8592 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8594 rm -f core conftest.err conftest.$ac_objext \
8595 conftest$ac_exeext conftest.$ac_ext
8596 CFLAGS=$ac_wine_try_cflags_saved
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8599 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8600 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8601 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8603 rm -f conftest.map
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8606 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8607 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8618 else
8619 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8626 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8627 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8628 LDEXECFLAGS="-Wl,--export-dynamic"
8631 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8633 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8634 if eval \${$as_ac_var+:} false; then :
8635 $as_echo_n "(cached) " >&6
8636 else
8637 ac_wine_try_cflags_saved=$CFLAGS
8638 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8641 int main(int argc, char **argv) { return 0; }
8642 _ACEOF
8643 if ac_fn_c_try_link "$LINENO"; then :
8644 eval "$as_ac_var=yes"
8645 else
8646 eval "$as_ac_var=no"
8648 rm -f core conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 CFLAGS=$ac_wine_try_cflags_saved
8652 eval ac_res=\$$as_ac_var
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8654 $as_echo "$ac_res" >&6; }
8655 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8656 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8657 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8658 else
8659 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8661 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8662 if eval \${$as_ac_var+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 ac_wine_try_cflags_saved=$CFLAGS
8666 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8669 int main(int argc, char **argv) { return 0; }
8670 _ACEOF
8671 if ac_fn_c_try_link "$LINENO"; then :
8672 eval "$as_ac_var=yes"
8673 else
8674 eval "$as_ac_var=no"
8676 rm -f core conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 CFLAGS=$ac_wine_try_cflags_saved
8680 eval ac_res=\$$as_ac_var
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8682 $as_echo "$ac_res" >&6; }
8683 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8684 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8685 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8690 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8691 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 ac_wine_try_cflags_saved=$CFLAGS
8695 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8698 int main(int argc, char **argv) { return 0; }
8699 _ACEOF
8700 if ac_fn_c_try_link "$LINENO"; then :
8701 ac_cv_cflags__Wl___enable_new_dtags=yes
8702 else
8703 ac_cv_cflags__Wl___enable_new_dtags=no
8705 rm -f core conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 CFLAGS=$ac_wine_try_cflags_saved
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8710 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8711 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8712 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8715 case $host_cpu in
8716 *i[3456789]86* | x86_64)
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8718 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8719 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 int main(int argc, char **argv) { return 0; }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8730 else
8731 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8738 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8739 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8740 case $host_os in
8741 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8742 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8743 esac
8744 else
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8746 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8747 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8748 $as_echo_n "(cached) " >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8753 /* end confdefs.h. */
8754 int main(int argc, char **argv) { return 0; }
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8758 else
8759 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 CFLAGS=$ac_wine_try_cflags_saved
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8766 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8767 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8768 case $host_os in
8769 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8770 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8771 esac
8773 # Extract the first word of "prelink", so it can be a program name with args.
8774 set dummy prelink; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_path_PRELINK+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 case $PRELINK in
8781 [\\/]* | ?:[\\/]*)
8782 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 for as_dir in /sbin /usr/sbin $PATH
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8792 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8796 done
8797 done
8798 IFS=$as_save_IFS
8800 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8802 esac
8804 PRELINK=$ac_cv_path_PRELINK
8805 if test -n "$PRELINK"; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8807 $as_echo "$PRELINK" >&6; }
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8814 if test "x$PRELINK" = xfalse
8815 then
8816 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8820 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8821 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8828 int main(int argc, char **argv) { return 0; }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8832 else
8833 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 CFLAGS=$ac_wine_try_cflags_saved
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8840 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8841 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8842 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8845 esac
8847 else
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8849 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8850 if ${ac_cv_c_dll_unixware+:} false; then :
8851 $as_echo_n "(cached) " >&6
8852 else
8853 ac_wine_try_cflags_saved=$CFLAGS
8854 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 void myfunc() {}
8858 _ACEOF
8859 if ac_fn_c_try_link "$LINENO"; then :
8860 ac_cv_c_dll_unixware="yes"
8861 else
8862 ac_cv_c_dll_unixware="no"
8864 rm -f core conftest.err conftest.$ac_objext \
8865 conftest$ac_exeext conftest.$ac_ext
8866 CFLAGS=$ac_wine_try_cflags_saved
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8869 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8870 if test "$ac_cv_c_dll_unixware" = "yes"
8871 then
8872 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8875 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8877 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8879 LIBWINE_INSTALL_DEV="libwine.so"
8881 LIBWINE_DEPENDS="wine.map"
8884 esac
8886 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8887 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8888 enable_winemac_drv=${enable_winemac_drv:-no}
8889 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8891 CROSSTARGET=""
8893 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8894 then
8895 case "$host_cpu" in
8896 arm*)
8897 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8898 i[3456789]86*)
8899 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
8900 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8901 mingw32-gcc" ;;
8902 x86_64)
8903 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
8904 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8906 ac_prefix_list="" ;;
8907 esac
8908 for ac_prog in $ac_prefix_list
8910 # Extract the first word of "$ac_prog", so it can be a program name with args.
8911 set dummy $ac_prog; ac_word=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8913 $as_echo_n "checking for $ac_word... " >&6; }
8914 if ${ac_cv_prog_CROSSCC+:} false; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 if test -n "$CROSSCC"; then
8918 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8919 else
8920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8921 for as_dir in $PATH
8923 IFS=$as_save_IFS
8924 test -z "$as_dir" && as_dir=.
8925 for ac_exec_ext in '' $ac_executable_extensions; do
8926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8927 ac_cv_prog_CROSSCC="$ac_prog"
8928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8929 break 2
8931 done
8932 done
8933 IFS=$as_save_IFS
8937 CROSSCC=$ac_cv_prog_CROSSCC
8938 if test -n "$CROSSCC"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8940 $as_echo "$CROSSCC" >&6; }
8941 else
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8947 test -n "$CROSSCC" && break
8948 done
8949 test -n "$CROSSCC" || CROSSCC="false"
8951 if test "$CROSSCC" != "false"
8952 then
8953 ac_save_CC="$CC"
8954 CC="$CROSSCC"
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8956 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8961 main ()
8965 return 0;
8967 _ACEOF
8968 if ac_fn_c_try_compile "$LINENO"; then :
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8970 $as_echo "yes" >&6; }
8971 set x $CROSSCC
8972 shift
8973 while test $# -ge 1
8975 case "$1" in
8976 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8977 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8978 esac
8979 shift
8980 done
8981 else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983 $as_echo "no" >&6; }
8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8986 CC="$ac_save_CC"
8991 if test "$ac_cv_header_pthread_h" = "yes"
8992 then
8993 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8994 if test "x$ac_cv_func_pthread_create" = xyes; then :
8996 else
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8998 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8999 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9000 $as_echo_n "(cached) " >&6
9001 else
9002 ac_check_lib_save_LIBS=$LIBS
9003 LIBS="-lpthread $LIBS"
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9007 /* Override any GCC internal prototype to avoid an error.
9008 Use char because int might match the return type of a GCC
9009 builtin and then its argument prototype would still apply. */
9010 #ifdef __cplusplus
9011 extern "C"
9012 #endif
9013 char pthread_create ();
9015 main ()
9017 return pthread_create ();
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_link "$LINENO"; then :
9023 ac_cv_lib_pthread_pthread_create=yes
9024 else
9025 ac_cv_lib_pthread_pthread_create=no
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 LIBS=$ac_check_lib_save_LIBS
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9032 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9033 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9034 PTHREAD_LIBS="-lpthread"
9041 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9042 case "x$with_pthread" in
9043 xno) ;;
9044 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9045 Wine cannot support threads without libpthread.
9046 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9047 esac
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9053 $as_echo_n "checking for X... " >&6; }
9056 # Check whether --with-x was given.
9057 if test "${with_x+set}" = set; then :
9058 withval=$with_x;
9061 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9062 if test "x$with_x" = xno; then
9063 # The user explicitly disabled X.
9064 have_x=disabled
9065 else
9066 case $x_includes,$x_libraries in #(
9067 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9068 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 # One or both of the vars are not set, and there is no cached value.
9072 ac_x_includes=no ac_x_libraries=no
9073 rm -f -r conftest.dir
9074 if mkdir conftest.dir; then
9075 cd conftest.dir
9076 cat >Imakefile <<'_ACEOF'
9077 incroot:
9078 @echo incroot='${INCROOT}'
9079 usrlibdir:
9080 @echo usrlibdir='${USRLIBDIR}'
9081 libdir:
9082 @echo libdir='${LIBDIR}'
9083 _ACEOF
9084 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9085 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9086 for ac_var in incroot usrlibdir libdir; do
9087 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9088 done
9089 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9090 for ac_extension in a so sl dylib la dll; do
9091 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9092 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9093 ac_im_usrlibdir=$ac_im_libdir; break
9095 done
9096 # Screen out bogus values from the imake configuration. They are
9097 # bogus both because they are the default anyway, and because
9098 # using them would break gcc on systems where it needs fixed includes.
9099 case $ac_im_incroot in
9100 /usr/include) ac_x_includes= ;;
9101 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9102 esac
9103 case $ac_im_usrlibdir in
9104 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9105 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9106 esac
9108 cd ..
9109 rm -f -r conftest.dir
9112 # Standard set of common directories for X headers.
9113 # Check X11 before X11Rn because it is often a symlink to the current release.
9114 ac_x_header_dirs='
9115 /usr/X11/include
9116 /usr/X11R7/include
9117 /usr/X11R6/include
9118 /usr/X11R5/include
9119 /usr/X11R4/include
9121 /usr/include/X11
9122 /usr/include/X11R7
9123 /usr/include/X11R6
9124 /usr/include/X11R5
9125 /usr/include/X11R4
9127 /usr/local/X11/include
9128 /usr/local/X11R7/include
9129 /usr/local/X11R6/include
9130 /usr/local/X11R5/include
9131 /usr/local/X11R4/include
9133 /usr/local/include/X11
9134 /usr/local/include/X11R7
9135 /usr/local/include/X11R6
9136 /usr/local/include/X11R5
9137 /usr/local/include/X11R4
9139 /usr/X386/include
9140 /usr/x386/include
9141 /usr/XFree86/include/X11
9143 /usr/include
9144 /usr/local/include
9145 /usr/unsupported/include
9146 /usr/athena/include
9147 /usr/local/x11r5/include
9148 /usr/lpp/Xamples/include
9150 /usr/openwin/include
9151 /usr/openwin/share/include'
9153 if test "$ac_x_includes" = no; then
9154 # Guess where to find include files, by looking for Xlib.h.
9155 # First, try using that file with no special directory specified.
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 #include <X11/Xlib.h>
9159 _ACEOF
9160 if ac_fn_c_try_cpp "$LINENO"; then :
9161 # We can compile using X headers with no special include directory.
9162 ac_x_includes=
9163 else
9164 for ac_dir in $ac_x_header_dirs; do
9165 if test -r "$ac_dir/X11/Xlib.h"; then
9166 ac_x_includes=$ac_dir
9167 break
9169 done
9171 rm -f conftest.err conftest.i conftest.$ac_ext
9172 fi # $ac_x_includes = no
9174 if test "$ac_x_libraries" = no; then
9175 # Check for the libraries.
9176 # See if we find them without any special options.
9177 # Don't add to $LIBS permanently.
9178 ac_save_LIBS=$LIBS
9179 LIBS="-lX11 $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9182 #include <X11/Xlib.h>
9184 main ()
9186 XrmInitialize ()
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 LIBS=$ac_save_LIBS
9193 # We can link X programs with no special library path.
9194 ac_x_libraries=
9195 else
9196 LIBS=$ac_save_LIBS
9197 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9199 # Don't even attempt the hair of trying to link an X program!
9200 for ac_extension in a so sl dylib la dll; do
9201 if test -r "$ac_dir/libX11.$ac_extension"; then
9202 ac_x_libraries=$ac_dir
9203 break 2
9205 done
9206 done
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 fi # $ac_x_libraries = no
9212 case $ac_x_includes,$ac_x_libraries in #(
9213 no,* | *,no | *\'*)
9214 # Didn't find X, or a directory has "'" in its name.
9215 ac_cv_have_x="have_x=no";; #(
9217 # Record where we found X for the cache.
9218 ac_cv_have_x="have_x=yes\
9219 ac_x_includes='$ac_x_includes'\
9220 ac_x_libraries='$ac_x_libraries'"
9221 esac
9223 ;; #(
9224 *) have_x=yes;;
9225 esac
9226 eval "$ac_cv_have_x"
9227 fi # $with_x != no
9229 if test "$have_x" != yes; then
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9231 $as_echo "$have_x" >&6; }
9232 no_x=yes
9233 else
9234 # If each of the values was on the command line, it overrides each guess.
9235 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9236 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9237 # Update the cache value to reflect the command line values.
9238 ac_cv_have_x="have_x=yes\
9239 ac_x_includes='$x_includes'\
9240 ac_x_libraries='$x_libraries'"
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9242 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9245 if test "$no_x" = yes; then
9246 # Not all programs may use this symbol, but it does not hurt to define it.
9248 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9250 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9251 else
9252 if test -n "$x_includes"; then
9253 X_CFLAGS="$X_CFLAGS -I$x_includes"
9256 # It would also be nice to do this for all -L options, not just this one.
9257 if test -n "$x_libraries"; then
9258 X_LIBS="$X_LIBS -L$x_libraries"
9259 # For Solaris; some versions of Sun CC require a space after -R and
9260 # others require no space. Words are not sufficient . . . .
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9262 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9263 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9264 ac_xsave_c_werror_flag=$ac_c_werror_flag
9265 ac_c_werror_flag=yes
9266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9267 /* end confdefs.h. */
9270 main ()
9274 return 0;
9276 _ACEOF
9277 if ac_fn_c_try_link "$LINENO"; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9280 X_LIBS="$X_LIBS -R$x_libraries"
9281 else
9282 LIBS="$ac_xsave_LIBS -R $x_libraries"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9287 main ()
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9296 $as_echo "yes" >&6; }
9297 X_LIBS="$X_LIBS -R $x_libraries"
9298 else
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9300 $as_echo "neither works" >&6; }
9302 rm -f core conftest.err conftest.$ac_objext \
9303 conftest$ac_exeext conftest.$ac_ext
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 ac_c_werror_flag=$ac_xsave_c_werror_flag
9308 LIBS=$ac_xsave_LIBS
9311 # Check for system-dependent libraries X programs must link with.
9312 # Do this before checking for the system-independent R6 libraries
9313 # (-lICE), since we may need -lsocket or whatever for X linking.
9315 if test "$ISC" = yes; then
9316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9317 else
9318 # Martyn Johnson says this is needed for Ultrix, if the X
9319 # libraries were built with DECnet support. And Karl Berry says
9320 # the Alpha needs dnet_stub (dnet does not exist).
9321 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char XOpenDisplay ();
9333 main ()
9335 return XOpenDisplay ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9342 else
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9344 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9345 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9346 $as_echo_n "(cached) " >&6
9347 else
9348 ac_check_lib_save_LIBS=$LIBS
9349 LIBS="-ldnet $LIBS"
9350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9356 #ifdef __cplusplus
9357 extern "C"
9358 #endif
9359 char dnet_ntoa ();
9361 main ()
9363 return dnet_ntoa ();
9365 return 0;
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 ac_cv_lib_dnet_dnet_ntoa=yes
9370 else
9371 ac_cv_lib_dnet_dnet_ntoa=no
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS=$ac_check_lib_save_LIBS
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9378 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9379 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9380 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9383 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9385 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9386 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_check_lib_save_LIBS=$LIBS
9390 LIBS="-ldnet_stub $LIBS"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9397 #ifdef __cplusplus
9398 extern "C"
9399 #endif
9400 char dnet_ntoa ();
9402 main ()
9404 return dnet_ntoa ();
9406 return 0;
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9411 else
9412 ac_cv_lib_dnet_stub_dnet_ntoa=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 LIBS=$ac_check_lib_save_LIBS
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9419 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9420 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9421 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9426 rm -f core conftest.err conftest.$ac_objext \
9427 conftest$ac_exeext conftest.$ac_ext
9428 LIBS="$ac_xsave_LIBS"
9430 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9431 # to get the SysV transport functions.
9432 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9433 # needs -lnsl.
9434 # The nsl library prevents programs from opening the X display
9435 # on Irix 5.2, according to T.E. Dickey.
9436 # The functions gethostbyname, getservbyname, and inet_addr are
9437 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9438 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9439 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9443 if test $ac_cv_func_gethostbyname = no; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9445 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9446 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_check_lib_save_LIBS=$LIBS
9450 LIBS="-lnsl $LIBS"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9454 /* Override any GCC internal prototype to avoid an error.
9455 Use char because int might match the return type of a GCC
9456 builtin and then its argument prototype would still apply. */
9457 #ifdef __cplusplus
9458 extern "C"
9459 #endif
9460 char gethostbyname ();
9462 main ()
9464 return gethostbyname ();
9466 return 0;
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_lib_nsl_gethostbyname=yes
9471 else
9472 ac_cv_lib_nsl_gethostbyname=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_lib_save_LIBS
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9479 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9480 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9484 if test $ac_cv_lib_nsl_gethostbyname = no; then
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9486 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9487 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9488 $as_echo_n "(cached) " >&6
9489 else
9490 ac_check_lib_save_LIBS=$LIBS
9491 LIBS="-lbsd $LIBS"
9492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 char gethostbyname ();
9503 main ()
9505 return gethostbyname ();
9507 return 0;
9509 _ACEOF
9510 if ac_fn_c_try_link "$LINENO"; then :
9511 ac_cv_lib_bsd_gethostbyname=yes
9512 else
9513 ac_cv_lib_bsd_gethostbyname=no
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LIBS=$ac_check_lib_save_LIBS
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9520 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9521 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9528 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9529 # socket/setsockopt and other routines are undefined under SCO ODT
9530 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9531 # on later versions), says Simon Leinen: it contains gethostby*
9532 # variants that don't use the name server (or something). -lsocket
9533 # must be given before -lnsl if both are needed. We assume that
9534 # if connect needs -lnsl, so does gethostbyname.
9535 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9536 if test "x$ac_cv_func_connect" = xyes; then :
9540 if test $ac_cv_func_connect = no; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9542 $as_echo_n "checking for connect in -lsocket... " >&6; }
9543 if ${ac_cv_lib_socket_connect+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_check_lib_save_LIBS=$LIBS
9547 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char connect ();
9559 main ()
9561 return connect ();
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567 ac_cv_lib_socket_connect=yes
9568 else
9569 ac_cv_lib_socket_connect=no
9571 rm -f core conftest.err conftest.$ac_objext \
9572 conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9576 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9577 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9578 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9583 # Guillermo Gomez says -lposix is necessary on A/UX.
9584 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9585 if test "x$ac_cv_func_remove" = xyes; then :
9589 if test $ac_cv_func_remove = no; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9591 $as_echo_n "checking for remove in -lposix... " >&6; }
9592 if ${ac_cv_lib_posix_remove+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 ac_check_lib_save_LIBS=$LIBS
9596 LIBS="-lposix $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9603 #ifdef __cplusplus
9604 extern "C"
9605 #endif
9606 char remove ();
9608 main ()
9610 return remove ();
9612 return 0;
9614 _ACEOF
9615 if ac_fn_c_try_link "$LINENO"; then :
9616 ac_cv_lib_posix_remove=yes
9617 else
9618 ac_cv_lib_posix_remove=no
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 LIBS=$ac_check_lib_save_LIBS
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9625 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9626 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9632 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9633 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9634 if test "x$ac_cv_func_shmat" = xyes; then :
9638 if test $ac_cv_func_shmat = no; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9640 $as_echo_n "checking for shmat in -lipc... " >&6; }
9641 if ${ac_cv_lib_ipc_shmat+:} false; then :
9642 $as_echo_n "(cached) " >&6
9643 else
9644 ac_check_lib_save_LIBS=$LIBS
9645 LIBS="-lipc $LIBS"
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char shmat ();
9657 main ()
9659 return shmat ();
9661 return 0;
9663 _ACEOF
9664 if ac_fn_c_try_link "$LINENO"; then :
9665 ac_cv_lib_ipc_shmat=yes
9666 else
9667 ac_cv_lib_ipc_shmat=no
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 LIBS=$ac_check_lib_save_LIBS
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9674 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9675 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9682 # Check for libraries that X11R6 Xt/Xaw programs need.
9683 ac_save_LDFLAGS=$LDFLAGS
9684 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9685 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9686 # check for ICE first), but we must link in the order -lSM -lICE or
9687 # we get undefined symbols. So assume we have SM if we have ICE.
9688 # These have to be linked with before -lX11, unlike the other
9689 # libraries we check for below, so use a different variable.
9690 # John Interrante, Karl Berry
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9692 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9693 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_lib_save_LIBS=$LIBS
9697 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 char IceConnectionNumber ();
9709 main ()
9711 return IceConnectionNumber ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 ac_cv_lib_ICE_IceConnectionNumber=yes
9718 else
9719 ac_cv_lib_ICE_IceConnectionNumber=no
9721 rm -f core conftest.err conftest.$ac_objext \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_lib_save_LIBS
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9726 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9727 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9728 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9731 LDFLAGS=$ac_save_LDFLAGS
9736 if test "$have_x" = "yes"
9737 then
9738 ac_save_CPPFLAGS="$CPPFLAGS"
9739 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9742 $as_echo_n "checking for -lX11... " >&6; }
9743 if ${ac_cv_lib_soname_X11+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 ac_check_soname_save_LIBS=$LIBS
9747 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9754 #ifdef __cplusplus
9755 extern "C"
9756 #endif
9757 char XCreateWindow ();
9759 main ()
9761 return XCreateWindow ();
9763 return 0;
9765 _ACEOF
9766 if ac_fn_c_try_link "$LINENO"; then :
9767 case "$LIBEXT" in
9768 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9769 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'` ;;
9770 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9771 if ${ac_cv_lib_soname_X11:+false} :; then :
9772 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9773 fi ;;
9774 esac
9776 rm -f core conftest.err conftest.$ac_objext \
9777 conftest$ac_exeext conftest.$ac_ext
9778 LIBS=$ac_check_soname_save_LIBS
9780 if ${ac_cv_lib_soname_X11:+false} :; then :
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9782 $as_echo "not found" >&6; }
9784 else
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9786 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9788 cat >>confdefs.h <<_ACEOF
9789 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9790 _ACEOF
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9795 $as_echo_n "checking for -lXext... " >&6; }
9796 if ${ac_cv_lib_soname_Xext+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_soname_save_LIBS=$LIBS
9800 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XextCreateExtension ();
9812 main ()
9814 return XextCreateExtension ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 case "$LIBEXT" in
9821 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9822 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'` ;;
9823 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9824 if ${ac_cv_lib_soname_Xext:+false} :; then :
9825 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 fi ;;
9827 esac
9829 rm -f core conftest.err conftest.$ac_objext \
9830 conftest$ac_exeext conftest.$ac_ext
9831 LIBS=$ac_check_soname_save_LIBS
9833 if ${ac_cv_lib_soname_Xext:+false} :; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9835 $as_echo "not found" >&6; }
9837 else
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9839 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9841 cat >>confdefs.h <<_ACEOF
9842 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9843 _ACEOF
9845 X_LIBS="$X_LIBS -lXext"
9847 X_LIBS="$X_LIBS -lX11"
9849 for ac_header in X11/Xlib.h \
9850 X11/XKBlib.h \
9851 X11/Xutil.h \
9852 X11/Xcursor/Xcursor.h \
9853 X11/extensions/shape.h \
9854 X11/extensions/XInput.h \
9855 X11/extensions/XInput2.h \
9856 X11/extensions/XShm.h \
9857 X11/extensions/Xcomposite.h \
9858 X11/extensions/Xinerama.h \
9859 X11/extensions/Xrandr.h \
9860 X11/extensions/Xrender.h \
9861 X11/extensions/xf86vmode.h \
9862 X11/extensions/xf86vmproto.h
9863 do :
9864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9865 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9866 # include <X11/Xlib.h>
9867 #endif
9868 #ifdef HAVE_X11_XUTIL_H
9869 # include <X11/Xutil.h>
9870 #endif
9872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9873 cat >>confdefs.h <<_ACEOF
9874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9875 _ACEOF
9879 done
9882 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9883 then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9885 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9886 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XkbQueryExtension ();
9902 main ()
9904 return XkbQueryExtension ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_lib_X11_XkbQueryExtension=yes
9911 else
9912 ac_cv_lib_X11_XkbQueryExtension=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_lib_save_LIBS
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9919 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9920 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9922 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9928 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9929 then
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9931 $as_echo_n "checking for -lXcursor... " >&6; }
9932 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_check_soname_save_LIBS=$LIBS
9936 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char XcursorImageLoadCursor ();
9948 main ()
9950 return XcursorImageLoadCursor ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 case "$LIBEXT" in
9957 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9961 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 fi ;;
9963 esac
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_soname_save_LIBS
9969 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9973 else
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9975 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9977 cat >>confdefs.h <<_ACEOF
9978 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9979 _ACEOF
9984 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9985 case "x$with_xcursor" in
9986 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9987 xno) ;;
9988 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9989 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9990 esac
9994 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9995 then
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9997 $as_echo_n "checking for -lXi... " >&6; }
9998 if ${ac_cv_lib_soname_Xi+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_check_soname_save_LIBS=$LIBS
10002 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XOpenDevice ();
10014 main ()
10016 return XOpenDevice ();
10018 return 0;
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 case "$LIBEXT" in
10023 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10024 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'` ;;
10025 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10026 if ${ac_cv_lib_soname_Xi:+false} :; then :
10027 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10028 fi ;;
10029 esac
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_soname_save_LIBS
10035 if ${ac_cv_lib_soname_Xi:+false} :; then :
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10037 $as_echo "not found" >&6; }
10039 else
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10041 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10043 cat >>confdefs.h <<_ACEOF
10044 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10045 _ACEOF
10050 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10051 case "x$with_xinput" in
10052 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10053 xno) ;;
10054 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10055 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10056 esac
10060 if test "x$ac_cv_lib_soname_Xi" != x
10061 then
10062 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10063 case "x$with_xinput2" in
10064 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10065 xno) ;;
10066 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10067 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10068 esac
10073 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10074 then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10076 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10077 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10078 $as_echo_n "(cached) " >&6
10079 else
10080 ac_check_lib_save_LIBS=$LIBS
10081 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10088 #ifdef __cplusplus
10089 extern "C"
10090 #endif
10091 char XShmQueryExtension ();
10093 main ()
10095 return XShmQueryExtension ();
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_lib_Xext_XShmQueryExtension=yes
10102 else
10103 ac_cv_lib_Xext_XShmQueryExtension=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_lib_save_LIBS
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10110 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10111 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10113 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10118 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10119 case "x$with_xshm" in
10120 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10121 xno) ;;
10122 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10123 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10124 esac
10128 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10129 then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10131 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10132 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_check_lib_save_LIBS=$LIBS
10136 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10143 #ifdef __cplusplus
10144 extern "C"
10145 #endif
10146 char XShapeQueryExtension ();
10148 main ()
10150 return XShapeQueryExtension ();
10152 return 0;
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_lib_Xext_XShapeQueryExtension=yes
10157 else
10158 ac_cv_lib_Xext_XShapeQueryExtension=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10165 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10166 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10168 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10173 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10174 case "x$with_xshape" in
10175 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10176 xno) ;;
10177 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10178 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10179 esac
10183 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10184 then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10186 $as_echo_n "checking for -lXxf86vm... " >&6; }
10187 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10188 $as_echo_n "(cached) " >&6
10189 else
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10198 #ifdef __cplusplus
10199 extern "C"
10200 #endif
10201 char XF86VidModeQueryExtension ();
10203 main ()
10205 return XF86VidModeQueryExtension ();
10207 return 0;
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 case "$LIBEXT" in
10212 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10213 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'` ;;
10214 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10215 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10216 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 fi ;;
10218 esac
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_soname_save_LIBS
10224 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10226 $as_echo "not found" >&6; }
10228 else
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10230 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10232 cat >>confdefs.h <<_ACEOF
10233 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10234 _ACEOF
10239 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10240 case "x$with_xxf86vm" in
10241 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10242 xno) ;;
10243 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10244 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10245 esac
10249 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10250 then
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10252 $as_echo_n "checking for -lXrender... " >&6; }
10253 if ${ac_cv_lib_soname_Xrender+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_check_soname_save_LIBS=$LIBS
10257 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10264 #ifdef __cplusplus
10265 extern "C"
10266 #endif
10267 char XRenderQueryExtension ();
10269 main ()
10271 return XRenderQueryExtension ();
10273 return 0;
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"; then :
10277 case "$LIBEXT" in
10278 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10279 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'` ;;
10280 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10281 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10282 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10283 fi ;;
10284 esac
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_soname_save_LIBS
10290 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10292 $as_echo "not found" >&6; }
10294 else
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10296 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10298 cat >>confdefs.h <<_ACEOF
10299 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10300 _ACEOF
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10303 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10304 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_lib_save_LIBS=$LIBS
10308 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char XRenderSetPictureTransform ();
10320 main ()
10322 return XRenderSetPictureTransform ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10329 else
10330 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_lib_save_LIBS
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10337 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10338 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10340 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10345 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10346 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_check_lib_save_LIBS=$LIBS
10350 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char XRenderCreateLinearGradient ();
10362 main ()
10364 return XRenderCreateLinearGradient ();
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10371 else
10372 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10374 rm -f core conftest.err conftest.$ac_objext \
10375 conftest$ac_exeext conftest.$ac_ext
10376 LIBS=$ac_check_lib_save_LIBS
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10379 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10380 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10382 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10389 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10390 case "x$with_xrender" in
10391 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10394 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10395 esac
10399 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10400 then
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 #include <X11/Xlib.h>
10404 #include <X11/extensions/Xrandr.h>
10406 main ()
10408 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_compile "$LINENO"; then :
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10415 $as_echo_n "checking for -lXrandr... " >&6; }
10416 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10417 $as_echo_n "(cached) " >&6
10418 else
10419 ac_check_soname_save_LIBS=$LIBS
10420 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10427 #ifdef __cplusplus
10428 extern "C"
10429 #endif
10430 char XRRQueryExtension ();
10432 main ()
10434 return XRRQueryExtension ();
10436 return 0;
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 case "$LIBEXT" in
10441 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10442 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'` ;;
10443 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10444 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10445 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10446 fi ;;
10447 esac
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_soname_save_LIBS
10453 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10455 $as_echo "not found" >&6; }
10457 else
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10459 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10461 cat >>confdefs.h <<_ACEOF
10462 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10463 _ACEOF
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10467 #include <X11/Xlib.h>
10468 #include <X11/extensions/Xrandr.h>
10470 main ()
10472 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10474 return 0;
10476 _ACEOF
10477 if ac_fn_c_try_compile "$LINENO"; then :
10479 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10487 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10488 case "x$with_xrandr" in
10489 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10492 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10493 esac
10497 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10498 then
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 #include <X11/Xlib.h>
10502 #include <X11/extensions/Xinerama.h>
10504 main ()
10506 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_compile "$LINENO"; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10513 $as_echo_n "checking for -lXinerama... " >&6; }
10514 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_soname_save_LIBS=$LIBS
10518 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char XineramaQueryScreens ();
10530 main ()
10532 return XineramaQueryScreens ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 case "$LIBEXT" in
10539 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10540 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'` ;;
10541 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10542 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10543 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10544 fi ;;
10545 esac
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_soname_save_LIBS
10551 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10553 $as_echo "not found" >&6; }
10555 else
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10557 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10559 cat >>confdefs.h <<_ACEOF
10560 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10561 _ACEOF
10566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10568 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10569 case "x$with_xinerama" in
10570 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10571 xno) ;;
10572 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10573 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10574 esac
10578 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10579 then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10581 $as_echo_n "checking for -lXcomposite... " >&6; }
10582 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_check_soname_save_LIBS=$LIBS
10586 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10593 #ifdef __cplusplus
10594 extern "C"
10595 #endif
10596 char XCompositeRedirectWindow ();
10598 main ()
10600 return XCompositeRedirectWindow ();
10602 return 0;
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 case "$LIBEXT" in
10607 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10608 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'` ;;
10609 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10610 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10611 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10612 fi ;;
10613 esac
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 LIBS=$ac_check_soname_save_LIBS
10619 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10621 $as_echo "not found" >&6; }
10623 else
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10625 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10627 cat >>confdefs.h <<_ACEOF
10628 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10629 _ACEOF
10634 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10635 case "x$with_xcomposite" in
10636 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10637 xno) ;;
10638 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10639 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10640 esac
10644 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10645 #include <X11/Xlib.h>
10646 #endif
10648 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10650 cat >>confdefs.h <<_ACEOF
10651 #define HAVE_XICCALLBACK_CALLBACK 1
10652 _ACEOF
10656 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10657 #include <X11/Xlib.h>
10658 #endif
10660 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10662 cat >>confdefs.h <<_ACEOF
10663 #define HAVE_XEVENT_XCOOKIE 1
10664 _ACEOF
10671 opengl_msg=""
10672 if test "x$with_opengl" != "xno"
10673 then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10675 $as_echo_n "checking for -lGL... " >&6; }
10676 if ${ac_cv_lib_soname_GL+:} false; then :
10677 $as_echo_n "(cached) " >&6
10678 else
10679 ac_check_soname_save_LIBS=$LIBS
10680 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10684 /* Override any GCC internal prototype to avoid an error.
10685 Use char because int might match the return type of a GCC
10686 builtin and then its argument prototype would still apply. */
10687 #ifdef __cplusplus
10688 extern "C"
10689 #endif
10690 char glXCreateContext ();
10692 main ()
10694 return glXCreateContext ();
10696 return 0;
10698 _ACEOF
10699 if ac_fn_c_try_link "$LINENO"; then :
10700 case "$LIBEXT" in
10701 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10702 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'` ;;
10703 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10704 if ${ac_cv_lib_soname_GL:+false} :; then :
10705 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10706 fi ;;
10707 esac
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 LIBS=$ac_check_soname_save_LIBS
10713 if ${ac_cv_lib_soname_GL:+false} :; then :
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10715 $as_echo "not found" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10717 $as_echo_n "checking for -lGL... " >&6; }
10718 if ${ac_cv_lib_soname_GL+:} false; then :
10719 $as_echo_n "(cached) " >&6
10720 else
10721 ac_check_soname_save_LIBS=$LIBS
10722 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"
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10729 #ifdef __cplusplus
10730 extern "C"
10731 #endif
10732 char glXCreateContext ();
10734 main ()
10736 return glXCreateContext ();
10738 return 0;
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 case "$LIBEXT" in
10743 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10744 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'` ;;
10745 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10746 if ${ac_cv_lib_soname_GL:+false} :; then :
10747 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10748 fi ;;
10749 esac
10751 rm -f core conftest.err conftest.$ac_objext \
10752 conftest$ac_exeext conftest.$ac_ext
10753 LIBS=$ac_check_soname_save_LIBS
10755 if ${ac_cv_lib_soname_GL:+false} :; then :
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10757 $as_echo "not found" >&6; }
10758 if test -f /usr/X11R6/lib/libGL.a
10759 then
10760 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10761 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10762 else
10763 opengl_msg="No OpenGL library found on this system."
10765 else
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10767 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10771 _ACEOF
10773 OPENGL_LIBS="-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"
10775 else
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10777 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10779 cat >>confdefs.h <<_ACEOF
10780 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10781 _ACEOF
10783 OPENGL_LIBS="-lGL"
10785 if test "x$with_glu" != "xno"
10786 then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10788 $as_echo_n "checking for -lGLU... " >&6; }
10789 if ${ac_cv_lib_soname_GLU+:} false; then :
10790 $as_echo_n "(cached) " >&6
10791 else
10792 ac_check_soname_save_LIBS=$LIBS
10793 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char gluLookAt ();
10805 main ()
10807 return gluLookAt ();
10809 return 0;
10811 _ACEOF
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 case "$LIBEXT" in
10814 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10815 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10816 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10817 if ${ac_cv_lib_soname_GLU:+false} :; then :
10818 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10819 fi ;;
10820 esac
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_soname_save_LIBS
10826 if ${ac_cv_lib_soname_GLU:+false} :; then :
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10828 $as_echo "not found" >&6; }
10830 else
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10832 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10834 cat >>confdefs.h <<_ACEOF
10835 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10836 _ACEOF
10840 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10841 case "x$with_glu" in
10842 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10843 xno) ;;
10844 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10845 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10846 esac
10851 if test "x$with_osmesa" != "xno"
10852 then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10854 $as_echo_n "checking for -lOSMesa... " >&6; }
10855 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_soname_save_LIBS=$LIBS
10859 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char glAccum ();
10871 main ()
10873 return glAccum ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 case "$LIBEXT" in
10880 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10881 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'` ;;
10882 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10883 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10884 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10885 fi ;;
10886 esac
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_soname_save_LIBS
10892 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10894 $as_echo "not found" >&6; }
10896 else
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10898 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10900 cat >>confdefs.h <<_ACEOF
10901 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10902 _ACEOF
10906 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10907 case "x$with_osmesa" in
10908 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10909 xno) ;;
10910 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10911 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10912 esac
10917 if test -n "$opengl_msg"; then :
10918 case "x$with_opengl" in
10919 x) as_fn_append wine_warnings "|$opengl_msg
10920 OpenGL and Direct3D won't be supported." ;;
10921 xno) ;;
10922 *) as_fn_error $? "$opengl_msg
10923 OpenGL and Direct3D won't be supported.
10924 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10925 esac
10929 CPPFLAGS="$ac_save_CPPFLAGS"
10930 else
10931 X_CFLAGS=""
10932 X_LIBS=""
10934 if test "x$X_LIBS" = "x"; then :
10935 case "x$with_x" in
10936 xno) ;;
10937 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10938 without X support, which probably isn't what you want. You will need
10939 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10940 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10941 esac
10942 enable_winex11_drv=${enable_winex11_drv:-no}
10945 if test "$ac_cv_header_CL_cl_h" = "yes"
10946 then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10948 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10949 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10950 $as_echo_n "(cached) " >&6
10951 else
10952 ac_check_lib_save_LIBS=$LIBS
10953 LIBS="-lOpenCL $LIBS"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10957 /* Override any GCC internal prototype to avoid an error.
10958 Use char because int might match the return type of a GCC
10959 builtin and then its argument prototype would still apply. */
10960 #ifdef __cplusplus
10961 extern "C"
10962 #endif
10963 char clGetPlatformInfo ();
10965 main ()
10967 return clGetPlatformInfo ();
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10974 else
10975 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10977 rm -f core conftest.err conftest.$ac_objext \
10978 conftest$ac_exeext conftest.$ac_ext
10979 LIBS=$ac_check_lib_save_LIBS
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10982 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10983 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10984 OPENCL_LIBS="-lOpenCL"
10989 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10990 case "x$with_opencl" in
10991 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10992 xno) ;;
10993 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10994 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10995 esac
10996 enable_opencl=${enable_opencl:-no}
10999 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11000 then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11002 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11003 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-lpcap $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char pcap_create ();
11019 main ()
11021 return pcap_create ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 ac_cv_lib_pcap_pcap_create=yes
11028 else
11029 ac_cv_lib_pcap_pcap_create=no
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11036 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11037 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11038 PCAP_LIBS="-lpcap"
11043 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11044 case "x$with_pcap" in
11045 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11046 xno) ;;
11047 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11048 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11049 esac
11050 enable_wpcap=${enable_wpcap:-no}
11054 if test "x$with_xml" != "xno"
11055 then
11056 if ${XML2_CFLAGS:+false} :; then :
11057 if ${PKG_CONFIG+:} false; then :
11058 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11061 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11062 if ${XML2_LIBS:+false} :; then :
11063 if ${PKG_CONFIG+:} false; then :
11064 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11067 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11068 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11069 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11070 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11071 ac_save_CPPFLAGS=$CPPFLAGS
11072 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11073 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11074 do :
11075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11076 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11077 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11078 cat >>confdefs.h <<_ACEOF
11079 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11080 _ACEOF
11084 done
11086 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"
11087 then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11089 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11090 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11091 $as_echo_n "(cached) " >&6
11092 else
11093 ac_check_lib_save_LIBS=$LIBS
11094 LIBS="-lxml2 $XML2_LIBS $LIBS"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11101 #ifdef __cplusplus
11102 extern "C"
11103 #endif
11104 char xmlParseMemory ();
11106 main ()
11108 return xmlParseMemory ();
11110 return 0;
11112 _ACEOF
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_xml2_xmlParseMemory=yes
11115 else
11116 ac_cv_lib_xml2_xmlParseMemory=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11123 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11124 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11126 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11128 else
11129 XML2_LIBS=""
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11133 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11134 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_lib_save_LIBS=$LIBS
11138 LIBS="-lxml2 $XML2_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char xmlReadMemory ();
11150 main ()
11152 return xmlReadMemory ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 ac_cv_lib_xml2_xmlReadMemory=yes
11159 else
11160 ac_cv_lib_xml2_xmlReadMemory=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11167 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11168 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11170 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11175 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11176 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lxml2 $XML2_LIBS $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char xmlNewDocPI ();
11192 main ()
11194 return xmlNewDocPI ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 ac_cv_lib_xml2_xmlNewDocPI=yes
11201 else
11202 ac_cv_lib_xml2_xmlNewDocPI=no
11204 rm -f core conftest.err conftest.$ac_objext \
11205 conftest$ac_exeext conftest.$ac_ext
11206 LIBS=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11209 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11210 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11212 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11217 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11218 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-lxml2 $XML2_LIBS $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char xmlSchemaSetParserStructuredErrors ();
11234 main ()
11236 return xmlSchemaSetParserStructuredErrors ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11243 else
11244 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11251 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11252 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11254 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11259 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11260 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lxml2 $XML2_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char xmlSchemaSetValidStructuredErrors ();
11276 main ()
11278 return xmlSchemaSetValidStructuredErrors ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11285 else
11286 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11293 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11294 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11296 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11301 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11302 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lxml2 $XML2_LIBS $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char xmlFirstElementChild ();
11318 main ()
11320 return xmlFirstElementChild ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_xml2_xmlFirstElementChild=yes
11327 else
11328 ac_cv_lib_xml2_xmlFirstElementChild=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11335 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11336 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11338 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11342 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11344 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11346 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11350 else
11351 XML2_CFLAGS=""
11352 XML2_LIBS=""
11354 CPPFLAGS=$ac_save_CPPFLAGS
11355 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11356 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11359 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11360 case "x$with_xml" in
11361 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11362 xno) ;;
11363 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11364 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11365 esac
11369 if test "x$with_xslt" != "xno"
11370 then
11371 if ${XSLT_CFLAGS:+false} :; then :
11372 if ${PKG_CONFIG+:} false; then :
11373 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11376 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11377 if ${XSLT_LIBS:+false} :; then :
11378 if ${PKG_CONFIG+:} false; then :
11379 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11382 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11383 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11384 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11385 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11386 ac_save_CPPFLAGS=$CPPFLAGS
11387 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11388 for ac_header in libxslt/pattern.h libxslt/transform.h
11389 do :
11390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11391 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11392 # include <libxslt/pattern.h>
11393 #endif
11395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11396 cat >>confdefs.h <<_ACEOF
11397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11398 _ACEOF
11402 done
11404 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11405 then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11407 $as_echo_n "checking for -lxslt... " >&6; }
11408 if ${ac_cv_lib_soname_xslt+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_soname_save_LIBS=$LIBS
11412 LIBS="-lxslt $XSLT_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char xsltCompilePattern ();
11424 main ()
11426 return xsltCompilePattern ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 case "$LIBEXT" in
11433 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11434 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'` ;;
11435 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11436 if ${ac_cv_lib_soname_xslt:+false} :; then :
11437 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11438 fi ;;
11439 esac
11441 rm -f core conftest.err conftest.$ac_objext \
11442 conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_soname_save_LIBS
11445 if ${ac_cv_lib_soname_xslt:+false} :; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11447 $as_echo "not found" >&6; }
11449 else
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11451 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11453 cat >>confdefs.h <<_ACEOF
11454 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11455 _ACEOF
11459 else
11460 XSLT_CFLAGS=""
11462 CPPFLAGS=$ac_save_CPPFLAGS
11463 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11467 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11468 case "x$with_xslt" in
11469 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11470 xno) ;;
11471 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11472 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11473 esac
11477 if test "x$with_dbus" != "xno"
11478 then
11479 if ${DBUS_CFLAGS:+false} :; then :
11480 if ${PKG_CONFIG+:} false; then :
11481 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11485 if ${DBUS_LIBS:+false} :; then :
11486 if ${PKG_CONFIG+:} false; then :
11487 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11492 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11494 ac_save_CPPFLAGS=$CPPFLAGS
11495 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11496 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11497 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11499 $as_echo_n "checking for -ldbus-1... " >&6; }
11500 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11501 $as_echo_n "(cached) " >&6
11502 else
11503 ac_check_soname_save_LIBS=$LIBS
11504 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char dbus_connection_close ();
11516 main ()
11518 return dbus_connection_close ();
11520 return 0;
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"; then :
11524 case "$LIBEXT" in
11525 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) 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'`
11528 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11529 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11530 fi ;;
11531 esac
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11540 DBUS_CFLAGS=""
11541 else
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11543 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11545 cat >>confdefs.h <<_ACEOF
11546 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11547 _ACEOF
11551 else
11552 DBUS_CFLAGS=""
11556 CPPFLAGS=$ac_save_CPPFLAGS
11557 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11558 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11561 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11562 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11563 case "x$with_dbus" in
11564 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11565 xno) ;;
11566 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11567 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11568 esac
11572 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11573 then
11574 if ${HAL_CFLAGS:+false} :; then :
11575 if ${PKG_CONFIG+:} false; then :
11576 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11580 if ${HAL_LIBS:+false} :; then :
11581 if ${PKG_CONFIG+:} false; then :
11582 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11586 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11587 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11588 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11589 ac_save_CPPFLAGS=$CPPFLAGS
11590 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11591 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11592 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11594 $as_echo_n "checking for -lhal... " >&6; }
11595 if ${ac_cv_lib_soname_hal+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_soname_save_LIBS=$LIBS
11599 LIBS="-lhal $HAL_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char libhal_ctx_new ();
11611 main ()
11613 return libhal_ctx_new ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 case "$LIBEXT" in
11620 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11621 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'` ;;
11622 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11623 if ${ac_cv_lib_soname_hal:+false} :; then :
11624 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11625 fi ;;
11626 esac
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_soname_save_LIBS
11632 if ${ac_cv_lib_soname_hal:+false} :; then :
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11634 $as_echo "not found" >&6; }
11635 HAL_CFLAGS=""
11636 else
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11638 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11640 cat >>confdefs.h <<_ACEOF
11641 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11642 _ACEOF
11646 else
11647 HAL_CFLAGS=""
11651 CPPFLAGS=$ac_save_CPPFLAGS
11652 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11653 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11655 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11656 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11657 case "x$with_hal" in
11658 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11659 xno) ;;
11660 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11661 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11662 esac
11667 if test "x$with_gnutls" != "xno"
11668 then
11669 if ${GNUTLS_CFLAGS:+false} :; then :
11670 if ${PKG_CONFIG+:} false; then :
11671 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11675 if ${GNUTLS_LIBS:+false} :; then :
11676 if ${PKG_CONFIG+:} false; then :
11677 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11682 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11683 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11684 ac_save_CPPFLAGS=$CPPFLAGS
11685 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11686 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11687 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #include <gnutls/gnutls.h>
11691 #include <gnutls/crypto.h>
11693 main ()
11695 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_compile "$LINENO"; then :
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11702 $as_echo_n "checking for -lgnutls... " >&6; }
11703 if ${ac_cv_lib_soname_gnutls+:} false; then :
11704 $as_echo_n "(cached) " >&6
11705 else
11706 ac_check_soname_save_LIBS=$LIBS
11707 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11714 #ifdef __cplusplus
11715 extern "C"
11716 #endif
11717 char gnutls_global_init ();
11719 main ()
11721 return gnutls_global_init ();
11723 return 0;
11725 _ACEOF
11726 if ac_fn_c_try_link "$LINENO"; then :
11727 case "$LIBEXT" in
11728 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11729 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'` ;;
11730 *) 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'`
11731 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11732 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'`
11733 fi ;;
11734 esac
11736 rm -f core conftest.err conftest.$ac_objext \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_soname_save_LIBS
11740 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11742 $as_echo "not found" >&6; }
11743 GNUTLS_CFLAGS=""
11744 else
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11746 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11748 cat >>confdefs.h <<_ACEOF
11749 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11750 _ACEOF
11754 ac_wine_check_funcs_save_LIBS="$LIBS"
11755 LIBS="$LIBS $GNUTLS_LIBS"
11756 for ac_func in gnutls_hash
11757 do :
11758 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11759 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11760 cat >>confdefs.h <<_ACEOF
11761 #define HAVE_GNUTLS_HASH 1
11762 _ACEOF
11764 else
11765 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11767 done
11769 LIBS="$ac_wine_check_funcs_save_LIBS"
11771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11772 else
11773 GNUTLS_CFLAGS=""
11777 CPPFLAGS=$ac_save_CPPFLAGS
11778 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11779 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11782 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11783 case "x$with_gnutls" in
11784 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11785 xno) ;;
11786 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11787 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11788 esac
11792 CURSES_LIBS=""
11793 if test "$ac_cv_header_ncurses_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11796 $as_echo_n "checking for -lncurses... " >&6; }
11797 if ${ac_cv_lib_soname_ncurses+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_soname_save_LIBS=$LIBS
11801 LIBS="-lncurses $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char waddch ();
11813 main ()
11815 return waddch ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 case "$LIBEXT" in
11822 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11823 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'` ;;
11824 *) 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'`
11825 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11826 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 fi ;;
11828 esac
11830 rm -f core conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_soname_save_LIBS
11834 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11836 $as_echo "not found" >&6; }
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11840 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11842 cat >>confdefs.h <<_ACEOF
11843 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11844 _ACEOF
11846 CURSES_LIBS="-lncurses"
11848 elif test "$ac_cv_header_curses_h" = "yes"
11849 then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11851 $as_echo_n "checking for -lcurses... " >&6; }
11852 if ${ac_cv_lib_soname_curses+:} false; then :
11853 $as_echo_n "(cached) " >&6
11854 else
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-lcurses $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11863 #ifdef __cplusplus
11864 extern "C"
11865 #endif
11866 char waddch ();
11868 main ()
11870 return waddch ();
11872 return 0;
11874 _ACEOF
11875 if ac_fn_c_try_link "$LINENO"; then :
11876 case "$LIBEXT" in
11877 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11880 if ${ac_cv_lib_soname_curses:+false} :; then :
11881 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11882 fi ;;
11883 esac
11885 rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 LIBS=$ac_check_soname_save_LIBS
11889 if ${ac_cv_lib_soname_curses:+false} :; then :
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11891 $as_echo "not found" >&6; }
11893 else
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11895 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11897 cat >>confdefs.h <<_ACEOF
11898 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11899 _ACEOF
11901 CURSES_LIBS="-lcurses"
11904 ac_save_LIBS="$LIBS"
11905 LIBS="$LIBS $CURSES_LIBS"
11906 for ac_func in mousemask
11907 do :
11908 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11909 if test "x$ac_cv_func_mousemask" = xyes; then :
11910 cat >>confdefs.h <<_ACEOF
11911 #define HAVE_MOUSEMASK 1
11912 _ACEOF
11915 done
11917 LIBS="$ac_save_LIBS"
11918 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11919 case "x$with_curses" in
11920 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11921 xno) ;;
11922 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11923 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11924 esac
11928 if test "x$with_sane" != "xno"
11929 then
11930 if ${SANE_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false; then :
11932 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11935 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11936 if ${SANE_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false; then :
11938 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11941 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11943 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11945 ac_save_CPPFLAGS=$CPPFLAGS
11946 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11947 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11948 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11950 $as_echo_n "checking for -lsane... " >&6; }
11951 if ${ac_cv_lib_soname_sane+:} false; then :
11952 $as_echo_n "(cached) " >&6
11953 else
11954 ac_check_soname_save_LIBS=$LIBS
11955 LIBS="-lsane $SANE_LIBS $LIBS"
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 char sane_init ();
11967 main ()
11969 return sane_init ();
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"; then :
11975 case "$LIBEXT" in
11976 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11977 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'` ;;
11978 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11979 if ${ac_cv_lib_soname_sane:+false} :; then :
11980 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11981 fi ;;
11982 esac
11984 rm -f core conftest.err conftest.$ac_objext \
11985 conftest$ac_exeext conftest.$ac_ext
11986 LIBS=$ac_check_soname_save_LIBS
11988 if ${ac_cv_lib_soname_sane:+false} :; then :
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11990 $as_echo "not found" >&6; }
11991 SANE_CFLAGS=""
11992 else
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11994 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11996 cat >>confdefs.h <<_ACEOF
11997 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11998 _ACEOF
12002 else
12003 SANE_CFLAGS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12008 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12013 case "x$with_sane" in
12014 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12015 xno) ;;
12016 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12017 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12018 esac
12022 if test "x$with_v4l" != "xno"
12023 then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12025 $as_echo_n "checking for -lv4l1... " >&6; }
12026 if ${ac_cv_lib_soname_v4l1+:} false; then :
12027 $as_echo_n "(cached) " >&6
12028 else
12029 ac_check_soname_save_LIBS=$LIBS
12030 LIBS="-lv4l1 $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char v4l1_open ();
12042 main ()
12044 return v4l1_open ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 case "$LIBEXT" in
12051 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12052 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'` ;;
12053 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12054 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12055 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12056 fi ;;
12057 esac
12059 rm -f core conftest.err conftest.$ac_objext \
12060 conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_soname_save_LIBS
12063 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12065 $as_echo "not found" >&6; }
12067 else
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12069 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12071 cat >>confdefs.h <<_ACEOF
12072 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12073 _ACEOF
12078 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12079 case "x$with_v4l" in
12080 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12081 xno) ;;
12082 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12083 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12084 esac
12088 if test "x$with_gphoto" != "xno"
12089 then
12090 if ${GPHOTO2_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false; then :
12092 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12095 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12096 if ${GPHOTO2_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false; then :
12098 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12101 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12102 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12103 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12107 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12108 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12110 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12111 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12112 $as_echo_n "(cached) " >&6
12113 else
12114 ac_check_lib_save_LIBS=$LIBS
12115 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char gp_camera_new ();
12127 main ()
12129 return gp_camera_new ();
12131 return 0;
12133 _ACEOF
12134 if ac_fn_c_try_link "$LINENO"; then :
12135 ac_cv_lib_gphoto2_gp_camera_new=yes
12136 else
12137 ac_cv_lib_gphoto2_gp_camera_new=no
12139 rm -f core conftest.err conftest.$ac_objext \
12140 conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12144 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12145 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12147 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12149 else
12150 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12153 else
12154 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12158 CPPFLAGS=$ac_save_CPPFLAGS
12159 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12160 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12162 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12163 if ${PKG_CONFIG+:} false; then :
12164 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12167 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12168 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12169 if ${PKG_CONFIG+:} false; then :
12170 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12173 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12174 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12175 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12177 ac_save_CPPFLAGS=$CPPFLAGS
12178 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12179 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12182 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12183 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_lib_save_LIBS=$LIBS
12187 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char gp_port_info_list_new ();
12199 main ()
12201 return gp_port_info_list_new ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12208 else
12209 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12211 rm -f core conftest.err conftest.$ac_objext \
12212 conftest$ac_exeext conftest.$ac_ext
12213 LIBS=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12216 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12217 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12219 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12221 else
12222 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12225 else
12226 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12231 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12232 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12235 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12236 case "x$with_gphoto" in
12237 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12238 xno) ;;
12239 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12240 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12241 esac
12244 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12245 case "x$with_gphoto" in
12246 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12247 xno) ;;
12248 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12249 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12250 esac
12255 if test "$ac_cv_header_resolv_h" = "yes"
12256 then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12258 $as_echo_n "checking for resolver library... " >&6; }
12259 if ${ac_cv_have_resolv+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 ac_save_LIBS="$LIBS"
12263 for lib in '' -lresolv
12265 LIBS="$lib $ac_save_LIBS"
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #ifdef HAVE_NETINET_IN_H
12269 #include <netinet/in.h>
12270 #endif
12271 #include <resolv.h>
12273 main ()
12275 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 ac_cv_have_resolv=${lib:-"none required"}
12282 else
12283 ac_cv_have_resolv="not found"
12285 rm -f core conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 test "x$ac_cv_have_resolv" = "xnot found" || break
12288 done
12289 LIBS="$ac_save_LIBS"
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12292 $as_echo "$ac_cv_have_resolv" >&6; }
12294 case "$ac_cv_have_resolv" in
12295 "not found") ;;
12296 "none required")
12298 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12301 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12303 RESOLV_LIBS=$ac_cv_have_resolv
12305 esac
12308 if test "x$with_cms" != "xno"
12309 then
12310 if ${LCMS2_CFLAGS:+false} :; then :
12311 if ${PKG_CONFIG+:} false; then :
12312 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12316 if ${LCMS2_LIBS:+false} :; then :
12317 if ${PKG_CONFIG+:} false; then :
12318 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12322 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12323 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12324 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12325 ac_save_CPPFLAGS=$CPPFLAGS
12326 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12327 for ac_header in lcms2.h
12328 do :
12329 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12330 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12331 cat >>confdefs.h <<_ACEOF
12332 #define HAVE_LCMS2_H 1
12333 _ACEOF
12337 done
12339 if test "$ac_cv_header_lcms2_h" = "yes"
12340 then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12342 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12343 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354 #ifdef __cplusplus
12355 extern "C"
12356 #endif
12357 char cmsOpenProfileFromFile ();
12359 main ()
12361 return cmsOpenProfileFromFile ();
12363 return 0;
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12368 else
12369 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12376 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12377 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12379 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12381 else
12382 LCMS2_LIBS=""
12385 else
12386 LCMS2_CFLAGS=""
12387 LCMS2_LIBS=""
12389 CPPFLAGS=$ac_save_CPPFLAGS
12390 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12391 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12394 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12395 case "x$with_cms" in
12396 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12397 xno) ;;
12398 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12399 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12400 esac
12404 if test "x$with_freetype" != "xno"
12405 then
12406 if ${FREETYPE_CFLAGS:+false} :; then :
12407 if ${PKG_CONFIG+:} false; then :
12408 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12411 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12412 if ${FREETYPE_LIBS:+false} :; then :
12413 if ${PKG_CONFIG+:} false; then :
12414 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12417 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12418 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12419 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12420 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12421 ac_save_CPPFLAGS=$CPPFLAGS
12422 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12423 for ac_header in ft2build.h
12424 do :
12425 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12426 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12427 cat >>confdefs.h <<_ACEOF
12428 #define HAVE_FT2BUILD_H 1
12429 _ACEOF
12433 done
12435 if test "$ac_cv_header_ft2build_h" = "yes"
12436 then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12438 $as_echo_n "checking for -lfreetype... " >&6; }
12439 if ${ac_cv_lib_soname_freetype+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 ac_check_soname_save_LIBS=$LIBS
12443 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 /* Override any GCC internal prototype to avoid an error.
12448 Use char because int might match the return type of a GCC
12449 builtin and then its argument prototype would still apply. */
12450 #ifdef __cplusplus
12451 extern "C"
12452 #endif
12453 char FT_Init_FreeType ();
12455 main ()
12457 return FT_Init_FreeType ();
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_link "$LINENO"; then :
12463 case "$LIBEXT" in
12464 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12465 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'` ;;
12466 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12467 if ${ac_cv_lib_soname_freetype:+false} :; then :
12468 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12469 fi ;;
12470 esac
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_soname_save_LIBS
12476 if ${ac_cv_lib_soname_freetype:+false} :; then :
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12478 $as_echo "not found" >&6; }
12479 FREETYPE_LIBS=""
12480 else
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12482 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12484 cat >>confdefs.h <<_ACEOF
12485 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12486 _ACEOF
12489 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12491 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12492 #include FT_MODULE_H
12494 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12496 cat >>confdefs.h <<_ACEOF
12497 #define HAVE_FT_TRUETYPEENGINETYPE 1
12498 _ACEOF
12504 else
12505 FREETYPE_CFLAGS=""
12506 FREETYPE_LIBS=""
12508 CPPFLAGS=$ac_save_CPPFLAGS
12509 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12510 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12513 if test "x$ac_cv_lib_soname_freetype" = x; then :
12514 case "x$with_freetype" in
12515 xno) ;;
12516 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12517 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12518 esac
12519 enable_fonts=${enable_fonts:-no}
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12523 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12524 if ${ac_cv_c_ppdev+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12529 #ifdef HAVE_SYS_IOCTL_H
12530 # include <sys/ioctl.h>
12531 #endif
12532 #include <linux/ppdev.h>
12534 main ()
12536 ioctl (1,PPCLAIM,0)
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_compile "$LINENO"; then :
12542 ac_cv_c_ppdev="yes"
12543 else
12544 ac_cv_c_ppdev="no"
12546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12549 $as_echo "$ac_cv_c_ppdev" >&6; }
12550 if test "$ac_cv_c_ppdev" = "yes"
12551 then
12553 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12557 ac_wine_check_funcs_save_LIBS="$LIBS"
12558 LIBS="$LIBS $PTHREAD_LIBS"
12559 for ac_func in \
12560 pthread_attr_get_np \
12561 pthread_getattr_np \
12562 pthread_getthreadid_np \
12563 pthread_get_stackaddr_np \
12564 pthread_get_stacksize_np
12565 do :
12566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12571 _ACEOF
12574 done
12576 LIBS="$ac_wine_check_funcs_save_LIBS"
12578 if test "$ac_cv_header_zlib_h" = "yes"
12579 then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12581 $as_echo_n "checking for inflate in -lz... " >&6; }
12582 if ${ac_cv_lib_z_inflate+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_lib_save_LIBS=$LIBS
12586 LIBS="-lz $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char inflate ();
12598 main ()
12600 return inflate ();
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_link "$LINENO"; then :
12606 ac_cv_lib_z_inflate=yes
12607 else
12608 ac_cv_lib_z_inflate=no
12610 rm -f core conftest.err conftest.$ac_objext \
12611 conftest$ac_exeext conftest.$ac_ext
12612 LIBS=$ac_check_lib_save_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12615 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12616 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12618 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12620 Z_LIBS="-lz"
12625 if test "x$Z_LIBS" = "x"; then :
12626 case "x$with_zlib" in
12627 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12630 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12631 esac
12635 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12636 then
12637 if test "$ac_cv_header_gettext_po_h" = "yes"
12638 then
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12640 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12641 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12642 $as_echo_n "(cached) " >&6
12643 else
12644 ac_check_lib_save_LIBS=$LIBS
12645 LIBS="-lgettextpo $LIBS"
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 #ifdef __cplusplus
12653 extern "C"
12654 #endif
12655 char po_message_msgctxt ();
12657 main ()
12659 return po_message_msgctxt ();
12661 return 0;
12663 _ACEOF
12664 if ac_fn_c_try_link "$LINENO"; then :
12665 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12666 else
12667 ac_cv_lib_gettextpo_po_message_msgctxt=no
12669 rm -f core conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 LIBS=$ac_check_lib_save_LIBS
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12674 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12675 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12677 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12679 GETTEXTPO_LIBS="-lgettextpo"
12684 if test "x$GETTEXTPO_LIBS" = "x"; then :
12685 case "x$with_gettextpo" in
12686 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12687 xno) ;;
12688 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12689 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12690 esac
12693 if test "$srcdir" != .; then :
12694 case "x$with_gettextpo" in
12695 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12696 xno) ;;
12697 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12698 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12699 esac
12704 if test "x$with_pulse" != "xno";
12705 then
12706 if ${PULSE_CFLAGS:+false} :; then :
12707 if ${PKG_CONFIG+:} false; then :
12708 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12712 if ${PULSE_LIBS:+false} :; then :
12713 if ${PKG_CONFIG+:} false; then :
12714 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12719 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12720 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12721 ac_save_CPPFLAGS=$CPPFLAGS
12722 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12723 for ac_header in pulse/pulseaudio.h
12724 do :
12725 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12726 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12727 cat >>confdefs.h <<_ACEOF
12728 #define HAVE_PULSE_PULSEAUDIO_H 1
12729 _ACEOF
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12731 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12732 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 ac_check_lib_save_LIBS=$LIBS
12736 LIBS="-lpulse $PULSE_LIBS $LIBS"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12743 #ifdef __cplusplus
12744 extern "C"
12745 #endif
12746 char pa_stream_is_corked ();
12748 main ()
12750 return pa_stream_is_corked ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 ac_cv_lib_pulse_pa_stream_is_corked=yes
12757 else
12758 ac_cv_lib_pulse_pa_stream_is_corked=no
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 LIBS=$ac_check_lib_save_LIBS
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12765 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12766 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12768 else
12769 PULSE_LIBS=""
12772 else
12773 PULSE_LIBS=""
12776 done
12778 CPPFLAGS=$ac_save_CPPFLAGS
12779 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12780 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12783 if test -z "$PULSE_LIBS"; then :
12784 case "x$with_pulse" in
12785 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12786 xno) ;;
12787 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12788 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12789 esac
12790 enable_winepulse_drv=${enable_winepulse_drv:-no}
12793 if test "x$with_gstreamer" != "xno"
12794 then
12795 if ${GSTREAMER_CFLAGS:+false} :; then :
12796 if ${PKG_CONFIG+:} false; then :
12797 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12801 if ${GSTREAMER_LIBS:+false} :; then :
12802 if ${PKG_CONFIG+:} false; then :
12803 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12808 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12809 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12810 ac_save_CPPFLAGS=$CPPFLAGS
12811 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12812 ac_gst_incl=""
12813 for i in $GSTREAMER_CFLAGS
12815 case "$i" in
12816 -I*) ac_gst_incl="$ac_gst_incl $i";;
12817 esac
12818 done
12819 GSTREAMER_CFLAGS=$ac_gst_incl
12820 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12821 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12822 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12824 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12827 #include <gst/gst.h>
12829 main ()
12831 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12833 return 0;
12835 _ACEOF
12836 if ac_fn_c_try_compile "$LINENO"; then :
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12838 $as_echo "yes" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12840 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12841 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char gst_pad_new ();
12857 main ()
12859 return gst_pad_new ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12866 else
12867 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12874 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12875 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12879 else
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12881 $as_echo "no" >&6; }
12882 ac_glib2_broken=yes
12883 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12889 CPPFLAGS=$ac_save_CPPFLAGS
12890 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12891 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12894 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 :
12895 case "x$with_gstreamer" in
12896 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12897 xno) ;;
12898 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12899 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12900 esac
12903 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12905 ALSA_LIBS=""
12907 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12908 then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12910 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12911 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_lib_save_LIBS=$LIBS
12915 LIBS="-lasound $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char snd_pcm_hw_params_get_access_mask ();
12927 main ()
12929 return snd_pcm_hw_params_get_access_mask ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12936 else
12937 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 LIBS=$ac_check_lib_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12944 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12945 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12948 #ifdef HAVE_ALSA_ASOUNDLIB_H
12949 #include <alsa/asoundlib.h>
12950 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12951 #include <sys/asoundlib.h>
12952 #endif
12954 main ()
12956 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_compile "$LINENO"; then :
12962 ALSA_LIBS="-lasound"
12964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12968 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12970 if test "x$with_oss" != xno
12971 then
12972 ac_save_CPPFLAGS="$CPPFLAGS"
12973 if test -f /etc/oss.conf
12974 then
12975 . /etc/oss.conf
12977 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12978 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12979 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12980 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12981 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12983 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12985 cat >>confdefs.h <<_ACEOF
12986 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12987 _ACEOF
12989 OSS4_CFLAGS="$ac_oss_incl"
12996 CPPFLAGS="$ac_save_CPPFLAGS"
12998 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12999 case "x$with_oss" in
13000 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13001 xno) ;;
13002 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13003 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13004 esac
13005 enable_wineoss_drv=${enable_wineoss_drv:-no}
13008 if test "x$with_udev" != "xno"
13009 then
13010 if ${UDEV_CFLAGS:+false} :; then :
13011 if ${PKG_CONFIG+:} false; then :
13012 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13016 if ${UDEV_LIBS:+false} :; then :
13017 if ${PKG_CONFIG+:} false; then :
13018 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13022 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13023 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13025 ac_save_CPPFLAGS=$CPPFLAGS
13026 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13027 for ac_header in libudev.h
13028 do :
13029 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13030 if test "x$ac_cv_header_libudev_h" = xyes; then :
13031 cat >>confdefs.h <<_ACEOF
13032 #define HAVE_LIBUDEV_H 1
13033 _ACEOF
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13035 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13036 if ${ac_cv_lib_udev_udev_new+:} false; then :
13037 $as_echo_n "(cached) " >&6
13038 else
13039 ac_check_lib_save_LIBS=$LIBS
13040 LIBS="-ludev $UDEV_LIBS $LIBS"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13047 #ifdef __cplusplus
13048 extern "C"
13049 #endif
13050 char udev_new ();
13052 main ()
13054 return udev_new ();
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_link "$LINENO"; then :
13060 ac_cv_lib_udev_udev_new=yes
13061 else
13062 ac_cv_lib_udev_udev_new=no
13064 rm -f core conftest.err conftest.$ac_objext \
13065 conftest$ac_exeext conftest.$ac_ext
13066 LIBS=$ac_check_lib_save_LIBS
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13069 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13070 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13072 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13074 else
13075 UDEV_LIBS=""
13078 else
13079 UDEV_LIBS=""
13082 done
13084 CPPFLAGS=$ac_save_CPPFLAGS
13085 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13086 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13089 if test "x$UDEV_LIBS" = "x"; then :
13090 case "x$with_udev" in
13091 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13092 xno) ;;
13093 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13094 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13095 esac
13099 if test "x$with_capi" != "xno"
13100 then
13101 if ${CAPI20_CFLAGS:+false} :; then :
13102 if ${PKG_CONFIG+:} false; then :
13103 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13107 if ${CAPI20_LIBS:+false} :; then :
13108 if ${PKG_CONFIG+:} false; then :
13109 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13114 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13115 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13116 ac_save_CPPFLAGS=$CPPFLAGS
13117 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13118 for ac_header in capi20.h linux/capi.h
13119 do :
13120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13124 cat >>confdefs.h <<_ACEOF
13125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13126 _ACEOF
13130 done
13132 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13133 then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13135 $as_echo_n "checking for -lcapi20... " >&6; }
13136 if ${ac_cv_lib_soname_capi20+:} false; then :
13137 $as_echo_n "(cached) " >&6
13138 else
13139 ac_check_soname_save_LIBS=$LIBS
13140 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char capi20_register ();
13152 main ()
13154 return capi20_register ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 case "$LIBEXT" in
13161 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13162 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'` ;;
13163 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13164 if ${ac_cv_lib_soname_capi20:+false} :; then :
13165 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13166 fi ;;
13167 esac
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_soname_save_LIBS
13173 if ${ac_cv_lib_soname_capi20:+false} :; then :
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13175 $as_echo "not found" >&6; }
13177 else
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13179 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13181 cat >>confdefs.h <<_ACEOF
13182 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13183 _ACEOF
13188 CPPFLAGS=$ac_save_CPPFLAGS
13189 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13190 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13193 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13194 case "x$with_capi" in
13195 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13196 xno) ;;
13197 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13198 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13199 esac
13203 CUPS_CFLAGS=""
13205 if test "x$with_cups" != "xno"
13206 then
13207 ac_save_CPPFLAGS="$CPPFLAGS"
13208 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13209 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13210 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13211 for ac_header in cups/cups.h
13212 do :
13213 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define HAVE_CUPS_CUPS_H 1
13217 _ACEOF
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13219 $as_echo_n "checking for -lcups... " >&6; }
13220 if ${ac_cv_lib_soname_cups+:} false; then :
13221 $as_echo_n "(cached) " >&6
13222 else
13223 ac_check_soname_save_LIBS=$LIBS
13224 LIBS="-lcups $ac_cups_libs $LIBS"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13231 #ifdef __cplusplus
13232 extern "C"
13233 #endif
13234 char cupsGetDefault ();
13236 main ()
13238 return cupsGetDefault ();
13240 return 0;
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"; then :
13244 case "$LIBEXT" in
13245 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13246 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'` ;;
13247 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13248 if ${ac_cv_lib_soname_cups:+false} :; then :
13249 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13250 fi ;;
13251 esac
13253 rm -f core conftest.err conftest.$ac_objext \
13254 conftest$ac_exeext conftest.$ac_ext
13255 LIBS=$ac_check_soname_save_LIBS
13257 if ${ac_cv_lib_soname_cups:+false} :; then :
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13259 $as_echo "not found" >&6; }
13261 else
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13263 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13265 cat >>confdefs.h <<_ACEOF
13266 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13267 _ACEOF
13269 CUPS_CFLAGS="$ac_cups_cflags"
13271 for ac_header in cups/ppd.h
13272 do :
13273 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13274 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13275 cat >>confdefs.h <<_ACEOF
13276 #define HAVE_CUPS_PPD_H 1
13277 _ACEOF
13281 done
13285 done
13287 CPPFLAGS="$ac_save_CPPFLAGS"
13289 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13290 case "x$with_cups" in
13291 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13292 xno) ;;
13293 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13294 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13295 esac
13299 if test "x$with_fontconfig" != "xno"
13300 then
13301 if ${FONTCONFIG_CFLAGS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13306 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13307 if ${FONTCONFIG_LIBS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13312 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13314 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13316 ac_save_CPPFLAGS=$CPPFLAGS
13317 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13318 for ac_header in fontconfig/fontconfig.h
13319 do :
13320 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13321 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13322 cat >>confdefs.h <<_ACEOF
13323 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13324 _ACEOF
13328 done
13330 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13331 then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13333 $as_echo_n "checking for -lfontconfig... " >&6; }
13334 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_check_soname_save_LIBS=$LIBS
13338 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char FcInit ();
13350 main ()
13352 return FcInit ();
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_link "$LINENO"; then :
13358 case "$LIBEXT" in
13359 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13360 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'` ;;
13361 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13362 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13363 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13364 fi ;;
13365 esac
13367 rm -f core conftest.err conftest.$ac_objext \
13368 conftest$ac_exeext conftest.$ac_ext
13369 LIBS=$ac_check_soname_save_LIBS
13371 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13373 $as_echo "not found" >&6; }
13374 FONTCONFIG_CFLAGS=""
13375 else
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13377 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13379 cat >>confdefs.h <<_ACEOF
13380 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13381 _ACEOF
13385 else
13386 FONTCONFIG_CFLAGS=""
13388 CPPFLAGS=$ac_save_CPPFLAGS
13389 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13390 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13393 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13394 case "x$with_fontconfig" in
13395 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13396 xno) ;;
13397 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13398 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13399 esac
13403 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13404 then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13406 $as_echo_n "checking for -lgsm... " >&6; }
13407 if ${ac_cv_lib_soname_gsm+:} false; then :
13408 $as_echo_n "(cached) " >&6
13409 else
13410 ac_check_soname_save_LIBS=$LIBS
13411 LIBS="-lgsm $LIBS"
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13418 #ifdef __cplusplus
13419 extern "C"
13420 #endif
13421 char gsm_create ();
13423 main ()
13425 return gsm_create ();
13427 return 0;
13429 _ACEOF
13430 if ac_fn_c_try_link "$LINENO"; then :
13431 case "$LIBEXT" in
13432 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13433 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'` ;;
13434 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13435 if ${ac_cv_lib_soname_gsm:+false} :; then :
13436 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13437 fi ;;
13438 esac
13440 rm -f core conftest.err conftest.$ac_objext \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LIBS=$ac_check_soname_save_LIBS
13444 if ${ac_cv_lib_soname_gsm:+false} :; then :
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13446 $as_echo "not found" >&6; }
13448 else
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13450 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13452 cat >>confdefs.h <<_ACEOF
13453 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13454 _ACEOF
13459 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13460 case "x$with_gsm" in
13461 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13462 xno) ;;
13463 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13464 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13465 esac
13469 if test "x$with_jpeg" != "xno"
13470 then
13471 if ${JPEG_CFLAGS:+false} :; then :
13472 if ${PKG_CONFIG+:} false; then :
13473 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13477 if ${JPEG_LIBS:+false} :; then :
13478 if ${PKG_CONFIG+:} false; then :
13479 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13484 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13485 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13486 ac_save_CPPFLAGS=$CPPFLAGS
13487 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13488 for ac_header in jpeglib.h
13489 do :
13490 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13491 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13492 cat >>confdefs.h <<_ACEOF
13493 #define HAVE_JPEGLIB_H 1
13494 _ACEOF
13498 done
13500 if test "$ac_cv_header_jpeglib_h" = "yes"
13501 then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13503 $as_echo_n "checking for -ljpeg... " >&6; }
13504 if ${ac_cv_lib_soname_jpeg+:} false; then :
13505 $as_echo_n "(cached) " >&6
13506 else
13507 ac_check_soname_save_LIBS=$LIBS
13508 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13512 /* Override any GCC internal prototype to avoid an error.
13513 Use char because int might match the return type of a GCC
13514 builtin and then its argument prototype would still apply. */
13515 #ifdef __cplusplus
13516 extern "C"
13517 #endif
13518 char jpeg_start_decompress ();
13520 main ()
13522 return jpeg_start_decompress ();
13524 return 0;
13526 _ACEOF
13527 if ac_fn_c_try_link "$LINENO"; then :
13528 case "$LIBEXT" in
13529 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13530 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'` ;;
13531 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13532 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13533 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13534 fi ;;
13535 esac
13537 rm -f core conftest.err conftest.$ac_objext \
13538 conftest$ac_exeext conftest.$ac_ext
13539 LIBS=$ac_check_soname_save_LIBS
13541 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13543 $as_echo "not found" >&6; }
13544 JPEG_CFLAGS=""
13545 else
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13547 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13549 cat >>confdefs.h <<_ACEOF
13550 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13551 _ACEOF
13555 else
13556 JPEG_CFLAGS=""
13558 CPPFLAGS=$ac_save_CPPFLAGS
13559 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13560 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13563 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13564 case "x$with_jpeg" in
13565 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13566 xno) ;;
13567 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13568 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13569 esac
13573 if test "x$with_png" != "xno"
13574 then
13575 if ${PNG_CFLAGS:+false} :; then :
13576 if ${PKG_CONFIG+:} false; then :
13577 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13580 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13581 if ${PNG_LIBS:+false} :; then :
13582 if ${PKG_CONFIG+:} false; then :
13583 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13586 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13588 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13589 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13590 ac_save_CPPFLAGS=$CPPFLAGS
13591 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13592 for ac_header in png.h
13593 do :
13594 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13595 if test "x$ac_cv_header_png_h" = xyes; then :
13596 cat >>confdefs.h <<_ACEOF
13597 #define HAVE_PNG_H 1
13598 _ACEOF
13602 done
13604 if test "$ac_cv_header_png_h" = "yes"
13605 then
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13607 $as_echo_n "checking for -lpng... " >&6; }
13608 if ${ac_cv_lib_soname_png+:} false; then :
13609 $as_echo_n "(cached) " >&6
13610 else
13611 ac_check_soname_save_LIBS=$LIBS
13612 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13619 #ifdef __cplusplus
13620 extern "C"
13621 #endif
13622 char png_create_read_struct ();
13624 main ()
13626 return png_create_read_struct ();
13628 return 0;
13630 _ACEOF
13631 if ac_fn_c_try_link "$LINENO"; then :
13632 case "$LIBEXT" in
13633 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13634 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'` ;;
13635 *) 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'`
13636 if ${ac_cv_lib_soname_png:+false} :; then :
13637 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13638 fi ;;
13639 esac
13641 rm -f core conftest.err conftest.$ac_objext \
13642 conftest$ac_exeext conftest.$ac_ext
13643 LIBS=$ac_check_soname_save_LIBS
13645 if ${ac_cv_lib_soname_png:+false} :; then :
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13647 $as_echo "not found" >&6; }
13648 PNG_CFLAGS=""
13649 else
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13651 $as_echo "$ac_cv_lib_soname_png" >&6; }
13653 cat >>confdefs.h <<_ACEOF
13654 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13655 _ACEOF
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <png.h>
13661 main ()
13663 typeof(png_set_expand_gray_1_2_4_to_8) *p
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_compile "$LINENO"; then :
13670 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13675 else
13676 PNG_CFLAGS=""
13678 CPPFLAGS=$ac_save_CPPFLAGS
13679 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13680 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13683 if test "x$ac_cv_lib_soname_png" = "x"; then :
13684 case "x$with_png" in
13685 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13686 xno) ;;
13687 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13688 This is an error since --with-png was requested." "$LINENO" 5 ;;
13689 esac
13693 if test "x$with_tiff" != "xno"
13694 then
13695 if ${TIFF_CFLAGS:+false} :; then :
13696 if ${PKG_CONFIG+:} false; then :
13697 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13701 if ${TIFF_LIBS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13708 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13709 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13710 ac_save_CPPFLAGS=$CPPFLAGS
13711 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13712 for ac_header in tiffio.h
13713 do :
13714 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13715 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13716 cat >>confdefs.h <<_ACEOF
13717 #define HAVE_TIFFIO_H 1
13718 _ACEOF
13722 done
13724 if test "$ac_cv_header_tiffio_h" = "yes"
13725 then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13727 $as_echo_n "checking for -ltiff... " >&6; }
13728 if ${ac_cv_lib_soname_tiff+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 ac_check_soname_save_LIBS=$LIBS
13732 LIBS="-ltiff $TIFF_LIBS $LIBS"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13736 /* Override any GCC internal prototype to avoid an error.
13737 Use char because int might match the return type of a GCC
13738 builtin and then its argument prototype would still apply. */
13739 #ifdef __cplusplus
13740 extern "C"
13741 #endif
13742 char TIFFClientOpen ();
13744 main ()
13746 return TIFFClientOpen ();
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 case "$LIBEXT" in
13753 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13754 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'` ;;
13755 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13756 if ${ac_cv_lib_soname_tiff:+false} :; then :
13757 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13758 fi ;;
13759 esac
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_soname_save_LIBS
13765 if ${ac_cv_lib_soname_tiff:+false} :; then :
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13767 $as_echo "not found" >&6; }
13769 else
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13771 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13773 cat >>confdefs.h <<_ACEOF
13774 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13775 _ACEOF
13780 CPPFLAGS=$ac_save_CPPFLAGS
13781 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13782 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13785 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13786 case "x$with_tiff" in
13787 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13788 xno) ;;
13789 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13790 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13791 esac
13795 if test "x$with_mpg123" != "xno"
13796 then
13797 if ${MPG123_CFLAGS:+false} :; then :
13798 if ${PKG_CONFIG+:} false; then :
13799 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13803 if ${MPG123_LIBS:+false} :; then :
13804 if ${PKG_CONFIG+:} false; then :
13805 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13809 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13810 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13811 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13812 ac_save_CPPFLAGS=$CPPFLAGS
13813 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13814 for ac_header in mpg123.h
13815 do :
13816 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13817 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13818 cat >>confdefs.h <<_ACEOF
13819 #define HAVE_MPG123_H 1
13820 _ACEOF
13824 done
13826 if test "$ac_cv_header_mpg123_h" = "yes"
13827 then
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13829 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13830 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_check_lib_save_LIBS=$LIBS
13834 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13841 #ifdef __cplusplus
13842 extern "C"
13843 #endif
13844 char mpg123_feed ();
13846 main ()
13848 return mpg123_feed ();
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 ac_cv_lib_mpg123_mpg123_feed=yes
13855 else
13856 ac_cv_lib_mpg123_mpg123_feed=no
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_lib_save_LIBS
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13863 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13864 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13866 else
13867 MPG123_LIBS=""
13870 else
13871 MPG123_CFLAGS=""
13872 MPG123_LIBS=""
13874 CPPFLAGS=$ac_save_CPPFLAGS
13875 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13876 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13879 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13880 case "x$with_mpg123" in
13881 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13882 xno) ;;
13883 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13884 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13885 esac
13886 enable_winemp3_acm=${enable_winemp3_acm:-no}
13889 if test "$ac_cv_header_AL_al_h" = "yes"
13890 then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13892 $as_echo_n "checking for -lopenal... " >&6; }
13893 if ${ac_cv_lib_soname_openal+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 ac_check_soname_save_LIBS=$LIBS
13897 LIBS="-lopenal $LIBS"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 #ifdef __cplusplus
13905 extern "C"
13906 #endif
13907 char alGetSource3i ();
13909 main ()
13911 return alGetSource3i ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 case "$LIBEXT" in
13918 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13919 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'` ;;
13920 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13921 if ${ac_cv_lib_soname_openal:+false} :; then :
13922 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13923 fi ;;
13924 esac
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_soname_save_LIBS
13930 if ${ac_cv_lib_soname_openal:+false} :; then :
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13932 $as_echo "not found" >&6; }
13934 else
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13936 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13938 cat >>confdefs.h <<_ACEOF
13939 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13940 _ACEOF
13942 OPENAL_LIBS="-lopenal"
13944 ac_cv_lib_openal=yes
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_OPENAL 1
13948 _ACEOF
13952 if test "x$ac_cv_lib_openal" != xyes; then :
13953 case "x$with_openal" in
13954 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13955 xno) ;;
13956 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13957 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13958 esac
13959 enable_openal32=${enable_openal32:-no}
13962 if test "x$ac_cv_lib_openal" = xyes
13963 then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13965 $as_echo_n "checking for openal-soft... " >&6; }
13966 if ${ac_cv_have_openalsoft+:} false; then :
13967 $as_echo_n "(cached) " >&6
13968 else
13969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13971 #include <AL/al.h>
13972 #include <AL/alc.h>
13973 #include <AL/alext.h>
13974 LPALCRENDERSAMPLESSOFT x;
13976 main ()
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_compile "$LINENO"; then :
13984 ac_cv_have_openalsoft=yes
13985 else
13986 ac_cv_have_openalsoft=no
13988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13991 $as_echo "$ac_cv_have_openalsoft" >&6; }
13993 if test "x$ac_cv_have_openalsoft" != xyes
13994 then
13995 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13996 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13997 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13998 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13999 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14000 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14001 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14002 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14003 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14004 enable_xapofx1_1=${enable_xapofx1_1:-no}
14005 enable_xapofx1_2=${enable_xapofx1_2:-no}
14006 enable_xapofx1_3=${enable_xapofx1_3:-no}
14007 enable_xapofx1_4=${enable_xapofx1_4:-no}
14008 enable_xapofx1_5=${enable_xapofx1_5:-no}
14009 enable_xaudio2_0=${enable_xaudio2_0:-no}
14010 enable_xaudio2_1=${enable_xaudio2_1:-no}
14011 enable_xaudio2_2=${enable_xaudio2_2:-no}
14012 enable_xaudio2_3=${enable_xaudio2_3:-no}
14013 enable_xaudio2_4=${enable_xaudio2_4:-no}
14014 enable_xaudio2_5=${enable_xaudio2_5:-no}
14015 enable_xaudio2_6=${enable_xaudio2_6:-no}
14016 enable_xaudio2_7=${enable_xaudio2_7:-no}
14017 enable_xaudio2_8=${enable_xaudio2_8:-no}
14018 enable_xaudio2_9=${enable_xaudio2_9:-no}
14021 if test "$ac_cv_header_kstat_h" = "yes"
14022 then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14024 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14025 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_check_lib_save_LIBS=$LIBS
14029 LIBS="-lkstat $LIBS"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14033 /* Override any GCC internal prototype to avoid an error.
14034 Use char because int might match the return type of a GCC
14035 builtin and then its argument prototype would still apply. */
14036 #ifdef __cplusplus
14037 extern "C"
14038 #endif
14039 char kstat_open ();
14041 main ()
14043 return kstat_open ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 ac_cv_lib_kstat_kstat_open=yes
14050 else
14051 ac_cv_lib_kstat_kstat_open=no
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 LIBS=$ac_check_lib_save_LIBS
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14058 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14059 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14061 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14063 KSTAT_LIBS="-lkstat"
14069 if test "$ac_cv_header_libprocstat_h" = "yes"
14070 then
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14072 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14073 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-lprocstat $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char procstat_open_sysctl ();
14089 main ()
14091 return procstat_open_sysctl ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_lib_procstat_procstat_open_sysctl=yes
14098 else
14099 ac_cv_lib_procstat_procstat_open_sysctl=no
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14106 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14107 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14109 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14111 PROCSTAT_LIBS="-lprocstat"
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14118 $as_echo_n "checking for -lodbc... " >&6; }
14119 if ${ac_cv_lib_soname_odbc+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_check_soname_save_LIBS=$LIBS
14123 LIBS="-lodbc $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 #ifdef __cplusplus
14131 extern "C"
14132 #endif
14133 char SQLConnect ();
14135 main ()
14137 return SQLConnect ();
14139 return 0;
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 case "$LIBEXT" in
14144 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14145 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'` ;;
14146 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14147 if ${ac_cv_lib_soname_odbc:+false} :; then :
14148 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14149 fi ;;
14150 esac
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 LIBS=$ac_check_soname_save_LIBS
14156 if ${ac_cv_lib_soname_odbc:+false} :; then :
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14158 $as_echo "not found" >&6; }
14159 cat >>confdefs.h <<_ACEOF
14160 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14161 _ACEOF
14163 else
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14165 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14167 cat >>confdefs.h <<_ACEOF
14168 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14169 _ACEOF
14174 if test "x$with_netapi" != "xno"
14175 then
14176 if ${NETAPI_CFLAGS:+false} :; then :
14177 if ${PKG_CONFIG+:} false; then :
14178 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14182 if ${NETAPI_LIBS:+false} :; then :
14183 if ${PKG_CONFIG+:} false; then :
14184 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14189 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14190 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14191 ac_save_CPPFLAGS=$CPPFLAGS
14192 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14194 $as_echo_n "checking for -lnetapi... " >&6; }
14195 if ${ac_cv_lib_soname_netapi+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_check_soname_save_LIBS=$LIBS
14199 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 #ifdef __cplusplus
14207 extern "C"
14208 #endif
14209 char libnetapi_init ();
14211 main ()
14213 return libnetapi_init ();
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"; then :
14219 case "$LIBEXT" in
14220 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14221 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'` ;;
14222 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14223 if ${ac_cv_lib_soname_netapi:+false} :; then :
14224 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14225 fi ;;
14226 esac
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_soname_save_LIBS
14232 if ${ac_cv_lib_soname_netapi:+false} :; then :
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14234 $as_echo "not found" >&6; }
14235 cat >>confdefs.h <<_ACEOF
14236 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14237 _ACEOF
14239 else
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14241 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14243 cat >>confdefs.h <<_ACEOF
14244 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14245 _ACEOF
14249 CPPFLAGS=$ac_save_CPPFLAGS
14250 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14251 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14255 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14256 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14257 then
14258 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14262 EXTRACFLAGS=""
14264 if test "x${GCC}" = "xyes"
14265 then
14266 EXTRACFLAGS="-Wall -pipe"
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14269 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14270 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 if test "$cross_compiling" = yes; then :
14274 ac_cv_c_gcc_strength_bug="no"
14275 else
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 int L[4] = {0,1,2,3};
14280 main ()
14282 static int Array[3];
14283 unsigned int B = 3;
14284 int i;
14285 for(i=0; i<B; i++) Array[i] = i - 3;
14286 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14287 L[i] = 4;
14288 return (Array[1] != -2 || L[2] != 3)
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_run "$LINENO"; then :
14294 ac_cv_c_gcc_strength_bug="no"
14295 else
14296 ac_cv_c_gcc_strength_bug="yes"
14298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14299 conftest.$ac_objext conftest.beam conftest.$ac_ext
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14304 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14305 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14306 then
14307 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14311 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14312 if ${ac_cv_cflags__fno_builtin+:} false; then :
14313 $as_echo_n "(cached) " >&6
14314 else
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -fno-builtin"
14317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 int main(int argc, char **argv) { return 0; }
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_cflags__fno_builtin=yes
14323 else
14324 ac_cv_cflags__fno_builtin=no
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14328 CFLAGS=$ac_wine_try_cflags_saved
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14331 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14332 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14333 BUILTINFLAG="-fno-builtin"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14337 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14338 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_wine_try_cflags_saved=$CFLAGS
14342 CFLAGS="$CFLAGS -fno-strict-aliasing"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_cflags__fno_strict_aliasing=yes
14349 else
14350 ac_cv_cflags__fno_strict_aliasing=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 CFLAGS=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14357 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14358 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14359 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14362 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14363 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_wine_try_cflags_saved=$CFLAGS
14367 CFLAGS="$CFLAGS -fexcess-precision=standard"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_cflags__fexcess_precision_standard=yes
14374 else
14375 ac_cv_cflags__fexcess_precision_standard=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 CFLAGS=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14382 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14383 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14384 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14387 saved_CFLAGS=$CFLAGS
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14389 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14390 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 ac_wine_try_cflags_saved=$CFLAGS
14394 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 int main(int argc, char **argv) { return 0; }
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_cflags__Werror_unknown_warning_option=yes
14401 else
14402 ac_cv_cflags__Werror_unknown_warning_option=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 CFLAGS=$ac_wine_try_cflags_saved
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14409 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14410 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14411 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14414 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14415 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_wine_try_cflags_saved=$CFLAGS
14419 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14422 int main(int argc, char **argv) { return 0; }
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_cflags__Wdeclaration_after_statement=yes
14426 else
14427 ac_cv_cflags__Wdeclaration_after_statement=no
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14431 CFLAGS=$ac_wine_try_cflags_saved
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14434 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14435 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14436 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14439 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14440 if ${ac_cv_cflags__Wempty_body+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_wine_try_cflags_saved=$CFLAGS
14444 CFLAGS="$CFLAGS -Wempty-body"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 int main(int argc, char **argv) { return 0; }
14448 _ACEOF
14449 if ac_fn_c_try_link "$LINENO"; then :
14450 ac_cv_cflags__Wempty_body=yes
14451 else
14452 ac_cv_cflags__Wempty_body=no
14454 rm -f core conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 CFLAGS=$ac_wine_try_cflags_saved
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14459 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14460 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14461 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14464 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14465 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 ac_wine_try_cflags_saved=$CFLAGS
14469 CFLAGS="$CFLAGS -Wignored-qualifiers"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 int main(int argc, char **argv) { return 0; }
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_cflags__Wignored_qualifiers=yes
14476 else
14477 ac_cv_cflags__Wignored_qualifiers=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 CFLAGS=$ac_wine_try_cflags_saved
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14484 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14485 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14486 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14489 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14490 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 ac_wine_try_cflags_saved=$CFLAGS
14494 CFLAGS="$CFLAGS -Wshift-overflow=2"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14497 int main(int argc, char **argv) { return 0; }
14498 _ACEOF
14499 if ac_fn_c_try_link "$LINENO"; then :
14500 ac_cv_cflags__Wshift_overflow_2=yes
14501 else
14502 ac_cv_cflags__Wshift_overflow_2=no
14504 rm -f core conftest.err conftest.$ac_objext \
14505 conftest$ac_exeext conftest.$ac_ext
14506 CFLAGS=$ac_wine_try_cflags_saved
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14509 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14510 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14511 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14514 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14515 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 ac_wine_try_cflags_saved=$CFLAGS
14519 CFLAGS="$CFLAGS -Wstrict-prototypes"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14522 int main(int argc, char **argv) { return 0; }
14523 _ACEOF
14524 if ac_fn_c_try_link "$LINENO"; then :
14525 ac_cv_cflags__Wstrict_prototypes=yes
14526 else
14527 ac_cv_cflags__Wstrict_prototypes=no
14529 rm -f core conftest.err conftest.$ac_objext \
14530 conftest$ac_exeext conftest.$ac_ext
14531 CFLAGS=$ac_wine_try_cflags_saved
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14534 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14535 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14536 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14539 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14540 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_wine_try_cflags_saved=$CFLAGS
14544 CFLAGS="$CFLAGS -Wtype-limits"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 int main(int argc, char **argv) { return 0; }
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_cflags__Wtype_limits=yes
14551 else
14552 ac_cv_cflags__Wtype_limits=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 CFLAGS=$ac_wine_try_cflags_saved
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14559 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14560 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14561 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14564 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14565 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_wine_try_cflags_saved=$CFLAGS
14569 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_cflags__Wunused_but_set_parameter=yes
14576 else
14577 ac_cv_cflags__Wunused_but_set_parameter=no
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14581 CFLAGS=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14584 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14585 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14586 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14589 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14590 if ${ac_cv_cflags__Wvla+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 ac_wine_try_cflags_saved=$CFLAGS
14594 CFLAGS="$CFLAGS -Wvla"
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int main(int argc, char **argv) { return 0; }
14598 _ACEOF
14599 if ac_fn_c_try_link "$LINENO"; then :
14600 ac_cv_cflags__Wvla=yes
14601 else
14602 ac_cv_cflags__Wvla=no
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 CFLAGS=$ac_wine_try_cflags_saved
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14609 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14610 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14611 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14614 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14615 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14616 $as_echo_n "(cached) " >&6
14617 else
14618 ac_wine_try_cflags_saved=$CFLAGS
14619 CFLAGS="$CFLAGS -Wwrite-strings"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 int main(int argc, char **argv) { return 0; }
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_cflags__Wwrite_strings=yes
14626 else
14627 ac_cv_cflags__Wwrite_strings=no
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 CFLAGS=$ac_wine_try_cflags_saved
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14634 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14635 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14636 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14640 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14641 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_wine_try_cflags_saved=$CFLAGS
14645 CFLAGS="$CFLAGS -Wpointer-arith"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 int main(int argc, char **argv) { return 0; }
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_cflags__Wpointer_arith=yes
14652 else
14653 ac_cv_cflags__Wpointer_arith=no
14655 rm -f core conftest.err conftest.$ac_objext \
14656 conftest$ac_exeext conftest.$ac_ext
14657 CFLAGS=$ac_wine_try_cflags_saved
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14660 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14661 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14662 saved_string_h_CFLAGS=$CFLAGS
14663 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14665 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14666 if ${ac_cv_c_string_h_warnings+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 #include <string.h>
14673 main ()
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_compile "$LINENO"; then :
14681 ac_cv_c_string_h_warnings=no
14682 else
14683 ac_cv_c_string_h_warnings=yes
14685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14688 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14689 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14690 CFLAGS=$saved_string_h_CFLAGS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14694 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14695 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 ac_wine_try_cflags_saved=$CFLAGS
14699 CFLAGS="$CFLAGS -Wlogical-op"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 int main(int argc, char **argv) { return 0; }
14703 _ACEOF
14704 if ac_fn_c_try_link "$LINENO"; then :
14705 ac_cv_cflags__Wlogical_op=yes
14706 else
14707 ac_cv_cflags__Wlogical_op=no
14709 rm -f core conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 CFLAGS=$ac_wine_try_cflags_saved
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14714 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14715 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14716 saved_string_h_CFLAGS=$CFLAGS
14717 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14719 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14720 if ${ac_cv_c_logicalop_noisy+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14725 #include <string.h>
14726 char*f(const char *h,char n) {return strchr(h,n);}
14728 main ()
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_compile "$LINENO"; then :
14736 ac_cv_c_logicalop_noisy=no
14737 else
14738 ac_cv_c_logicalop_noisy=yes
14740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14743 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14744 CFLAGS=$saved_string_h_CFLAGS
14745 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14748 CFLAGS=$saved_CFLAGS
14750 for ac_flag in $CFLAGS; do
14751 case $ac_flag in
14752 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14753 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14754 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_wine_try_cflags_saved=$CFLAGS
14758 CFLAGS="$CFLAGS -gdwarf-2"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 int main(int argc, char **argv) { return 0; }
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_cflags__gdwarf_2=yes
14765 else
14766 ac_cv_cflags__gdwarf_2=no
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 CFLAGS=$ac_wine_try_cflags_saved
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14773 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14774 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14775 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14778 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14779 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_wine_try_cflags_saved=$CFLAGS
14783 CFLAGS="$CFLAGS -gstrict-dwarf"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int main(int argc, char **argv) { return 0; }
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_cflags__gstrict_dwarf=yes
14790 else
14791 ac_cv_cflags__gstrict_dwarf=no
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 CFLAGS=$ac_wine_try_cflags_saved
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14798 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14799 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14800 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14801 fi ;;
14802 esac
14803 done
14805 case $host_cpu in
14806 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14807 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14808 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_wine_try_cflags_saved=$CFLAGS
14812 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 int main(int argc, char **argv) { return 0; }
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_cflags__fno_omit_frame_pointer=yes
14819 else
14820 ac_cv_cflags__fno_omit_frame_pointer=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 CFLAGS=$ac_wine_try_cflags_saved
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14827 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14828 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14829 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14830 fi ;;
14831 esac
14833 case $host in
14834 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14835 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14836 if ${ac_cv_cflags__Wno_format+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 ac_wine_try_cflags_saved=$CFLAGS
14840 CFLAGS="$CFLAGS -Wno-format"
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14843 int main(int argc, char **argv) { return 0; }
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"; then :
14846 ac_cv_cflags__Wno_format=yes
14847 else
14848 ac_cv_cflags__Wno_format=no
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext conftest.$ac_ext
14852 CFLAGS=$ac_wine_try_cflags_saved
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14855 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14856 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14857 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14858 fi ;;
14859 esac
14861 if test "x$enable_maintainer_mode" = "xyes"
14862 then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14864 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14865 if ${ac_cv_cflags__Werror+:} false; then :
14866 $as_echo_n "(cached) " >&6
14867 else
14868 ac_wine_try_cflags_saved=$CFLAGS
14869 CFLAGS="$CFLAGS -Werror"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 int main(int argc, char **argv) { return 0; }
14873 _ACEOF
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 ac_cv_cflags__Werror=yes
14876 else
14877 ac_cv_cflags__Werror=no
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14881 CFLAGS=$ac_wine_try_cflags_saved
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14884 $as_echo "$ac_cv_cflags__Werror" >&6; }
14885 if test "x$ac_cv_cflags__Werror" = xyes; then :
14886 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14890 saved_CFLAGS="$CFLAGS"
14891 CFLAGS="$CFLAGS -Werror"
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14893 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14894 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14898 /* end confdefs.h. */
14899 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14901 main ()
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_compile "$LINENO"; then :
14909 ac_cv_have_ms_hook_prologue="yes"
14910 else
14911 ac_cv_have_ms_hook_prologue="no"
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14916 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14917 CFLAGS="$saved_CFLAGS"
14918 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14919 then
14921 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14923 else
14924 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14931 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14932 if ${ac_cv_c_fortify_enabled+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 #include <string.h>
14939 main ()
14941 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14942 #error Fortify enabled
14943 #endif
14945 return 0;
14947 _ACEOF
14948 if ac_fn_c_try_compile "$LINENO"; then :
14949 ac_cv_c_fortify_enabled=no
14950 else
14951 ac_cv_c_fortify_enabled=yes
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14956 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14957 if test "$ac_cv_c_fortify_enabled" = yes
14958 then
14959 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14964 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14965 if ${ac_cv_c_extern_prefix+:} false; then :
14966 $as_echo_n "(cached) " >&6
14967 else
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 extern int ac_test;
14972 main ()
14974 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 ac_cv_c_extern_prefix="yes"
14981 else
14982 ac_cv_c_extern_prefix="no"
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14988 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14990 case $host_cpu in
14991 *i[3456789]86*)
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14993 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14994 if ${ac_cv_c_stdcall_suffix+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #ifndef _MSC_VER
15000 #define __stdcall __attribute__((__stdcall__))
15001 #endif
15002 int __stdcall ac_test(int i) { return i; }
15004 main ()
15006 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_c_stdcall_suffix="yes"
15013 else
15014 ac_cv_c_stdcall_suffix="no"
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15020 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15021 *) ac_cv_c_stdcall_suffix="no" ;;
15022 esac
15025 if test "$ac_cv_c_extern_prefix" = "yes"
15026 then
15027 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15029 asm_name_prefix="_"
15030 else
15031 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15033 asm_name_prefix=""
15037 if test "$ac_cv_c_stdcall_suffix" = "yes"
15038 then
15039 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15041 else
15042 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15048 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15049 if ${ac_cv_asm_func_def+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15056 main ()
15058 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15060 return 0;
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"; then :
15064 ac_cv_asm_func_def=".def"
15065 else
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15070 main ()
15072 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15074 return 0;
15076 _ACEOF
15077 if ac_fn_c_try_link "$LINENO"; then :
15078 ac_cv_asm_func_def=".type @function"
15079 else
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15084 main ()
15086 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 ac_cv_asm_func_def=".type 2"
15093 else
15094 ac_cv_asm_func_def="unknown"
15096 rm -f core conftest.err conftest.$ac_objext \
15097 conftest$ac_exeext conftest.$ac_ext
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15102 rm -f core conftest.err conftest.$ac_objext \
15103 conftest$ac_exeext conftest.$ac_ext
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15106 $as_echo "$ac_cv_asm_func_def" >&6; }
15109 case "$ac_cv_asm_func_def" in
15110 ".def")
15111 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15113 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15114 ".type @function")
15115 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15117 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15118 ".type 2")
15119 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15121 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15123 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15125 asm_func_header="" ;;
15126 esac
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15129 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15130 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h. */
15135 asm(".text\n\t.long 0");
15137 main ()
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_compile "$LINENO"; then :
15145 ac_cv_c_asm_outside_funcs="yes"
15146 else
15147 ac_cv_c_asm_outside_funcs="no"
15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15152 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15155 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15156 if ${ac_cv_c_dot_previous+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15163 main ()
15165 asm(".text\nac_test:\t.long 0\n\t.previous");
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_link "$LINENO"; then :
15171 ac_cv_c_dot_previous="yes"
15172 else
15173 ac_cv_c_dot_previous="no"
15175 rm -f core conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15179 $as_echo "$ac_cv_c_dot_previous" >&6; }
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15182 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15183 if ${ac_cv_c_cfi_support+:} false; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15190 main ()
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_compile "$LINENO"; then :
15198 ac_cv_c_cfi_support="yes"
15199 else
15200 ac_cv_c_cfi_support="no"
15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15205 $as_echo "$ac_cv_c_cfi_support" >&6; }
15207 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15208 asm_func_trailer=""
15209 if test "$ac_cv_c_dot_previous" = "yes"
15210 then
15211 asm_func_trailer="\\n\\t.previous"
15213 if test "$ac_cv_c_cfi_support" = "yes"
15214 then
15215 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15216 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15218 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15220 UNWINDFLAGS=-fasynchronous-unwind-tables
15222 else
15223 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15225 if test "x$enable_win64" = "xyes"
15226 then
15227 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15231 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15234 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15235 then
15236 cat >>confdefs.h <<_ACEOF
15237 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15238 _ACEOF
15240 else
15241 cat >>confdefs.h <<_ACEOF
15242 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15243 _ACEOF
15247 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15250 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15254 case $build_os in
15255 cygwin*|mingw32*) TOOLSEXT=".exe"
15257 esac
15259 case $host_os in
15260 linux-android*) ;;
15261 linux*)
15262 case $host_cpu in
15263 *i[3456789]86*|x86_64*)
15264 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15265 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15267 esac
15269 esac
15272 ac_save_CFLAGS="$CFLAGS"
15273 CFLAGS="$CFLAGS $BUILTINFLAG"
15274 for ac_func in \
15275 __res_get_state \
15276 __res_getservers \
15277 _finite \
15278 _isnan \
15279 _pclose \
15280 _popen \
15281 _snprintf \
15282 _spawnvp \
15283 _strdup \
15284 _stricmp \
15285 _strnicmp \
15286 _strtoi64 \
15287 _strtoui64 \
15288 _vsnprintf \
15289 asctime_r \
15290 chsize \
15291 dlopen \
15292 epoll_create \
15293 ffs \
15294 finitef \
15295 fnmatch \
15296 fork \
15297 fpclass \
15298 fstatfs \
15299 fstatvfs \
15300 ftruncate \
15301 futimens \
15302 futimes \
15303 futimesat \
15304 getattrlist \
15305 getopt_long_only \
15306 getpwuid \
15307 gettimeofday \
15308 getuid \
15309 if_nameindex \
15310 isnanf \
15311 kqueue \
15312 lstat \
15313 memmove \
15314 mmap \
15315 pclose \
15316 pipe2 \
15317 poll \
15318 popen \
15319 port_create \
15320 prctl \
15321 pread \
15322 proc_pidinfo \
15323 pwrite \
15324 readdir \
15325 readlink \
15326 sched_yield \
15327 select \
15328 setproctitle \
15329 setprogname \
15330 setrlimit \
15331 settimeofday \
15332 sigaltstack \
15333 sigprocmask \
15334 snprintf \
15335 statfs \
15336 statvfs \
15337 strcasecmp \
15338 strdup \
15339 strerror \
15340 strncasecmp \
15341 strtold \
15342 strtoll \
15343 strtoull \
15344 symlink \
15345 sysinfo \
15346 tcdrain \
15347 thr_kill2 \
15348 timegm \
15349 usleep \
15350 vsnprintf
15352 do :
15353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15358 _ACEOF
15361 done
15363 CFLAGS="$ac_save_CFLAGS"
15365 if test "$ac_cv_func_dlopen" = no
15366 then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15369 if ${ac_cv_lib_dl_dlopen+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_check_lib_save_LIBS=$LIBS
15373 LIBS="-ldl $LIBS"
15374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15375 /* end confdefs.h. */
15377 /* Override any GCC internal prototype to avoid an error.
15378 Use char because int might match the return type of a GCC
15379 builtin and then its argument prototype would still apply. */
15380 #ifdef __cplusplus
15381 extern "C"
15382 #endif
15383 char dlopen ();
15385 main ()
15387 return dlopen ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"; then :
15393 ac_cv_lib_dl_dlopen=yes
15394 else
15395 ac_cv_lib_dl_dlopen=no
15397 rm -f core conftest.err conftest.$ac_objext \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_lib_save_LIBS
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15402 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15403 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15404 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15405 DL_LIBS="-ldl"
15410 ac_wine_check_funcs_save_LIBS="$LIBS"
15411 LIBS="$LIBS $DL_LIBS"
15412 for ac_func in dladdr
15413 do :
15414 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15415 if test "x$ac_cv_func_dladdr" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_DLADDR 1
15418 _ACEOF
15421 done
15423 LIBS="$ac_wine_check_funcs_save_LIBS"
15425 if test "$ac_cv_func_poll" = no
15426 then
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15428 $as_echo_n "checking for poll in -lpoll... " >&6; }
15429 if ${ac_cv_lib_poll_poll+:} false; then :
15430 $as_echo_n "(cached) " >&6
15431 else
15432 ac_check_lib_save_LIBS=$LIBS
15433 LIBS="-lpoll $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15437 /* Override any GCC internal prototype to avoid an error.
15438 Use char because int might match the return type of a GCC
15439 builtin and then its argument prototype would still apply. */
15440 #ifdef __cplusplus
15441 extern "C"
15442 #endif
15443 char poll ();
15445 main ()
15447 return poll ();
15449 return 0;
15451 _ACEOF
15452 if ac_fn_c_try_link "$LINENO"; then :
15453 ac_cv_lib_poll_poll=yes
15454 else
15455 ac_cv_lib_poll_poll=no
15457 rm -f core conftest.err conftest.$ac_objext \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_lib_save_LIBS
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15462 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15463 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15464 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15465 POLL_LIBS="-lpoll"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15472 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15473 if ${ac_cv_search_gethostbyname+:} false; then :
15474 $as_echo_n "(cached) " >&6
15475 else
15476 ac_func_search_save_LIBS=$LIBS
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 #ifdef __cplusplus
15484 extern "C"
15485 #endif
15486 char gethostbyname ();
15488 main ()
15490 return gethostbyname ();
15492 return 0;
15494 _ACEOF
15495 for ac_lib in '' nsl; do
15496 if test -z "$ac_lib"; then
15497 ac_res="none required"
15498 else
15499 ac_res=-l$ac_lib
15500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15502 if ac_fn_c_try_link "$LINENO"; then :
15503 ac_cv_search_gethostbyname=$ac_res
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext
15507 if ${ac_cv_search_gethostbyname+:} false; then :
15508 break
15510 done
15511 if ${ac_cv_search_gethostbyname+:} false; then :
15513 else
15514 ac_cv_search_gethostbyname=no
15516 rm conftest.$ac_ext
15517 LIBS=$ac_func_search_save_LIBS
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15520 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15521 ac_res=$ac_cv_search_gethostbyname
15522 if test "$ac_res" != no; then :
15523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15529 $as_echo_n "checking for library containing connect... " >&6; }
15530 if ${ac_cv_search_connect+:} false; then :
15531 $as_echo_n "(cached) " >&6
15532 else
15533 ac_func_search_save_LIBS=$LIBS
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 #ifdef __cplusplus
15541 extern "C"
15542 #endif
15543 char connect ();
15545 main ()
15547 return connect ();
15549 return 0;
15551 _ACEOF
15552 for ac_lib in '' socket; do
15553 if test -z "$ac_lib"; then
15554 ac_res="none required"
15555 else
15556 ac_res=-l$ac_lib
15557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15559 if ac_fn_c_try_link "$LINENO"; then :
15560 ac_cv_search_connect=$ac_res
15562 rm -f core conftest.err conftest.$ac_objext \
15563 conftest$ac_exeext
15564 if ${ac_cv_search_connect+:} false; then :
15565 break
15567 done
15568 if ${ac_cv_search_connect+:} false; then :
15570 else
15571 ac_cv_search_connect=no
15573 rm conftest.$ac_ext
15574 LIBS=$ac_func_search_save_LIBS
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15577 $as_echo "$ac_cv_search_connect" >&6; }
15578 ac_res=$ac_cv_search_connect
15579 if test "$ac_res" != no; then :
15580 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15586 $as_echo_n "checking for library containing inet_aton... " >&6; }
15587 if ${ac_cv_search_inet_aton+:} false; then :
15588 $as_echo_n "(cached) " >&6
15589 else
15590 ac_func_search_save_LIBS=$LIBS
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char inet_aton ();
15602 main ()
15604 return inet_aton ();
15606 return 0;
15608 _ACEOF
15609 for ac_lib in '' resolv; do
15610 if test -z "$ac_lib"; then
15611 ac_res="none required"
15612 else
15613 ac_res=-l$ac_lib
15614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15616 if ac_fn_c_try_link "$LINENO"; then :
15617 ac_cv_search_inet_aton=$ac_res
15619 rm -f core conftest.err conftest.$ac_objext \
15620 conftest$ac_exeext
15621 if ${ac_cv_search_inet_aton+:} false; then :
15622 break
15624 done
15625 if ${ac_cv_search_inet_aton+:} false; then :
15627 else
15628 ac_cv_search_inet_aton=no
15630 rm conftest.$ac_ext
15631 LIBS=$ac_func_search_save_LIBS
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15634 $as_echo "$ac_cv_search_inet_aton" >&6; }
15635 ac_res=$ac_cv_search_inet_aton
15636 if test "$ac_res" != no; then :
15637 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15642 for ac_func in \
15643 getaddrinfo \
15644 getnameinfo \
15645 getnetbyname \
15646 getprotobyname \
15647 getprotobynumber \
15648 getservbyport \
15649 inet_addr \
15650 inet_network \
15651 inet_ntop \
15652 inet_pton \
15653 sendmsg \
15654 socketpair \
15656 do :
15657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15662 _ACEOF
15665 done
15668 ac_save_LIBS=$LIBS
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15670 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15671 if ${ac_cv_search_clock_gettime+:} false; then :
15672 $as_echo_n "(cached) " >&6
15673 else
15674 ac_func_search_save_LIBS=$LIBS
15675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 char clock_gettime ();
15686 main ()
15688 return clock_gettime ();
15690 return 0;
15692 _ACEOF
15693 for ac_lib in '' rt; do
15694 if test -z "$ac_lib"; then
15695 ac_res="none required"
15696 else
15697 ac_res=-l$ac_lib
15698 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 ac_cv_search_clock_gettime=$ac_res
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext
15705 if ${ac_cv_search_clock_gettime+:} false; then :
15706 break
15708 done
15709 if ${ac_cv_search_clock_gettime+:} false; then :
15711 else
15712 ac_cv_search_clock_gettime=no
15714 rm conftest.$ac_ext
15715 LIBS=$ac_func_search_save_LIBS
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15718 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15719 ac_res=$ac_cv_search_clock_gettime
15720 if test "$ac_res" != no; then :
15721 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15723 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15725 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15729 LIBS=$ac_save_LIBS
15731 LDAP_LIBS=""
15733 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15734 then
15735 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15737 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15739 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15740 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15741 $as_echo_n "(cached) " >&6
15742 else
15743 ac_check_lib_save_LIBS=$LIBS
15744 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15748 /* Override any GCC internal prototype to avoid an error.
15749 Use char because int might match the return type of a GCC
15750 builtin and then its argument prototype would still apply. */
15751 #ifdef __cplusplus
15752 extern "C"
15753 #endif
15754 char ldap_initialize ();
15756 main ()
15758 return ldap_initialize ();
15760 return 0;
15762 _ACEOF
15763 if ac_fn_c_try_link "$LINENO"; then :
15764 ac_cv_lib_ldap_r_ldap_initialize=yes
15765 else
15766 ac_cv_lib_ldap_r_ldap_initialize=no
15768 rm -f core conftest.err conftest.$ac_objext \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_lib_save_LIBS
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15773 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15774 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15776 $as_echo_n "checking for ber_init in -llber... " >&6; }
15777 if ${ac_cv_lib_lber_ber_init+:} false; then :
15778 $as_echo_n "(cached) " >&6
15779 else
15780 ac_check_lib_save_LIBS=$LIBS
15781 LIBS="-llber $PTHREAD_LIBS $LIBS"
15782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15785 /* Override any GCC internal prototype to avoid an error.
15786 Use char because int might match the return type of a GCC
15787 builtin and then its argument prototype would still apply. */
15788 #ifdef __cplusplus
15789 extern "C"
15790 #endif
15791 char ber_init ();
15793 main ()
15795 return ber_init ();
15797 return 0;
15799 _ACEOF
15800 if ac_fn_c_try_link "$LINENO"; then :
15801 ac_cv_lib_lber_ber_init=yes
15802 else
15803 ac_cv_lib_lber_ber_init=no
15805 rm -f core conftest.err conftest.$ac_objext \
15806 conftest$ac_exeext conftest.$ac_ext
15807 LIBS=$ac_check_lib_save_LIBS
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15810 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15811 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15813 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15815 LDAP_LIBS="-lldap_r -llber"
15822 ac_wine_check_funcs_save_LIBS="$LIBS"
15823 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15824 for ac_func in \
15825 ldap_count_references \
15826 ldap_first_reference \
15827 ldap_next_reference \
15828 ldap_parse_reference \
15829 ldap_parse_sort_control \
15830 ldap_parse_sortresponse_control \
15831 ldap_parse_vlv_control \
15832 ldap_parse_vlvresponse_control
15833 do :
15834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15835 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15836 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15839 _ACEOF
15842 done
15844 LIBS="$ac_wine_check_funcs_save_LIBS"
15846 if test "x$LDAP_LIBS" = "x"; then :
15847 case "x$with_ldap" in
15848 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15849 xno) ;;
15850 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15851 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15852 esac
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15857 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15858 if ${wine_cv_one_arg_mkdir+:} false; then :
15859 $as_echo_n "(cached) " >&6
15860 else
15861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15863 #include <sys/stat.h>
15865 main ()
15867 mkdir("foo");
15869 return 0;
15871 _ACEOF
15872 if ac_fn_c_try_compile "$LINENO"; then :
15873 wine_cv_one_arg_mkdir=yes
15874 else
15875 wine_cv_one_arg_mkdir=no
15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15880 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15881 if test "$wine_cv_one_arg_mkdir" = "yes"
15882 then
15884 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15889 $as_echo_n "checking for sched_setaffinity... " >&6; }
15890 if ${wine_cv_have_sched_setaffinity+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE
15896 #include <sched.h>
15898 main ()
15900 sched_setaffinity(0, 0, 0);
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_link "$LINENO"; then :
15906 wine_cv_have_sched_setaffinity=yes
15907 else
15908 wine_cv_have_sched_setaffinity=no
15910 rm -f core conftest.err conftest.$ac_objext \
15911 conftest$ac_exeext conftest.$ac_ext
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15914 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15915 if test "$wine_cv_have_sched_setaffinity" = "yes"
15916 then
15918 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15923 $as_echo_n "checking for fallocate... " >&6; }
15924 if ${wine_cv_have_fallocate+:} false; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE
15930 #include <fcntl.h>
15932 main ()
15934 fallocate(-1, 0, 0, 0);
15936 return 0;
15938 _ACEOF
15939 if ac_fn_c_try_link "$LINENO"; then :
15940 wine_cv_have_fallocate=yes
15941 else
15942 wine_cv_have_fallocate=no
15944 rm -f core conftest.err conftest.$ac_objext \
15945 conftest$ac_exeext conftest.$ac_ext
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15948 $as_echo "$wine_cv_have_fallocate" >&6; }
15949 if test "$wine_cv_have_fallocate" = "yes"
15950 then
15952 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15958 $as_echo_n "checking for inline... " >&6; }
15959 if ${ac_cv_c_inline+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 ac_cv_c_inline=no
15963 for ac_kw in inline __inline__ __inline; do
15964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15965 /* end confdefs.h. */
15966 #ifndef __cplusplus
15967 typedef int foo_t;
15968 static $ac_kw foo_t static_foo () {return 0; }
15969 $ac_kw foo_t foo () {return 0; }
15970 #endif
15972 _ACEOF
15973 if ac_fn_c_try_compile "$LINENO"; then :
15974 ac_cv_c_inline=$ac_kw
15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15977 test "$ac_cv_c_inline" != no && break
15978 done
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15982 $as_echo "$ac_cv_c_inline" >&6; }
15984 case $ac_cv_c_inline in
15985 inline | yes) ;;
15987 case $ac_cv_c_inline in
15988 no) ac_val=;;
15989 *) ac_val=$ac_cv_c_inline;;
15990 esac
15991 cat >>confdefs.h <<_ACEOF
15992 #ifndef __cplusplus
15993 #define inline $ac_val
15994 #endif
15995 _ACEOF
15997 esac
15999 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16000 if test "x$ac_cv_type_mode_t" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_MODE_T 1
16004 _ACEOF
16008 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16009 if test "x$ac_cv_type_off_t" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_OFF_T 1
16013 _ACEOF
16017 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16018 if test "x$ac_cv_type_pid_t" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_PID_T 1
16022 _ACEOF
16026 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16027 if test "x$ac_cv_type_size_t" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_SIZE_T 1
16031 _ACEOF
16035 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16036 if test "x$ac_cv_type_ssize_t" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_SSIZE_T 1
16040 _ACEOF
16044 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16045 if test "x$ac_cv_type_long_long" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_LONG_LONG 1
16049 _ACEOF
16053 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16054 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_FSBLKCNT_T 1
16058 _ACEOF
16062 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16063 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_FSFILCNT_T 1
16067 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16073 #include <signal.h>
16075 if test "x$ac_cv_type_sigset_t" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_SIGSET_T 1
16079 _ACEOF
16084 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16086 if test "x$ac_cv_type_request_sense" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_REQUEST_SENSE 1
16090 _ACEOF
16096 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16097 #ifdef HAVE_SYS_SOCKET_H
16098 #include <sys/socket.h>
16099 #endif
16100 #ifdef HAVE_SYS_SOCKETVAR_H
16101 #include <sys/socketvar.h>
16102 #endif
16103 #ifdef HAVE_NET_ROUTE_H
16104 #include <net/route.h>
16105 #endif
16106 #ifdef HAVE_NETINET_IN_H
16107 #include <netinet/in.h>
16108 #endif
16109 #ifdef HAVE_NETINET_IN_SYSTM_H
16110 #include <netinet/in_systm.h>
16111 #endif
16112 #ifdef HAVE_NETINET_IP_H
16113 #include <netinet/ip.h>
16114 #endif
16115 #ifdef HAVE_NETINET_IN_PCB_H
16116 #include <netinet/in_pcb.h>
16117 #endif
16119 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_XINPGEN 1
16123 _ACEOF
16129 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16130 #include <link.h>
16131 #endif
16132 #ifdef HAVE_SYS_LINK_H
16133 #include <sys/link.h>
16134 #endif
16136 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_R_DEBUG 1
16140 _ACEOF
16144 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16145 #include <link.h>
16146 #endif
16147 #ifdef HAVE_SYS_LINK_H
16148 #include <sys/link.h>
16149 #endif
16151 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT_LINK_MAP 1
16155 _ACEOF
16161 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16162 #include <linux/input.h>
16163 #endif
16165 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16169 _ACEOF
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16176 $as_echo_n "checking for sigaddset... " >&6; }
16177 if ${wine_cv_have_sigaddset+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16182 #include <signal.h>
16184 main ()
16186 sigset_t set; sigaddset(&set,SIGTERM);
16188 return 0;
16190 _ACEOF
16191 if ac_fn_c_try_link "$LINENO"; then :
16192 wine_cv_have_sigaddset=yes
16193 else
16194 wine_cv_have_sigaddset=no
16196 rm -f core conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16200 $as_echo "$wine_cv_have_sigaddset" >&6; }
16201 if test "$wine_cv_have_sigaddset" = "yes"
16202 then
16204 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16210 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16211 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16212 $as_echo_n "(cached) " >&6
16213 else
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #include <netdb.h>
16218 main ()
16221 char *name=0;
16222 struct hostent he;
16223 struct hostent *result;
16224 char *buf=0;
16225 int bufsize=0;
16226 int errnr;
16227 char *addr=0;
16228 int addrlen=0;
16229 int addrtype=0;
16230 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16231 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16234 return 0;
16236 _ACEOF
16237 if ac_fn_c_try_link "$LINENO"; then :
16238 wine_cv_linux_gethostbyname_r_6=yes
16239 else
16240 wine_cv_linux_gethostbyname_r_6=no
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16248 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16249 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16250 then
16252 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16256 if test "$ac_cv_header_linux_joystick_h" = "yes"
16257 then
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16259 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16260 if ${wine_cv_linux_joystick_22_api+:} false; then :
16261 $as_echo_n "(cached) " >&6
16262 else
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16264 /* end confdefs.h. */
16266 #include <sys/ioctl.h>
16267 #include <sys/types.h>
16268 #include <linux/joystick.h>
16270 struct js_event blub;
16271 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16272 #error "no 2.2 header"
16273 #endif
16276 main ()
16278 /*empty*/
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_compile "$LINENO"; then :
16284 wine_cv_linux_joystick_22_api=yes
16285 else
16286 wine_cv_linux_joystick_22_api=no
16288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16292 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16293 if test "$wine_cv_linux_joystick_22_api" = "yes"
16294 then
16296 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16302 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16303 #ifdef HAVE_SYS_PARAM_H
16304 # include <sys/param.h>
16305 #endif
16306 #ifdef HAVE_SYS_MOUNT_H
16307 # include <sys/mount.h>
16308 #endif
16309 #ifdef HAVE_SYS_VFS_H
16310 # include <sys/vfs.h>
16311 #endif
16312 #ifdef HAVE_SYS_STATFS_H
16313 # include <sys/statfs.h>
16314 #endif
16316 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STATFS_F_BFREE 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16325 #ifdef HAVE_SYS_PARAM_H
16326 # include <sys/param.h>
16327 #endif
16328 #ifdef HAVE_SYS_MOUNT_H
16329 # include <sys/mount.h>
16330 #endif
16331 #ifdef HAVE_SYS_VFS_H
16332 # include <sys/vfs.h>
16333 #endif
16334 #ifdef HAVE_SYS_STATFS_H
16335 # include <sys/statfs.h>
16336 #endif
16338 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16342 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16347 #ifdef HAVE_SYS_PARAM_H
16348 # include <sys/param.h>
16349 #endif
16350 #ifdef HAVE_SYS_MOUNT_H
16351 # include <sys/mount.h>
16352 #endif
16353 #ifdef HAVE_SYS_VFS_H
16354 # include <sys/vfs.h>
16355 #endif
16356 #ifdef HAVE_SYS_STATFS_H
16357 # include <sys/statfs.h>
16358 #endif
16360 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_PARAM_H
16370 # include <sys/param.h>
16371 #endif
16372 #ifdef HAVE_SYS_MOUNT_H
16373 # include <sys/mount.h>
16374 #endif
16375 #ifdef HAVE_SYS_VFS_H
16376 # include <sys/vfs.h>
16377 #endif
16378 #ifdef HAVE_SYS_STATFS_H
16379 # include <sys/statfs.h>
16380 #endif
16382 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STATFS_F_FFREE 1
16386 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16391 #ifdef HAVE_SYS_PARAM_H
16392 # include <sys/param.h>
16393 #endif
16394 #ifdef HAVE_SYS_MOUNT_H
16395 # include <sys/mount.h>
16396 #endif
16397 #ifdef HAVE_SYS_VFS_H
16398 # include <sys/vfs.h>
16399 #endif
16400 #ifdef HAVE_SYS_STATFS_H
16401 # include <sys/statfs.h>
16402 #endif
16404 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16408 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16413 #ifdef HAVE_SYS_PARAM_H
16414 # include <sys/param.h>
16415 #endif
16416 #ifdef HAVE_SYS_MOUNT_H
16417 # include <sys/mount.h>
16418 #endif
16419 #ifdef HAVE_SYS_VFS_H
16420 # include <sys/vfs.h>
16421 #endif
16422 #ifdef HAVE_SYS_STATFS_H
16423 # include <sys/statfs.h>
16424 #endif
16426 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16430 _ACEOF
16436 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16437 #include <sys/statvfs.h>
16438 #endif
16440 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16444 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16451 #include <dirent.h>
16452 #endif
16454 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16458 _ACEOF
16464 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16465 #ifdef HAVE_SYS_SOCKET_H
16466 # include <sys/socket.h>
16467 #endif
16468 #ifdef HAVE_SYS_UN_H
16469 # include <sys/un.h>
16470 #endif
16472 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16476 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16481 #ifdef HAVE_SYS_SOCKET_H
16482 # include <sys/socket.h>
16483 #endif
16484 #ifdef HAVE_SYS_UN_H
16485 # include <sys/un.h>
16486 #endif
16488 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16492 _ACEOF
16496 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16497 #ifdef HAVE_SYS_SOCKET_H
16498 # include <sys/socket.h>
16499 #endif
16500 #ifdef HAVE_SYS_UN_H
16501 # include <sys/un.h>
16502 #endif
16504 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16508 _ACEOF
16514 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16515 #ifdef HAVE_SCSI_SG_H
16516 #include <scsi/sg.h>
16517 #endif
16519 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_SCSIREQ_T_CMD 1
16523 _ACEOF
16527 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>
16528 #ifdef HAVE_SCSI_SG_H
16529 #include <scsi/sg.h>
16530 #endif
16532 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16534 cat >>confdefs.h <<_ACEOF
16535 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16536 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16544 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_SIGINFO_T_SI_FD 1
16548 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16555 #ifdef HAVE_SYS_MTIO_H
16556 #include <sys/mtio.h>
16557 #endif
16559 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16563 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16568 #ifdef HAVE_SYS_MTIO_H
16569 #include <sys/mtio.h>
16570 #endif
16572 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16576 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16581 #ifdef HAVE_SYS_MTIO_H
16582 #include <sys/mtio.h>
16583 #endif
16585 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16589 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16596 #include <getopt.h>
16597 #endif
16599 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_OPTION_NAME 1
16603 _ACEOF
16609 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_MTIM 1
16623 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_STAT_ST_CTIM 1
16641 _ACEOF
16645 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16646 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16650 _ACEOF
16654 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16655 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_STRUCT_STAT_ST_ATIM 1
16659 _ACEOF
16663 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16664 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16668 _ACEOF
16672 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16673 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16677 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16682 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16686 _ACEOF
16690 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16691 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16695 _ACEOF
16699 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16700 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16702 cat >>confdefs.h <<_ACEOF
16703 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16704 _ACEOF
16708 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16709 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16713 _ACEOF
16719 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
16720 #include <sys/types.h>
16721 #endif
16722 #ifdef HAVE_NETINET_IN_H
16723 #include <netinet/in.h>
16724 #endif
16726 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16730 _ACEOF
16736 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16737 #include <sys/types.h>
16738 #endif
16739 #ifdef HAVE_NETINET_IN_H
16740 #include <netinet/in.h>
16741 #endif
16742 #ifdef HAVE_RESOLV_H
16743 #include <resolv.h>
16744 #endif
16746 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16748 cat >>confdefs.h <<_ACEOF
16749 #define HAVE_STRUCT___RES_STATE 1
16750 _ACEOF
16756 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
16757 #include <resolv.h>
16758 #endif
16760 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16762 cat >>confdefs.h <<_ACEOF
16763 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16764 _ACEOF
16770 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16771 #include <sys/types.h>
16772 #endif
16773 #ifdef HAVE_NETINET_IN_H
16774 # include <netinet/in.h>
16775 #endif
16776 #ifdef HAVE_ARPA_NAMESER_H
16777 # include <arpa/nameser.h>
16778 #endif
16780 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_NS_MSG__MSG_PTR 1
16784 _ACEOF
16790 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16791 #include <sys/types.h>
16792 #endif
16793 #ifdef HAVE_NETINET_IN_H
16794 #include <netinet/in.h>
16795 #endif
16796 #ifdef HAVE_NETINET_IP_H
16797 #include <netinet/ip.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IP_ICMP_H
16800 #include <netinet/ip_icmp.h>
16801 #endif
16802 #ifdef HAVE_NETINET_ICMP_VAR_H
16803 #include <netinet/icmp_var.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16810 _ACEOF
16816 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16817 #include <sys/types.h>
16818 #endif
16819 #ifdef HAVE_ALIAS_H
16820 #include <alias.h>
16821 #endif
16822 #ifdef HAVE_SYS_SOCKET_H
16823 #include <sys/socket.h>
16824 #endif
16825 #ifdef HAVE_SYS_SOCKETVAR_H
16826 #include <sys/socketvar.h>
16827 #endif
16828 #ifdef HAVE_SYS_TIMEOUT_H
16829 #include <sys/timeout.h>
16830 #endif
16831 #ifdef HAVE_NETINET_IN_H
16832 #include <netinet/in.h>
16833 #endif
16834 #ifdef HAVE_NETINET_IN_SYSTM_H
16835 #include <netinet/in_systm.h>
16836 #endif
16837 #ifdef HAVE_NETINET_IP_H
16838 #include <netinet/ip.h>
16839 #endif
16840 #ifdef HAVE_NETINET_IP_VAR_H
16841 #include <netinet/ip_var.h>
16842 #endif
16843 #ifdef HAVE_NETINET_IP_ICMP_H
16844 #include <netinet/ip_icmp.h>
16845 #endif
16846 #ifdef HAVE_NETINET_ICMP_VAR_H
16847 #include <netinet/icmp_var.h>
16848 #endif
16850 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16854 _ACEOF
16860 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16861 #include <sys/types.h>
16862 #endif
16863 #ifdef HAVE_SYS_SOCKETVAR_H
16864 #include <sys/socketvar.h>
16865 #endif
16866 #ifdef HAVE_NETINET_IN_H
16867 #include <netinet/in.h>
16868 #endif
16869 #ifdef HAVE_NETINET_IP_VAR_H
16870 #include <netinet/ip_var.h>
16871 #endif
16873 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16877 _ACEOF
16883 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
16884 #include <netinet/ip_var.h>
16885 #endif
16887 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16891 _ACEOF
16897 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16898 #include <sys/types.h>
16899 #endif
16900 #ifdef HAVE_SYS_SOCKETVAR_H
16901 #include <sys/socketvar.h>
16902 #endif
16903 #ifdef HAVE_NETINET_IN_H
16904 #include <netinet/in.h>
16905 #endif
16906 #ifdef HAVE_NETINET_TCP_H
16907 #include <netinet/tcp.h>
16908 #endif
16909 #ifdef HAVE_NETINET_TCP_VAR_H
16910 #include <netinet/tcp_var.h>
16911 #endif
16913 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16917 _ACEOF
16923 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
16924 #include <netinet/tcp_var.h>
16925 #endif
16927 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16929 cat >>confdefs.h <<_ACEOF
16930 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16931 _ACEOF
16937 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16938 #include <sys/types.h>
16939 #endif
16940 #ifdef HAVE_NETINET_IN_H
16941 #include <netinet/in.h>
16942 #endif
16943 #ifdef HAVE_NETINET_IP_VAR_H
16944 #include <netinet/ip_var.h>
16945 #endif
16946 #ifdef HAVE_NETINET_UDP_H
16947 #include <netinet/udp.h>
16948 #endif
16949 #ifdef HAVE_NETINET_UDP_VAR_H
16950 #include <netinet/udp_var.h>
16951 #endif
16953 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16955 cat >>confdefs.h <<_ACEOF
16956 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16957 _ACEOF
16963 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16964 #include <sys/types.h>
16965 #endif
16966 #ifdef HAVE_NET_IF_H
16967 # include <net/if.h>
16968 #endif
16970 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16974 _ACEOF
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16981 $as_echo_n "checking for timezone variable... " >&6; }
16982 if ${ac_cv_have_timezone+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #include <time.h>
16989 main ()
16991 timezone = 1
16993 return 0;
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 ac_cv_have_timezone="yes"
16998 else
16999 ac_cv_have_timezone="no"
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17005 $as_echo "$ac_cv_have_timezone" >&6; }
17006 if test "$ac_cv_have_timezone" = "yes"
17007 then
17009 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17013 $as_echo_n "checking for daylight variable... " >&6; }
17014 if ${ac_cv_have_daylight+:} false; then :
17015 $as_echo_n "(cached) " >&6
17016 else
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <time.h>
17021 main ()
17023 daylight = 1
17025 return 0;
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 ac_cv_have_daylight="yes"
17030 else
17031 ac_cv_have_daylight="no"
17033 rm -f core conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17037 $as_echo "$ac_cv_have_daylight" >&6; }
17038 if test "$ac_cv_have_daylight" = "yes"
17039 then
17041 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17045 ac_save_LIBS="$LIBS"
17046 LIBS="$LIBS -lm"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17048 $as_echo_n "checking for isfinite... " >&6; }
17049 if ${ac_cv_have_isfinite+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 #define _GNU_SOURCE
17055 #include <math.h>
17057 main ()
17059 float f = 0.0; return isfinite(f)
17061 return 0;
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_have_isfinite="yes"
17066 else
17067 ac_cv_have_isfinite="no"
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17073 $as_echo "$ac_cv_have_isfinite" >&6; }
17074 if test "$ac_cv_have_isfinite" = "yes"
17075 then
17077 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17082 $as_echo_n "checking for isinf... " >&6; }
17083 if ${ac_cv_have_isinf+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #include <math.h>
17090 main ()
17092 float f = 0.0; return isinf(f)
17094 return 0;
17096 _ACEOF
17097 if ac_fn_c_try_link "$LINENO"; then :
17098 ac_cv_have_isinf="yes"
17099 else
17100 ac_cv_have_isinf="no"
17102 rm -f core conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17106 $as_echo "$ac_cv_have_isinf" >&6; }
17107 if test "$ac_cv_have_isinf" = "yes"
17108 then
17110 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17115 $as_echo_n "checking for isnan... " >&6; }
17116 if ${ac_cv_have_isnan+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <math.h>
17123 main ()
17125 float f = 0.0; return isnan(f)
17127 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_have_isnan="yes"
17132 else
17133 ac_cv_have_isnan="no"
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17139 $as_echo "$ac_cv_have_isnan" >&6; }
17140 if test "$ac_cv_have_isnan" = "yes"
17141 then
17143 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17147 for ac_func in \
17148 asinh \
17149 asinhf \
17150 cbrt \
17151 cbrtf \
17152 erf \
17153 erff \
17154 exp2 \
17155 exp2f \
17156 lgamma \
17157 lgammaf \
17158 llrint \
17159 llrintf \
17160 llround \
17161 llroundf \
17162 log2 \
17163 log2f \
17164 lrint \
17165 lrintf \
17166 lround \
17167 lroundf \
17168 nearbyint \
17169 nearbyintf \
17170 powl \
17171 remainder \
17172 remainderf \
17173 rint \
17174 rintf \
17175 round \
17176 roundf \
17177 trunc \
17178 truncf
17180 do :
17181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17186 _ACEOF
17189 done
17191 LIBS="$ac_save_LIBS"
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17194 $as_echo_n "checking for __builtin_clz... " >&6; }
17195 if ${ac_cv_have___builtin_clz+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17202 main ()
17204 return __builtin_clz(1)
17206 return 0;
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_have___builtin_clz="yes"
17211 else
17212 ac_cv_have___builtin_clz="no"
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17218 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17219 if test "$ac_cv_have___builtin_clz" = "yes"
17220 then
17222 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17227 $as_echo_n "checking for __builtin_popcount... " >&6; }
17228 if ${ac_cv_have___builtin_popcount+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17235 main ()
17237 return __builtin_popcount(1)
17239 return 0;
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_have___builtin_popcount="yes"
17244 else
17245 ac_cv_have___builtin_popcount="no"
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17251 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17252 if test "$ac_cv_have___builtin_popcount" = "yes"
17253 then
17255 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17260 case $host_cpu in
17261 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17262 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17263 if ${ac_cv_cpp_def___i386__+:} false; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17268 #ifndef __i386__
17270 #endif
17271 _ACEOF
17272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17273 $EGREP "yes" >/dev/null 2>&1; then :
17274 ac_cv_cpp_def___i386__=yes
17275 else
17276 ac_cv_cpp_def___i386__=no
17278 rm -f conftest*
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17282 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17283 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17284 CFLAGS="$CFLAGS -D__i386__"
17285 LINTFLAGS="$LINTFLAGS -D__i386__"
17286 fi ;;
17287 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17288 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17289 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17293 /* end confdefs.h. */
17294 #ifndef __x86_64__
17296 #endif
17297 _ACEOF
17298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17299 $EGREP "yes" >/dev/null 2>&1; then :
17300 ac_cv_cpp_def___x86_64__=yes
17301 else
17302 ac_cv_cpp_def___x86_64__=no
17304 rm -f conftest*
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17308 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17309 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17310 CFLAGS="$CFLAGS -D__x86_64__"
17311 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17312 fi ;;
17313 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17314 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17315 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #ifndef __sparc64__
17322 #endif
17323 _ACEOF
17324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17325 $EGREP "yes" >/dev/null 2>&1; then :
17326 ac_cv_cpp_def___sparc64__=yes
17327 else
17328 ac_cv_cpp_def___sparc64__=no
17330 rm -f conftest*
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17334 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17335 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17336 CFLAGS="$CFLAGS -D__sparc64__"
17337 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17338 fi ;;
17339 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17340 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17341 if ${ac_cv_cpp_def___sparc__+:} false; then :
17342 $as_echo_n "(cached) " >&6
17343 else
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 #ifndef __sparc__
17348 #endif
17349 _ACEOF
17350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17351 $EGREP "yes" >/dev/null 2>&1; then :
17352 ac_cv_cpp_def___sparc__=yes
17353 else
17354 ac_cv_cpp_def___sparc__=no
17356 rm -f conftest*
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17360 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17361 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17362 CFLAGS="$CFLAGS -D__sparc__"
17363 LINTFLAGS="$LINTFLAGS -D__sparc__"
17364 fi ;;
17365 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17366 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17367 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17372 #ifndef __powerpc64__
17374 #endif
17375 _ACEOF
17376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17377 $EGREP "yes" >/dev/null 2>&1; then :
17378 ac_cv_cpp_def___powerpc64__=yes
17379 else
17380 ac_cv_cpp_def___powerpc64__=no
17382 rm -f conftest*
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17386 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17387 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17388 CFLAGS="$CFLAGS -D__powerpc64__"
17389 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17390 fi ;;
17391 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17392 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17393 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #ifndef __powerpc__
17400 #endif
17401 _ACEOF
17402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17403 $EGREP "yes" >/dev/null 2>&1; then :
17404 ac_cv_cpp_def___powerpc__=yes
17405 else
17406 ac_cv_cpp_def___powerpc__=no
17408 rm -f conftest*
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17412 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17413 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17414 CFLAGS="$CFLAGS -D__powerpc__"
17415 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17416 fi ;;
17417 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17418 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17419 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17420 $as_echo_n "(cached) " >&6
17421 else
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #ifndef __aarch64__
17426 #endif
17427 _ACEOF
17428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17429 $EGREP "yes" >/dev/null 2>&1; then :
17430 ac_cv_cpp_def___aarch64__=yes
17431 else
17432 ac_cv_cpp_def___aarch64__=no
17434 rm -f conftest*
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17438 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17439 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17440 CFLAGS="$CFLAGS -D__aarch64__"
17441 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17442 fi ;;
17443 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17444 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17445 if ${ac_cv_cpp_def___arm__+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #ifndef __arm__
17452 #endif
17453 _ACEOF
17454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17455 $EGREP "yes" >/dev/null 2>&1; then :
17456 ac_cv_cpp_def___arm__=yes
17457 else
17458 ac_cv_cpp_def___arm__=no
17460 rm -f conftest*
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17464 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17465 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17466 CFLAGS="$CFLAGS -D__arm__"
17467 LINTFLAGS="$LINTFLAGS -D__arm__"
17468 fi ;;
17469 esac
17471 case $host_vendor in
17472 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17473 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17474 if ${ac_cv_cpp_def___sun__+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 #ifndef __sun__
17481 #endif
17482 _ACEOF
17483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17484 $EGREP "yes" >/dev/null 2>&1; then :
17485 ac_cv_cpp_def___sun__=yes
17486 else
17487 ac_cv_cpp_def___sun__=no
17489 rm -f conftest*
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17493 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17494 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17495 CFLAGS="$CFLAGS -D__sun__"
17496 LINTFLAGS="$LINTFLAGS -D__sun__"
17497 fi ;;
17498 esac
17504 ac_config_commands="$ac_config_commands include/stamp-h"
17506 $as_echo_n "creating Makefile rules..." >&6
17508 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17509 SOCKET_LIBS = $SOCKET_LIBS
17510 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17511 IOKIT_LIBS = $IOKIT_LIBS
17512 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17513 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17514 CORESERVICES_LIBS = $CORESERVICES_LIBS
17515 APPKIT_LIBS = $APPKIT_LIBS
17516 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17517 SECURITY_LIBS = $SECURITY_LIBS
17518 COREAUDIO_LIBS = $COREAUDIO_LIBS
17519 OPENAL_LIBS = $OPENAL_LIBS
17520 OPENCL_LIBS = $OPENCL_LIBS
17521 QUICKTIME_LIBS = $QUICKTIME_LIBS
17522 CARBON_LIBS = $CARBON_LIBS
17523 PTHREAD_LIBS = $PTHREAD_LIBS
17524 X_CFLAGS = $X_CFLAGS
17525 X_PRE_LIBS = $X_PRE_LIBS
17526 X_LIBS = $X_LIBS
17527 X_EXTRA_LIBS = $X_EXTRA_LIBS
17528 PCAP_LIBS = $PCAP_LIBS
17529 XML2_CFLAGS = $XML2_CFLAGS
17530 XML2_LIBS = $XML2_LIBS
17531 XSLT_CFLAGS = $XSLT_CFLAGS
17532 XSLT_LIBS = $XSLT_LIBS
17533 DBUS_CFLAGS = $DBUS_CFLAGS
17534 DBUS_LIBS = $DBUS_LIBS
17535 HAL_CFLAGS = $HAL_CFLAGS
17536 HAL_LIBS = $HAL_LIBS
17537 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17538 GNUTLS_LIBS = $GNUTLS_LIBS
17539 SANE_CFLAGS = $SANE_CFLAGS
17540 SANE_LIBS = $SANE_LIBS
17541 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17542 GPHOTO2_LIBS = $GPHOTO2_LIBS
17543 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17544 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17545 RESOLV_LIBS = $RESOLV_LIBS
17546 LCMS2_CFLAGS = $LCMS2_CFLAGS
17547 LCMS2_LIBS = $LCMS2_LIBS
17548 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17549 FREETYPE_LIBS = $FREETYPE_LIBS
17550 Z_LIBS = $Z_LIBS
17551 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17552 PULSE_CFLAGS = $PULSE_CFLAGS
17553 PULSE_LIBS = $PULSE_LIBS
17554 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17555 GSTREAMER_LIBS = $GSTREAMER_LIBS
17556 ALSA_LIBS = $ALSA_LIBS
17557 OSS4_CFLAGS = $OSS4_CFLAGS
17558 UDEV_CFLAGS = $UDEV_CFLAGS
17559 UDEV_LIBS = $UDEV_LIBS
17560 CAPI20_CFLAGS = $CAPI20_CFLAGS
17561 CAPI20_LIBS = $CAPI20_LIBS
17562 CUPS_CFLAGS = $CUPS_CFLAGS
17563 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17564 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17565 JPEG_CFLAGS = $JPEG_CFLAGS
17566 JPEG_LIBS = $JPEG_LIBS
17567 PNG_CFLAGS = $PNG_CFLAGS
17568 PNG_LIBS = $PNG_LIBS
17569 TIFF_CFLAGS = $TIFF_CFLAGS
17570 TIFF_LIBS = $TIFF_LIBS
17571 MPG123_CFLAGS = $MPG123_CFLAGS
17572 MPG123_LIBS = $MPG123_LIBS
17573 KSTAT_LIBS = $KSTAT_LIBS
17574 PROCSTAT_LIBS = $PROCSTAT_LIBS
17575 NETAPI_CFLAGS = $NETAPI_CFLAGS
17576 NETAPI_LIBS = $NETAPI_LIBS
17577 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17578 DL_LIBS = $DL_LIBS
17579 POLL_LIBS = $POLL_LIBS
17580 RT_LIBS = $RT_LIBS
17581 LDAP_LIBS = $LDAP_LIBS
17586 wine_fn_append_rule "
17587 # Rules automatically generated by configure
17589 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17591 .INIT: Makefile
17592 .MAKEFILEDEPS:
17593 all: Makefile
17594 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17595 @./config.status Make.tmp Makefile
17596 depend: \$(MAKEDEP) dummy
17597 \$(MAKEDEP)"
17599 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17600 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17602 if test "x$enable_fonts" != xno; then
17603 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17604 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17605 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17606 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17607 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17608 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17610 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17611 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17612 ac_config_links="$ac_config_links wine:tools/winewrapper"
17613 wine_fn_config_symlink wine
17614 if test "x$enable_win64" != xno; then
17615 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17616 wine_fn_config_symlink wine64
17619 wine_fn_config_dll acledit enable_acledit
17620 wine_fn_config_dll aclui enable_aclui implib
17621 wine_fn_config_dll activeds enable_activeds implib
17622 wine_fn_config_dll actxprxy enable_actxprxy clean
17623 wine_fn_config_lib adsiid
17624 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17625 wine_fn_config_test dlls/advapi32/tests advapi32_test
17626 wine_fn_config_dll advpack enable_advpack implib
17627 wine_fn_config_test dlls/advpack/tests advpack_test
17628 wine_fn_config_dll amstream enable_amstream clean
17629 wine_fn_config_test dlls/amstream/tests amstream_test
17630 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17631 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17634 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17639 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17642 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17644 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17646 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17650 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17651 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17655 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17656 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17657 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17658 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17661 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17664 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17666 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17668 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17670 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17671 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17673 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17674 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17675 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17677 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17678 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17679 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17681 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17685 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17686 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17689 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17693 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17695 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17697 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17698 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17705 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17708 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17713 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17717 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17719 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17720 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17722 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17723 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17733 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17734 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17735 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17736 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17737 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17738 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17742 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17743 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17744 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17745 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17746 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17747 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17748 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17749 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17750 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17751 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17752 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17753 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17754 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17755 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17756 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17757 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17758 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17759 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17760 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17761 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17762 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17763 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17764 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17765 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17766 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17767 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17768 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17769 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17770 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17771 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17772 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17773 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17774 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17775 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17776 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17777 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17778 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17779 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17780 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17781 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17782 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17783 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17784 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17785 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17786 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17787 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17788 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17789 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17790 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17791 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17792 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17793 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17794 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17795 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17796 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17797 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17798 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17799 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17800 wine_fn_config_dll apphelp enable_apphelp
17801 wine_fn_config_test dlls/apphelp/tests apphelp_test
17802 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17803 wine_fn_config_dll atl enable_atl clean,implib
17804 wine_fn_config_test dlls/atl/tests atl_test
17805 wine_fn_config_dll atl100 enable_atl100 clean,implib
17806 wine_fn_config_test dlls/atl100/tests atl100_test
17807 wine_fn_config_dll atl110 enable_atl110 clean
17808 wine_fn_config_dll atl80 enable_atl80 clean,implib
17809 wine_fn_config_test dlls/atl80/tests atl80_test
17810 wine_fn_config_dll atl90 enable_atl90 clean
17811 wine_fn_config_dll authz enable_authz
17812 wine_fn_config_dll avicap32 enable_avicap32 implib
17813 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17814 wine_fn_config_test dlls/avifil32/tests avifil32_test
17815 wine_fn_config_dll avifile.dll16 enable_win16
17816 wine_fn_config_dll avrt enable_avrt implib
17817 wine_fn_config_dll bcrypt enable_bcrypt implib
17818 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17819 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17820 wine_fn_config_dll browseui enable_browseui clean
17821 wine_fn_config_test dlls/browseui/tests browseui_test
17822 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17823 wine_fn_config_dll cabinet enable_cabinet implib
17824 wine_fn_config_test dlls/cabinet/tests cabinet_test
17825 wine_fn_config_dll capi2032 enable_capi2032 implib
17826 wine_fn_config_dll cards enable_cards implib
17827 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17828 wine_fn_config_dll clusapi enable_clusapi implib
17829 wine_fn_config_dll combase enable_combase
17830 wine_fn_config_test dlls/combase/tests combase_test
17831 wine_fn_config_dll comcat enable_comcat
17832 wine_fn_config_test dlls/comcat/tests comcat_test
17833 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17834 wine_fn_config_test dlls/comctl32/tests comctl32_test
17835 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17836 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17837 wine_fn_config_dll comm.drv16 enable_win16
17838 wine_fn_config_dll commdlg.dll16 enable_win16
17839 wine_fn_config_dll compobj.dll16 enable_win16
17840 wine_fn_config_dll compstui enable_compstui implib
17841 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17842 wine_fn_config_dll concrt140 enable_concrt140
17843 wine_fn_config_dll connect enable_connect
17844 wine_fn_config_dll credui enable_credui clean,implib
17845 wine_fn_config_test dlls/credui/tests credui_test
17846 wine_fn_config_dll crtdll enable_crtdll
17847 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17848 wine_fn_config_test dlls/crypt32/tests crypt32_test
17849 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17850 wine_fn_config_dll cryptdll enable_cryptdll implib
17851 wine_fn_config_dll cryptext enable_cryptext
17852 wine_fn_config_dll cryptnet enable_cryptnet implib
17853 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17854 wine_fn_config_dll cryptui enable_cryptui clean,implib
17855 wine_fn_config_test dlls/cryptui/tests cryptui_test
17856 wine_fn_config_dll ctapi32 enable_ctapi32
17857 wine_fn_config_dll ctl3d.dll16 enable_win16
17858 wine_fn_config_dll ctl3d32 enable_ctl3d32
17859 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17860 wine_fn_config_dll d2d1 enable_d2d1 implib
17861 wine_fn_config_test dlls/d2d1/tests d2d1_test
17862 wine_fn_config_dll d3d10 enable_d3d10 implib
17863 wine_fn_config_test dlls/d3d10/tests d3d10_test
17864 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17865 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17866 wine_fn_config_dll d3d10core enable_d3d10core implib
17867 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17868 wine_fn_config_dll d3d11 enable_d3d11 implib
17869 wine_fn_config_test dlls/d3d11/tests d3d11_test
17870 wine_fn_config_dll d3d8 enable_d3d8 implib
17871 wine_fn_config_test dlls/d3d8/tests d3d8_test
17872 wine_fn_config_dll d3d9 enable_d3d9 implib
17873 wine_fn_config_test dlls/d3d9/tests d3d9_test
17874 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17875 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17876 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17877 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17878 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17879 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17880 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17881 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17882 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17883 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17884 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17885 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17886 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17887 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17888 wine_fn_config_dll d3dim enable_d3dim
17889 wine_fn_config_dll d3drm enable_d3drm implib
17890 wine_fn_config_test dlls/d3drm/tests d3drm_test
17891 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17892 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17893 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17894 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17895 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17896 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17897 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17898 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17899 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17900 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17901 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17902 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17903 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17904 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17905 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17906 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17907 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17908 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17909 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17910 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17911 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17912 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17913 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17914 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17915 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17916 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17917 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17918 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17919 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17920 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17921 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17922 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17923 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17924 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17925 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17926 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17927 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17928 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17929 wine_fn_config_dll davclnt enable_davclnt
17930 wine_fn_config_dll dbgeng enable_dbgeng implib
17931 wine_fn_config_dll dbghelp enable_dbghelp implib
17932 wine_fn_config_dll dciman32 enable_dciman32 implib
17933 wine_fn_config_dll ddeml.dll16 enable_win16
17934 wine_fn_config_dll ddraw enable_ddraw clean,implib
17935 wine_fn_config_test dlls/ddraw/tests ddraw_test
17936 wine_fn_config_dll ddrawex enable_ddrawex clean
17937 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17938 wine_fn_config_dll devenum enable_devenum clean
17939 wine_fn_config_test dlls/devenum/tests devenum_test
17940 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17941 wine_fn_config_dll difxapi enable_difxapi
17942 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17943 wine_fn_config_test dlls/dinput/tests dinput_test
17944 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17945 wine_fn_config_test dlls/dinput8/tests dinput8_test
17946 wine_fn_config_dll dispdib.dll16 enable_win16
17947 wine_fn_config_dll dispex enable_dispex clean
17948 wine_fn_config_test dlls/dispex/tests dispex_test
17949 wine_fn_config_dll display.drv16 enable_win16
17950 wine_fn_config_dll dmband enable_dmband clean
17951 wine_fn_config_test dlls/dmband/tests dmband_test
17952 wine_fn_config_dll dmcompos enable_dmcompos clean
17953 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17954 wine_fn_config_dll dmime enable_dmime clean
17955 wine_fn_config_test dlls/dmime/tests dmime_test
17956 wine_fn_config_dll dmloader enable_dmloader clean
17957 wine_fn_config_test dlls/dmloader/tests dmloader_test
17958 wine_fn_config_dll dmscript enable_dmscript clean
17959 wine_fn_config_test dlls/dmscript/tests dmscript_test
17960 wine_fn_config_dll dmstyle enable_dmstyle clean
17961 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17962 wine_fn_config_dll dmsynth enable_dmsynth clean
17963 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17964 wine_fn_config_dll dmusic enable_dmusic clean
17965 wine_fn_config_test dlls/dmusic/tests dmusic_test
17966 wine_fn_config_dll dmusic32 enable_dmusic32
17967 wine_fn_config_dll dnsapi enable_dnsapi implib
17968 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17969 wine_fn_config_dll dplay enable_dplay
17970 wine_fn_config_dll dplayx enable_dplayx clean,implib
17971 wine_fn_config_test dlls/dplayx/tests dplayx_test
17972 wine_fn_config_dll dpnaddr enable_dpnaddr
17973 wine_fn_config_dll dpnet enable_dpnet clean,implib
17974 wine_fn_config_test dlls/dpnet/tests dpnet_test
17975 wine_fn_config_dll dpnhpast enable_dpnhpast
17976 wine_fn_config_dll dpnlobby enable_dpnlobby
17977 wine_fn_config_dll dpvoice enable_dpvoice clean
17978 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17979 wine_fn_config_dll dpwsockx enable_dpwsockx
17980 wine_fn_config_dll drmclien enable_drmclien
17981 wine_fn_config_dll dsound enable_dsound clean,implib
17982 wine_fn_config_test dlls/dsound/tests dsound_test
17983 wine_fn_config_dll dssenh enable_dssenh
17984 wine_fn_config_test dlls/dssenh/tests dssenh_test
17985 wine_fn_config_dll dswave enable_dswave clean
17986 wine_fn_config_test dlls/dswave/tests dswave_test
17987 wine_fn_config_dll dwmapi enable_dwmapi implib
17988 wine_fn_config_dll dwrite enable_dwrite implib
17989 wine_fn_config_test dlls/dwrite/tests dwrite_test
17990 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17991 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17992 wine_fn_config_lib dxerr8
17993 wine_fn_config_lib dxerr9
17994 wine_fn_config_dll dxgi enable_dxgi implib
17995 wine_fn_config_test dlls/dxgi/tests dxgi_test
17996 wine_fn_config_lib dxguid
17997 wine_fn_config_dll dxva2 enable_dxva2
17998 wine_fn_config_dll esent enable_esent
17999 wine_fn_config_dll evr enable_evr
18000 wine_fn_config_dll explorerframe enable_explorerframe clean
18001 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18002 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18003 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18004 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18005 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18006 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18007 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18008 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18009 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18010 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18011 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18012 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18013 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18014 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18015 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18016 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
18017 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18018 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18019 wine_fn_config_dll faultrep enable_faultrep implib
18020 wine_fn_config_test dlls/faultrep/tests faultrep_test
18021 wine_fn_config_dll fltlib enable_fltlib
18022 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18023 wine_fn_config_dll fntcache enable_fntcache
18024 wine_fn_config_dll fontsub enable_fontsub
18025 wine_fn_config_dll fusion enable_fusion
18026 wine_fn_config_test dlls/fusion/tests fusion_test
18027 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18028 wine_fn_config_dll gameux enable_gameux clean
18029 wine_fn_config_test dlls/gameux/tests gameux_test
18030 wine_fn_config_dll gdi.exe16 enable_win16
18031 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18032 wine_fn_config_test dlls/gdi32/tests gdi32_test
18033 wine_fn_config_dll gdiplus enable_gdiplus implib
18034 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18035 wine_fn_config_dll glu32 enable_glu32 implib
18036 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18037 wine_fn_config_dll gpkcsp enable_gpkcsp
18038 wine_fn_config_dll hal enable_hal
18039 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18040 wine_fn_config_dll hid enable_hid implib
18041 wine_fn_config_test dlls/hid/tests hid_test
18042 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18043 wine_fn_config_dll hlink enable_hlink clean,implib
18044 wine_fn_config_test dlls/hlink/tests hlink_test
18045 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18046 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18047 wine_fn_config_dll httpapi enable_httpapi
18048 wine_fn_config_dll iccvid enable_iccvid clean
18049 wine_fn_config_dll icmp enable_icmp
18050 wine_fn_config_dll ieframe enable_ieframe clean,implib
18051 wine_fn_config_test dlls/ieframe/tests ieframe_test
18052 wine_fn_config_dll ifsmgr.vxd enable_win16
18053 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18054 wine_fn_config_dll imagehlp enable_imagehlp implib
18055 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18056 wine_fn_config_dll imm.dll16 enable_win16
18057 wine_fn_config_dll imm32 enable_imm32 implib
18058 wine_fn_config_test dlls/imm32/tests imm32_test
18059 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18060 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18061 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18062 wine_fn_config_dll inetmib1 enable_inetmib1
18063 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18064 wine_fn_config_dll infosoft enable_infosoft clean
18065 wine_fn_config_test dlls/infosoft/tests infosoft_test
18066 wine_fn_config_dll initpki enable_initpki
18067 wine_fn_config_dll inkobj enable_inkobj
18068 wine_fn_config_dll inseng enable_inseng clean
18069 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18070 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18071 wine_fn_config_dll iprop enable_iprop
18072 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18073 wine_fn_config_dll itircl enable_itircl
18074 wine_fn_config_dll itss enable_itss clean
18075 wine_fn_config_test dlls/itss/tests itss_test
18076 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18077 wine_fn_config_dll jscript enable_jscript clean
18078 wine_fn_config_test dlls/jscript/tests jscript_test
18079 wine_fn_config_dll jsproxy enable_jsproxy implib
18080 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18081 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18082 wine_fn_config_test dlls/kernel32/tests kernel32_test
18083 wine_fn_config_dll kernelbase enable_kernelbase
18084 wine_fn_config_dll keyboard.drv16 enable_win16
18085 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18086 wine_fn_config_dll ksuser enable_ksuser
18087 wine_fn_config_dll ktmw32 enable_ktmw32
18088 wine_fn_config_dll loadperf enable_loadperf implib
18089 wine_fn_config_dll localspl enable_localspl clean
18090 wine_fn_config_test dlls/localspl/tests localspl_test
18091 wine_fn_config_dll localui enable_localui clean
18092 wine_fn_config_test dlls/localui/tests localui_test
18093 wine_fn_config_dll lz32 enable_lz32 implib
18094 wine_fn_config_test dlls/lz32/tests lz32_test
18095 wine_fn_config_dll lzexpand.dll16 enable_win16
18096 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18097 wine_fn_config_test dlls/mapi32/tests mapi32_test
18098 wine_fn_config_dll mapistub enable_mapistub
18099 wine_fn_config_dll mciavi32 enable_mciavi32
18100 wine_fn_config_dll mcicda enable_mcicda
18101 wine_fn_config_dll mciqtz32 enable_mciqtz32
18102 wine_fn_config_dll mciseq enable_mciseq
18103 wine_fn_config_dll mciwave enable_mciwave
18104 wine_fn_config_dll mf enable_mf
18105 wine_fn_config_dll mf3216 enable_mf3216
18106 wine_fn_config_dll mfplat enable_mfplat
18107 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18108 wine_fn_config_dll mgmtapi enable_mgmtapi
18109 wine_fn_config_dll midimap enable_midimap
18110 wine_fn_config_dll mlang enable_mlang clean,implib
18111 wine_fn_config_test dlls/mlang/tests mlang_test
18112 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18113 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18114 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18115 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18116 wine_fn_config_dll mmdevldr.vxd enable_win16
18117 wine_fn_config_dll mmsystem.dll16 enable_win16
18118 wine_fn_config_dll monodebg.vxd enable_win16
18119 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18120 wine_fn_config_dll mouse.drv16 enable_win16
18121 wine_fn_config_dll mpr enable_mpr clean,implib
18122 wine_fn_config_test dlls/mpr/tests mpr_test
18123 wine_fn_config_dll mprapi enable_mprapi implib
18124 wine_fn_config_dll msacm.dll16 enable_win16
18125 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18126 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18127 wine_fn_config_test dlls/msacm32/tests msacm32_test
18128 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18129 wine_fn_config_dll msasn1 enable_msasn1 implib
18130 wine_fn_config_dll mscat32 enable_mscat32
18131 wine_fn_config_dll mscms enable_mscms implib
18132 wine_fn_config_test dlls/mscms/tests mscms_test
18133 wine_fn_config_dll mscoree enable_mscoree clean
18134 wine_fn_config_test dlls/mscoree/tests mscoree_test
18135 wine_fn_config_dll msctf enable_msctf clean
18136 wine_fn_config_test dlls/msctf/tests msctf_test
18137 wine_fn_config_dll msctfp enable_msctfp clean
18138 wine_fn_config_dll msdaps enable_msdaps clean
18139 wine_fn_config_dll msdelta enable_msdelta
18140 wine_fn_config_dll msdmo enable_msdmo implib
18141 wine_fn_config_test dlls/msdmo/tests msdmo_test
18142 wine_fn_config_dll msdrm enable_msdrm
18143 wine_fn_config_dll msftedit enable_msftedit
18144 wine_fn_config_dll msg711.acm enable_msg711_acm
18145 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18146 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18147 wine_fn_config_dll mshtml enable_mshtml clean,implib
18148 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18149 wine_fn_config_dll msi enable_msi clean,implib
18150 wine_fn_config_test dlls/msi/tests msi_test
18151 wine_fn_config_dll msident enable_msident clean
18152 wine_fn_config_dll msimg32 enable_msimg32 implib
18153 wine_fn_config_dll msimsg enable_msimsg
18154 wine_fn_config_dll msimtf enable_msimtf clean
18155 wine_fn_config_dll msisip enable_msisip
18156 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18157 wine_fn_config_dll msls31 enable_msls31
18158 wine_fn_config_dll msnet32 enable_msnet32
18159 wine_fn_config_dll mspatcha enable_mspatcha implib
18160 wine_fn_config_dll msports enable_msports
18161 wine_fn_config_dll msrle32 enable_msrle32 clean
18162 wine_fn_config_test dlls/msrle32/tests msrle32_test
18163 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18164 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18165 wine_fn_config_dll mssign32 enable_mssign32
18166 wine_fn_config_dll mssip32 enable_mssip32
18167 wine_fn_config_dll mstask enable_mstask clean
18168 wine_fn_config_test dlls/mstask/tests mstask_test
18169 wine_fn_config_dll msvcirt enable_msvcirt
18170 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18171 wine_fn_config_dll msvcm80 enable_msvcm80
18172 wine_fn_config_dll msvcm90 enable_msvcm90
18173 wine_fn_config_dll msvcp100 enable_msvcp100
18174 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18175 wine_fn_config_dll msvcp110 enable_msvcp110
18176 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18177 wine_fn_config_dll msvcp120 enable_msvcp120
18178 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18179 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18180 wine_fn_config_dll msvcp140 enable_msvcp140
18181 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18182 wine_fn_config_dll msvcp60 enable_msvcp60
18183 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18184 wine_fn_config_dll msvcp70 enable_msvcp70
18185 wine_fn_config_dll msvcp71 enable_msvcp71
18186 wine_fn_config_dll msvcp80 enable_msvcp80
18187 wine_fn_config_dll msvcp90 enable_msvcp90
18188 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18189 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18190 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18191 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18192 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18193 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18194 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18195 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18196 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18197 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18198 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18199 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18200 wine_fn_config_dll msvcrt enable_msvcrt implib
18201 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18202 wine_fn_config_dll msvcrt20 enable_msvcrt20
18203 wine_fn_config_dll msvcrt40 enable_msvcrt40
18204 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18205 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18206 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18207 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18208 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18209 wine_fn_config_dll msvideo.dll16 enable_win16
18210 wine_fn_config_dll mswsock enable_mswsock implib
18211 wine_fn_config_dll msxml enable_msxml clean
18212 wine_fn_config_dll msxml2 enable_msxml2 clean
18213 wine_fn_config_dll msxml3 enable_msxml3 clean
18214 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18215 wine_fn_config_dll msxml4 enable_msxml4 clean
18216 wine_fn_config_dll msxml6 enable_msxml6 clean
18217 wine_fn_config_dll mtxdm enable_mtxdm
18218 wine_fn_config_dll ncrypt enable_ncrypt
18219 wine_fn_config_dll nddeapi enable_nddeapi implib
18220 wine_fn_config_dll ndis.sys enable_ndis_sys
18221 wine_fn_config_dll netapi32 enable_netapi32 implib
18222 wine_fn_config_test dlls/netapi32/tests netapi32_test
18223 wine_fn_config_dll netcfgx enable_netcfgx clean
18224 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18225 wine_fn_config_dll netprofm enable_netprofm clean
18226 wine_fn_config_test dlls/netprofm/tests netprofm_test
18227 wine_fn_config_dll newdev enable_newdev implib
18228 wine_fn_config_dll normaliz enable_normaliz implib
18229 wine_fn_config_dll npmshtml enable_npmshtml
18230 wine_fn_config_dll npptools enable_npptools
18231 wine_fn_config_dll ntdll enable_ntdll implib
18232 wine_fn_config_test dlls/ntdll/tests ntdll_test
18233 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18234 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18235 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18236 wine_fn_config_dll ntprint enable_ntprint
18237 wine_fn_config_test dlls/ntprint/tests ntprint_test
18238 wine_fn_config_dll objsel enable_objsel clean
18239 wine_fn_config_dll odbc32 enable_odbc32 implib
18240 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18241 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18242 wine_fn_config_dll odbccu32 enable_odbccu32
18243 wine_fn_config_dll ole2.dll16 enable_win16
18244 wine_fn_config_dll ole2conv.dll16 enable_win16
18245 wine_fn_config_dll ole2disp.dll16 enable_win16
18246 wine_fn_config_dll ole2nls.dll16 enable_win16
18247 wine_fn_config_dll ole2prox.dll16 enable_win16
18248 wine_fn_config_dll ole2thk.dll16 enable_win16
18249 wine_fn_config_dll ole32 enable_ole32 clean,implib
18250 wine_fn_config_test dlls/ole32/tests ole32_test
18251 wine_fn_config_dll oleacc enable_oleacc clean,implib
18252 wine_fn_config_test dlls/oleacc/tests oleacc_test
18253 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18254 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18255 wine_fn_config_dll olecli.dll16 enable_win16
18256 wine_fn_config_dll olecli32 enable_olecli32 implib
18257 wine_fn_config_dll oledb32 enable_oledb32 clean
18258 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18259 wine_fn_config_dll oledlg enable_oledlg clean,implib
18260 wine_fn_config_test dlls/oledlg/tests oledlg_test
18261 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18262 wine_fn_config_dll olesvr.dll16 enable_win16
18263 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18264 wine_fn_config_dll olethk32 enable_olethk32
18265 wine_fn_config_dll openal32 enable_openal32
18266 wine_fn_config_dll opencl enable_opencl
18267 wine_fn_config_dll opengl32 enable_opengl32 implib
18268 wine_fn_config_test dlls/opengl32/tests opengl32_test
18269 wine_fn_config_dll packager enable_packager clean
18270 wine_fn_config_test dlls/packager/tests packager_test
18271 wine_fn_config_dll pdh enable_pdh implib
18272 wine_fn_config_test dlls/pdh/tests pdh_test
18273 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18274 wine_fn_config_dll pidgen enable_pidgen
18275 wine_fn_config_dll powrprof enable_powrprof implib
18276 wine_fn_config_dll printui enable_printui
18277 wine_fn_config_dll prntvpt enable_prntvpt
18278 wine_fn_config_dll propsys enable_propsys clean,implib
18279 wine_fn_config_test dlls/propsys/tests propsys_test
18280 wine_fn_config_dll psapi enable_psapi implib
18281 wine_fn_config_test dlls/psapi/tests psapi_test
18282 wine_fn_config_dll pstorec enable_pstorec clean
18283 wine_fn_config_test dlls/pstorec/tests pstorec_test
18284 wine_fn_config_dll qcap enable_qcap
18285 wine_fn_config_test dlls/qcap/tests qcap_test
18286 wine_fn_config_dll qedit enable_qedit clean
18287 wine_fn_config_test dlls/qedit/tests qedit_test
18288 wine_fn_config_dll qmgr enable_qmgr clean
18289 wine_fn_config_test dlls/qmgr/tests qmgr_test
18290 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18291 wine_fn_config_dll quartz enable_quartz clean,implib
18292 wine_fn_config_test dlls/quartz/tests quartz_test clean
18293 wine_fn_config_dll query enable_query
18294 wine_fn_config_dll rasapi16.dll16 enable_win16
18295 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18296 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18297 wine_fn_config_dll rasdlg enable_rasdlg implib
18298 wine_fn_config_dll regapi enable_regapi
18299 wine_fn_config_dll resutils enable_resutils implib
18300 wine_fn_config_dll riched20 enable_riched20 clean,implib
18301 wine_fn_config_test dlls/riched20/tests riched20_test
18302 wine_fn_config_dll riched32 enable_riched32
18303 wine_fn_config_test dlls/riched32/tests riched32_test
18304 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18305 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18306 wine_fn_config_dll rsabase enable_rsabase
18307 wine_fn_config_dll rsaenh enable_rsaenh implib
18308 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18309 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18310 wine_fn_config_dll rtutils enable_rtutils implib
18311 wine_fn_config_dll samlib enable_samlib
18312 wine_fn_config_dll sane.ds enable_sane_ds clean
18313 wine_fn_config_dll scarddlg enable_scarddlg
18314 wine_fn_config_dll sccbase enable_sccbase
18315 wine_fn_config_dll schannel enable_schannel
18316 wine_fn_config_test dlls/schannel/tests schannel_test
18317 wine_fn_config_dll schedsvc enable_schedsvc clean
18318 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18319 wine_fn_config_dll scrobj enable_scrobj clean
18320 wine_fn_config_dll scrrun enable_scrrun clean
18321 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18322 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18323 wine_fn_config_dll secur32 enable_secur32 implib
18324 wine_fn_config_test dlls/secur32/tests secur32_test
18325 wine_fn_config_dll security enable_security
18326 wine_fn_config_dll sensapi enable_sensapi implib
18327 wine_fn_config_dll serialui enable_serialui clean
18328 wine_fn_config_test dlls/serialui/tests serialui_test
18329 wine_fn_config_dll setupapi enable_setupapi clean,implib
18330 wine_fn_config_test dlls/setupapi/tests setupapi_test
18331 wine_fn_config_dll setupx.dll16 enable_win16
18332 wine_fn_config_dll sfc enable_sfc implib
18333 wine_fn_config_dll sfc_os enable_sfc_os implib
18334 wine_fn_config_dll shdoclc enable_shdoclc clean
18335 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18336 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18337 wine_fn_config_dll shell.dll16 enable_win16
18338 wine_fn_config_dll shell32 enable_shell32 clean,implib
18339 wine_fn_config_test dlls/shell32/tests shell32_test
18340 wine_fn_config_dll shfolder enable_shfolder implib
18341 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18342 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18343 wine_fn_config_dll slbcsp enable_slbcsp
18344 wine_fn_config_dll slc enable_slc implib
18345 wine_fn_config_test dlls/slc/tests slc_test
18346 wine_fn_config_dll snmpapi enable_snmpapi implib
18347 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18348 wine_fn_config_dll softpub enable_softpub
18349 wine_fn_config_dll sound.drv16 enable_win16
18350 wine_fn_config_dll spoolss enable_spoolss implib
18351 wine_fn_config_test dlls/spoolss/tests spoolss_test
18352 wine_fn_config_dll sspicli enable_sspicli
18353 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18354 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18355 wine_fn_config_dll sti enable_sti clean,implib
18356 wine_fn_config_test dlls/sti/tests sti_test
18357 wine_fn_config_dll storage.dll16 enable_win16
18358 wine_fn_config_dll stress.dll16 enable_win16
18359 wine_fn_config_lib strmbase
18360 wine_fn_config_lib strmiids
18361 wine_fn_config_dll svrapi enable_svrapi
18362 wine_fn_config_dll sxs enable_sxs implib
18363 wine_fn_config_test dlls/sxs/tests sxs_test
18364 wine_fn_config_dll system.drv16 enable_win16
18365 wine_fn_config_dll t2embed enable_t2embed implib
18366 wine_fn_config_test dlls/t2embed/tests t2embed_test
18367 wine_fn_config_dll tapi32 enable_tapi32 implib
18368 wine_fn_config_dll taskschd enable_taskschd clean
18369 wine_fn_config_test dlls/taskschd/tests taskschd_test
18370 wine_fn_config_dll tdi.sys enable_tdi_sys
18371 wine_fn_config_dll toolhelp.dll16 enable_win16
18372 wine_fn_config_dll traffic enable_traffic
18373 wine_fn_config_dll twain.dll16 enable_win16
18374 wine_fn_config_dll twain_32 enable_twain_32
18375 wine_fn_config_test dlls/twain_32/tests twain_32_test
18376 wine_fn_config_dll typelib.dll16 enable_win16
18377 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18378 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18379 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18380 wine_fn_config_dll unicows enable_unicows implib
18381 wine_fn_config_dll updspapi enable_updspapi
18382 wine_fn_config_dll url enable_url implib
18383 wine_fn_config_dll urlmon enable_urlmon clean,implib
18384 wine_fn_config_test dlls/urlmon/tests urlmon_test
18385 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18386 wine_fn_config_dll user.exe16 enable_win16
18387 wine_fn_config_dll user32 enable_user32 clean,implib
18388 wine_fn_config_test dlls/user32/tests user32_test
18389 wine_fn_config_dll userenv enable_userenv implib
18390 wine_fn_config_test dlls/userenv/tests userenv_test
18391 wine_fn_config_dll usp10 enable_usp10 implib
18392 wine_fn_config_test dlls/usp10/tests usp10_test
18393 wine_fn_config_lib uuid
18394 wine_fn_config_dll uxtheme enable_uxtheme implib
18395 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18396 wine_fn_config_dll vbscript enable_vbscript clean
18397 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18398 wine_fn_config_dll vcomp enable_vcomp
18399 wine_fn_config_test dlls/vcomp/tests vcomp_test
18400 wine_fn_config_dll vcomp100 enable_vcomp100
18401 wine_fn_config_dll vcomp110 enable_vcomp110
18402 wine_fn_config_dll vcomp120 enable_vcomp120
18403 wine_fn_config_dll vcomp140 enable_vcomp140
18404 wine_fn_config_dll vcomp90 enable_vcomp90
18405 wine_fn_config_dll vcruntime140 enable_vcruntime140
18406 wine_fn_config_dll vdhcp.vxd enable_win16
18407 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18408 wine_fn_config_dll ver.dll16 enable_win16
18409 wine_fn_config_dll version enable_version implib
18410 wine_fn_config_test dlls/version/tests version_test
18411 wine_fn_config_dll virtdisk enable_virtdisk
18412 wine_fn_config_dll vmm.vxd enable_win16
18413 wine_fn_config_dll vnbt.vxd enable_win16
18414 wine_fn_config_dll vnetbios.vxd enable_win16
18415 wine_fn_config_dll vssapi enable_vssapi
18416 wine_fn_config_dll vtdapi.vxd enable_win16
18417 wine_fn_config_dll vwin32.vxd enable_win16
18418 wine_fn_config_dll w32skrnl enable_win16
18419 wine_fn_config_dll w32sys.dll16 enable_win16
18420 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18421 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18422 wine_fn_config_dll wbemprox enable_wbemprox clean
18423 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18424 wine_fn_config_dll webservices enable_webservices implib
18425 wine_fn_config_test dlls/webservices/tests webservices_test
18426 wine_fn_config_dll wer enable_wer implib
18427 wine_fn_config_test dlls/wer/tests wer_test
18428 wine_fn_config_dll wevtapi enable_wevtapi
18429 wine_fn_config_dll wiaservc enable_wiaservc clean
18430 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18431 wine_fn_config_dll wimgapi enable_wimgapi
18432 wine_fn_config_dll win32s16.dll16 enable_win16
18433 wine_fn_config_dll win87em.dll16 enable_win16
18434 wine_fn_config_dll winaspi.dll16 enable_win16
18435 wine_fn_config_dll windebug.dll16 enable_win16
18436 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18437 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18438 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18439 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18440 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18441 wine_fn_config_dll winebus.sys enable_winebus_sys
18442 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18443 wine_fn_config_lib winecrt0
18444 wine_fn_config_dll wined3d enable_wined3d implib
18445 wine_fn_config_dll winegstreamer enable_winegstreamer
18446 wine_fn_config_dll winehid.sys enable_winehid_sys
18447 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18448 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18449 wine_fn_config_dll winemapi enable_winemapi
18450 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18451 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18452 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18453 wine_fn_config_dll wineps16.drv16 enable_win16
18454 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18455 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18456 wine_fn_config_dll winex11.drv enable_winex11_drv
18457 wine_fn_config_dll wing.dll16 enable_win16
18458 wine_fn_config_dll wing32 enable_wing32
18459 wine_fn_config_dll winhttp enable_winhttp clean,implib
18460 wine_fn_config_test dlls/winhttp/tests winhttp_test
18461 wine_fn_config_dll wininet enable_wininet clean,implib
18462 wine_fn_config_test dlls/wininet/tests wininet_test
18463 wine_fn_config_dll winmm enable_winmm clean,implib
18464 wine_fn_config_test dlls/winmm/tests winmm_test
18465 wine_fn_config_dll winnls.dll16 enable_win16
18466 wine_fn_config_dll winnls32 enable_winnls32 implib
18467 wine_fn_config_dll winscard enable_winscard implib
18468 wine_fn_config_dll winsock.dll16 enable_win16
18469 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18470 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18471 wine_fn_config_dll winsta enable_winsta
18472 wine_fn_config_dll wintab.dll16 enable_win16
18473 wine_fn_config_dll wintab32 enable_wintab32 implib
18474 wine_fn_config_test dlls/wintab32/tests wintab32_test
18475 wine_fn_config_dll wintrust enable_wintrust implib
18476 wine_fn_config_test dlls/wintrust/tests wintrust_test
18477 wine_fn_config_dll winusb enable_winusb
18478 wine_fn_config_dll wlanapi enable_wlanapi implib
18479 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18480 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18481 wine_fn_config_test dlls/wldap32/tests wldap32_test
18482 wine_fn_config_dll wmasf enable_wmasf
18483 wine_fn_config_dll wmi enable_wmi
18484 wine_fn_config_dll wmiutils enable_wmiutils clean
18485 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18486 wine_fn_config_dll wmp enable_wmp clean
18487 wine_fn_config_test dlls/wmp/tests wmp_test
18488 wine_fn_config_dll wmvcore enable_wmvcore implib
18489 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18490 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18491 wine_fn_config_dll wow32 enable_win16 implib
18492 wine_fn_config_dll wpc enable_wpc clean
18493 wine_fn_config_test dlls/wpc/tests wpc_test
18494 wine_fn_config_dll wpcap enable_wpcap
18495 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18496 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18497 wine_fn_config_dll wsdapi enable_wsdapi implib
18498 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18499 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18500 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18501 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18502 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18503 wine_fn_config_dll wsock32 enable_wsock32 implib
18504 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18505 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18506 wine_fn_config_dll wuapi enable_wuapi clean
18507 wine_fn_config_dll wuaueng enable_wuaueng
18508 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18509 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18510 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18511 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18512 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18513 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18514 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18515 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18516 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18517 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18518 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18519 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18520 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18521 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18522 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18523 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18524 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18525 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18526 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18527 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18528 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18529 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18530 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18531 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18532 wine_fn_config_dll xinput1_1 enable_xinput1_1
18533 wine_fn_config_dll xinput1_2 enable_xinput1_2
18534 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18535 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18536 wine_fn_config_dll xinput1_4 enable_xinput1_4
18537 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18538 wine_fn_config_dll xmllite enable_xmllite implib
18539 wine_fn_config_test dlls/xmllite/tests xmllite_test
18540 wine_fn_config_dll xolehlp enable_xolehlp
18541 wine_fn_config_dll xpsprint enable_xpsprint
18542 wine_fn_config_dll xpssvcs enable_xpssvcs
18543 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18544 wine_fn_config_makefile include enable_include clean,install-dev
18545 wine_fn_config_makefile libs/port enable_libs_port
18546 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18547 wine_fn_config_makefile libs/wpp enable_libs_wpp
18548 wine_fn_config_makefile loader enable_loader clean,install-lib
18549 wine_fn_config_makefile po enable_po clean
18550 wine_fn_config_program arp enable_arp install
18551 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18552 wine_fn_config_program attrib enable_attrib clean,install
18553 wine_fn_config_program cabarc enable_cabarc install
18554 wine_fn_config_program cacls enable_cacls install
18555 wine_fn_config_program clock enable_clock clean,install
18556 wine_fn_config_program cmd enable_cmd clean,install
18557 wine_fn_config_test programs/cmd/tests cmd.exe_test
18558 wine_fn_config_program conhost enable_conhost install
18559 wine_fn_config_program control enable_control install
18560 wine_fn_config_program cscript enable_cscript clean,install
18561 wine_fn_config_program dpnsvr enable_dpnsvr install
18562 wine_fn_config_program dxdiag enable_dxdiag clean,install
18563 wine_fn_config_program eject enable_eject install
18564 wine_fn_config_program expand enable_expand install
18565 wine_fn_config_program explorer enable_explorer clean,install
18566 wine_fn_config_program extrac32 enable_extrac32 install
18567 wine_fn_config_program findstr enable_findstr install
18568 wine_fn_config_program fsutil enable_fsutil install
18569 wine_fn_config_program hh enable_hh install
18570 wine_fn_config_program hostname enable_hostname clean,install
18571 wine_fn_config_program icacls enable_icacls install
18572 wine_fn_config_program icinfo enable_icinfo install
18573 wine_fn_config_program iexplore enable_iexplore install
18574 wine_fn_config_program ipconfig enable_ipconfig clean,install
18575 wine_fn_config_program lodctr enable_lodctr install
18576 wine_fn_config_program mofcomp enable_mofcomp install
18577 wine_fn_config_program mshta enable_mshta install
18578 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18579 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18580 wine_fn_config_program net enable_net clean,install
18581 wine_fn_config_program netsh enable_netsh install
18582 wine_fn_config_program netstat enable_netstat clean,install
18583 wine_fn_config_program ngen enable_ngen install
18584 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18585 wine_fn_config_program oleview enable_oleview clean,install
18586 wine_fn_config_program ping enable_ping install
18587 wine_fn_config_program plugplay enable_plugplay install
18588 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18589 wine_fn_config_program progman enable_progman clean,install
18590 wine_fn_config_program reg enable_reg clean,install
18591 wine_fn_config_test programs/reg/tests reg.exe_test
18592 wine_fn_config_program regasm enable_regasm install
18593 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18594 wine_fn_config_test programs/regedit/tests regedit.exe_test
18595 wine_fn_config_program regsvcs enable_regsvcs install
18596 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18597 wine_fn_config_program rpcss enable_rpcss clean,install
18598 wine_fn_config_program rundll.exe16 enable_win16 install
18599 wine_fn_config_program rundll32 enable_rundll32 install
18600 wine_fn_config_program sc enable_sc install
18601 wine_fn_config_program schtasks enable_schtasks install
18602 wine_fn_config_program sdbinst enable_sdbinst install
18603 wine_fn_config_program secedit enable_secedit install
18604 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18605 wine_fn_config_program services enable_services clean,install
18606 wine_fn_config_test programs/services/tests services.exe_test
18607 wine_fn_config_program shutdown enable_shutdown install
18608 wine_fn_config_program spoolsv enable_spoolsv install
18609 wine_fn_config_program start enable_start clean,install
18610 wine_fn_config_program subst enable_subst install
18611 wine_fn_config_program svchost enable_svchost install
18612 wine_fn_config_program systeminfo enable_systeminfo install
18613 wine_fn_config_program taskkill enable_taskkill clean,install
18614 wine_fn_config_program tasklist enable_tasklist install
18615 wine_fn_config_program taskmgr enable_taskmgr clean,install
18616 wine_fn_config_program termsv enable_termsv install
18617 wine_fn_config_program uninstaller enable_uninstaller clean,install
18618 wine_fn_config_program unlodctr enable_unlodctr install
18619 wine_fn_config_program view enable_view clean,install
18620 wine_fn_config_program wevtutil enable_wevtutil install
18621 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18622 wine_fn_config_program winebrowser enable_winebrowser install
18623 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18624 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18625 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18626 wine_fn_config_program winedevice enable_winedevice install
18627 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18628 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18629 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18630 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18631 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18632 wine_fn_config_program winetest enable_winetest clean
18633 wine_fn_config_program winevdm enable_win16 install
18634 wine_fn_config_program winhelp.exe16 enable_win16 install
18635 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18636 wine_fn_config_program winoldap.mod16 enable_win16 install
18637 wine_fn_config_program winver enable_winver install
18638 wine_fn_config_program wmic enable_wmic clean,install
18639 wine_fn_config_program wmplayer enable_wmplayer install
18640 wine_fn_config_program wordpad enable_wordpad clean,install
18641 wine_fn_config_program write enable_write clean,install
18642 wine_fn_config_program wscript enable_wscript clean,install
18643 wine_fn_config_test programs/wscript/tests wscript.exe_test
18644 wine_fn_config_program wusa enable_wusa install
18645 wine_fn_config_program xcopy enable_xcopy clean,install
18646 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18647 wine_fn_config_makefile server enable_server clean,install-lib
18648 wine_fn_config_tool tools clean
18649 wine_fn_config_tool tools/sfnt2fon clean
18650 wine_fn_config_tool tools/widl clean,install-dev
18651 wine_fn_config_tool tools/winebuild clean,install-dev
18652 wine_fn_config_tool tools/winedump clean,install-dev
18653 wine_fn_config_tool tools/winegcc clean,install-dev
18654 wine_fn_config_tool tools/winemaker clean,install-dev
18655 wine_fn_config_tool tools/wmc clean,install-dev
18656 wine_fn_config_tool tools/wrc clean,install-dev
18659 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18660 wine_fn_append_file CONFIGURE_TARGETS "tags"
18661 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18662 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18663 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18664 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18665 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18666 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18668 if test "x$enable_tools" != xno
18669 then
18670 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18671 ac_config_commands="$ac_config_commands tools/makedep"
18675 ac_config_commands="$ac_config_commands Makefile"
18678 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18682 if test "x$enable_maintainer_mode" = xyes
18683 then
18684 wine_fn_append_rule "configure: configure.ac aclocal.m4
18685 autoconf --warnings=all
18686 include/config.h.in: include/stamp-h.in
18687 include/stamp-h.in: configure.ac aclocal.m4
18688 autoheader --warnings=all
18689 @echo timestamp > \$@"
18692 if test "x$enable_tools" != xno
18693 then
18694 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18695 @./config.status tools/makedep
18696 Makefile: tools/makedep$ac_exeext"
18697 else
18698 wine_fn_append_rule "\$(MAKEDEP):
18699 @echo \"You need to run make in $TOOLSDIR first\" && false"
18702 if test -n "$with_wine64"
18703 then
18704 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18705 fonts server:
18706 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18707 $with_wine64/loader/wine:
18708 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18709 $with_wine64/loader/wine-preloader:
18710 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18711 clean::
18712 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18713 else
18714 WINELOADER_INSTALL="wine.inf"
18716 wine_fn_append_rule "install install-lib::
18717 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18718 uninstall::
18719 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18720 case $host_os in
18721 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18722 *) wine_fn_append_rule "install install-lib::
18723 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18724 uninstall::
18725 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18726 esac
18729 $as_echo " done" >&6
18730 cat >confcache <<\_ACEOF
18731 # This file is a shell script that caches the results of configure
18732 # tests run on this system so they can be shared between configure
18733 # scripts and configure runs, see configure's option --config-cache.
18734 # It is not useful on other systems. If it contains results you don't
18735 # want to keep, you may remove or edit it.
18737 # config.status only pays attention to the cache file if you give it
18738 # the --recheck option to rerun configure.
18740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18742 # following values.
18744 _ACEOF
18746 # The following way of writing the cache mishandles newlines in values,
18747 # but we know of no workaround that is simple, portable, and efficient.
18748 # So, we kill variables containing newlines.
18749 # Ultrix sh set writes to stderr and can't be redirected directly,
18750 # and sets the high bit in the cache file unless we assign to the vars.
18752 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18753 eval ac_val=\$$ac_var
18754 case $ac_val in #(
18755 *${as_nl}*)
18756 case $ac_var in #(
18757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18758 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18759 esac
18760 case $ac_var in #(
18761 _ | IFS | as_nl) ;; #(
18762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18763 *) { eval $ac_var=; unset $ac_var;} ;;
18764 esac ;;
18765 esac
18766 done
18768 (set) 2>&1 |
18769 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18770 *${as_nl}ac_space=\ *)
18771 # `set' does not quote correctly, so add quotes: double-quote
18772 # substitution turns \\\\ into \\, and sed turns \\ into \.
18773 sed -n \
18774 "s/'/'\\\\''/g;
18775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18776 ;; #(
18778 # `set' quotes correctly as required by POSIX, so do not add quotes.
18779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18781 esac |
18782 sort
18784 sed '
18785 /^ac_cv_env_/b end
18786 t clear
18787 :clear
18788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18789 t end
18790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18791 :end' >>confcache
18792 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18793 if test -w "$cache_file"; then
18794 if test "x$cache_file" != "x/dev/null"; then
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18796 $as_echo "$as_me: updating cache $cache_file" >&6;}
18797 if test ! -f "$cache_file" || test -h "$cache_file"; then
18798 cat confcache >"$cache_file"
18799 else
18800 case $cache_file in #(
18801 */* | ?:*)
18802 mv -f confcache "$cache_file"$$ &&
18803 mv -f "$cache_file"$$ "$cache_file" ;; #(
18805 mv -f confcache "$cache_file" ;;
18806 esac
18809 else
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18811 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18814 rm -f confcache
18816 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18817 # Let make expand exec_prefix.
18818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18820 DEFS=-DHAVE_CONFIG_H
18822 ac_libobjs=
18823 ac_ltlibobjs=
18825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18826 # 1. Remove the extension, and $U if already installed.
18827 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18828 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18829 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18830 # will be set to the directory where LIBOBJS objects are built.
18831 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18832 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18833 done
18834 LIBOBJS=$ac_libobjs
18836 LTLIBOBJS=$ac_ltlibobjs
18840 : "${CONFIG_STATUS=./config.status}"
18841 ac_write_fail=0
18842 ac_clean_files_save=$ac_clean_files
18843 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18845 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18846 as_write_fail=0
18847 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18848 #! $SHELL
18849 # Generated by $as_me.
18850 # Run this file to recreate the current configuration.
18851 # Compiler output produced by configure, useful for debugging
18852 # configure, is in config.log if it exists.
18854 debug=false
18855 ac_cs_recheck=false
18856 ac_cs_silent=false
18858 SHELL=\${CONFIG_SHELL-$SHELL}
18859 export SHELL
18860 _ASEOF
18861 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18862 ## -------------------- ##
18863 ## M4sh Initialization. ##
18864 ## -------------------- ##
18866 # Be more Bourne compatible
18867 DUALCASE=1; export DUALCASE # for MKS sh
18868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18869 emulate sh
18870 NULLCMD=:
18871 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18872 # is contrary to our usage. Disable this feature.
18873 alias -g '${1+"$@"}'='"$@"'
18874 setopt NO_GLOB_SUBST
18875 else
18876 case `(set -o) 2>/dev/null` in #(
18877 *posix*) :
18878 set -o posix ;; #(
18879 *) :
18881 esac
18885 as_nl='
18887 export as_nl
18888 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18889 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18890 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18892 # Prefer a ksh shell builtin over an external printf program on Solaris,
18893 # but without wasting forks for bash or zsh.
18894 if test -z "$BASH_VERSION$ZSH_VERSION" \
18895 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18896 as_echo='print -r --'
18897 as_echo_n='print -rn --'
18898 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18899 as_echo='printf %s\n'
18900 as_echo_n='printf %s'
18901 else
18902 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18903 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18904 as_echo_n='/usr/ucb/echo -n'
18905 else
18906 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18907 as_echo_n_body='eval
18908 arg=$1;
18909 case $arg in #(
18910 *"$as_nl"*)
18911 expr "X$arg" : "X\\(.*\\)$as_nl";
18912 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18913 esac;
18914 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18916 export as_echo_n_body
18917 as_echo_n='sh -c $as_echo_n_body as_echo'
18919 export as_echo_body
18920 as_echo='sh -c $as_echo_body as_echo'
18923 # The user is always right.
18924 if test "${PATH_SEPARATOR+set}" != set; then
18925 PATH_SEPARATOR=:
18926 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18927 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18928 PATH_SEPARATOR=';'
18933 # IFS
18934 # We need space, tab and new line, in precisely that order. Quoting is
18935 # there to prevent editors from complaining about space-tab.
18936 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18937 # splitting by setting IFS to empty value.)
18938 IFS=" "" $as_nl"
18940 # Find who we are. Look in the path if we contain no directory separator.
18941 as_myself=
18942 case $0 in #((
18943 *[\\/]* ) as_myself=$0 ;;
18944 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18945 for as_dir in $PATH
18947 IFS=$as_save_IFS
18948 test -z "$as_dir" && as_dir=.
18949 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18950 done
18951 IFS=$as_save_IFS
18954 esac
18955 # We did not find ourselves, most probably we were run as `sh COMMAND'
18956 # in which case we are not to be found in the path.
18957 if test "x$as_myself" = x; then
18958 as_myself=$0
18960 if test ! -f "$as_myself"; then
18961 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18962 exit 1
18965 # Unset variables that we do not need and which cause bugs (e.g. in
18966 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18967 # suppresses any "Segmentation fault" message there. '((' could
18968 # trigger a bug in pdksh 5.2.14.
18969 for as_var in BASH_ENV ENV MAIL MAILPATH
18970 do eval test x\${$as_var+set} = xset \
18971 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18972 done
18973 PS1='$ '
18974 PS2='> '
18975 PS4='+ '
18977 # NLS nuisances.
18978 LC_ALL=C
18979 export LC_ALL
18980 LANGUAGE=C
18981 export LANGUAGE
18983 # CDPATH.
18984 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18987 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18988 # ----------------------------------------
18989 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18990 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18991 # script with STATUS, using 1 if that was 0.
18992 as_fn_error ()
18994 as_status=$1; test $as_status -eq 0 && as_status=1
18995 if test "$4"; then
18996 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18997 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18999 $as_echo "$as_me: error: $2" >&2
19000 as_fn_exit $as_status
19001 } # as_fn_error
19004 # as_fn_set_status STATUS
19005 # -----------------------
19006 # Set $? to STATUS, without forking.
19007 as_fn_set_status ()
19009 return $1
19010 } # as_fn_set_status
19012 # as_fn_exit STATUS
19013 # -----------------
19014 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19015 as_fn_exit ()
19017 set +e
19018 as_fn_set_status $1
19019 exit $1
19020 } # as_fn_exit
19022 # as_fn_unset VAR
19023 # ---------------
19024 # Portably unset VAR.
19025 as_fn_unset ()
19027 { eval $1=; unset $1;}
19029 as_unset=as_fn_unset
19030 # as_fn_append VAR VALUE
19031 # ----------------------
19032 # Append the text in VALUE to the end of the definition contained in VAR. Take
19033 # advantage of any shell optimizations that allow amortized linear growth over
19034 # repeated appends, instead of the typical quadratic growth present in naive
19035 # implementations.
19036 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19037 eval 'as_fn_append ()
19039 eval $1+=\$2
19041 else
19042 as_fn_append ()
19044 eval $1=\$$1\$2
19046 fi # as_fn_append
19048 # as_fn_arith ARG...
19049 # ------------------
19050 # Perform arithmetic evaluation on the ARGs, and store the result in the
19051 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19052 # must be portable across $(()) and expr.
19053 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19054 eval 'as_fn_arith ()
19056 as_val=$(( $* ))
19058 else
19059 as_fn_arith ()
19061 as_val=`expr "$@" || test $? -eq 1`
19063 fi # as_fn_arith
19066 if expr a : '\(a\)' >/dev/null 2>&1 &&
19067 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19068 as_expr=expr
19069 else
19070 as_expr=false
19073 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19074 as_basename=basename
19075 else
19076 as_basename=false
19079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19080 as_dirname=dirname
19081 else
19082 as_dirname=false
19085 as_me=`$as_basename -- "$0" ||
19086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19087 X"$0" : 'X\(//\)$' \| \
19088 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19089 $as_echo X/"$0" |
19090 sed '/^.*\/\([^/][^/]*\)\/*$/{
19091 s//\1/
19094 /^X\/\(\/\/\)$/{
19095 s//\1/
19098 /^X\/\(\/\).*/{
19099 s//\1/
19102 s/.*/./; q'`
19104 # Avoid depending upon Character Ranges.
19105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19108 as_cr_digits='0123456789'
19109 as_cr_alnum=$as_cr_Letters$as_cr_digits
19111 ECHO_C= ECHO_N= ECHO_T=
19112 case `echo -n x` in #(((((
19113 -n*)
19114 case `echo 'xy\c'` in
19115 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19116 xy) ECHO_C='\c';;
19117 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19118 ECHO_T=' ';;
19119 esac;;
19121 ECHO_N='-n';;
19122 esac
19124 rm -f conf$$ conf$$.exe conf$$.file
19125 if test -d conf$$.dir; then
19126 rm -f conf$$.dir/conf$$.file
19127 else
19128 rm -f conf$$.dir
19129 mkdir conf$$.dir 2>/dev/null
19131 if (echo >conf$$.file) 2>/dev/null; then
19132 if ln -s conf$$.file conf$$ 2>/dev/null; then
19133 as_ln_s='ln -s'
19134 # ... but there are two gotchas:
19135 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19136 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19137 # In both cases, we have to default to `cp -pR'.
19138 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19139 as_ln_s='cp -pR'
19140 elif ln conf$$.file conf$$ 2>/dev/null; then
19141 as_ln_s=ln
19142 else
19143 as_ln_s='cp -pR'
19145 else
19146 as_ln_s='cp -pR'
19148 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19149 rmdir conf$$.dir 2>/dev/null
19152 # as_fn_mkdir_p
19153 # -------------
19154 # Create "$as_dir" as a directory, including parents if necessary.
19155 as_fn_mkdir_p ()
19158 case $as_dir in #(
19159 -*) as_dir=./$as_dir;;
19160 esac
19161 test -d "$as_dir" || eval $as_mkdir_p || {
19162 as_dirs=
19163 while :; do
19164 case $as_dir in #(
19165 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19166 *) as_qdir=$as_dir;;
19167 esac
19168 as_dirs="'$as_qdir' $as_dirs"
19169 as_dir=`$as_dirname -- "$as_dir" ||
19170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19171 X"$as_dir" : 'X\(//\)[^/]' \| \
19172 X"$as_dir" : 'X\(//\)$' \| \
19173 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19174 $as_echo X"$as_dir" |
19175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19176 s//\1/
19179 /^X\(\/\/\)[^/].*/{
19180 s//\1/
19183 /^X\(\/\/\)$/{
19184 s//\1/
19187 /^X\(\/\).*/{
19188 s//\1/
19191 s/.*/./; q'`
19192 test -d "$as_dir" && break
19193 done
19194 test -z "$as_dirs" || eval "mkdir $as_dirs"
19195 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19198 } # as_fn_mkdir_p
19199 if mkdir -p . 2>/dev/null; then
19200 as_mkdir_p='mkdir -p "$as_dir"'
19201 else
19202 test -d ./-p && rmdir ./-p
19203 as_mkdir_p=false
19207 # as_fn_executable_p FILE
19208 # -----------------------
19209 # Test if FILE is an executable regular file.
19210 as_fn_executable_p ()
19212 test -f "$1" && test -x "$1"
19213 } # as_fn_executable_p
19214 as_test_x='test -x'
19215 as_executable_p=as_fn_executable_p
19217 # Sed expression to map a string onto a valid CPP name.
19218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19220 # Sed expression to map a string onto a valid variable name.
19221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19224 exec 6>&1
19225 ## ----------------------------------- ##
19226 ## Main body of $CONFIG_STATUS script. ##
19227 ## ----------------------------------- ##
19228 _ASEOF
19229 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19232 # Save the log message, to keep $0 and so on meaningful, and to
19233 # report actual input values of CONFIG_FILES etc. instead of their
19234 # values after options handling.
19235 ac_log="
19236 This file was extended by Wine $as_me 2.6, which was
19237 generated by GNU Autoconf 2.69. Invocation command line was
19239 CONFIG_FILES = $CONFIG_FILES
19240 CONFIG_HEADERS = $CONFIG_HEADERS
19241 CONFIG_LINKS = $CONFIG_LINKS
19242 CONFIG_COMMANDS = $CONFIG_COMMANDS
19243 $ $0 $@
19245 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19248 _ACEOF
19250 case $ac_config_files in *"
19251 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19252 esac
19254 case $ac_config_headers in *"
19255 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19256 esac
19259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19260 # Files that config.status was made for.
19261 config_files="$ac_config_files"
19262 config_headers="$ac_config_headers"
19263 config_links="$ac_config_links"
19264 config_commands="$ac_config_commands"
19266 _ACEOF
19268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19269 ac_cs_usage="\
19270 \`$as_me' instantiates files and other configuration actions
19271 from templates according to the current configuration. Unless the files
19272 and actions are specified as TAGs, all are instantiated by default.
19274 Usage: $0 [OPTION]... [TAG]...
19276 -h, --help print this help, then exit
19277 -V, --version print version number and configuration settings, then exit
19278 --config print configuration, then exit
19279 -q, --quiet, --silent
19280 do not print progress messages
19281 -d, --debug don't remove temporary files
19282 --recheck update $as_me by reconfiguring in the same conditions
19283 --file=FILE[:TEMPLATE]
19284 instantiate the configuration file FILE
19285 --header=FILE[:TEMPLATE]
19286 instantiate the configuration header FILE
19288 Configuration files:
19289 $config_files
19291 Configuration headers:
19292 $config_headers
19294 Configuration links:
19295 $config_links
19297 Configuration commands:
19298 $config_commands
19300 Report bugs to <wine-devel@winehq.org>.
19301 Wine home page: <http://www.winehq.org>."
19303 _ACEOF
19304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19305 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19306 ac_cs_version="\\
19307 Wine config.status 2.6
19308 configured by $0, generated by GNU Autoconf 2.69,
19309 with options \\"\$ac_cs_config\\"
19311 Copyright (C) 2012 Free Software Foundation, Inc.
19312 This config.status script is free software; the Free Software Foundation
19313 gives unlimited permission to copy, distribute and modify it."
19315 ac_pwd='$ac_pwd'
19316 srcdir='$srcdir'
19317 test -n "\$AWK" || AWK=awk
19318 _ACEOF
19320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19321 # The default lists apply if the user does not specify any file.
19322 ac_need_defaults=:
19323 while test $# != 0
19325 case $1 in
19326 --*=?*)
19327 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19328 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19329 ac_shift=:
19331 --*=)
19332 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19333 ac_optarg=
19334 ac_shift=:
19337 ac_option=$1
19338 ac_optarg=$2
19339 ac_shift=shift
19341 esac
19343 case $ac_option in
19344 # Handling of the options.
19345 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19346 ac_cs_recheck=: ;;
19347 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19348 $as_echo "$ac_cs_version"; exit ;;
19349 --config | --confi | --conf | --con | --co | --c )
19350 $as_echo "$ac_cs_config"; exit ;;
19351 --debug | --debu | --deb | --de | --d | -d )
19352 debug=: ;;
19353 --file | --fil | --fi | --f )
19354 $ac_shift
19355 case $ac_optarg in
19356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19357 '') as_fn_error $? "missing file argument" ;;
19358 esac
19359 as_fn_append CONFIG_FILES " '$ac_optarg'"
19360 ac_need_defaults=false;;
19361 --header | --heade | --head | --hea )
19362 $ac_shift
19363 case $ac_optarg in
19364 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19365 esac
19366 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19367 ac_need_defaults=false;;
19368 --he | --h)
19369 # Conflict between --help and --header
19370 as_fn_error $? "ambiguous option: \`$1'
19371 Try \`$0 --help' for more information.";;
19372 --help | --hel | -h )
19373 $as_echo "$ac_cs_usage"; exit ;;
19374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19375 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19376 ac_cs_silent=: ;;
19378 # This is an error.
19379 -*) as_fn_error $? "unrecognized option: \`$1'
19380 Try \`$0 --help' for more information." ;;
19382 *) as_fn_append ac_config_targets " $1"
19383 ac_need_defaults=false ;;
19385 esac
19386 shift
19387 done
19389 ac_configure_extra_args=
19391 if $ac_cs_silent; then
19392 exec 6>/dev/null
19393 ac_configure_extra_args="$ac_configure_extra_args --silent"
19396 _ACEOF
19397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19398 if \$ac_cs_recheck; then
19399 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19400 shift
19401 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19402 CONFIG_SHELL='$SHELL'
19403 export CONFIG_SHELL
19404 exec "\$@"
19407 _ACEOF
19408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19409 exec 5>>config.log
19411 echo
19412 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19413 ## Running $as_me. ##
19414 _ASBOX
19415 $as_echo "$ac_log"
19416 } >&5
19418 _ACEOF
19419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19421 # INIT-COMMANDS
19423 wine_fn_output_makedep ()
19425 as_dir=tools; as_fn_mkdir_p
19426 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19428 wine_fn_output_makefile ()
19430 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19431 `cat $wine_rules_file`
19432 _WINE_EOF
19433 as_fn_error $? "could not create Makefile" "$LINENO" 5
19436 _ACEOF
19438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19440 # Handling of arguments.
19441 for ac_config_target in $ac_config_targets
19443 case $ac_config_target in
19444 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19445 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19446 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19447 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19448 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19449 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19450 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19451 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19452 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19453 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19454 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19455 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19456 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19458 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19459 esac
19460 done
19463 # If the user did not use the arguments to specify the items to instantiate,
19464 # then the envvar interface is used. Set only those that are not.
19465 # We use the long form for the default assignment because of an extremely
19466 # bizarre bug on SunOS 4.1.3.
19467 if $ac_need_defaults; then
19468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19470 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19474 # Have a temporary directory for convenience. Make it in the build tree
19475 # simply because there is no reason against having it here, and in addition,
19476 # creating and moving files from /tmp can sometimes cause problems.
19477 # Hook for its removal unless debugging.
19478 # Note that there is a small window in which the directory will not be cleaned:
19479 # after its creation but before its name has been assigned to `$tmp'.
19480 $debug ||
19482 tmp= ac_tmp=
19483 trap 'exit_status=$?
19484 : "${ac_tmp:=$tmp}"
19485 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19487 trap 'as_fn_exit 1' 1 2 13 15
19489 # Create a (secure) tmp directory for tmp files.
19492 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19493 test -d "$tmp"
19494 } ||
19496 tmp=./conf$$-$RANDOM
19497 (umask 077 && mkdir "$tmp")
19498 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19499 ac_tmp=$tmp
19501 # Set up the scripts for CONFIG_FILES section.
19502 # No need to generate them if there are no CONFIG_FILES.
19503 # This happens for instance with `./config.status config.h'.
19504 if test -n "$CONFIG_FILES"; then
19507 ac_cr=`echo X | tr X '\015'`
19508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19509 # But we know of no other shell where ac_cr would be empty at this
19510 # point, so we can use a bashism as a fallback.
19511 if test "x$ac_cr" = x; then
19512 eval ac_cr=\$\'\\r\'
19514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19516 ac_cs_awk_cr='\\r'
19517 else
19518 ac_cs_awk_cr=$ac_cr
19521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19522 _ACEOF
19526 echo "cat >conf$$subs.awk <<_ACEOF" &&
19527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19528 echo "_ACEOF"
19529 } >conf$$subs.sh ||
19530 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19532 ac_delim='%!_!# '
19533 for ac_last_try in false false false false false :; do
19534 . ./conf$$subs.sh ||
19535 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19537 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19538 if test $ac_delim_n = $ac_delim_num; then
19539 break
19540 elif $ac_last_try; then
19541 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19542 else
19543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19545 done
19546 rm -f conf$$subs.sh
19548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19549 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19550 _ACEOF
19551 sed -n '
19553 s/^/S["/; s/!.*/"]=/
19556 s/^[^!]*!//
19557 :repl
19558 t repl
19559 s/'"$ac_delim"'$//
19560 t delim
19563 s/\(.\{148\}\)..*/\1/
19564 t more1
19565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19568 b repl
19569 :more1
19570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19573 s/.\{148\}//
19574 t nl
19575 :delim
19577 s/\(.\{148\}\)..*/\1/
19578 t more2
19579 s/["\\]/\\&/g; s/^/"/; s/$/"/
19582 :more2
19583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19586 s/.\{148\}//
19587 t delim
19588 ' <conf$$subs.awk | sed '
19589 /^[^""]/{
19591 s/\n//
19593 ' >>$CONFIG_STATUS || ac_write_fail=1
19594 rm -f conf$$subs.awk
19595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19596 _ACAWK
19597 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19598 for (key in S) S_is_set[key] = 1
19599 FS = "\a"
19603 line = $ 0
19604 nfields = split(line, field, "@")
19605 substed = 0
19606 len = length(field[1])
19607 for (i = 2; i < nfields; i++) {
19608 key = field[i]
19609 keylen = length(key)
19610 if (S_is_set[key]) {
19611 value = S[key]
19612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19613 len += length(value) + length(field[++i])
19614 substed = 1
19615 } else
19616 len += 1 + keylen
19619 print line
19622 _ACAWK
19623 _ACEOF
19624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19626 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19627 else
19629 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19630 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19631 _ACEOF
19633 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19634 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19635 # trailing colons and then remove the whole line if VPATH becomes empty
19636 # (actually we leave an empty line to preserve line numbers).
19637 if test "x$srcdir" = x.; then
19638 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19640 s///
19641 s/^/:/
19642 s/[ ]*$/:/
19643 s/:\$(srcdir):/:/g
19644 s/:\${srcdir}:/:/g
19645 s/:@srcdir@:/:/g
19646 s/^:*//
19647 s/:*$//
19649 s/\(=[ ]*\).*/\1/
19651 s/\n//
19652 s/^[^=]*=[ ]*$//
19656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19657 fi # test -n "$CONFIG_FILES"
19659 # Set up the scripts for CONFIG_HEADERS section.
19660 # No need to generate them if there are no CONFIG_HEADERS.
19661 # This happens for instance with `./config.status Makefile'.
19662 if test -n "$CONFIG_HEADERS"; then
19663 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19664 BEGIN {
19665 _ACEOF
19667 # Transform confdefs.h into an awk script `defines.awk', embedded as
19668 # here-document in config.status, that substitutes the proper values into
19669 # config.h.in to produce config.h.
19671 # Create a delimiter string that does not exist in confdefs.h, to ease
19672 # handling of long lines.
19673 ac_delim='%!_!# '
19674 for ac_last_try in false false :; do
19675 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19676 if test -z "$ac_tt"; then
19677 break
19678 elif $ac_last_try; then
19679 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19680 else
19681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19683 done
19685 # For the awk script, D is an array of macro values keyed by name,
19686 # likewise P contains macro parameters if any. Preserve backslash
19687 # newline sequences.
19689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19690 sed -n '
19691 s/.\{148\}/&'"$ac_delim"'/g
19692 t rset
19693 :rset
19694 s/^[ ]*#[ ]*define[ ][ ]*/ /
19695 t def
19697 :def
19698 s/\\$//
19699 t bsnl
19700 s/["\\]/\\&/g
19701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19702 D["\1"]=" \3"/p
19703 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19705 :bsnl
19706 s/["\\]/\\&/g
19707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19708 D["\1"]=" \3\\\\\\n"\\/p
19709 t cont
19710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19711 t cont
19713 :cont
19715 s/.\{148\}/&'"$ac_delim"'/g
19716 t clear
19717 :clear
19718 s/\\$//
19719 t bsnlc
19720 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19722 :bsnlc
19723 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19724 b cont
19725 ' <confdefs.h | sed '
19726 s/'"$ac_delim"'/"\\\
19727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19730 for (key in D) D_is_set[key] = 1
19731 FS = "\a"
19733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19734 line = \$ 0
19735 split(line, arg, " ")
19736 if (arg[1] == "#") {
19737 defundef = arg[2]
19738 mac1 = arg[3]
19739 } else {
19740 defundef = substr(arg[1], 2)
19741 mac1 = arg[2]
19743 split(mac1, mac2, "(") #)
19744 macro = mac2[1]
19745 prefix = substr(line, 1, index(line, defundef) - 1)
19746 if (D_is_set[macro]) {
19747 # Preserve the white space surrounding the "#".
19748 print prefix "define", macro P[macro] D[macro]
19749 next
19750 } else {
19751 # Replace #undef with comments. This is necessary, for example,
19752 # in the case of _POSIX_SOURCE, which is predefined and required
19753 # on some systems where configure will not decide to define it.
19754 if (defundef == "undef") {
19755 print "/*", prefix defundef, macro, "*/"
19756 next
19760 { print }
19761 _ACAWK
19762 _ACEOF
19763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19764 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19765 fi # test -n "$CONFIG_HEADERS"
19768 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19769 shift
19770 for ac_tag
19772 case $ac_tag in
19773 :[FHLC]) ac_mode=$ac_tag; continue;;
19774 esac
19775 case $ac_mode$ac_tag in
19776 :[FHL]*:*);;
19777 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19778 :[FH]-) ac_tag=-:-;;
19779 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19780 esac
19781 ac_save_IFS=$IFS
19782 IFS=:
19783 set x $ac_tag
19784 IFS=$ac_save_IFS
19785 shift
19786 ac_file=$1
19787 shift
19789 case $ac_mode in
19790 :L) ac_source=$1;;
19791 :[FH])
19792 ac_file_inputs=
19793 for ac_f
19795 case $ac_f in
19796 -) ac_f="$ac_tmp/stdin";;
19797 *) # Look for the file first in the build tree, then in the source tree
19798 # (if the path is not absolute). The absolute path cannot be DOS-style,
19799 # because $ac_f cannot contain `:'.
19800 test -f "$ac_f" ||
19801 case $ac_f in
19802 [\\/$]*) false;;
19803 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19804 esac ||
19805 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19806 esac
19807 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19808 as_fn_append ac_file_inputs " '$ac_f'"
19809 done
19811 # Let's still pretend it is `configure' which instantiates (i.e., don't
19812 # use $as_me), people would be surprised to read:
19813 # /* config.h. Generated by config.status. */
19814 configure_input='Generated from '`
19815 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19816 `' by configure.'
19817 if test x"$ac_file" != x-; then
19818 configure_input="$ac_file. $configure_input"
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19820 $as_echo "$as_me: creating $ac_file" >&6;}
19822 # Neutralize special characters interpreted by sed in replacement strings.
19823 case $configure_input in #(
19824 *\&* | *\|* | *\\* )
19825 ac_sed_conf_input=`$as_echo "$configure_input" |
19826 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19827 *) ac_sed_conf_input=$configure_input;;
19828 esac
19830 case $ac_tag in
19831 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19833 esac
19835 esac
19837 ac_dir=`$as_dirname -- "$ac_file" ||
19838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19839 X"$ac_file" : 'X\(//\)[^/]' \| \
19840 X"$ac_file" : 'X\(//\)$' \| \
19841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19842 $as_echo X"$ac_file" |
19843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19844 s//\1/
19847 /^X\(\/\/\)[^/].*/{
19848 s//\1/
19851 /^X\(\/\/\)$/{
19852 s//\1/
19855 /^X\(\/\).*/{
19856 s//\1/
19859 s/.*/./; q'`
19860 as_dir="$ac_dir"; as_fn_mkdir_p
19861 ac_builddir=.
19863 case "$ac_dir" in
19864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19866 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19867 # A ".." for each directory in $ac_dir_suffix.
19868 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19869 case $ac_top_builddir_sub in
19870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19872 esac ;;
19873 esac
19874 ac_abs_top_builddir=$ac_pwd
19875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19876 # for backward compatibility:
19877 ac_top_builddir=$ac_top_build_prefix
19879 case $srcdir in
19880 .) # We are building in place.
19881 ac_srcdir=.
19882 ac_top_srcdir=$ac_top_builddir_sub
19883 ac_abs_top_srcdir=$ac_pwd ;;
19884 [\\/]* | ?:[\\/]* ) # Absolute name.
19885 ac_srcdir=$srcdir$ac_dir_suffix;
19886 ac_top_srcdir=$srcdir
19887 ac_abs_top_srcdir=$srcdir ;;
19888 *) # Relative name.
19889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19890 ac_top_srcdir=$ac_top_build_prefix$srcdir
19891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19892 esac
19893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19896 case $ac_mode in
19899 # CONFIG_FILE
19902 _ACEOF
19904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19905 # If the template does not know about datarootdir, expand it.
19906 # FIXME: This hack should be removed a few years after 2.60.
19907 ac_datarootdir_hack=; ac_datarootdir_seen=
19908 ac_sed_dataroot='
19909 /datarootdir/ {
19913 /@datadir@/p
19914 /@docdir@/p
19915 /@infodir@/p
19916 /@localedir@/p
19917 /@mandir@/p'
19918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19919 *datarootdir*) ac_datarootdir_seen=yes;;
19920 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19922 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19923 _ACEOF
19924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19925 ac_datarootdir_hack='
19926 s&@datadir@&$datadir&g
19927 s&@docdir@&$docdir&g
19928 s&@infodir@&$infodir&g
19929 s&@localedir@&$localedir&g
19930 s&@mandir@&$mandir&g
19931 s&\\\${datarootdir}&$datarootdir&g' ;;
19932 esac
19933 _ACEOF
19935 # Neutralize VPATH when `$srcdir' = `.'.
19936 # Shell code in configure.ac might set extrasub.
19937 # FIXME: do we really want to maintain this feature?
19938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19939 ac_sed_extra="$ac_vpsub
19940 $extrasub
19941 _ACEOF
19942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19945 s|@configure_input@|$ac_sed_conf_input|;t t
19946 s&@top_builddir@&$ac_top_builddir_sub&;t t
19947 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19948 s&@srcdir@&$ac_srcdir&;t t
19949 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19950 s&@top_srcdir@&$ac_top_srcdir&;t t
19951 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19952 s&@builddir@&$ac_builddir&;t t
19953 s&@abs_builddir@&$ac_abs_builddir&;t t
19954 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19955 $ac_datarootdir_hack
19957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19958 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19963 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19965 which seems to be undefined. Please make sure it is defined" >&5
19966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19967 which seems to be undefined. Please make sure it is defined" >&2;}
19969 rm -f "$ac_tmp/stdin"
19970 case $ac_file in
19971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19973 esac \
19974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19978 # CONFIG_HEADER
19980 if test x"$ac_file" != x-; then
19982 $as_echo "/* $configure_input */" \
19983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19984 } >"$ac_tmp/config.h" \
19985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19989 else
19990 rm -f "$ac_file"
19991 mv "$ac_tmp/config.h" "$ac_file" \
19992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19994 else
19995 $as_echo "/* $configure_input */" \
19996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19997 || as_fn_error $? "could not create -" "$LINENO" 5
20002 # CONFIG_LINK
20005 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20007 else
20008 # Prefer the file from the source tree if names are identical.
20009 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20010 ac_source=$srcdir/$ac_source
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20014 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20016 if test ! -r "$ac_source"; then
20017 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20019 rm -f "$ac_file"
20021 # Try a relative symlink, then a hard link, then a copy.
20022 case $ac_source in
20023 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20024 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20025 esac
20026 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20027 ln "$ac_source" "$ac_file" 2>/dev/null ||
20028 cp -p "$ac_source" "$ac_file" ||
20029 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20033 $as_echo "$as_me: executing $ac_file commands" >&6;}
20035 esac
20038 case $ac_file$ac_mode in
20039 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20040 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20041 "Makefile":C) wine_fn_output_makefile Makefile ;;
20043 esac
20044 done # for ac_tag
20047 as_fn_exit 0
20048 _ACEOF
20049 ac_clean_files=$ac_clean_files_save
20051 test $ac_write_fail = 0 ||
20052 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20055 # configure is writing to config.log, and then calls config.status.
20056 # config.status does its own redirection, appending to config.log.
20057 # Unfortunately, on DOS this fails, as config.log is still kept open
20058 # by configure, so config.status won't be able to write to it; its
20059 # output is simply discarded. So we exec the FD to /dev/null,
20060 # effectively closing config.log, so it can be properly (re)opened and
20061 # appended to by config.status. When coming back to configure, we
20062 # need to make the FD available again.
20063 if test "$no_create" != yes; then
20064 ac_cs_success=:
20065 ac_config_status_args=
20066 test "$silent" = yes &&
20067 ac_config_status_args="$ac_config_status_args --quiet"
20068 exec 5>/dev/null
20069 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20070 exec 5>>config.log
20071 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20072 # would make configure fail if this is the last instruction.
20073 $ac_cs_success || as_fn_exit 1
20075 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20077 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20081 if test "$no_create" = "yes"
20082 then
20083 exit 0
20086 ac_save_IFS="$IFS"
20087 if test "x$wine_notices" != x; then
20088 echo >&6
20089 IFS="|"
20090 for msg in $wine_notices; do
20091 IFS="$ac_save_IFS"
20092 if ${msg:+false} :; then :
20094 else
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20096 $as_echo "$as_me: $msg" >&6;}
20098 done
20100 IFS="|"
20101 for msg in $wine_warnings; do
20102 IFS="$ac_save_IFS"
20103 if ${msg:+false} :; then :
20105 else
20106 echo >&2
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20108 $as_echo "$as_me: WARNING: $msg" >&2;}
20110 done
20111 IFS="$ac_save_IFS"
20113 $as_echo "
20114 $as_me: Finished. Do '${ac_make}' to compile Wine.
20115 " >&6