wined3d: Handle system memory copies in wined3d_texture_load_location().
[wine.git] / configure
blob35273b05820710fceec13e738a29015abdad40d7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.1.
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.1'
584 PACKAGE_STRING='Wine 2.1'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_realtime_l1_1_0
949 enable_api_ms_win_core_registry_l1_1_0
950 enable_api_ms_win_core_registryuserspecific_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_2_0
953 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
954 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
955 enable_api_ms_win_core_sidebyside_l1_1_0
956 enable_api_ms_win_core_string_l1_1_0
957 enable_api_ms_win_core_string_l2_1_0
958 enable_api_ms_win_core_string_obsolete_l1_1_0
959 enable_api_ms_win_core_stringansi_l1_1_0
960 enable_api_ms_win_core_synch_l1_1_0
961 enable_api_ms_win_core_synch_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_1_0
963 enable_api_ms_win_core_sysinfo_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_2_1
965 enable_api_ms_win_core_threadpool_l1_1_0
966 enable_api_ms_win_core_threadpool_l1_2_0
967 enable_api_ms_win_core_threadpool_legacy_l1_1_0
968 enable_api_ms_win_core_timezone_l1_1_0
969 enable_api_ms_win_core_toolhelp_l1_1_0
970 enable_api_ms_win_core_url_l1_1_0
971 enable_api_ms_win_core_util_l1_1_0
972 enable_api_ms_win_core_version_l1_1_0
973 enable_api_ms_win_core_version_private_l1_1_0
974 enable_api_ms_win_core_versionansi_l1_1_0
975 enable_api_ms_win_core_windowserrorreporting_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_1
978 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
979 enable_api_ms_win_core_winrt_l1_1_0
980 enable_api_ms_win_core_winrt_registration_l1_1_0
981 enable_api_ms_win_core_winrt_string_l1_1_0
982 enable_api_ms_win_core_wow64_l1_1_0
983 enable_api_ms_win_core_xstate_l1_1_0
984 enable_api_ms_win_core_xstate_l2_1_0
985 enable_api_ms_win_crt_conio_l1_1_0
986 enable_api_ms_win_crt_convert_l1_1_0
987 enable_api_ms_win_crt_environment_l1_1_0
988 enable_api_ms_win_crt_filesystem_l1_1_0
989 enable_api_ms_win_crt_heap_l1_1_0
990 enable_api_ms_win_crt_locale_l1_1_0
991 enable_api_ms_win_crt_math_l1_1_0
992 enable_api_ms_win_crt_multibyte_l1_1_0
993 enable_api_ms_win_crt_private_l1_1_0
994 enable_api_ms_win_crt_process_l1_1_0
995 enable_api_ms_win_crt_runtime_l1_1_0
996 enable_api_ms_win_crt_stdio_l1_1_0
997 enable_api_ms_win_crt_string_l1_1_0
998 enable_api_ms_win_crt_time_l1_1_0
999 enable_api_ms_win_crt_utility_l1_1_0
1000 enable_api_ms_win_devices_config_l1_1_1
1001 enable_api_ms_win_devices_query_l1_1_1
1002 enable_api_ms_win_downlevel_advapi32_l1_1_0
1003 enable_api_ms_win_downlevel_advapi32_l2_1_0
1004 enable_api_ms_win_downlevel_normaliz_l1_1_0
1005 enable_api_ms_win_downlevel_ole32_l1_1_0
1006 enable_api_ms_win_downlevel_shell32_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1008 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1009 enable_api_ms_win_downlevel_user32_l1_1_0
1010 enable_api_ms_win_downlevel_version_l1_1_0
1011 enable_api_ms_win_dx_d3dkmt_l1_1_0
1012 enable_api_ms_win_eventing_classicprovider_l1_1_0
1013 enable_api_ms_win_eventing_consumer_l1_1_0
1014 enable_api_ms_win_eventing_controller_l1_1_0
1015 enable_api_ms_win_eventing_provider_l1_1_0
1016 enable_api_ms_win_eventlog_legacy_l1_1_0
1017 enable_api_ms_win_ntuser_dc_access_l1_1_0
1018 enable_api_ms_win_power_base_l1_1_0
1019 enable_api_ms_win_power_setting_l1_1_0
1020 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1021 enable_api_ms_win_security_audit_l1_1_1
1022 enable_api_ms_win_security_base_l1_1_0
1023 enable_api_ms_win_security_base_l1_2_0
1024 enable_api_ms_win_security_base_private_l1_1_1
1025 enable_api_ms_win_security_lsalookup_l1_1_0
1026 enable_api_ms_win_security_lsalookup_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l2_1_1
1028 enable_api_ms_win_security_lsapolicy_l1_1_0
1029 enable_api_ms_win_security_sddl_l1_1_0
1030 enable_api_ms_win_service_core_l1_1_0
1031 enable_api_ms_win_service_core_l1_1_1
1032 enable_api_ms_win_service_management_l1_1_0
1033 enable_api_ms_win_service_management_l2_1_0
1034 enable_api_ms_win_service_private_l1_1_1
1035 enable_api_ms_win_service_winsvc_l1_1_0
1036 enable_api_ms_win_service_winsvc_l1_2_0
1037 enable_api_ms_win_shell_shellcom_l1_1_0
1038 enable_api_ms_win_shell_shellfolders_l1_1_0
1039 enable_apphelp
1040 enable_appwiz_cpl
1041 enable_atl
1042 enable_atl100
1043 enable_atl110
1044 enable_atl80
1045 enable_atl90
1046 enable_authz
1047 enable_avicap32
1048 enable_avifil32
1049 enable_avrt
1050 enable_bcrypt
1051 enable_bluetoothapis
1052 enable_browseui
1053 enable_bthprops_cpl
1054 enable_cabinet
1055 enable_capi2032
1056 enable_cards
1057 enable_cfgmgr32
1058 enable_clusapi
1059 enable_combase
1060 enable_comcat
1061 enable_comctl32
1062 enable_comdlg32
1063 enable_compstui
1064 enable_comsvcs
1065 enable_concrt140
1066 enable_connect
1067 enable_credui
1068 enable_crtdll
1069 enable_crypt32
1070 enable_cryptdlg
1071 enable_cryptdll
1072 enable_cryptext
1073 enable_cryptnet
1074 enable_cryptui
1075 enable_ctapi32
1076 enable_ctl3d32
1077 enable_d2d1
1078 enable_d3d10
1079 enable_d3d10_1
1080 enable_d3d10core
1081 enable_d3d11
1082 enable_d3d8
1083 enable_d3d9
1084 enable_d3dcompiler_33
1085 enable_d3dcompiler_34
1086 enable_d3dcompiler_35
1087 enable_d3dcompiler_36
1088 enable_d3dcompiler_37
1089 enable_d3dcompiler_38
1090 enable_d3dcompiler_39
1091 enable_d3dcompiler_40
1092 enable_d3dcompiler_41
1093 enable_d3dcompiler_42
1094 enable_d3dcompiler_43
1095 enable_d3dcompiler_46
1096 enable_d3dcompiler_47
1097 enable_d3dim
1098 enable_d3drm
1099 enable_d3dx10_33
1100 enable_d3dx10_34
1101 enable_d3dx10_35
1102 enable_d3dx10_36
1103 enable_d3dx10_37
1104 enable_d3dx10_38
1105 enable_d3dx10_39
1106 enable_d3dx10_40
1107 enable_d3dx10_41
1108 enable_d3dx10_42
1109 enable_d3dx10_43
1110 enable_d3dx11_42
1111 enable_d3dx11_43
1112 enable_d3dx9_24
1113 enable_d3dx9_25
1114 enable_d3dx9_26
1115 enable_d3dx9_27
1116 enable_d3dx9_28
1117 enable_d3dx9_29
1118 enable_d3dx9_30
1119 enable_d3dx9_31
1120 enable_d3dx9_32
1121 enable_d3dx9_33
1122 enable_d3dx9_34
1123 enable_d3dx9_35
1124 enable_d3dx9_36
1125 enable_d3dx9_37
1126 enable_d3dx9_38
1127 enable_d3dx9_39
1128 enable_d3dx9_40
1129 enable_d3dx9_41
1130 enable_d3dx9_42
1131 enable_d3dx9_43
1132 enable_d3dxof
1133 enable_davclnt
1134 enable_dbgeng
1135 enable_dbghelp
1136 enable_dciman32
1137 enable_ddraw
1138 enable_ddrawex
1139 enable_devenum
1140 enable_dhcpcsvc
1141 enable_difxapi
1142 enable_dinput
1143 enable_dinput8
1144 enable_dispex
1145 enable_dmband
1146 enable_dmcompos
1147 enable_dmime
1148 enable_dmloader
1149 enable_dmscript
1150 enable_dmstyle
1151 enable_dmsynth
1152 enable_dmusic
1153 enable_dmusic32
1154 enable_dnsapi
1155 enable_dplay
1156 enable_dplayx
1157 enable_dpnaddr
1158 enable_dpnet
1159 enable_dpnhpast
1160 enable_dpnlobby
1161 enable_dpvoice
1162 enable_dpwsockx
1163 enable_drmclien
1164 enable_dsound
1165 enable_dssenh
1166 enable_dswave
1167 enable_dwmapi
1168 enable_dwrite
1169 enable_dxdiagn
1170 enable_dxgi
1171 enable_dxva2
1172 enable_esent
1173 enable_evr
1174 enable_explorerframe
1175 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1176 enable_ext_ms_win_gdi_dc_create_l1_1_1
1177 enable_ext_ms_win_gdi_dc_l1_2_0
1178 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_ext_ms_win_gdi_draw_l1_1_1
1180 enable_ext_ms_win_gdi_render_l1_1_0
1181 enable_ext_ms_win_kernel32_package_current_l1_1_0
1182 enable_ext_ms_win_ntuser_message_l1_1_1
1183 enable_ext_ms_win_ntuser_private_l1_1_1
1184 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1185 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1186 enable_ext_ms_win_ntuser_window_l1_1_1
1187 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1188 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1189 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1190 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1191 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1192 enable_faultrep
1193 enable_fltlib
1194 enable_fltmgr_sys
1195 enable_fntcache
1196 enable_fontsub
1197 enable_fusion
1198 enable_fwpuclnt
1199 enable_gameux
1200 enable_gdi32
1201 enable_gdiplus
1202 enable_glu32
1203 enable_gphoto2_ds
1204 enable_gpkcsp
1205 enable_hal
1206 enable_hhctrl_ocx
1207 enable_hid
1208 enable_hidclass_sys
1209 enable_hlink
1210 enable_hnetcfg
1211 enable_httpapi
1212 enable_iccvid
1213 enable_icmp
1214 enable_ieframe
1215 enable_imaadp32_acm
1216 enable_imagehlp
1217 enable_imm32
1218 enable_inetcomm
1219 enable_inetcpl_cpl
1220 enable_inetmib1
1221 enable_infosoft
1222 enable_initpki
1223 enable_inkobj
1224 enable_inseng
1225 enable_iphlpapi
1226 enable_iprop
1227 enable_irprops_cpl
1228 enable_itircl
1229 enable_itss
1230 enable_joy_cpl
1231 enable_jscript
1232 enable_jsproxy
1233 enable_kernel32
1234 enable_kernelbase
1235 enable_ksuser
1236 enable_ktmw32
1237 enable_loadperf
1238 enable_localspl
1239 enable_localui
1240 enable_lz32
1241 enable_mapi32
1242 enable_mapistub
1243 enable_mciavi32
1244 enable_mcicda
1245 enable_mciqtz32
1246 enable_mciseq
1247 enable_mciwave
1248 enable_mf
1249 enable_mf3216
1250 enable_mfplat
1251 enable_mfreadwrite
1252 enable_mgmtapi
1253 enable_midimap
1254 enable_mlang
1255 enable_mmcndmgr
1256 enable_mmdevapi
1257 enable_mountmgr_sys
1258 enable_mpr
1259 enable_mprapi
1260 enable_msacm32_drv
1261 enable_msacm32
1262 enable_msadp32_acm
1263 enable_msasn1
1264 enable_mscat32
1265 enable_mscms
1266 enable_mscoree
1267 enable_msctf
1268 enable_msctfp
1269 enable_msdaps
1270 enable_msdelta
1271 enable_msdmo
1272 enable_msdrm
1273 enable_msftedit
1274 enable_msg711_acm
1275 enable_msgsm32_acm
1276 enable_mshtml_tlb
1277 enable_mshtml
1278 enable_msi
1279 enable_msident
1280 enable_msimg32
1281 enable_msimsg
1282 enable_msimtf
1283 enable_msisip
1284 enable_msisys_ocx
1285 enable_msls31
1286 enable_msnet32
1287 enable_mspatcha
1288 enable_msports
1289 enable_msrle32
1290 enable_msscript_ocx
1291 enable_mssign32
1292 enable_mssip32
1293 enable_mstask
1294 enable_msvcirt
1295 enable_msvcm80
1296 enable_msvcm90
1297 enable_msvcp100
1298 enable_msvcp110
1299 enable_msvcp120
1300 enable_msvcp120_app
1301 enable_msvcp140
1302 enable_msvcp60
1303 enable_msvcp70
1304 enable_msvcp71
1305 enable_msvcp80
1306 enable_msvcp90
1307 enable_msvcr100
1308 enable_msvcr110
1309 enable_msvcr120
1310 enable_msvcr120_app
1311 enable_msvcr70
1312 enable_msvcr71
1313 enable_msvcr80
1314 enable_msvcr90
1315 enable_msvcrt
1316 enable_msvcrt20
1317 enable_msvcrt40
1318 enable_msvcrtd
1319 enable_msvfw32
1320 enable_msvidc32
1321 enable_mswsock
1322 enable_msxml
1323 enable_msxml2
1324 enable_msxml3
1325 enable_msxml4
1326 enable_msxml6
1327 enable_ncrypt
1328 enable_nddeapi
1329 enable_ndis_sys
1330 enable_netapi32
1331 enable_netcfgx
1332 enable_netprofm
1333 enable_newdev
1334 enable_normaliz
1335 enable_npmshtml
1336 enable_npptools
1337 enable_ntdll
1338 enable_ntdsapi
1339 enable_ntoskrnl_exe
1340 enable_ntprint
1341 enable_objsel
1342 enable_odbc32
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_openal32
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_qcap
1368 enable_qedit
1369 enable_qmgr
1370 enable_qmgrprxy
1371 enable_quartz
1372 enable_query
1373 enable_rasapi32
1374 enable_rasdlg
1375 enable_regapi
1376 enable_resutils
1377 enable_riched20
1378 enable_riched32
1379 enable_rpcrt4
1380 enable_rsabase
1381 enable_rsaenh
1382 enable_rstrtmgr
1383 enable_rtutils
1384 enable_samlib
1385 enable_sane_ds
1386 enable_scarddlg
1387 enable_sccbase
1388 enable_schannel
1389 enable_schedsvc
1390 enable_scrobj
1391 enable_scrrun
1392 enable_scsiport_sys
1393 enable_secur32
1394 enable_security
1395 enable_sensapi
1396 enable_serialui
1397 enable_setupapi
1398 enable_sfc
1399 enable_sfc_os
1400 enable_shdoclc
1401 enable_shdocvw
1402 enable_shell32
1403 enable_shfolder
1404 enable_shlwapi
1405 enable_slbcsp
1406 enable_slc
1407 enable_snmpapi
1408 enable_softpub
1409 enable_spoolss
1410 enable_sspicli
1411 enable_stdole2_tlb
1412 enable_stdole32_tlb
1413 enable_sti
1414 enable_svrapi
1415 enable_sxs
1416 enable_t2embed
1417 enable_tapi32
1418 enable_taskschd
1419 enable_tdi_sys
1420 enable_traffic
1421 enable_twain_32
1422 enable_ucrtbase
1423 enable_unicows
1424 enable_updspapi
1425 enable_url
1426 enable_urlmon
1427 enable_usbd_sys
1428 enable_user32
1429 enable_userenv
1430 enable_usp10
1431 enable_uxtheme
1432 enable_vbscript
1433 enable_vcomp
1434 enable_vcomp100
1435 enable_vcomp110
1436 enable_vcomp120
1437 enable_vcomp140
1438 enable_vcomp90
1439 enable_vcruntime140
1440 enable_vdmdbg
1441 enable_version
1442 enable_virtdisk
1443 enable_vssapi
1444 enable_wbemdisp
1445 enable_wbemprox
1446 enable_webservices
1447 enable_wer
1448 enable_wevtapi
1449 enable_wiaservc
1450 enable_wimgapi
1451 enable_windowscodecs
1452 enable_windowscodecsext
1453 enable_winealsa_drv
1454 enable_winebus_sys
1455 enable_winecoreaudio_drv
1456 enable_wined3d
1457 enable_winegstreamer
1458 enable_winehid_sys
1459 enable_winejoystick_drv
1460 enable_winemac_drv
1461 enable_winemapi
1462 enable_winemp3_acm
1463 enable_wineoss_drv
1464 enable_wineps_drv
1465 enable_winepulse_drv
1466 enable_wineqtdecoder
1467 enable_winex11_drv
1468 enable_wing32
1469 enable_winhttp
1470 enable_wininet
1471 enable_winmm
1472 enable_winnls32
1473 enable_winscard
1474 enable_winspool_drv
1475 enable_winsta
1476 enable_wintab32
1477 enable_wintrust
1478 enable_winusb
1479 enable_wlanapi
1480 enable_wldap32
1481 enable_wmasf
1482 enable_wmi
1483 enable_wmiutils
1484 enable_wmp
1485 enable_wmvcore
1486 enable_wnaspi32
1487 enable_wpc
1488 enable_wpcap
1489 enable_ws2_32
1490 enable_wshom_ocx
1491 enable_wsnmp32
1492 enable_wsock32
1493 enable_wtsapi32
1494 enable_wuapi
1495 enable_wuaueng
1496 enable_x3daudio1_0
1497 enable_x3daudio1_1
1498 enable_x3daudio1_2
1499 enable_x3daudio1_3
1500 enable_x3daudio1_4
1501 enable_x3daudio1_5
1502 enable_x3daudio1_6
1503 enable_x3daudio1_7
1504 enable_xapofx1_1
1505 enable_xapofx1_2
1506 enable_xapofx1_3
1507 enable_xapofx1_4
1508 enable_xapofx1_5
1509 enable_xaudio2_0
1510 enable_xaudio2_1
1511 enable_xaudio2_2
1512 enable_xaudio2_3
1513 enable_xaudio2_4
1514 enable_xaudio2_5
1515 enable_xaudio2_6
1516 enable_xaudio2_7
1517 enable_xaudio2_8
1518 enable_xaudio2_9
1519 enable_xinput1_1
1520 enable_xinput1_2
1521 enable_xinput1_3
1522 enable_xinput1_4
1523 enable_xinput9_1_0
1524 enable_xmllite
1525 enable_xolehlp
1526 enable_xpsprint
1527 enable_xpssvcs
1528 enable_fonts
1529 enable_include
1530 enable_libs_port
1531 enable_libs_wine
1532 enable_libs_wpp
1533 enable_loader
1534 enable_po
1535 enable_arp
1536 enable_aspnet_regiis
1537 enable_attrib
1538 enable_cabarc
1539 enable_cacls
1540 enable_clock
1541 enable_cmd
1542 enable_conhost
1543 enable_control
1544 enable_cscript
1545 enable_dpnsvr
1546 enable_dxdiag
1547 enable_eject
1548 enable_expand
1549 enable_explorer
1550 enable_extrac32
1551 enable_findstr
1552 enable_fsutil
1553 enable_hh
1554 enable_hostname
1555 enable_icacls
1556 enable_icinfo
1557 enable_iexplore
1558 enable_ipconfig
1559 enable_lodctr
1560 enable_mofcomp
1561 enable_mshta
1562 enable_msiexec
1563 enable_msinfo32
1564 enable_net
1565 enable_netsh
1566 enable_netstat
1567 enable_ngen
1568 enable_notepad
1569 enable_oleview
1570 enable_ping
1571 enable_plugplay
1572 enable_presentationfontcache
1573 enable_progman
1574 enable_reg
1575 enable_regasm
1576 enable_regedit
1577 enable_regsvcs
1578 enable_regsvr32
1579 enable_rpcss
1580 enable_rundll32
1581 enable_sc
1582 enable_schtasks
1583 enable_sdbinst
1584 enable_secedit
1585 enable_servicemodelreg
1586 enable_services
1587 enable_shutdown
1588 enable_spoolsv
1589 enable_start
1590 enable_subst
1591 enable_svchost
1592 enable_systeminfo
1593 enable_taskkill
1594 enable_tasklist
1595 enable_taskmgr
1596 enable_termsv
1597 enable_uninstaller
1598 enable_unlodctr
1599 enable_view
1600 enable_wevtutil
1601 enable_wineboot
1602 enable_winebrowser
1603 enable_winecfg
1604 enable_wineconsole
1605 enable_winedbg
1606 enable_winedevice
1607 enable_winefile
1608 enable_winemenubuilder
1609 enable_winemine
1610 enable_winemsibuilder
1611 enable_winepath
1612 enable_winetest
1613 enable_winhlp32
1614 enable_winver
1615 enable_wmic
1616 enable_wmplayer
1617 enable_wordpad
1618 enable_write
1619 enable_wscript
1620 enable_wusa
1621 enable_xcopy
1622 enable_server
1623 enable_tools
1625 ac_precious_vars='build_alias
1626 host_alias
1627 target_alias
1629 CFLAGS
1630 LDFLAGS
1631 LIBS
1632 CPPFLAGS
1634 CXXFLAGS
1637 XMKMF
1638 XML2_CFLAGS
1639 XML2_LIBS
1640 XSLT_CFLAGS
1641 XSLT_LIBS
1642 DBUS_CFLAGS
1643 DBUS_LIBS
1644 HAL_CFLAGS
1645 HAL_LIBS
1646 GNUTLS_CFLAGS
1647 GNUTLS_LIBS
1648 SANE_CFLAGS
1649 SANE_LIBS
1650 GPHOTO2_CFLAGS
1651 GPHOTO2_LIBS
1652 GPHOTO2_PORT_CFLAGS
1653 GPHOTO2_PORT_LIBS
1654 LCMS2_CFLAGS
1655 LCMS2_LIBS
1656 FREETYPE_CFLAGS
1657 FREETYPE_LIBS
1658 PULSE_CFLAGS
1659 PULSE_LIBS
1660 GSTREAMER_CFLAGS
1661 GSTREAMER_LIBS
1662 UDEV_CFLAGS
1663 UDEV_LIBS
1664 CAPI20_CFLAGS
1665 CAPI20_LIBS
1666 FONTCONFIG_CFLAGS
1667 FONTCONFIG_LIBS
1668 JPEG_CFLAGS
1669 JPEG_LIBS
1670 PNG_CFLAGS
1671 PNG_LIBS
1672 TIFF_CFLAGS
1673 TIFF_LIBS
1674 MPG123_CFLAGS
1675 MPG123_LIBS
1676 NETAPI_CFLAGS
1677 NETAPI_LIBS'
1680 # Initialize some variables set by options.
1681 ac_init_help=
1682 ac_init_version=false
1683 ac_unrecognized_opts=
1684 ac_unrecognized_sep=
1685 # The variables have the same names as the options, with
1686 # dashes changed to underlines.
1687 cache_file=/dev/null
1688 exec_prefix=NONE
1689 no_create=
1690 no_recursion=
1691 prefix=NONE
1692 program_prefix=NONE
1693 program_suffix=NONE
1694 program_transform_name=s,x,x,
1695 silent=
1696 site=
1697 srcdir=
1698 verbose=
1699 x_includes=NONE
1700 x_libraries=NONE
1702 # Installation directory options.
1703 # These are left unexpanded so users can "make install exec_prefix=/foo"
1704 # and all the variables that are supposed to be based on exec_prefix
1705 # by default will actually change.
1706 # Use braces instead of parens because sh, perl, etc. also accept them.
1707 # (The list follows the same order as the GNU Coding Standards.)
1708 bindir='${exec_prefix}/bin'
1709 sbindir='${exec_prefix}/sbin'
1710 libexecdir='${exec_prefix}/libexec'
1711 datarootdir='${prefix}/share'
1712 datadir='${datarootdir}'
1713 sysconfdir='${prefix}/etc'
1714 sharedstatedir='${prefix}/com'
1715 localstatedir='${prefix}/var'
1716 runstatedir='${localstatedir}/run'
1717 includedir='${prefix}/include'
1718 oldincludedir='/usr/include'
1719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1720 infodir='${datarootdir}/info'
1721 htmldir='${docdir}'
1722 dvidir='${docdir}'
1723 pdfdir='${docdir}'
1724 psdir='${docdir}'
1725 libdir='${exec_prefix}/lib'
1726 localedir='${datarootdir}/locale'
1727 mandir='${datarootdir}/man'
1729 ac_prev=
1730 ac_dashdash=
1731 for ac_option
1733 # If the previous option needs an argument, assign it.
1734 if test -n "$ac_prev"; then
1735 eval $ac_prev=\$ac_option
1736 ac_prev=
1737 continue
1740 case $ac_option in
1741 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1742 *=) ac_optarg= ;;
1743 *) ac_optarg=yes ;;
1744 esac
1746 # Accept the important Cygnus configure options, so we can diagnose typos.
1748 case $ac_dashdash$ac_option in
1750 ac_dashdash=yes ;;
1752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1753 ac_prev=bindir ;;
1754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1755 bindir=$ac_optarg ;;
1757 -build | --build | --buil | --bui | --bu)
1758 ac_prev=build_alias ;;
1759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1760 build_alias=$ac_optarg ;;
1762 -cache-file | --cache-file | --cache-fil | --cache-fi \
1763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1764 ac_prev=cache_file ;;
1765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1767 cache_file=$ac_optarg ;;
1769 --config-cache | -C)
1770 cache_file=config.cache ;;
1772 -datadir | --datadir | --datadi | --datad)
1773 ac_prev=datadir ;;
1774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1775 datadir=$ac_optarg ;;
1777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1778 | --dataroo | --dataro | --datar)
1779 ac_prev=datarootdir ;;
1780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1782 datarootdir=$ac_optarg ;;
1784 -disable-* | --disable-*)
1785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1786 # Reject names that are not valid shell variable names.
1787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1788 as_fn_error $? "invalid feature name: $ac_useropt"
1789 ac_useropt_orig=$ac_useropt
1790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1791 case $ac_user_opts in
1793 "enable_$ac_useropt"
1794 "*) ;;
1795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1796 ac_unrecognized_sep=', ';;
1797 esac
1798 eval enable_$ac_useropt=no ;;
1800 -docdir | --docdir | --docdi | --doc | --do)
1801 ac_prev=docdir ;;
1802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1803 docdir=$ac_optarg ;;
1805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1806 ac_prev=dvidir ;;
1807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1808 dvidir=$ac_optarg ;;
1810 -enable-* | --enable-*)
1811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1812 # Reject names that are not valid shell variable names.
1813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1814 as_fn_error $? "invalid feature name: $ac_useropt"
1815 ac_useropt_orig=$ac_useropt
1816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1817 case $ac_user_opts in
1819 "enable_$ac_useropt"
1820 "*) ;;
1821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1822 ac_unrecognized_sep=', ';;
1823 esac
1824 eval enable_$ac_useropt=\$ac_optarg ;;
1826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1828 | --exec | --exe | --ex)
1829 ac_prev=exec_prefix ;;
1830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1832 | --exec=* | --exe=* | --ex=*)
1833 exec_prefix=$ac_optarg ;;
1835 -gas | --gas | --ga | --g)
1836 # Obsolete; use --with-gas.
1837 with_gas=yes ;;
1839 -help | --help | --hel | --he | -h)
1840 ac_init_help=long ;;
1841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1842 ac_init_help=recursive ;;
1843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1844 ac_init_help=short ;;
1846 -host | --host | --hos | --ho)
1847 ac_prev=host_alias ;;
1848 -host=* | --host=* | --hos=* | --ho=*)
1849 host_alias=$ac_optarg ;;
1851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1852 ac_prev=htmldir ;;
1853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1854 | --ht=*)
1855 htmldir=$ac_optarg ;;
1857 -includedir | --includedir | --includedi | --included | --include \
1858 | --includ | --inclu | --incl | --inc)
1859 ac_prev=includedir ;;
1860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1861 | --includ=* | --inclu=* | --incl=* | --inc=*)
1862 includedir=$ac_optarg ;;
1864 -infodir | --infodir | --infodi | --infod | --info | --inf)
1865 ac_prev=infodir ;;
1866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1867 infodir=$ac_optarg ;;
1869 -libdir | --libdir | --libdi | --libd)
1870 ac_prev=libdir ;;
1871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1872 libdir=$ac_optarg ;;
1874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1875 | --libexe | --libex | --libe)
1876 ac_prev=libexecdir ;;
1877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1878 | --libexe=* | --libex=* | --libe=*)
1879 libexecdir=$ac_optarg ;;
1881 -localedir | --localedir | --localedi | --localed | --locale)
1882 ac_prev=localedir ;;
1883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1884 localedir=$ac_optarg ;;
1886 -localstatedir | --localstatedir | --localstatedi | --localstated \
1887 | --localstate | --localstat | --localsta | --localst | --locals)
1888 ac_prev=localstatedir ;;
1889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1891 localstatedir=$ac_optarg ;;
1893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1894 ac_prev=mandir ;;
1895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1896 mandir=$ac_optarg ;;
1898 -nfp | --nfp | --nf)
1899 # Obsolete; use --without-fp.
1900 with_fp=no ;;
1902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1903 | --no-cr | --no-c | -n)
1904 no_create=yes ;;
1906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1908 no_recursion=yes ;;
1910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1912 | --oldin | --oldi | --old | --ol | --o)
1913 ac_prev=oldincludedir ;;
1914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1917 oldincludedir=$ac_optarg ;;
1919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1920 ac_prev=prefix ;;
1921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1922 prefix=$ac_optarg ;;
1924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1925 | --program-pre | --program-pr | --program-p)
1926 ac_prev=program_prefix ;;
1927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1929 program_prefix=$ac_optarg ;;
1931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1932 | --program-suf | --program-su | --program-s)
1933 ac_prev=program_suffix ;;
1934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1936 program_suffix=$ac_optarg ;;
1938 -program-transform-name | --program-transform-name \
1939 | --program-transform-nam | --program-transform-na \
1940 | --program-transform-n | --program-transform- \
1941 | --program-transform | --program-transfor \
1942 | --program-transfo | --program-transf \
1943 | --program-trans | --program-tran \
1944 | --progr-tra | --program-tr | --program-t)
1945 ac_prev=program_transform_name ;;
1946 -program-transform-name=* | --program-transform-name=* \
1947 | --program-transform-nam=* | --program-transform-na=* \
1948 | --program-transform-n=* | --program-transform-=* \
1949 | --program-transform=* | --program-transfor=* \
1950 | --program-transfo=* | --program-transf=* \
1951 | --program-trans=* | --program-tran=* \
1952 | --progr-tra=* | --program-tr=* | --program-t=*)
1953 program_transform_name=$ac_optarg ;;
1955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1956 ac_prev=pdfdir ;;
1957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1958 pdfdir=$ac_optarg ;;
1960 -psdir | --psdir | --psdi | --psd | --ps)
1961 ac_prev=psdir ;;
1962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1963 psdir=$ac_optarg ;;
1965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1966 | -silent | --silent | --silen | --sile | --sil)
1967 silent=yes ;;
1969 -runstatedir | --runstatedir | --runstatedi | --runstated \
1970 | --runstate | --runstat | --runsta | --runst | --runs \
1971 | --run | --ru | --r)
1972 ac_prev=runstatedir ;;
1973 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1974 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1975 | --run=* | --ru=* | --r=*)
1976 runstatedir=$ac_optarg ;;
1978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1979 ac_prev=sbindir ;;
1980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1981 | --sbi=* | --sb=*)
1982 sbindir=$ac_optarg ;;
1984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1986 | --sharedst | --shareds | --shared | --share | --shar \
1987 | --sha | --sh)
1988 ac_prev=sharedstatedir ;;
1989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1992 | --sha=* | --sh=*)
1993 sharedstatedir=$ac_optarg ;;
1995 -site | --site | --sit)
1996 ac_prev=site ;;
1997 -site=* | --site=* | --sit=*)
1998 site=$ac_optarg ;;
2000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2001 ac_prev=srcdir ;;
2002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2003 srcdir=$ac_optarg ;;
2005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2006 | --syscon | --sysco | --sysc | --sys | --sy)
2007 ac_prev=sysconfdir ;;
2008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2010 sysconfdir=$ac_optarg ;;
2012 -target | --target | --targe | --targ | --tar | --ta | --t)
2013 ac_prev=target_alias ;;
2014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2015 target_alias=$ac_optarg ;;
2017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2018 verbose=yes ;;
2020 -version | --version | --versio | --versi | --vers | -V)
2021 ac_init_version=: ;;
2023 -with-* | --with-*)
2024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2025 # Reject names that are not valid shell variable names.
2026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2027 as_fn_error $? "invalid package name: $ac_useropt"
2028 ac_useropt_orig=$ac_useropt
2029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2030 case $ac_user_opts in
2032 "with_$ac_useropt"
2033 "*) ;;
2034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2035 ac_unrecognized_sep=', ';;
2036 esac
2037 eval with_$ac_useropt=\$ac_optarg ;;
2039 -without-* | --without-*)
2040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2041 # Reject names that are not valid shell variable names.
2042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2043 as_fn_error $? "invalid package name: $ac_useropt"
2044 ac_useropt_orig=$ac_useropt
2045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2046 case $ac_user_opts in
2048 "with_$ac_useropt"
2049 "*) ;;
2050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2051 ac_unrecognized_sep=', ';;
2052 esac
2053 eval with_$ac_useropt=no ;;
2055 --x)
2056 # Obsolete; use --with-x.
2057 with_x=yes ;;
2059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2060 | --x-incl | --x-inc | --x-in | --x-i)
2061 ac_prev=x_includes ;;
2062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2064 x_includes=$ac_optarg ;;
2066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2068 ac_prev=x_libraries ;;
2069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2071 x_libraries=$ac_optarg ;;
2073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2074 Try \`$0 --help' for more information"
2077 *=*)
2078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2079 # Reject names that are not valid shell variable names.
2080 case $ac_envvar in #(
2081 '' | [0-9]* | *[!_$as_cr_alnum]* )
2082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2083 esac
2084 eval $ac_envvar=\$ac_optarg
2085 export $ac_envvar ;;
2088 # FIXME: should be removed in autoconf 3.0.
2089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2095 esac
2096 done
2098 if test -n "$ac_prev"; then
2099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2100 as_fn_error $? "missing argument to $ac_option"
2103 if test -n "$ac_unrecognized_opts"; then
2104 case $enable_option_checking in
2105 no) ;;
2106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2108 esac
2111 # Check all directory arguments for consistency.
2112 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2113 datadir sysconfdir sharedstatedir localstatedir includedir \
2114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2115 libdir localedir mandir runstatedir
2117 eval ac_val=\$$ac_var
2118 # Remove trailing slashes.
2119 case $ac_val in
2120 */ )
2121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2122 eval $ac_var=\$ac_val;;
2123 esac
2124 # Be sure to have absolute directory names.
2125 case $ac_val in
2126 [\\/$]* | ?:[\\/]* ) continue;;
2127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2128 esac
2129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2130 done
2132 # There might be people who depend on the old broken behavior: `$host'
2133 # used to hold the argument of --host etc.
2134 # FIXME: To remove some day.
2135 build=$build_alias
2136 host=$host_alias
2137 target=$target_alias
2139 # FIXME: To remove some day.
2140 if test "x$host_alias" != x; then
2141 if test "x$build_alias" = x; then
2142 cross_compiling=maybe
2143 elif test "x$build_alias" != "x$host_alias"; then
2144 cross_compiling=yes
2148 ac_tool_prefix=
2149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2151 test "$silent" = yes && exec 6>/dev/null
2154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2155 ac_ls_di=`ls -di .` &&
2156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2157 as_fn_error $? "working directory cannot be determined"
2158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2159 as_fn_error $? "pwd does not report name of working directory"
2162 # Find the source files, if location was not specified.
2163 if test -z "$srcdir"; then
2164 ac_srcdir_defaulted=yes
2165 # Try the directory containing this script, then the parent directory.
2166 ac_confdir=`$as_dirname -- "$as_myself" ||
2167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2168 X"$as_myself" : 'X\(//\)[^/]' \| \
2169 X"$as_myself" : 'X\(//\)$' \| \
2170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2171 $as_echo X"$as_myself" |
2172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2173 s//\1/
2176 /^X\(\/\/\)[^/].*/{
2177 s//\1/
2180 /^X\(\/\/\)$/{
2181 s//\1/
2184 /^X\(\/\).*/{
2185 s//\1/
2188 s/.*/./; q'`
2189 srcdir=$ac_confdir
2190 if test ! -r "$srcdir/$ac_unique_file"; then
2191 srcdir=..
2193 else
2194 ac_srcdir_defaulted=no
2196 if test ! -r "$srcdir/$ac_unique_file"; then
2197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2201 ac_abs_confdir=`(
2202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2203 pwd)`
2204 # When building in place, set srcdir=.
2205 if test "$ac_abs_confdir" = "$ac_pwd"; then
2206 srcdir=.
2208 # Remove unnecessary trailing slashes from srcdir.
2209 # Double slashes in file names in object file debugging info
2210 # mess up M-x gdb in Emacs.
2211 case $srcdir in
2212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2213 esac
2214 for ac_var in $ac_precious_vars; do
2215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2216 eval ac_env_${ac_var}_value=\$${ac_var}
2217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2219 done
2222 # Report the --help message.
2224 if test "$ac_init_help" = "long"; then
2225 # Omit some internal or obsolete options to make the list less imposing.
2226 # This message is too long to be a string in the A/UX 3.1 sh.
2227 cat <<_ACEOF
2228 \`configure' configures Wine 2.1 to adapt to many kinds of systems.
2230 Usage: $0 [OPTION]... [VAR=VALUE]...
2232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2233 VAR=VALUE. See below for descriptions of some of the useful variables.
2235 Defaults for the options are specified in brackets.
2237 Configuration:
2238 -h, --help display this help and exit
2239 --help=short display options specific to this package
2240 --help=recursive display the short help of all the included packages
2241 -V, --version display version information and exit
2242 -q, --quiet, --silent do not print \`checking ...' messages
2243 --cache-file=FILE cache test results in FILE [disabled]
2244 -C, --config-cache alias for \`--cache-file=config.cache'
2245 -n, --no-create do not create output files
2246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2248 Installation directories:
2249 --prefix=PREFIX install architecture-independent files in PREFIX
2250 [$ac_default_prefix]
2251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2252 [PREFIX]
2254 By default, \`make install' will install all the files in
2255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2257 for instance \`--prefix=\$HOME'.
2259 For better control, use the options below.
2261 Fine tuning of the installation directories:
2262 --bindir=DIR user executables [EPREFIX/bin]
2263 --sbindir=DIR system admin executables [EPREFIX/sbin]
2264 --libexecdir=DIR program executables [EPREFIX/libexec]
2265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2268 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2269 --libdir=DIR object code libraries [EPREFIX/lib]
2270 --includedir=DIR C header files [PREFIX/include]
2271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2274 --infodir=DIR info documentation [DATAROOTDIR/info]
2275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2276 --mandir=DIR man documentation [DATAROOTDIR/man]
2277 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2278 --htmldir=DIR html documentation [DOCDIR]
2279 --dvidir=DIR dvi documentation [DOCDIR]
2280 --pdfdir=DIR pdf documentation [DOCDIR]
2281 --psdir=DIR ps documentation [DOCDIR]
2282 _ACEOF
2284 cat <<\_ACEOF
2286 X features:
2287 --x-includes=DIR X include files are in DIR
2288 --x-libraries=DIR X library files are in DIR
2290 System types:
2291 --build=BUILD configure for building on BUILD [guessed]
2292 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2293 _ACEOF
2296 if test -n "$ac_init_help"; then
2297 case $ac_init_help in
2298 short | recursive ) echo "Configuration of Wine 2.1:";;
2299 esac
2300 cat <<\_ACEOF
2302 Optional Features:
2303 --disable-option-checking ignore unrecognized --enable/--with options
2304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2306 --disable-win16 do not include Win16 support
2307 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2308 binaries)
2309 --disable-tests do not build the regression tests
2310 --enable-maintainer-mode
2311 enable maintainer-specific build rules
2312 --disable-largefile omit support for large files
2314 Optional Packages:
2315 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2316 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2317 --without-alsa do not use the Alsa sound support
2318 --without-capi do not use CAPI (ISDN support)
2319 --without-cms do not use CMS (color management support)
2320 --without-coreaudio do not use the CoreAudio sound support
2321 --without-cups do not use CUPS
2322 --without-curses do not use (n)curses
2323 --without-dbus do not use DBus (dynamic device support)
2324 --without-fontconfig do not use fontconfig
2325 --without-freetype do not use the FreeType library
2326 --without-gettext do not use gettext
2327 --with-gettextpo use the GetTextPO library to rebuild po files
2328 --without-gphoto do not use gphoto (Digital Camera support)
2329 --without-glu do not use the GLU library
2330 --without-gnutls do not use GnuTLS (schannel support)
2331 --without-gsm do not use libgsm (GSM 06.10 codec support)
2332 --without-gstreamer do not use GStreamer (codecs support)
2333 --without-hal do not use HAL (dynamic device support)
2334 --without-jpeg do not use JPEG
2335 --without-ldap do not use LDAP
2336 --without-mpg123 do not use the mpg123 library
2337 --without-netapi do not use the Samba NetAPI library
2338 --without-openal do not use OpenAL
2339 --without-opencl do not use OpenCL
2340 --without-opengl do not use OpenGL
2341 --without-osmesa do not use the OSMesa library
2342 --without-oss do not use the OSS sound support
2343 --without-pcap do not use the Packet Capture library
2344 --without-png do not use PNG
2345 --without-pthread do not use the pthread library
2346 --without-pulse do not use PulseAudio sound support
2347 --without-sane do not use SANE (scanner support)
2348 --without-tiff do not use TIFF
2349 --without-udev do not use udev (plug and play support)
2350 --without-v4l do not use v4l1 (v4l support)
2351 --without-xcomposite do not use the Xcomposite extension
2352 --without-xcursor do not use the Xcursor extension
2353 --without-xinerama do not use Xinerama (multi-monitor support)
2354 --without-xinput do not use the Xinput extension
2355 --without-xinput2 do not use the Xinput 2 extension
2356 --without-xml do not use XML
2357 --without-xrandr do not use Xrandr (resolution changes)
2358 --without-xrender do not use the Xrender extension
2359 --without-xshape do not use the Xshape extension
2360 --without-xshm do not use XShm (shared memory extension)
2361 --without-xslt do not use XSLT
2362 --without-xxf86vm do not use XFree video mode extension
2363 --without-zlib do not use Zlib (data compression)
2364 --with-wine-tools=DIR use Wine tools from directory DIR
2365 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2366 --with-x use the X Window System
2368 Some influential environment variables:
2369 CC C compiler command
2370 CFLAGS C compiler flags
2371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2372 nonstandard directory <lib dir>
2373 LIBS libraries to pass to the linker, e.g. -l<library>
2374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2375 you have headers in a nonstandard directory <include dir>
2376 CXX C++ compiler command
2377 CXXFLAGS C++ compiler flags
2378 CPP C preprocessor
2379 XMKMF Path to xmkmf, Makefile generator for X Window System
2380 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2381 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2382 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2383 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2384 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2385 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2386 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2387 HAL_LIBS Linker flags for hal, overriding pkg-config
2388 GNUTLS_CFLAGS
2389 C compiler flags for gnutls, overriding pkg-config
2390 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2391 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2392 SANE_LIBS Linker flags for libsane, overriding pkg-config
2393 GPHOTO2_CFLAGS
2394 C compiler flags for libgphoto2, overriding pkg-config
2395 GPHOTO2_LIBS
2396 Linker flags for libgphoto2, overriding pkg-config
2397 GPHOTO2_PORT_CFLAGS
2398 C compiler flags for libgphoto2_port, overriding pkg-config
2399 GPHOTO2_PORT_LIBS
2400 Linker flags for libgphoto2_port, overriding pkg-config
2401 LCMS2_CFLAGS
2402 C compiler flags for lcms2, overriding pkg-config
2403 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2404 FREETYPE_CFLAGS
2405 C compiler flags for freetype2, overriding pkg-config
2406 FREETYPE_LIBS
2407 Linker flags for freetype2, overriding pkg-config
2408 PULSE_CFLAGS
2409 C compiler flags for libpulse, overriding pkg-config
2410 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2411 GSTREAMER_CFLAGS
2412 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2413 gstreamer-audio-1.0, overriding pkg-config
2414 GSTREAMER_LIBS
2415 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2416 gstreamer-audio-1.0, overriding pkg-config
2417 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2418 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2419 CAPI20_CFLAGS
2420 C compiler flags for capi20, overriding pkg-config
2421 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2422 FONTCONFIG_CFLAGS
2423 C compiler flags for fontconfig, overriding pkg-config
2424 FONTCONFIG_LIBS
2425 Linker flags for fontconfig, overriding pkg-config
2426 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2427 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2428 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2429 PNG_LIBS Linker flags for libpng, overriding pkg-config
2430 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2431 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2432 MPG123_CFLAGS
2433 C compiler flags for libmpg123, overriding pkg-config
2434 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2435 NETAPI_CFLAGS
2436 C compiler flags for netapi, overriding pkg-config
2437 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2439 Use these variables to override the choices made by `configure' or to help
2440 it to find libraries and programs with nonstandard names/locations.
2442 Report bugs to <wine-devel@winehq.org>.
2443 Wine home page: <http://www.winehq.org>.
2444 _ACEOF
2445 ac_status=$?
2448 if test "$ac_init_help" = "recursive"; then
2449 # If there are subdirs, report their specific --help.
2450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2451 test -d "$ac_dir" ||
2452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2453 continue
2454 ac_builddir=.
2456 case "$ac_dir" in
2457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2459 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2460 # A ".." for each directory in $ac_dir_suffix.
2461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2462 case $ac_top_builddir_sub in
2463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2465 esac ;;
2466 esac
2467 ac_abs_top_builddir=$ac_pwd
2468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2469 # for backward compatibility:
2470 ac_top_builddir=$ac_top_build_prefix
2472 case $srcdir in
2473 .) # We are building in place.
2474 ac_srcdir=.
2475 ac_top_srcdir=$ac_top_builddir_sub
2476 ac_abs_top_srcdir=$ac_pwd ;;
2477 [\\/]* | ?:[\\/]* ) # Absolute name.
2478 ac_srcdir=$srcdir$ac_dir_suffix;
2479 ac_top_srcdir=$srcdir
2480 ac_abs_top_srcdir=$srcdir ;;
2481 *) # Relative name.
2482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2483 ac_top_srcdir=$ac_top_build_prefix$srcdir
2484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2485 esac
2486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2488 cd "$ac_dir" || { ac_status=$?; continue; }
2489 # Check for guested configure.
2490 if test -f "$ac_srcdir/configure.gnu"; then
2491 echo &&
2492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2493 elif test -f "$ac_srcdir/configure"; then
2494 echo &&
2495 $SHELL "$ac_srcdir/configure" --help=recursive
2496 else
2497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2498 fi || ac_status=$?
2499 cd "$ac_pwd" || { ac_status=$?; break; }
2500 done
2503 test -n "$ac_init_help" && exit $ac_status
2504 if $ac_init_version; then
2505 cat <<\_ACEOF
2506 Wine configure 2.1
2507 generated by GNU Autoconf 2.69
2509 Copyright (C) 2012 Free Software Foundation, Inc.
2510 This configure script is free software; the Free Software Foundation
2511 gives unlimited permission to copy, distribute and modify it.
2512 _ACEOF
2513 exit
2516 ## ------------------------ ##
2517 ## Autoconf initialization. ##
2518 ## ------------------------ ##
2520 # ac_fn_c_try_compile LINENO
2521 # --------------------------
2522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2523 ac_fn_c_try_compile ()
2525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2526 rm -f conftest.$ac_objext
2527 if { { ac_try="$ac_compile"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_compile") 2>conftest.err
2535 ac_status=$?
2536 if test -s conftest.err; then
2537 grep -v '^ *+' conftest.err >conftest.er1
2538 cat conftest.er1 >&5
2539 mv -f conftest.er1 conftest.err
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; } && {
2543 test -z "$ac_c_werror_flag" ||
2544 test ! -s conftest.err
2545 } && test -s conftest.$ac_objext; then :
2546 ac_retval=0
2547 else
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2551 ac_retval=1
2553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 as_fn_set_status $ac_retval
2556 } # ac_fn_c_try_compile
2558 # ac_fn_cxx_try_compile LINENO
2559 # ----------------------------
2560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2561 ac_fn_cxx_try_compile ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 rm -f conftest.$ac_objext
2565 if { { ac_try="$ac_compile"
2566 case "(($ac_try" in
2567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568 *) ac_try_echo=$ac_try;;
2569 esac
2570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572 (eval "$ac_compile") 2>conftest.err
2573 ac_status=$?
2574 if test -s conftest.err; then
2575 grep -v '^ *+' conftest.err >conftest.er1
2576 cat conftest.er1 >&5
2577 mv -f conftest.er1 conftest.err
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; } && {
2581 test -z "$ac_cxx_werror_flag" ||
2582 test ! -s conftest.err
2583 } && test -s conftest.$ac_objext; then :
2584 ac_retval=0
2585 else
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 ac_retval=1
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status $ac_retval
2594 } # ac_fn_cxx_try_compile
2596 # ac_fn_c_try_link LINENO
2597 # -----------------------
2598 # Try to link conftest.$ac_ext, and return whether this succeeded.
2599 ac_fn_c_try_link ()
2601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602 rm -f conftest.$ac_objext conftest$ac_exeext
2603 if { { ac_try="$ac_link"
2604 case "(($ac_try" in
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2607 esac
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_link") 2>conftest.err
2611 ac_status=$?
2612 if test -s conftest.err; then
2613 grep -v '^ *+' conftest.err >conftest.er1
2614 cat conftest.er1 >&5
2615 mv -f conftest.er1 conftest.err
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; } && {
2619 test -z "$ac_c_werror_flag" ||
2620 test ! -s conftest.err
2621 } && test -s conftest$ac_exeext && {
2622 test "$cross_compiling" = yes ||
2623 test -x conftest$ac_exeext
2624 }; then :
2625 ac_retval=0
2626 else
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2630 ac_retval=1
2632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2634 # interfere with the next link command; also delete a directory that is
2635 # left behind by Apple's compiler. We do this before executing the actions.
2636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 as_fn_set_status $ac_retval
2640 } # ac_fn_c_try_link
2642 # ac_fn_c_try_cpp LINENO
2643 # ----------------------
2644 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_cpp ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 if { { ac_try="$ac_cpp conftest.$ac_ext"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2656 ac_status=$?
2657 if test -s conftest.err; then
2658 grep -v '^ *+' conftest.err >conftest.er1
2659 cat conftest.er1 >&5
2660 mv -f conftest.er1 conftest.err
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } > conftest.i && {
2664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 }; then :
2667 ac_retval=0
2668 else
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_cpp
2679 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2680 # -------------------------------------------------------
2681 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2682 # the include files in INCLUDES and setting the cache variable VAR
2683 # accordingly.
2684 ac_fn_c_check_header_mongrel ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 if eval \${$3+:} false; then :
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2689 $as_echo_n "checking for $2... " >&6; }
2690 if eval \${$3+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 eval ac_res=\$$3
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2695 $as_echo "$ac_res" >&6; }
2696 else
2697 # Is the header compilable?
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2699 $as_echo_n "checking $2 usability... " >&6; }
2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h. */
2703 #include <$2>
2704 _ACEOF
2705 if ac_fn_c_try_compile "$LINENO"; then :
2706 ac_header_compiler=yes
2707 else
2708 ac_header_compiler=no
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2712 $as_echo "$ac_header_compiler" >&6; }
2714 # Is the header present?
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2716 $as_echo_n "checking $2 presence... " >&6; }
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2719 #include <$2>
2720 _ACEOF
2721 if ac_fn_c_try_cpp "$LINENO"; then :
2722 ac_header_preproc=yes
2723 else
2724 ac_header_preproc=no
2726 rm -f conftest.err conftest.i conftest.$ac_ext
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2728 $as_echo "$ac_header_preproc" >&6; }
2730 # So? What about this header?
2731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2732 yes:no: )
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2734 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2738 no:yes:* )
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2740 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2742 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2744 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2746 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2749 ( $as_echo "## ------------------------------------ ##
2750 ## Report this to wine-devel@winehq.org ##
2751 ## ------------------------------------ ##"
2752 ) | sed "s/^/$as_me: WARNING: /" >&2
2754 esac
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2756 $as_echo_n "checking for $2... " >&6; }
2757 if eval \${$3+:} false; then :
2758 $as_echo_n "(cached) " >&6
2759 else
2760 eval "$3=\$ac_header_compiler"
2762 eval ac_res=\$$3
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2764 $as_echo "$ac_res" >&6; }
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 } # ac_fn_c_check_header_mongrel
2770 # ac_fn_c_try_run LINENO
2771 # ----------------------
2772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2773 # that executables *can* be run.
2774 ac_fn_c_try_run ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 if { { ac_try="$ac_link"
2778 case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_link") 2>&5
2785 ac_status=$?
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2788 { { case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_try") 2>&5
2795 ac_status=$?
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; }; }; then :
2798 ac_retval=0
2799 else
2800 $as_echo "$as_me: program exited with status $ac_status" >&5
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_retval=$ac_status
2806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_run
2812 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2813 # -------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_c_check_header_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2827 #include <$2>
2828 _ACEOF
2829 if ac_fn_c_try_compile "$LINENO"; then :
2830 eval "$3=yes"
2831 else
2832 eval "$3=no"
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_c_check_header_compile
2843 # ac_fn_c_check_func LINENO FUNC VAR
2844 # ----------------------------------
2845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2846 ac_fn_c_check_func ()
2848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2850 $as_echo_n "checking for $2... " >&6; }
2851 if eval \${$3+:} false; then :
2852 $as_echo_n "(cached) " >&6
2853 else
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2858 #define $2 innocuous_$2
2860 /* System header to define __stub macros and hopefully few prototypes,
2861 which can conflict with char $2 (); below.
2862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2863 <limits.h> exists even on freestanding compilers. */
2865 #ifdef __STDC__
2866 # include <limits.h>
2867 #else
2868 # include <assert.h>
2869 #endif
2871 #undef $2
2873 /* Override any GCC internal prototype to avoid an error.
2874 Use char because int might match the return type of a GCC
2875 builtin and then its argument prototype would still apply. */
2876 #ifdef __cplusplus
2877 extern "C"
2878 #endif
2879 char $2 ();
2880 /* The GNU C library defines this for functions which it implements
2881 to always fail with ENOSYS. Some functions are actually named
2882 something starting with __ and the normal name is an alias. */
2883 #if defined __stub_$2 || defined __stub___$2
2884 choke me
2885 #endif
2888 main ()
2890 return $2 ();
2892 return 0;
2894 _ACEOF
2895 if ac_fn_c_try_link "$LINENO"; then :
2896 eval "$3=yes"
2897 else
2898 eval "$3=no"
2900 rm -f core conftest.err conftest.$ac_objext \
2901 conftest$ac_exeext conftest.$ac_ext
2903 eval ac_res=\$$3
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2905 $as_echo "$ac_res" >&6; }
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 } # ac_fn_c_check_func
2910 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2911 # ----------------------------------------------------
2912 # Tries to find if the field MEMBER exists in type AGGR, after including
2913 # INCLUDES, setting cache variable VAR accordingly.
2914 ac_fn_c_check_member ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2918 $as_echo_n "checking for $2.$3... " >&6; }
2919 if eval \${$4+:} false; then :
2920 $as_echo_n "(cached) " >&6
2921 else
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2926 main ()
2928 static $2 ac_aggr;
2929 if (ac_aggr.$3)
2930 return 0;
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 eval "$4=yes"
2937 else
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2942 main ()
2944 static $2 ac_aggr;
2945 if (sizeof ac_aggr.$3)
2946 return 0;
2948 return 0;
2950 _ACEOF
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 eval "$4=yes"
2953 else
2954 eval "$4=no"
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 eval ac_res=\$$4
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2962 $as_echo "$ac_res" >&6; }
2963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 } # ac_fn_c_check_member
2967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2968 # -------------------------------------------
2969 # Tests whether TYPE exists after having included INCLUDES, setting cache
2970 # variable VAR accordingly.
2971 ac_fn_c_check_type ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2975 $as_echo_n "checking for $2... " >&6; }
2976 if eval \${$3+:} false; then :
2977 $as_echo_n "(cached) " >&6
2978 else
2979 eval "$3=no"
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2984 main ()
2986 if (sizeof ($2))
2987 return 0;
2989 return 0;
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
2999 if (sizeof (($2)))
3000 return 0;
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3007 else
3008 eval "$3=yes"
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 eval ac_res=\$$3
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3016 $as_echo "$ac_res" >&6; }
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3019 } # ac_fn_c_check_type
3020 cat >config.log <<_ACEOF
3021 This file contains any messages produced by compilers while
3022 running configure, to aid debugging if configure makes a mistake.
3024 It was created by Wine $as_me 2.1, which was
3025 generated by GNU Autoconf 2.69. Invocation command line was
3027 $ $0 $@
3029 _ACEOF
3030 exec 5>>config.log
3032 cat <<_ASUNAME
3033 ## --------- ##
3034 ## Platform. ##
3035 ## --------- ##
3037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3049 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3054 _ASUNAME
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 $as_echo "PATH: $as_dir"
3062 done
3063 IFS=$as_save_IFS
3065 } >&5
3067 cat >&5 <<_ACEOF
3070 ## ----------- ##
3071 ## Core tests. ##
3072 ## ----------- ##
3074 _ACEOF
3077 # Keep a trace of the command line.
3078 # Strip out --no-create and --no-recursion so they do not pile up.
3079 # Strip out --silent because we don't want to record it for future runs.
3080 # Also quote any args containing shell meta-characters.
3081 # Make two passes to allow for proper duplicate-argument suppression.
3082 ac_configure_args=
3083 ac_configure_args0=
3084 ac_configure_args1=
3085 ac_must_keep_next=false
3086 for ac_pass in 1 2
3088 for ac_arg
3090 case $ac_arg in
3091 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3092 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3093 | -silent | --silent | --silen | --sile | --sil)
3094 continue ;;
3095 *\'*)
3096 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3097 esac
3098 case $ac_pass in
3099 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3101 as_fn_append ac_configure_args1 " '$ac_arg'"
3102 if test $ac_must_keep_next = true; then
3103 ac_must_keep_next=false # Got value, back to normal.
3104 else
3105 case $ac_arg in
3106 *=* | --config-cache | -C | -disable-* | --disable-* \
3107 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3108 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3109 | -with-* | --with-* | -without-* | --without-* | --x)
3110 case "$ac_configure_args0 " in
3111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3112 esac
3114 -* ) ac_must_keep_next=true ;;
3115 esac
3117 as_fn_append ac_configure_args " '$ac_arg'"
3119 esac
3120 done
3121 done
3122 { ac_configure_args0=; unset ac_configure_args0;}
3123 { ac_configure_args1=; unset ac_configure_args1;}
3125 # When interrupted or exit'd, cleanup temporary files, and complete
3126 # config.log. We remove comments because anyway the quotes in there
3127 # would cause problems or look ugly.
3128 # WARNING: Use '\'' to represent an apostrophe within the trap.
3129 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3130 trap 'exit_status=$?
3131 # Save into config.log some information that might help in debugging.
3133 echo
3135 $as_echo "## ---------------- ##
3136 ## Cache variables. ##
3137 ## ---------------- ##"
3138 echo
3139 # The following way of writing the cache mishandles newlines in values,
3141 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3142 eval ac_val=\$$ac_var
3143 case $ac_val in #(
3144 *${as_nl}*)
3145 case $ac_var in #(
3146 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3147 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3148 esac
3149 case $ac_var in #(
3150 _ | IFS | as_nl) ;; #(
3151 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3152 *) { eval $ac_var=; unset $ac_var;} ;;
3153 esac ;;
3154 esac
3155 done
3156 (set) 2>&1 |
3157 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3158 *${as_nl}ac_space=\ *)
3159 sed -n \
3160 "s/'\''/'\''\\\\'\'''\''/g;
3161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3162 ;; #(
3164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3166 esac |
3167 sort
3169 echo
3171 $as_echo "## ----------------- ##
3172 ## Output variables. ##
3173 ## ----------------- ##"
3174 echo
3175 for ac_var in $ac_subst_vars
3177 eval ac_val=\$$ac_var
3178 case $ac_val in
3179 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3180 esac
3181 $as_echo "$ac_var='\''$ac_val'\''"
3182 done | sort
3183 echo
3185 if test -n "$ac_subst_files"; then
3186 $as_echo "## ------------------- ##
3187 ## File substitutions. ##
3188 ## ------------------- ##"
3189 echo
3190 for ac_var in $ac_subst_files
3192 eval ac_val=\$$ac_var
3193 case $ac_val in
3194 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3195 esac
3196 $as_echo "$ac_var='\''$ac_val'\''"
3197 done | sort
3198 echo
3201 if test -s confdefs.h; then
3202 $as_echo "## ----------- ##
3203 ## confdefs.h. ##
3204 ## ----------- ##"
3205 echo
3206 cat confdefs.h
3207 echo
3209 test "$ac_signal" != 0 &&
3210 $as_echo "$as_me: caught signal $ac_signal"
3211 $as_echo "$as_me: exit $exit_status"
3212 } >&5
3213 rm -f core *.core core.conftest.* &&
3214 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3215 exit $exit_status
3217 for ac_signal in 1 2 13 15; do
3218 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3219 done
3220 ac_signal=0
3222 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3223 rm -f -r conftest* confdefs.h
3225 $as_echo "/* confdefs.h */" > confdefs.h
3227 # Predefined preprocessor variables.
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_NAME "$PACKAGE_NAME"
3231 _ACEOF
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3235 _ACEOF
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3239 _ACEOF
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_STRING "$PACKAGE_STRING"
3243 _ACEOF
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3247 _ACEOF
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_URL "$PACKAGE_URL"
3251 _ACEOF
3254 # Let the site file select an alternate cache file if it wants to.
3255 # Prefer an explicitly selected file to automatically selected ones.
3256 ac_site_file1=NONE
3257 ac_site_file2=NONE
3258 if test -n "$CONFIG_SITE"; then
3259 # We do not want a PATH search for config.site.
3260 case $CONFIG_SITE in #((
3261 -*) ac_site_file1=./$CONFIG_SITE;;
3262 */*) ac_site_file1=$CONFIG_SITE;;
3263 *) ac_site_file1=./$CONFIG_SITE;;
3264 esac
3265 elif test "x$prefix" != xNONE; then
3266 ac_site_file1=$prefix/share/config.site
3267 ac_site_file2=$prefix/etc/config.site
3268 else
3269 ac_site_file1=$ac_default_prefix/share/config.site
3270 ac_site_file2=$ac_default_prefix/etc/config.site
3272 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3274 test "x$ac_site_file" = xNONE && continue
3275 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3277 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3278 sed 's/^/| /' "$ac_site_file" >&5
3279 . "$ac_site_file" \
3280 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 as_fn_error $? "failed to load site script $ac_site_file
3283 See \`config.log' for more details" "$LINENO" 5; }
3285 done
3287 if test -r "$cache_file"; then
3288 # Some versions of bash will fail to source /dev/null (special files
3289 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3290 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3292 $as_echo "$as_me: loading cache $cache_file" >&6;}
3293 case $cache_file in
3294 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3295 *) . "./$cache_file";;
3296 esac
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3300 $as_echo "$as_me: creating cache $cache_file" >&6;}
3301 >$cache_file
3304 # Check that the precious variables saved in the cache have kept the same
3305 # value.
3306 ac_cache_corrupted=false
3307 for ac_var in $ac_precious_vars; do
3308 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3309 eval ac_new_set=\$ac_env_${ac_var}_set
3310 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3311 eval ac_new_val=\$ac_env_${ac_var}_value
3312 case $ac_old_set,$ac_new_set in
3313 set,)
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3315 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3316 ac_cache_corrupted=: ;;
3317 ,set)
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3319 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3320 ac_cache_corrupted=: ;;
3321 ,);;
3323 if test "x$ac_old_val" != "x$ac_new_val"; then
3324 # differences in whitespace do not lead to failure.
3325 ac_old_val_w=`echo x $ac_old_val`
3326 ac_new_val_w=`echo x $ac_new_val`
3327 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3329 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3330 ac_cache_corrupted=:
3331 else
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3333 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3334 eval $ac_var=\$ac_old_val
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3337 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3339 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3340 fi;;
3341 esac
3342 # Pass precious variables to config.status.
3343 if test "$ac_new_set" = set; then
3344 case $ac_new_val in
3345 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3346 *) ac_arg=$ac_var=$ac_new_val ;;
3347 esac
3348 case " $ac_configure_args " in
3349 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3350 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3351 esac
3353 done
3354 if $ac_cache_corrupted; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3358 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3359 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3361 ## -------------------- ##
3362 ## Main body of script. ##
3363 ## -------------------- ##
3365 ac_ext=c
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373 ac_config_headers="$ac_config_headers include/config.h"
3375 ac_aux_dir=
3376 for ac_dir in tools "$srcdir"/tools; do
3377 if test -f "$ac_dir/install-sh"; then
3378 ac_aux_dir=$ac_dir
3379 ac_install_sh="$ac_aux_dir/install-sh -c"
3380 break
3381 elif test -f "$ac_dir/install.sh"; then
3382 ac_aux_dir=$ac_dir
3383 ac_install_sh="$ac_aux_dir/install.sh -c"
3384 break
3385 elif test -f "$ac_dir/shtool"; then
3386 ac_aux_dir=$ac_dir
3387 ac_install_sh="$ac_aux_dir/shtool install -c"
3388 break
3390 done
3391 if test -z "$ac_aux_dir"; then
3392 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3395 # These three variables are undocumented and unsupported,
3396 # and are intended to be withdrawn in a future Autoconf release.
3397 # They can cause serious problems if a builder's source tree is in a directory
3398 # whose full name contains unusual characters.
3399 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3400 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3401 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3405 libwine_version="1.0"
3409 # Check whether --enable-win16 was given.
3410 if test "${enable_win16+set}" = set; then :
3411 enableval=$enable_win16;
3414 # Check whether --enable-win64 was given.
3415 if test "${enable_win64+set}" = set; then :
3416 enableval=$enable_win64;
3419 # Check whether --enable-tests was given.
3420 if test "${enable_tests+set}" = set; then :
3421 enableval=$enable_tests;
3424 # Check whether --enable-maintainer-mode was given.
3425 if test "${enable_maintainer_mode+set}" = set; then :
3426 enableval=$enable_maintainer_mode;
3431 # Check whether --with-alsa was given.
3432 if test "${with_alsa+set}" = set; then :
3433 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3437 # Check whether --with-capi was given.
3438 if test "${with_capi+set}" = set; then :
3439 withval=$with_capi;
3443 # Check whether --with-cms was given.
3444 if test "${with_cms+set}" = set; then :
3445 withval=$with_cms;
3449 # Check whether --with-coreaudio was given.
3450 if test "${with_coreaudio+set}" = set; then :
3451 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3455 # Check whether --with-cups was given.
3456 if test "${with_cups+set}" = set; then :
3457 withval=$with_cups;
3461 # Check whether --with-curses was given.
3462 if test "${with_curses+set}" = set; then :
3463 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3467 # Check whether --with-dbus was given.
3468 if test "${with_dbus+set}" = set; then :
3469 withval=$with_dbus;
3473 # Check whether --with-fontconfig was given.
3474 if test "${with_fontconfig+set}" = set; then :
3475 withval=$with_fontconfig;
3479 # Check whether --with-freetype was given.
3480 if test "${with_freetype+set}" = set; then :
3481 withval=$with_freetype;
3485 # Check whether --with-gettext was given.
3486 if test "${with_gettext+set}" = set; then :
3487 withval=$with_gettext;
3491 # Check whether --with-gettextpo was given.
3492 if test "${with_gettextpo+set}" = set; then :
3493 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3497 # Check whether --with-gphoto was given.
3498 if test "${with_gphoto+set}" = set; then :
3499 withval=$with_gphoto;
3503 # Check whether --with-glu was given.
3504 if test "${with_glu+set}" = set; then :
3505 withval=$with_glu;
3509 # Check whether --with-gnutls was given.
3510 if test "${with_gnutls+set}" = set; then :
3511 withval=$with_gnutls;
3515 # Check whether --with-gsm was given.
3516 if test "${with_gsm+set}" = set; then :
3517 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3521 # Check whether --with-gstreamer was given.
3522 if test "${with_gstreamer+set}" = set; then :
3523 withval=$with_gstreamer;
3527 # Check whether --with-hal was given.
3528 if test "${with_hal+set}" = set; then :
3529 withval=$with_hal;
3533 # Check whether --with-jpeg was given.
3534 if test "${with_jpeg+set}" = set; then :
3535 withval=$with_jpeg;
3539 # Check whether --with-ldap was given.
3540 if test "${with_ldap+set}" = set; then :
3541 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3545 # Check whether --with-mpg123 was given.
3546 if test "${with_mpg123+set}" = set; then :
3547 withval=$with_mpg123;
3551 # Check whether --with-netapi was given.
3552 if test "${with_netapi+set}" = set; then :
3553 withval=$with_netapi;
3557 # Check whether --with-openal was given.
3558 if test "${with_openal+set}" = set; then :
3559 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3563 # Check whether --with-opencl was given.
3564 if test "${with_opencl+set}" = set; then :
3565 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3569 # Check whether --with-opengl was given.
3570 if test "${with_opengl+set}" = set; then :
3571 withval=$with_opengl;
3575 # Check whether --with-osmesa was given.
3576 if test "${with_osmesa+set}" = set; then :
3577 withval=$with_osmesa;
3581 # Check whether --with-oss was given.
3582 if test "${with_oss+set}" = set; then :
3583 withval=$with_oss;
3587 # Check whether --with-pcap was given.
3588 if test "${with_pcap+set}" = set; then :
3589 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3593 # Check whether --with-png was given.
3594 if test "${with_png+set}" = set; then :
3595 withval=$with_png;
3599 # Check whether --with-pthread was given.
3600 if test "${with_pthread+set}" = set; then :
3601 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3605 # Check whether --with-pulse was given.
3606 if test "${with_pulse+set}" = set; then :
3607 withval=$with_pulse;
3611 # Check whether --with-sane was given.
3612 if test "${with_sane+set}" = set; then :
3613 withval=$with_sane;
3617 # Check whether --with-tiff was given.
3618 if test "${with_tiff+set}" = set; then :
3619 withval=$with_tiff;
3623 # Check whether --with-udev was given.
3624 if test "${with_udev+set}" = set; then :
3625 withval=$with_udev;
3629 # Check whether --with-v4l was given.
3630 if test "${with_v4l+set}" = set; then :
3631 withval=$with_v4l;
3635 # Check whether --with-xcomposite was given.
3636 if test "${with_xcomposite+set}" = set; then :
3637 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3641 # Check whether --with-xcursor was given.
3642 if test "${with_xcursor+set}" = set; then :
3643 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3647 # Check whether --with-xinerama was given.
3648 if test "${with_xinerama+set}" = set; then :
3649 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3653 # Check whether --with-xinput was given.
3654 if test "${with_xinput+set}" = set; then :
3655 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3659 # Check whether --with-xinput2 was given.
3660 if test "${with_xinput2+set}" = set; then :
3661 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3665 # Check whether --with-xml was given.
3666 if test "${with_xml+set}" = set; then :
3667 withval=$with_xml;
3671 # Check whether --with-xrandr was given.
3672 if test "${with_xrandr+set}" = set; then :
3673 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3677 # Check whether --with-xrender was given.
3678 if test "${with_xrender+set}" = set; then :
3679 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3683 # Check whether --with-xshape was given.
3684 if test "${with_xshape+set}" = set; then :
3685 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3689 # Check whether --with-xshm was given.
3690 if test "${with_xshm+set}" = set; then :
3691 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3695 # Check whether --with-xslt was given.
3696 if test "${with_xslt+set}" = set; then :
3697 withval=$with_xslt;
3701 # Check whether --with-xxf86vm was given.
3702 if test "${with_xxf86vm+set}" = set; then :
3703 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
3707 # Check whether --with-zlib was given.
3708 if test "${with_zlib+set}" = set; then :
3709 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3714 # Check whether --with-wine-tools was given.
3715 if test "${with_wine_tools+set}" = set; then :
3716 withval=$with_wine_tools;
3720 # Check whether --with-wine64 was given.
3721 if test "${with_wine64+set}" = set; then :
3722 withval=$with_wine64;
3726 # Make sure we can run config.sub.
3727 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3728 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3731 $as_echo_n "checking build system type... " >&6; }
3732 if ${ac_cv_build+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 ac_build_alias=$build_alias
3736 test "x$ac_build_alias" = x &&
3737 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3738 test "x$ac_build_alias" = x &&
3739 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3740 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3741 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3745 $as_echo "$ac_cv_build" >&6; }
3746 case $ac_cv_build in
3747 *-*-*) ;;
3748 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3749 esac
3750 build=$ac_cv_build
3751 ac_save_IFS=$IFS; IFS='-'
3752 set x $ac_cv_build
3753 shift
3754 build_cpu=$1
3755 build_vendor=$2
3756 shift; shift
3757 # Remember, the first character of IFS is used to create $*,
3758 # except with old shells:
3759 build_os=$*
3760 IFS=$ac_save_IFS
3761 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3765 $as_echo_n "checking host system type... " >&6; }
3766 if ${ac_cv_host+:} false; then :
3767 $as_echo_n "(cached) " >&6
3768 else
3769 if test "x$host_alias" = x; then
3770 ac_cv_host=$ac_cv_build
3771 else
3772 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3773 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3778 $as_echo "$ac_cv_host" >&6; }
3779 case $ac_cv_host in
3780 *-*-*) ;;
3781 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3782 esac
3783 host=$ac_cv_host
3784 ac_save_IFS=$IFS; IFS='-'
3785 set x $ac_cv_host
3786 shift
3787 host_cpu=$1
3788 host_vendor=$2
3789 shift; shift
3790 # Remember, the first character of IFS is used to create $*,
3791 # except with old shells:
3792 host_os=$*
3793 IFS=$ac_save_IFS
3794 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3798 case "$srcdir" in
3799 .) ;;
3800 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3801 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3802 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3803 fi ;;
3804 esac
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3808 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3809 set x ${MAKE-make}
3810 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3811 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 cat >conftest.make <<\_ACEOF
3815 SHELL = /bin/sh
3816 all:
3817 @echo '@@@%%%=$(MAKE)=@@@%%%'
3818 _ACEOF
3819 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3820 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3821 *@@@%%%=?*=@@@%%%*)
3822 eval ac_cv_prog_make_${ac_make}_set=yes;;
3824 eval ac_cv_prog_make_${ac_make}_set=no;;
3825 esac
3826 rm -f conftest.make
3828 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3830 $as_echo "yes" >&6; }
3831 SET_MAKE=
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3835 SET_MAKE="MAKE=${MAKE-make}"
3838 ac_ext=c
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3843 if test -n "$ac_tool_prefix"; then
3844 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3845 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_CC+:} false; then :
3849 $as_echo_n "(cached) " >&6
3850 else
3851 if test -n "$CC"; then
3852 ac_cv_prog_CC="$CC" # Let the user override the test.
3853 else
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 break 2
3865 done
3866 done
3867 IFS=$as_save_IFS
3871 CC=$ac_cv_prog_CC
3872 if test -n "$CC"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3874 $as_echo "$CC" >&6; }
3875 else
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3882 if test -z "$ac_cv_prog_CC"; then
3883 ac_ct_CC=$CC
3884 # Extract the first word of "gcc", so it can be a program name with args.
3885 set dummy gcc; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3889 $as_echo_n "(cached) " >&6
3890 else
3891 if test -n "$ac_ct_CC"; then
3892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3893 else
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $PATH
3897 IFS=$as_save_IFS
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901 ac_cv_prog_ac_ct_CC="gcc"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 break 2
3905 done
3906 done
3907 IFS=$as_save_IFS
3911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3912 if test -n "$ac_ct_CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3914 $as_echo "$ac_ct_CC" >&6; }
3915 else
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3920 if test "x$ac_ct_CC" = x; then
3921 CC=""
3922 else
3923 case $cross_compiling:$ac_tool_warned in
3924 yes:)
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3927 ac_tool_warned=yes ;;
3928 esac
3929 CC=$ac_ct_CC
3931 else
3932 CC="$ac_cv_prog_CC"
3935 if test -z "$CC"; then
3936 if test -n "$ac_tool_prefix"; then
3937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3938 set dummy ${ac_tool_prefix}cc; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if ${ac_cv_prog_CC+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 if test -n "$CC"; then
3945 ac_cv_prog_CC="$CC" # Let the user override the test.
3946 else
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_CC="${ac_tool_prefix}cc"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 break 2
3958 done
3959 done
3960 IFS=$as_save_IFS
3964 CC=$ac_cv_prog_CC
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3976 if test -z "$CC"; then
3977 # Extract the first word of "cc", so it can be a program name with args.
3978 set dummy cc; ac_word=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if ${ac_cv_prog_CC+:} false; then :
3982 $as_echo_n "(cached) " >&6
3983 else
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC="$CC" # Let the user override the test.
3986 else
3987 ac_prog_rejected=no
3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 for as_dir in $PATH
3991 IFS=$as_save_IFS
3992 test -z "$as_dir" && as_dir=.
3993 for ac_exec_ext in '' $ac_executable_extensions; do
3994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3996 ac_prog_rejected=yes
3997 continue
3999 ac_cv_prog_CC="cc"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 break 2
4003 done
4004 done
4005 IFS=$as_save_IFS
4007 if test $ac_prog_rejected = yes; then
4008 # We found a bogon in the path, so make sure we never use it.
4009 set dummy $ac_cv_prog_CC
4010 shift
4011 if test $# != 0; then
4012 # We chose a different compiler from the bogus one.
4013 # However, it has the same basename, so the bogon will be chosen
4014 # first if we set CC to just the basename; use the full file name.
4015 shift
4016 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4021 CC=$ac_cv_prog_CC
4022 if test -n "$CC"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4024 $as_echo "$CC" >&6; }
4025 else
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4032 if test -z "$CC"; then
4033 if test -n "$ac_tool_prefix"; then
4034 for ac_prog in cl.exe
4036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_prog_CC+:} false; then :
4041 $as_echo_n "(cached) " >&6
4042 else
4043 if test -n "$CC"; then
4044 ac_cv_prog_CC="$CC" # Let the user override the test.
4045 else
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in $PATH
4049 IFS=$as_save_IFS
4050 test -z "$as_dir" && as_dir=.
4051 for ac_exec_ext in '' $ac_executable_extensions; do
4052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 break 2
4057 done
4058 done
4059 IFS=$as_save_IFS
4063 CC=$ac_cv_prog_CC
4064 if test -n "$CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4066 $as_echo "$CC" >&6; }
4067 else
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4073 test -n "$CC" && break
4074 done
4076 if test -z "$CC"; then
4077 ac_ct_CC=$CC
4078 for ac_prog in cl.exe
4080 # Extract the first word of "$ac_prog", so it can be a program name with args.
4081 set dummy $ac_prog; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$ac_ct_CC"; then
4088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4093 IFS=$as_save_IFS
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_ac_ct_CC="$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 break 2
4101 done
4102 done
4103 IFS=$as_save_IFS
4107 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4108 if test -n "$ac_ct_CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4110 $as_echo "$ac_ct_CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4117 test -n "$ac_ct_CC" && break
4118 done
4120 if test "x$ac_ct_CC" = x; then
4121 CC=""
4122 else
4123 case $cross_compiling:$ac_tool_warned in
4124 yes:)
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4127 ac_tool_warned=yes ;;
4128 esac
4129 CC=$ac_ct_CC
4136 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "no acceptable C compiler found in \$PATH
4139 See \`config.log' for more details" "$LINENO" 5; }
4141 # Provide some information about the compiler.
4142 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4143 set X $ac_compile
4144 ac_compiler=$2
4145 for ac_option in --version -v -V -qversion; do
4146 { { ac_try="$ac_compiler $ac_option >&5"
4147 case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150 esac
4151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152 $as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4154 ac_status=$?
4155 if test -s conftest.err; then
4156 sed '10a\
4157 ... rest of stderr output deleted ...
4158 10q' conftest.err >conftest.er1
4159 cat conftest.er1 >&5
4161 rm -f conftest.er1 conftest.err
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; }
4164 done
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4170 main ()
4174 return 0;
4176 _ACEOF
4177 ac_clean_files_save=$ac_clean_files
4178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4179 # Try to create an executable without -o first, disregard a.out.
4180 # It will help us diagnose broken compilers, and finding out an intuition
4181 # of exeext.
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4183 $as_echo_n "checking whether the C compiler works... " >&6; }
4184 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4186 # The possible output files:
4187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4189 ac_rmfiles=
4190 for ac_file in $ac_files
4192 case $ac_file in
4193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4195 esac
4196 done
4197 rm -f $ac_rmfiles
4199 if { { ac_try="$ac_link_default"
4200 case "(($ac_try" in
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4203 esac
4204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4205 $as_echo "$ac_try_echo"; } >&5
4206 (eval "$ac_link_default") 2>&5
4207 ac_status=$?
4208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4209 test $ac_status = 0; }; then :
4210 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4211 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4212 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4213 # so that the user can short-circuit this test for compilers unknown to
4214 # Autoconf.
4215 for ac_file in $ac_files ''
4217 test -f "$ac_file" || continue
4218 case $ac_file in
4219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4221 [ab].out )
4222 # We found the default executable, but exeext='' is most
4223 # certainly right.
4224 break;;
4225 *.* )
4226 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4227 then :; else
4228 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4230 # We set ac_cv_exeext here because the later test for it is not
4231 # safe: cross compilers may not add the suffix if given an `-o'
4232 # argument, so we may need to know it at that point already.
4233 # Even if this section looks crufty: it has the advantage of
4234 # actually working.
4235 break;;
4237 break;;
4238 esac
4239 done
4240 test "$ac_cv_exeext" = no && ac_cv_exeext=
4242 else
4243 ac_file=''
4245 if test -z "$ac_file"; then :
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4248 $as_echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.$ac_ext >&5
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error 77 "C compiler cannot create executables
4254 See \`config.log' for more details" "$LINENO" 5; }
4255 else
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4257 $as_echo "yes" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4260 $as_echo_n "checking for C compiler default output file name... " >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4262 $as_echo "$ac_file" >&6; }
4263 ac_exeext=$ac_cv_exeext
4265 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4266 ac_clean_files=$ac_clean_files_save
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4268 $as_echo_n "checking for suffix of executables... " >&6; }
4269 if { { ac_try="$ac_link"
4270 case "(($ac_try" in
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4273 esac
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_link") 2>&5
4277 ac_status=$?
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }; then :
4280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4282 # work properly (i.e., refer to `conftest.exe'), while it won't with
4283 # `rm'.
4284 for ac_file in conftest.exe conftest conftest.*; do
4285 test -f "$ac_file" || continue
4286 case $ac_file in
4287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4289 break;;
4290 * ) break;;
4291 esac
4292 done
4293 else
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4297 See \`config.log' for more details" "$LINENO" 5; }
4299 rm -f conftest conftest$ac_cv_exeext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4301 $as_echo "$ac_cv_exeext" >&6; }
4303 rm -f conftest.$ac_ext
4304 EXEEXT=$ac_cv_exeext
4305 ac_exeext=$EXEEXT
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4308 #include <stdio.h>
4310 main ()
4312 FILE *f = fopen ("conftest.out", "w");
4313 return ferror (f) || fclose (f) != 0;
4316 return 0;
4318 _ACEOF
4319 ac_clean_files="$ac_clean_files conftest.out"
4320 # Check that the compiler produces executables we can run. If not, either
4321 # the compiler is broken, or we cross compile.
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4323 $as_echo_n "checking whether we are cross compiling... " >&6; }
4324 if test "$cross_compiling" != yes; then
4325 { { ac_try="$ac_link"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_link") 2>&5
4333 ac_status=$?
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4336 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
4344 ac_status=$?
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }; }; then
4347 cross_compiling=no
4348 else
4349 if test "$cross_compiling" = maybe; then
4350 cross_compiling=yes
4351 else
4352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4354 as_fn_error $? "cannot run C compiled programs.
4355 If you meant to cross compile, use \`--host'.
4356 See \`config.log' for more details" "$LINENO" 5; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4361 $as_echo "$cross_compiling" >&6; }
4363 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4364 ac_clean_files=$ac_clean_files_save
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4366 $as_echo_n "checking for suffix of object files... " >&6; }
4367 if ${ac_cv_objext+:} false; then :
4368 $as_echo_n "(cached) " >&6
4369 else
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4374 main ()
4378 return 0;
4380 _ACEOF
4381 rm -f conftest.o conftest.obj
4382 if { { ac_try="$ac_compile"
4383 case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4386 esac
4387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4388 $as_echo "$ac_try_echo"; } >&5
4389 (eval "$ac_compile") 2>&5
4390 ac_status=$?
4391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4392 test $ac_status = 0; }; then :
4393 for ac_file in conftest.o conftest.obj conftest.*; do
4394 test -f "$ac_file" || continue;
4395 case $ac_file in
4396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4397 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4398 break;;
4399 esac
4400 done
4401 else
4402 $as_echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.$ac_ext >&5
4405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 as_fn_error $? "cannot compute suffix of object files: cannot compile
4408 See \`config.log' for more details" "$LINENO" 5; }
4410 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4413 $as_echo "$ac_cv_objext" >&6; }
4414 OBJEXT=$ac_cv_objext
4415 ac_objext=$OBJEXT
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4417 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4418 if ${ac_cv_c_compiler_gnu+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4425 main ()
4427 #ifndef __GNUC__
4428 choke me
4429 #endif
4432 return 0;
4434 _ACEOF
4435 if ac_fn_c_try_compile "$LINENO"; then :
4436 ac_compiler_gnu=yes
4437 else
4438 ac_compiler_gnu=no
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4445 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4446 if test $ac_compiler_gnu = yes; then
4447 GCC=yes
4448 else
4449 GCC=
4451 ac_test_CFLAGS=${CFLAGS+set}
4452 ac_save_CFLAGS=$CFLAGS
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4454 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4455 if ${ac_cv_prog_cc_g+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 ac_save_c_werror_flag=$ac_c_werror_flag
4459 ac_c_werror_flag=yes
4460 ac_cv_prog_cc_g=no
4461 CFLAGS="-g"
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4466 main ()
4470 return 0;
4472 _ACEOF
4473 if ac_fn_c_try_compile "$LINENO"; then :
4474 ac_cv_prog_cc_g=yes
4475 else
4476 CFLAGS=""
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4481 main ()
4485 return 0;
4487 _ACEOF
4488 if ac_fn_c_try_compile "$LINENO"; then :
4490 else
4491 ac_c_werror_flag=$ac_save_c_werror_flag
4492 CFLAGS="-g"
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4501 return 0;
4503 _ACEOF
4504 if ac_fn_c_try_compile "$LINENO"; then :
4505 ac_cv_prog_cc_g=yes
4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 ac_c_werror_flag=$ac_save_c_werror_flag
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4515 $as_echo "$ac_cv_prog_cc_g" >&6; }
4516 if test "$ac_test_CFLAGS" = set; then
4517 CFLAGS=$ac_save_CFLAGS
4518 elif test $ac_cv_prog_cc_g = yes; then
4519 if test "$GCC" = yes; then
4520 CFLAGS="-g -O2"
4521 else
4522 CFLAGS="-g"
4524 else
4525 if test "$GCC" = yes; then
4526 CFLAGS="-O2"
4527 else
4528 CFLAGS=
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4532 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4533 if ${ac_cv_prog_cc_c89+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 ac_cv_prog_cc_c89=no
4537 ac_save_CC=$CC
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4540 #include <stdarg.h>
4541 #include <stdio.h>
4542 struct stat;
4543 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4544 struct buf { int x; };
4545 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4546 static char *e (p, i)
4547 char **p;
4548 int i;
4550 return p[i];
4552 static char *f (char * (*g) (char **, int), char **p, ...)
4554 char *s;
4555 va_list v;
4556 va_start (v,p);
4557 s = g (p, va_arg (v,int));
4558 va_end (v);
4559 return s;
4562 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4563 function prototypes and stuff, but not '\xHH' hex character constants.
4564 These don't provoke an error unfortunately, instead are silently treated
4565 as 'x'. The following induces an error, until -std is added to get
4566 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4567 array size at least. It's necessary to write '\x00'==0 to get something
4568 that's true only with -std. */
4569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4571 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4572 inside strings and character constants. */
4573 #define FOO(x) 'x'
4574 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4576 int test (int i, double x);
4577 struct s1 {int (*f) (int a);};
4578 struct s2 {int (*f) (double a);};
4579 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4580 int argc;
4581 char **argv;
4583 main ()
4585 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4587 return 0;
4589 _ACEOF
4590 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4591 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4593 CC="$ac_save_CC $ac_arg"
4594 if ac_fn_c_try_compile "$LINENO"; then :
4595 ac_cv_prog_cc_c89=$ac_arg
4597 rm -f core conftest.err conftest.$ac_objext
4598 test "x$ac_cv_prog_cc_c89" != "xno" && break
4599 done
4600 rm -f conftest.$ac_ext
4601 CC=$ac_save_CC
4604 # AC_CACHE_VAL
4605 case "x$ac_cv_prog_cc_c89" in
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4608 $as_echo "none needed" >&6; } ;;
4609 xno)
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4611 $as_echo "unsupported" >&6; } ;;
4613 CC="$CC $ac_cv_prog_cc_c89"
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4615 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4616 esac
4617 if test "x$ac_cv_prog_cc_c89" != xno; then :
4621 ac_ext=c
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4627 ac_ext=cpp
4628 ac_cpp='$CXXCPP $CPPFLAGS'
4629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4632 if test -z "$CXX"; then
4633 if test -n "$CCC"; then
4634 CXX=$CCC
4635 else
4636 if test -n "$ac_tool_prefix"; then
4637 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4639 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_CXX+:} false; then :
4644 $as_echo_n "(cached) " >&6
4645 else
4646 if test -n "$CXX"; then
4647 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4648 else
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650 for as_dir in $PATH
4652 IFS=$as_save_IFS
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 break 2
4660 done
4661 done
4662 IFS=$as_save_IFS
4666 CXX=$ac_cv_prog_CXX
4667 if test -n "$CXX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4669 $as_echo "$CXX" >&6; }
4670 else
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$CXX" && break
4677 done
4679 if test -z "$CXX"; then
4680 ac_ct_CXX=$CXX
4681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 # Extract the first word of "$ac_prog", so it can be a program name with args.
4684 set dummy $ac_prog; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$ac_ct_CXX"; then
4691 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_CXX="$ac_prog"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4704 done
4705 done
4706 IFS=$as_save_IFS
4710 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4711 if test -n "$ac_ct_CXX"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4713 $as_echo "$ac_ct_CXX" >&6; }
4714 else
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 test -n "$ac_ct_CXX" && break
4721 done
4723 if test "x$ac_ct_CXX" = x; then
4724 CXX="g++"
4725 else
4726 case $cross_compiling:$ac_tool_warned in
4727 yes:)
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4730 ac_tool_warned=yes ;;
4731 esac
4732 CXX=$ac_ct_CXX
4738 # Provide some information about the compiler.
4739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4740 set X $ac_compile
4741 ac_compiler=$2
4742 for ac_option in --version -v -V -qversion; do
4743 { { ac_try="$ac_compiler $ac_option >&5"
4744 case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4747 esac
4748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4749 $as_echo "$ac_try_echo"; } >&5
4750 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4751 ac_status=$?
4752 if test -s conftest.err; then
4753 sed '10a\
4754 ... rest of stderr output deleted ...
4755 10q' conftest.err >conftest.er1
4756 cat conftest.er1 >&5
4758 rm -f conftest.er1 conftest.err
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }
4761 done
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4764 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4765 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4772 main ()
4774 #ifndef __GNUC__
4775 choke me
4776 #endif
4779 return 0;
4781 _ACEOF
4782 if ac_fn_cxx_try_compile "$LINENO"; then :
4783 ac_compiler_gnu=yes
4784 else
4785 ac_compiler_gnu=no
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4788 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4792 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4793 if test $ac_compiler_gnu = yes; then
4794 GXX=yes
4795 else
4796 GXX=
4798 ac_test_CXXFLAGS=${CXXFLAGS+set}
4799 ac_save_CXXFLAGS=$CXXFLAGS
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4801 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4802 if ${ac_cv_prog_cxx_g+:} false; then :
4803 $as_echo_n "(cached) " >&6
4804 else
4805 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4806 ac_cxx_werror_flag=yes
4807 ac_cv_prog_cxx_g=no
4808 CXXFLAGS="-g"
4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4813 main ()
4817 return 0;
4819 _ACEOF
4820 if ac_fn_cxx_try_compile "$LINENO"; then :
4821 ac_cv_prog_cxx_g=yes
4822 else
4823 CXXFLAGS=""
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4828 main ()
4832 return 0;
4834 _ACEOF
4835 if ac_fn_cxx_try_compile "$LINENO"; then :
4837 else
4838 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4839 CXXFLAGS="-g"
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4844 main ()
4848 return 0;
4850 _ACEOF
4851 if ac_fn_cxx_try_compile "$LINENO"; then :
4852 ac_cv_prog_cxx_g=yes
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4859 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4862 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4863 if test "$ac_test_CXXFLAGS" = set; then
4864 CXXFLAGS=$ac_save_CXXFLAGS
4865 elif test $ac_cv_prog_cxx_g = yes; then
4866 if test "$GXX" = yes; then
4867 CXXFLAGS="-g -O2"
4868 else
4869 CXXFLAGS="-g"
4871 else
4872 if test "$GXX" = yes; then
4873 CXXFLAGS="-O2"
4874 else
4875 CXXFLAGS=
4878 ac_ext=c
4879 ac_cpp='$CPP $CPPFLAGS'
4880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4884 if test -n "$ac_tool_prefix"; then
4885 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4886 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_CPPBIN+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 if test -n "$CPPBIN"; then
4893 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 break 2
4906 done
4907 done
4908 IFS=$as_save_IFS
4912 CPPBIN=$ac_cv_prog_CPPBIN
4913 if test -n "$CPPBIN"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4915 $as_echo "$CPPBIN" >&6; }
4916 else
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_CPPBIN"; then
4924 ac_ct_CPPBIN=$CPPBIN
4925 # Extract the first word of "cpp", so it can be a program name with args.
4926 set dummy cpp; ac_word=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 if test -n "$ac_ct_CPPBIN"; then
4933 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_CPPBIN="cpp"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 break 2
4946 done
4947 done
4948 IFS=$as_save_IFS
4952 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4953 if test -n "$ac_ct_CPPBIN"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4955 $as_echo "$ac_ct_CPPBIN" >&6; }
4956 else
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961 if test "x$ac_ct_CPPBIN" = x; then
4962 CPPBIN="cpp"
4963 else
4964 case $cross_compiling:$ac_tool_warned in
4965 yes:)
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned=yes ;;
4969 esac
4970 CPPBIN=$ac_ct_CPPBIN
4972 else
4973 CPPBIN="$ac_cv_prog_CPPBIN"
4977 cat >>confdefs.h <<_ACEOF
4978 #define EXEEXT "$ac_exeext"
4979 _ACEOF
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4983 set dummy ${ac_tool_prefix}ld; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if ${ac_cv_prog_LD+:} false; then :
4987 $as_echo_n "(cached) " >&6
4988 else
4989 if test -n "$LD"; then
4990 ac_cv_prog_LD="$LD" # Let the user override the test.
4991 else
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4995 IFS=$as_save_IFS
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4999 ac_cv_prog_LD="${ac_tool_prefix}ld"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5003 done
5004 done
5005 IFS=$as_save_IFS
5009 LD=$ac_cv_prog_LD
5010 if test -n "$LD"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5012 $as_echo "$LD" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_LD"; then
5021 ac_ct_LD=$LD
5022 # Extract the first word of "ld", so it can be a program name with args.
5023 set dummy ld; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$ac_ct_LD"; then
5030 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_LD="ld"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5050 if test -n "$ac_ct_LD"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5052 $as_echo "$ac_ct_LD" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_LD" = x; then
5059 LD=""
5060 else
5061 case $cross_compiling:$ac_tool_warned in
5062 yes:)
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned=yes ;;
5066 esac
5067 LD=$ac_ct_LD
5069 else
5070 LD="$ac_cv_prog_LD"
5074 case $host in
5075 *-darwin*)
5076 with_fontconfig=${with_fontconfig:-no}
5078 *-mingw32*|*-cygwin*)
5079 enable_win16=${enable_win16:-no}
5080 CFLAGS="$CFLAGS -D_WIN32"
5082 esac
5084 case $host in
5085 x86_64*|amd64*)
5086 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5087 then
5088 CC="$CC -m32"
5089 CXX="$CXX -m32"
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5091 $as_echo_n "checking whether $CC works... " >&6; }
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5097 main ()
5101 return 0;
5103 _ACEOF
5104 if ac_fn_c_try_link "$LINENO"; then :
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5106 $as_echo "yes" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5110 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5112 rm -f core conftest.err conftest.$ac_objext \
5113 conftest$ac_exeext conftest.$ac_ext
5114 host_cpu="i386"
5115 notice_platform="32-bit "
5116 TARGETFLAGS="-m32"
5118 enable_win16=${enable_win16:-yes}
5119 else
5120 if test "x${GCC}" = "xyes"
5121 then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5123 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5126 #include <stdarg.h>
5128 main ()
5130 void func(__builtin_ms_va_list *args);
5132 return 0;
5134 _ACEOF
5135 if ac_fn_c_try_compile "$LINENO"; then :
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5137 $as_echo "yes" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5145 CC="$CC -m64"
5146 CXX="$CXX -m64"
5147 host_cpu="x86_64"
5148 notice_platform="64-bit "
5149 TARGETFLAGS="-m64"
5153 arm*)
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5155 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157 /* end confdefs.h. */
5158 int ac_test(int i) { return i; }
5160 main ()
5162 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5164 return 0;
5166 _ACEOF
5167 if ac_fn_c_try_link "$LINENO"; then :
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5169 $as_echo "yes" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5173 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5175 rm -f core conftest.err conftest.$ac_objext \
5176 conftest$ac_exeext conftest.$ac_ext
5177 CFLAGS="$CFLAGS -marm"
5178 TARGETFLAGS="-marm"
5181 i[3456789]86*)
5182 enable_win16=${enable_win16:-yes}
5184 esac
5186 enable_win16=${enable_win16:-no}
5187 enable_win64=${enable_win64:-no}
5189 enable_winetest=${enable_winetest:-$enable_tests}
5191 if test -n "$with_wine64"
5192 then
5193 if test "x$enable_win64" = "xyes"
5194 then
5195 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5196 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5198 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5199 You should create a separate build directory and run configure from there." "$LINENO" 5
5200 enable_fonts=${enable_fonts:-no}
5201 enable_server=${enable_server:-no}
5202 elif test "x$enable_win64" = "xyes"
5203 then
5204 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5208 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5209 if ${wine_cv_toolsdir+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 wine_cv_toolsdir="$with_wine_tools"
5213 if test -z "$with_wine_tools"; then
5214 if test "$cross_compiling" = "yes"; then
5215 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5216 elif test -n "$with_wine64"; then
5217 wine_cv_toolsdir="$with_wine64"
5220 if test -z "$wine_cv_toolsdir"; then
5221 wine_makedep=tools/makedep
5222 wine_cv_toolsdir="\$(top_builddir)"
5223 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5224 wine_makedep=$wine_cv_toolsdir/tools/makedep
5225 case "$wine_cv_toolsdir" in
5226 /*) ;;
5227 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5228 esac
5229 enable_tools=${enable_tools:-no}
5230 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5231 else
5232 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5236 $as_echo "$wine_cv_toolsdir" >&6; }
5237 TOOLSDIR=$wine_cv_toolsdir
5239 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5240 then
5241 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5245 for ac_prog in flex
5247 # Extract the first word of "$ac_prog", so it can be a program name with args.
5248 set dummy $ac_prog; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_FLEX+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$FLEX"; then
5255 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_FLEX="$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 FLEX=$ac_cv_prog_FLEX
5275 if test -n "$FLEX"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5277 $as_echo "$FLEX" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$FLEX" && break
5285 done
5286 test -n "$FLEX" || FLEX="none"
5288 if test "$FLEX" = "none"
5289 then
5290 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5293 $as_echo_n "checking whether flex is recent enough... " >&6; }
5294 cat >conftest.l <<EOF
5295 %top{
5296 #include "prediluvian.h"
5300 if $FLEX -t conftest.l >/dev/null 2>&5
5301 then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303 $as_echo "yes" >&6; }
5304 else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5307 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5310 for ac_prog in bison
5312 # Extract the first word of "$ac_prog", so it can be a program name with args.
5313 set dummy $ac_prog; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_BISON+:} false; then :
5317 $as_echo_n "(cached) " >&6
5318 else
5319 if test -n "$BISON"; then
5320 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_BISON="$ac_prog"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 break 2
5333 done
5334 done
5335 IFS=$as_save_IFS
5339 BISON=$ac_cv_prog_BISON
5340 if test -n "$BISON"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5342 $as_echo "$BISON" >&6; }
5343 else
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5349 test -n "$BISON" && break
5350 done
5351 test -n "$BISON" || BISON="none"
5353 if test "$BISON" = "none"
5354 then
5355 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5358 if test -n "$ac_tool_prefix"; then
5359 for ac_prog in ar gar
5361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5362 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_AR+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$AR"; then
5369 ac_cv_prog_AR="$AR" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 AR=$ac_cv_prog_AR
5389 if test -n "$AR"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5391 $as_echo "$AR" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5398 test -n "$AR" && break
5399 done
5401 if test -z "$AR"; then
5402 ac_ct_AR=$AR
5403 for ac_prog in ar gar
5405 # Extract the first word of "$ac_prog", so it can be a program name with args.
5406 set dummy $ac_prog; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 if test -n "$ac_ct_AR"; then
5413 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5418 IFS=$as_save_IFS
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_ac_ct_AR="$ac_prog"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 break 2
5426 done
5427 done
5428 IFS=$as_save_IFS
5432 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5433 if test -n "$ac_ct_AR"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5435 $as_echo "$ac_ct_AR" >&6; }
5436 else
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5442 test -n "$ac_ct_AR" && break
5443 done
5445 if test "x$ac_ct_AR" = x; then
5446 AR="ar"
5447 else
5448 case $cross_compiling:$ac_tool_warned in
5449 yes:)
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned=yes ;;
5453 esac
5454 AR=$ac_ct_AR
5458 if test -n "$ac_tool_prefix"; then
5459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5460 set dummy ${ac_tool_prefix}strip; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_STRIP+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$STRIP"; then
5467 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 STRIP=$ac_cv_prog_STRIP
5487 if test -n "$STRIP"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5489 $as_echo "$STRIP" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5497 if test -z "$ac_cv_prog_STRIP"; then
5498 ac_ct_STRIP=$STRIP
5499 # Extract the first word of "strip", so it can be a program name with args.
5500 set dummy strip; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$ac_ct_STRIP"; then
5507 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_STRIP="strip"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5527 if test -n "$ac_ct_STRIP"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5529 $as_echo "$ac_ct_STRIP" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5535 if test "x$ac_ct_STRIP" = x; then
5536 STRIP="strip"
5537 else
5538 case $cross_compiling:$ac_tool_warned in
5539 yes:)
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5542 ac_tool_warned=yes ;;
5543 esac
5544 STRIP=$ac_ct_STRIP
5546 else
5547 STRIP="$ac_cv_prog_STRIP"
5550 ARFLAGS=rc
5552 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_RANLIB+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if test -n "$RANLIB"; then
5561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 break 2
5574 done
5575 done
5576 IFS=$as_save_IFS
5580 RANLIB=$ac_cv_prog_RANLIB
5581 if test -n "$RANLIB"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5583 $as_echo "$RANLIB" >&6; }
5584 else
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5591 if test -z "$ac_cv_prog_RANLIB"; then
5592 ac_ct_RANLIB=$RANLIB
5593 # Extract the first word of "ranlib", so it can be a program name with args.
5594 set dummy ranlib; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$ac_ct_RANLIB"; then
5601 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_ac_ct_RANLIB="ranlib"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5621 if test -n "$ac_ct_RANLIB"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5623 $as_echo "$ac_ct_RANLIB" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5629 if test "x$ac_ct_RANLIB" = x; then
5630 RANLIB=":"
5631 else
5632 case $cross_compiling:$ac_tool_warned in
5633 yes:)
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5636 ac_tool_warned=yes ;;
5637 esac
5638 RANLIB=$ac_ct_RANLIB
5640 else
5641 RANLIB="$ac_cv_prog_RANLIB"
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5645 $as_echo_n "checking whether ln -s works... " >&6; }
5646 LN_S=$as_ln_s
5647 if test "$LN_S" = "ln -s"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5649 $as_echo "yes" >&6; }
5650 else
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5652 $as_echo "no, using $LN_S" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5656 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5657 if ${ac_cv_path_GREP+:} false; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 if test -z "$GREP"; then
5661 ac_path_GREP_found=false
5662 # Loop through the user's path and test for each of PROGNAME-LIST
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5666 IFS=$as_save_IFS
5667 test -z "$as_dir" && as_dir=.
5668 for ac_prog in grep ggrep; do
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5671 as_fn_executable_p "$ac_path_GREP" || continue
5672 # Check for GNU ac_path_GREP and select it if it is found.
5673 # Check for GNU $ac_path_GREP
5674 case `"$ac_path_GREP" --version 2>&1` in
5675 *GNU*)
5676 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5678 ac_count=0
5679 $as_echo_n 0123456789 >"conftest.in"
5680 while :
5682 cat "conftest.in" "conftest.in" >"conftest.tmp"
5683 mv "conftest.tmp" "conftest.in"
5684 cp "conftest.in" "conftest.nl"
5685 $as_echo 'GREP' >> "conftest.nl"
5686 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5687 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5688 as_fn_arith $ac_count + 1 && ac_count=$as_val
5689 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5690 # Best one so far, save it but keep looking for a better one
5691 ac_cv_path_GREP="$ac_path_GREP"
5692 ac_path_GREP_max=$ac_count
5694 # 10*(2^10) chars as input seems more than enough
5695 test $ac_count -gt 10 && break
5696 done
5697 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5698 esac
5700 $ac_path_GREP_found && break 3
5701 done
5702 done
5703 done
5704 IFS=$as_save_IFS
5705 if test -z "$ac_cv_path_GREP"; then
5706 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5708 else
5709 ac_cv_path_GREP=$GREP
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5714 $as_echo "$ac_cv_path_GREP" >&6; }
5715 GREP="$ac_cv_path_GREP"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5719 $as_echo_n "checking for egrep... " >&6; }
5720 if ${ac_cv_path_EGREP+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5724 then ac_cv_path_EGREP="$GREP -E"
5725 else
5726 if test -z "$EGREP"; then
5727 ac_path_EGREP_found=false
5728 # Loop through the user's path and test for each of PROGNAME-LIST
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_prog in egrep; do
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5737 as_fn_executable_p "$ac_path_EGREP" || continue
5738 # Check for GNU ac_path_EGREP and select it if it is found.
5739 # Check for GNU $ac_path_EGREP
5740 case `"$ac_path_EGREP" --version 2>&1` in
5741 *GNU*)
5742 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5744 ac_count=0
5745 $as_echo_n 0123456789 >"conftest.in"
5746 while :
5748 cat "conftest.in" "conftest.in" >"conftest.tmp"
5749 mv "conftest.tmp" "conftest.in"
5750 cp "conftest.in" "conftest.nl"
5751 $as_echo 'EGREP' >> "conftest.nl"
5752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5753 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5754 as_fn_arith $ac_count + 1 && ac_count=$as_val
5755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5756 # Best one so far, save it but keep looking for a better one
5757 ac_cv_path_EGREP="$ac_path_EGREP"
5758 ac_path_EGREP_max=$ac_count
5760 # 10*(2^10) chars as input seems more than enough
5761 test $ac_count -gt 10 && break
5762 done
5763 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5764 esac
5766 $ac_path_EGREP_found && break 3
5767 done
5768 done
5769 done
5770 IFS=$as_save_IFS
5771 if test -z "$ac_cv_path_EGREP"; then
5772 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5774 else
5775 ac_cv_path_EGREP=$EGREP
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5781 $as_echo "$ac_cv_path_EGREP" >&6; }
5782 EGREP="$ac_cv_path_EGREP"
5785 # Extract the first word of "ldconfig", so it can be a program name with args.
5786 set dummy ldconfig; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_path_LDCONFIG+:} false; then :
5790 $as_echo_n "(cached) " >&6
5791 else
5792 case $LDCONFIG in
5793 [\\/]* | ?:[\\/]*)
5794 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 for as_dir in /sbin /usr/sbin $PATH
5800 IFS=$as_save_IFS
5801 test -z "$as_dir" && as_dir=.
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 break 2
5808 done
5809 done
5810 IFS=$as_save_IFS
5812 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5814 esac
5816 LDCONFIG=$ac_cv_path_LDCONFIG
5817 if test -n "$LDCONFIG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5819 $as_echo "$LDCONFIG" >&6; }
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5826 for ac_prog in msgfmt
5828 # Extract the first word of "$ac_prog", so it can be a program name with args.
5829 set dummy $ac_prog; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if ${ac_cv_prog_MSGFMT+:} false; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 if test -n "$MSGFMT"; then
5836 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5841 IFS=$as_save_IFS
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_MSGFMT="$ac_prog"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 break 2
5849 done
5850 done
5851 IFS=$as_save_IFS
5855 MSGFMT=$ac_cv_prog_MSGFMT
5856 if test -n "$MSGFMT"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5858 $as_echo "$MSGFMT" >&6; }
5859 else
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5865 test -n "$MSGFMT" && break
5866 done
5867 test -n "$MSGFMT" || MSGFMT="false"
5869 if ${ac_tool_prefix+:} false; then :
5870 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5871 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 if test -n "$PKG_CONFIG"; then
5878 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5897 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5898 if test -n "$PKG_CONFIG"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5900 $as_echo "$PKG_CONFIG" >&6; }
5901 else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5908 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5909 if test "x$cross_compiling" = xyes; then :
5911 else
5912 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5913 # Extract the first word of "pkg-config", so it can be a program name with args.
5914 set dummy pkg-config; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5918 $as_echo_n "(cached) " >&6
5919 else
5920 if test -n "$PKG_CONFIG"; then
5921 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5926 IFS=$as_save_IFS
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_PKG_CONFIG="pkg-config"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 break 2
5934 done
5935 done
5936 IFS=$as_save_IFS
5940 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5941 if test -n "$PKG_CONFIG"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5943 $as_echo "$PKG_CONFIG" >&6; }
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5951 else
5952 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5955 if test "x$enable_maintainer_mode" != "xyes"
5956 then
5957 FONTFORGE=""
5958 RSVG=""
5959 CONVERT=""
5960 ICOTOOL=""
5961 else
5962 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5963 for ac_prog in fontforge
5965 # Extract the first word of "$ac_prog", so it can be a program name with args.
5966 set dummy $ac_prog; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if ${ac_cv_prog_FONTFORGE+:} false; then :
5970 $as_echo_n "(cached) " >&6
5971 else
5972 if test -n "$FONTFORGE"; then
5973 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5974 else
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH
5978 IFS=$as_save_IFS
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_FONTFORGE="$ac_prog"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 FONTFORGE=$ac_cv_prog_FONTFORGE
5993 if test -n "$FONTFORGE"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5995 $as_echo "$FONTFORGE" >&6; }
5996 else
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6002 test -n "$FONTFORGE" && break
6003 done
6004 test -n "$FONTFORGE" || FONTFORGE="false"
6006 for ac_prog in rsvg-convert rsvg
6008 # Extract the first word of "$ac_prog", so it can be a program name with args.
6009 set dummy $ac_prog; ac_word=$2
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 $as_echo_n "checking for $ac_word... " >&6; }
6012 if ${ac_cv_prog_RSVG+:} false; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 if test -n "$RSVG"; then
6016 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 test -z "$as_dir" && as_dir=.
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_RSVG="$ac_prog"
6026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 break 2
6029 done
6030 done
6031 IFS=$as_save_IFS
6035 RSVG=$ac_cv_prog_RSVG
6036 if test -n "$RSVG"; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6038 $as_echo "$RSVG" >&6; }
6039 else
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 $as_echo "no" >&6; }
6045 test -n "$RSVG" && break
6046 done
6047 test -n "$RSVG" || RSVG="false"
6049 for ac_prog in convert
6051 # Extract the first word of "$ac_prog", so it can be a program name with args.
6052 set dummy $ac_prog; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_CONVERT+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 if test -n "$CONVERT"; then
6059 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6064 IFS=$as_save_IFS
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_CONVERT="$ac_prog"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6070 break 2
6072 done
6073 done
6074 IFS=$as_save_IFS
6078 CONVERT=$ac_cv_prog_CONVERT
6079 if test -n "$CONVERT"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6081 $as_echo "$CONVERT" >&6; }
6082 else
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6088 test -n "$CONVERT" && break
6089 done
6090 test -n "$CONVERT" || CONVERT="false"
6092 for ac_prog in icotool
6094 # Extract the first word of "$ac_prog", so it can be a program name with args.
6095 set dummy $ac_prog; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_ICOTOOL+:} false; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6101 if test -n "$ICOTOOL"; then
6102 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6103 else
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 for as_dir in $PATH
6107 IFS=$as_save_IFS
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_ICOTOOL="$ac_prog"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 break 2
6115 done
6116 done
6117 IFS=$as_save_IFS
6121 ICOTOOL=$ac_cv_prog_ICOTOOL
6122 if test -n "$ICOTOOL"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6124 $as_echo "$ICOTOOL" >&6; }
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6131 test -n "$ICOTOOL" && break
6132 done
6133 test -n "$ICOTOOL" || ICOTOOL="false"
6135 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6136 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6138 if test "$CONVERT" = false
6139 then
6140 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6141 else
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6143 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6144 convert_version=`convert --version | head -n1`
6145 if test "x$convert_version" != "x"
6146 then
6147 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6148 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6149 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6150 then
6151 CONVERT=false
6154 if test "$CONVERT" = false
6155 then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6157 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6158 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6161 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6165 if test "$ICOTOOL" = false
6166 then
6167 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6170 $as_echo_n "checking for recent enough icotool... " >&6; }
6171 icotool_version=`icotool --version | head -n1`
6172 if test "x$icotool_version" != "x"
6173 then
6174 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6175 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6176 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6177 then
6178 ICOTOOL=false
6179 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6182 if test "$ICOTOOL" = false
6183 then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6185 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6186 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6187 else
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6189 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6193 with_gettext=yes
6194 with_gettextpo=yes
6195 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6198 test "x$with_gettext" != xno || MSGFMT=false
6199 if test "$MSGFMT" != "false"
6200 then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6202 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6203 cat >conftest.po <<EOF
6204 # comment
6205 msgctxt "ctxt"
6206 msgid "id"
6207 msgstr "str"
6209 if $MSGFMT -o /dev/null conftest.po 2>&5
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6212 $as_echo "yes" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6216 MSGFMT=false
6219 if test "$MSGFMT" = false; then :
6220 case "x$with_gettext" in
6221 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6222 xno) ;;
6223 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6224 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6225 esac
6226 enable_po=${enable_po:-no}
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6231 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6232 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 ac_check_lib_save_LIBS=$LIBS
6236 LIBS="-li386 $LIBS"
6237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6240 /* Override any GCC internal prototype to avoid an error.
6241 Use char because int might match the return type of a GCC
6242 builtin and then its argument prototype would still apply. */
6243 #ifdef __cplusplus
6244 extern "C"
6245 #endif
6246 char i386_set_ldt ();
6248 main ()
6250 return i386_set_ldt ();
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_link "$LINENO"; then :
6256 ac_cv_lib_i386_i386_set_ldt=yes
6257 else
6258 ac_cv_lib_i386_i386_set_ldt=no
6260 rm -f core conftest.err conftest.$ac_objext \
6261 conftest$ac_exeext conftest.$ac_ext
6262 LIBS=$ac_check_lib_save_LIBS
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6265 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6266 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6267 cat >>confdefs.h <<_ACEOF
6268 #define HAVE_LIBI386 1
6269 _ACEOF
6271 LIBS="-li386 $LIBS"
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6276 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6277 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 ac_check_lib_save_LIBS=$LIBS
6281 LIBS="-lossaudio $LIBS"
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6288 #ifdef __cplusplus
6289 extern "C"
6290 #endif
6291 char _oss_ioctl ();
6293 main ()
6295 return _oss_ioctl ();
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_link "$LINENO"; then :
6301 ac_cv_lib_ossaudio__oss_ioctl=yes
6302 else
6303 ac_cv_lib_ossaudio__oss_ioctl=no
6305 rm -f core conftest.err conftest.$ac_objext \
6306 conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6314 _ACEOF
6316 LIBS="-lossaudio $LIBS"
6321 OPENGL_LIBS=""
6325 # Check whether --enable-largefile was given.
6326 if test "${enable_largefile+set}" = set; then :
6327 enableval=$enable_largefile;
6330 if test "$enable_largefile" != no; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6333 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6334 if ${ac_cv_sys_largefile_CC+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 ac_cv_sys_largefile_CC=no
6338 if test "$GCC" != yes; then
6339 ac_save_CC=$CC
6340 while :; do
6341 # IRIX 6.2 and later do not support large files by default,
6342 # so use the C compiler's -n32 option if that helps.
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <sys/types.h>
6346 /* Check that off_t can represent 2**63 - 1 correctly.
6347 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6348 since some C++ compilers masquerading as C compilers
6349 incorrectly reject 9223372036854775807. */
6350 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6351 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6352 && LARGE_OFF_T % 2147483647 == 1)
6353 ? 1 : -1];
6355 main ()
6359 return 0;
6361 _ACEOF
6362 if ac_fn_c_try_compile "$LINENO"; then :
6363 break
6365 rm -f core conftest.err conftest.$ac_objext
6366 CC="$CC -n32"
6367 if ac_fn_c_try_compile "$LINENO"; then :
6368 ac_cv_sys_largefile_CC=' -n32'; break
6370 rm -f core conftest.err conftest.$ac_objext
6371 break
6372 done
6373 CC=$ac_save_CC
6374 rm -f conftest.$ac_ext
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6378 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6379 if test "$ac_cv_sys_largefile_CC" != no; then
6380 CC=$CC$ac_cv_sys_largefile_CC
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6384 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6385 if ${ac_cv_sys_file_offset_bits+:} false; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 while :; do
6389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6390 /* end confdefs.h. */
6391 #include <sys/types.h>
6392 /* Check that off_t can represent 2**63 - 1 correctly.
6393 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6394 since some C++ compilers masquerading as C compilers
6395 incorrectly reject 9223372036854775807. */
6396 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6397 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6398 && LARGE_OFF_T % 2147483647 == 1)
6399 ? 1 : -1];
6401 main ()
6405 return 0;
6407 _ACEOF
6408 if ac_fn_c_try_compile "$LINENO"; then :
6409 ac_cv_sys_file_offset_bits=no; break
6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #define _FILE_OFFSET_BITS 64
6415 #include <sys/types.h>
6416 /* Check that off_t can represent 2**63 - 1 correctly.
6417 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6418 since some C++ compilers masquerading as C compilers
6419 incorrectly reject 9223372036854775807. */
6420 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6421 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6422 && LARGE_OFF_T % 2147483647 == 1)
6423 ? 1 : -1];
6425 main ()
6429 return 0;
6431 _ACEOF
6432 if ac_fn_c_try_compile "$LINENO"; then :
6433 ac_cv_sys_file_offset_bits=64; break
6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436 ac_cv_sys_file_offset_bits=unknown
6437 break
6438 done
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6441 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6442 case $ac_cv_sys_file_offset_bits in #(
6443 no | unknown) ;;
6445 cat >>confdefs.h <<_ACEOF
6446 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6447 _ACEOF
6449 esac
6450 rm -rf conftest*
6451 if test $ac_cv_sys_file_offset_bits = unknown; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6453 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6454 if ${ac_cv_sys_large_files+:} false; then :
6455 $as_echo_n "(cached) " >&6
6456 else
6457 while :; do
6458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <sys/types.h>
6461 /* Check that off_t can represent 2**63 - 1 correctly.
6462 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6463 since some C++ compilers masquerading as C compilers
6464 incorrectly reject 9223372036854775807. */
6465 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6466 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6467 && LARGE_OFF_T % 2147483647 == 1)
6468 ? 1 : -1];
6470 main ()
6474 return 0;
6476 _ACEOF
6477 if ac_fn_c_try_compile "$LINENO"; then :
6478 ac_cv_sys_large_files=no; break
6480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 #define _LARGE_FILES 1
6484 #include <sys/types.h>
6485 /* Check that off_t can represent 2**63 - 1 correctly.
6486 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6487 since some C++ compilers masquerading as C compilers
6488 incorrectly reject 9223372036854775807. */
6489 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6490 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6491 && LARGE_OFF_T % 2147483647 == 1)
6492 ? 1 : -1];
6494 main ()
6498 return 0;
6500 _ACEOF
6501 if ac_fn_c_try_compile "$LINENO"; then :
6502 ac_cv_sys_large_files=1; break
6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6505 ac_cv_sys_large_files=unknown
6506 break
6507 done
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6510 $as_echo "$ac_cv_sys_large_files" >&6; }
6511 case $ac_cv_sys_large_files in #(
6512 no | unknown) ;;
6514 cat >>confdefs.h <<_ACEOF
6515 #define _LARGE_FILES $ac_cv_sys_large_files
6516 _ACEOF
6518 esac
6519 rm -rf conftest*
6526 ac_ext=c
6527 ac_cpp='$CPP $CPPFLAGS'
6528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6532 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6533 # On Suns, sometimes $CPP names a directory.
6534 if test -n "$CPP" && test -d "$CPP"; then
6535 CPP=
6537 if test -z "$CPP"; then
6538 if ${ac_cv_prog_CPP+:} false; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 # Double quotes because CPP needs to be expanded
6542 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6544 ac_preproc_ok=false
6545 for ac_c_preproc_warn_flag in '' yes
6547 # Use a header file that comes with gcc, so configuring glibc
6548 # with a fresh cross-compiler works.
6549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6550 # <limits.h> exists even on freestanding compilers.
6551 # On the NeXT, cc -E runs the code through the compiler's parser,
6552 # not just through cpp. "Syntax error" is here to catch this case.
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6555 #ifdef __STDC__
6556 # include <limits.h>
6557 #else
6558 # include <assert.h>
6559 #endif
6560 Syntax error
6561 _ACEOF
6562 if ac_fn_c_try_cpp "$LINENO"; then :
6564 else
6565 # Broken: fails on valid input.
6566 continue
6568 rm -f conftest.err conftest.i conftest.$ac_ext
6570 # OK, works on sane cases. Now check whether nonexistent headers
6571 # can be detected and how.
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <ac_nonexistent.h>
6575 _ACEOF
6576 if ac_fn_c_try_cpp "$LINENO"; then :
6577 # Broken: success on invalid input.
6578 continue
6579 else
6580 # Passes both tests.
6581 ac_preproc_ok=:
6582 break
6584 rm -f conftest.err conftest.i conftest.$ac_ext
6586 done
6587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6588 rm -f conftest.i conftest.err conftest.$ac_ext
6589 if $ac_preproc_ok; then :
6590 break
6593 done
6594 ac_cv_prog_CPP=$CPP
6597 CPP=$ac_cv_prog_CPP
6598 else
6599 ac_cv_prog_CPP=$CPP
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6602 $as_echo "$CPP" >&6; }
6603 ac_preproc_ok=false
6604 for ac_c_preproc_warn_flag in '' yes
6606 # Use a header file that comes with gcc, so configuring glibc
6607 # with a fresh cross-compiler works.
6608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609 # <limits.h> exists even on freestanding compilers.
6610 # On the NeXT, cc -E runs the code through the compiler's parser,
6611 # not just through cpp. "Syntax error" is here to catch this case.
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #ifdef __STDC__
6615 # include <limits.h>
6616 #else
6617 # include <assert.h>
6618 #endif
6619 Syntax error
6620 _ACEOF
6621 if ac_fn_c_try_cpp "$LINENO"; then :
6623 else
6624 # Broken: fails on valid input.
6625 continue
6627 rm -f conftest.err conftest.i conftest.$ac_ext
6629 # OK, works on sane cases. Now check whether nonexistent headers
6630 # can be detected and how.
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <ac_nonexistent.h>
6634 _ACEOF
6635 if ac_fn_c_try_cpp "$LINENO"; then :
6636 # Broken: success on invalid input.
6637 continue
6638 else
6639 # Passes both tests.
6640 ac_preproc_ok=:
6641 break
6643 rm -f conftest.err conftest.i conftest.$ac_ext
6645 done
6646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6647 rm -f conftest.i conftest.err conftest.$ac_ext
6648 if $ac_preproc_ok; then :
6650 else
6651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6653 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6654 See \`config.log' for more details" "$LINENO" 5; }
6657 ac_ext=c
6658 ac_cpp='$CPP $CPPFLAGS'
6659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6665 $as_echo_n "checking for ANSI C header files... " >&6; }
6666 if ${ac_cv_header_stdc+:} false; then :
6667 $as_echo_n "(cached) " >&6
6668 else
6669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6670 /* end confdefs.h. */
6671 #include <stdlib.h>
6672 #include <stdarg.h>
6673 #include <string.h>
6674 #include <float.h>
6677 main ()
6681 return 0;
6683 _ACEOF
6684 if ac_fn_c_try_compile "$LINENO"; then :
6685 ac_cv_header_stdc=yes
6686 else
6687 ac_cv_header_stdc=no
6689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691 if test $ac_cv_header_stdc = yes; then
6692 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6695 #include <string.h>
6697 _ACEOF
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "memchr" >/dev/null 2>&1; then :
6701 else
6702 ac_cv_header_stdc=no
6704 rm -f conftest*
6708 if test $ac_cv_header_stdc = yes; then
6709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <stdlib.h>
6714 _ACEOF
6715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6716 $EGREP "free" >/dev/null 2>&1; then :
6718 else
6719 ac_cv_header_stdc=no
6721 rm -f conftest*
6725 if test $ac_cv_header_stdc = yes; then
6726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6727 if test "$cross_compiling" = yes; then :
6729 else
6730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <ctype.h>
6733 #include <stdlib.h>
6734 #if ((' ' & 0x0FF) == 0x020)
6735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6737 #else
6738 # define ISLOWER(c) \
6739 (('a' <= (c) && (c) <= 'i') \
6740 || ('j' <= (c) && (c) <= 'r') \
6741 || ('s' <= (c) && (c) <= 'z'))
6742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6743 #endif
6745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6747 main ()
6749 int i;
6750 for (i = 0; i < 256; i++)
6751 if (XOR (islower (i), ISLOWER (i))
6752 || toupper (i) != TOUPPER (i))
6753 return 2;
6754 return 0;
6756 _ACEOF
6757 if ac_fn_c_try_run "$LINENO"; then :
6759 else
6760 ac_cv_header_stdc=no
6762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6763 conftest.$ac_objext conftest.beam conftest.$ac_ext
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6769 $as_echo "$ac_cv_header_stdc" >&6; }
6770 if test $ac_cv_header_stdc = yes; then
6772 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6776 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6777 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6778 inttypes.h stdint.h unistd.h
6779 do :
6780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6781 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6786 _ACEOF
6790 done
6793 for ac_header in \
6794 AL/al.h \
6795 ApplicationServices/ApplicationServices.h \
6796 AudioToolbox/AudioConverter.h \
6797 AudioUnit/AudioUnit.h \
6798 AudioUnit/AudioComponent.h \
6799 CL/cl.h \
6800 Carbon/Carbon.h \
6801 CommonCrypto/CommonDigest.h \
6802 CoreAudio/CoreAudio.h \
6803 CoreServices/CoreServices.h \
6804 DiskArbitration/DiskArbitration.h \
6805 IOKit/IOKitLib.h \
6806 IOKit/hid/IOHIDLib.h \
6807 OpenAL/al.h \
6808 OpenCL/opencl.h \
6809 QuickTime/ImageCompression.h \
6810 Security/Security.h \
6811 alias.h \
6812 alsa/asoundlib.h \
6813 arpa/inet.h \
6814 arpa/nameser.h \
6815 asm/types.h \
6816 asm/user.h \
6817 curses.h \
6818 direct.h \
6819 dirent.h \
6820 dlfcn.h \
6821 elf.h \
6822 float.h \
6823 fnmatch.h \
6824 getopt.h \
6825 gettext-po.h \
6826 grp.h \
6827 gsm.h \
6828 gsm/gsm.h \
6829 ieeefp.h \
6830 inet/mib2.h \
6831 io.h \
6832 kstat.h \
6833 lber.h \
6834 ldap.h \
6835 libproc.h \
6836 link.h \
6837 linux/cdrom.h \
6838 linux/compiler.h \
6839 linux/filter.h \
6840 linux/hdreg.h \
6841 linux/hidraw.h \
6842 linux/input.h \
6843 linux/ioctl.h \
6844 linux/joystick.h \
6845 linux/major.h \
6846 linux/param.h \
6847 linux/serial.h \
6848 linux/types.h \
6849 linux/ucdrom.h \
6850 lwp.h \
6851 mach-o/nlist.h \
6852 mach-o/loader.h \
6853 mach/mach.h \
6854 mach/machine.h \
6855 machine/cpu.h \
6856 machine/limits.h \
6857 machine/sysarch.h \
6858 mntent.h \
6859 ncurses.h \
6860 netdb.h \
6861 netinet/in.h \
6862 netinet/in_systm.h \
6863 netinet/tcp.h \
6864 netinet/tcp_fsm.h \
6865 pcap/pcap.h \
6866 poll.h \
6867 port.h \
6868 process.h \
6869 pthread.h \
6870 pwd.h \
6871 sched.h \
6872 scsi/scsi.h \
6873 scsi/scsi_ioctl.h \
6874 scsi/sg.h \
6875 stdbool.h \
6876 stdint.h \
6877 stropts.h \
6878 sys/asoundlib.h \
6879 sys/attr.h \
6880 sys/cdio.h \
6881 sys/elf32.h \
6882 sys/epoll.h \
6883 sys/event.h \
6884 sys/exec_elf.h \
6885 sys/filio.h \
6886 sys/inotify.h \
6887 sys/ioctl.h \
6888 sys/ipc.h \
6889 sys/limits.h \
6890 sys/link.h \
6891 sys/mman.h \
6892 sys/modem.h \
6893 sys/msg.h \
6894 sys/mtio.h \
6895 sys/param.h \
6896 sys/poll.h \
6897 sys/prctl.h \
6898 sys/protosw.h \
6899 sys/ptrace.h \
6900 sys/queue.h \
6901 sys/resource.h \
6902 sys/scsiio.h \
6903 sys/shm.h \
6904 sys/signal.h \
6905 sys/socket.h \
6906 sys/socketvar.h \
6907 sys/sockio.h \
6908 sys/statvfs.h \
6909 sys/strtio.h \
6910 sys/syscall.h \
6911 sys/sysinfo.h \
6912 sys/tihdr.h \
6913 sys/time.h \
6914 sys/timeout.h \
6915 sys/times.h \
6916 sys/uio.h \
6917 sys/user.h \
6918 sys/utsname.h \
6919 sys/vm86.h \
6920 sys/vnode.h \
6921 sys/wait.h \
6922 syscall.h \
6923 termios.h \
6924 unistd.h \
6925 utime.h \
6926 valgrind/memcheck.h \
6927 valgrind/valgrind.h \
6928 zlib.h
6930 do :
6931 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6932 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6933 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6934 cat >>confdefs.h <<_ACEOF
6935 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6936 _ACEOF
6940 done
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6943 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6944 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6949 #include <sys/types.h>
6951 main ()
6953 return makedev(0, 0);
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_link "$LINENO"; then :
6959 ac_cv_header_sys_types_h_makedev=yes
6960 else
6961 ac_cv_header_sys_types_h_makedev=no
6963 rm -f core conftest.err conftest.$ac_objext \
6964 conftest$ac_exeext conftest.$ac_ext
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6968 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6970 if test $ac_cv_header_sys_types_h_makedev = no; then
6971 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6972 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6974 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6980 if test $ac_cv_header_sys_mkdev_h = no; then
6981 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6982 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6984 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6993 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6994 if ${ac_cv_header_stat_broken+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7000 #include <sys/stat.h>
7002 #if defined S_ISBLK && defined S_IFDIR
7003 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7004 #endif
7006 #if defined S_ISBLK && defined S_IFCHR
7007 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7008 #endif
7010 #if defined S_ISLNK && defined S_IFREG
7011 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7012 #endif
7014 #if defined S_ISSOCK && defined S_IFREG
7015 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7016 #endif
7018 _ACEOF
7019 if ac_fn_c_try_compile "$LINENO"; then :
7020 ac_cv_header_stat_broken=no
7021 else
7022 ac_cv_header_stat_broken=yes
7024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7027 $as_echo "$ac_cv_header_stat_broken" >&6; }
7028 if test $ac_cv_header_stat_broken = yes; then
7030 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7036 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7037 do :
7038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7039 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7040 #ifdef HAVE_SYS_PARAM_H
7041 # include <sys/param.h>
7042 #endif
7044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7045 cat >>confdefs.h <<_ACEOF
7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7047 _ACEOF
7051 done
7054 for ac_header in \
7055 netinet/ip.h \
7056 net/if.h \
7057 net/if_arp.h \
7058 net/if_dl.h \
7059 net/if_types.h \
7060 net/route.h \
7061 netinet/if_ether.h \
7062 netinet/if_inarp.h \
7063 netinet/in_pcb.h \
7064 netinet/ip_icmp.h \
7065 netinet/ip_var.h \
7066 netinet/udp.h \
7067 netipx/ipx.h \
7068 sys/un.h \
7070 do :
7071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7072 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7073 #ifdef HAVE_SYS_SOCKET_H
7074 # include <sys/socket.h>
7075 #endif
7076 #ifdef HAVE_SYS_SOCKETVAR_H
7077 # include <sys/socketvar.h>
7078 #endif
7079 #ifdef HAVE_NET_ROUTE_H
7080 # include <net/route.h>
7081 #endif
7082 #ifdef HAVE_NETINET_IN_H
7083 # include <netinet/in.h>
7084 #endif
7085 #ifdef HAVE_NETINET_IN_SYSTM_H
7086 # include <netinet/in_systm.h>
7087 #endif
7088 #ifdef HAVE_NET_IF_H
7089 # include <net/if.h>
7090 #endif
7091 #ifdef HAVE_NETINET_IP_H
7092 # include <netinet/ip.h>
7093 #endif
7095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7096 cat >>confdefs.h <<_ACEOF
7097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7098 _ACEOF
7102 done
7105 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7106 do :
7107 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7109 #ifdef HAVE_ALIAS_H
7110 # include <alias.h>
7111 #endif
7112 #ifdef HAVE_SYS_SOCKET_H
7113 # include <sys/socket.h>
7114 #endif
7115 #ifdef HAVE_SYS_SOCKETVAR_H
7116 # include <sys/socketvar.h>
7117 #endif
7118 #ifdef HAVE_SYS_TIMEOUT_H
7119 # include <sys/timeout.h>
7120 #endif
7121 #ifdef HAVE_NETINET_IN_H
7122 # include <netinet/in.h>
7123 #endif
7124 #ifdef HAVE_NETINET_IN_SYSTM_H
7125 # include <netinet/in_systm.h>
7126 #endif
7127 #ifdef HAVE_NETINET_IP_H
7128 # include <netinet/ip.h>
7129 #endif
7130 #ifdef HAVE_NETINET_IP_VAR_H
7131 # include <netinet/ip_var.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IP_ICMP_H
7134 # include <netinet/ip_icmp.h>
7135 #endif
7136 #ifdef HAVE_NETINET_UDP_H
7137 # include <netinet/udp.h>
7138 #endif
7139 #ifdef HAVE_NETINET_TCP_H
7140 # include <netinet/tcp.h>
7141 #endif
7142 #ifdef HAVE_NETINET_TCP_TIMER_H
7143 #include <netinet/tcp_timer.h>
7144 #endif
7146 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7147 cat >>confdefs.h <<_ACEOF
7148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7149 _ACEOF
7153 done
7156 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7157 do :
7158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7159 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7160 #ifdef HAVE_ASM_TYPES_H
7161 # include <asm/types.h>
7162 #endif
7163 #ifdef HAVE_SYS_SOCKET_H
7164 # include <sys/socket.h>
7165 #endif
7166 #ifdef HAVE_LINUX_TYPES_H
7167 # include <linux/types.h>
7168 #endif
7170 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7171 cat >>confdefs.h <<_ACEOF
7172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 _ACEOF
7177 done
7180 for ac_header in mach-o/dyld_images.h
7181 do :
7182 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7183 # include <stdbool.h>
7184 #endif
7185 #ifdef HAVE_STDINT_H
7186 # include <stdint.h>
7187 #endif
7189 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7190 cat >>confdefs.h <<_ACEOF
7191 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7192 _ACEOF
7196 done
7199 for ac_header in resolv.h
7200 do :
7201 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7202 #ifdef HAVE_SYS_SOCKET_H
7203 # include <sys/socket.h>
7204 #endif
7205 #ifdef HAVE_NETINET_IN_H
7206 # include <netinet/in.h>
7207 #endif
7208 #ifdef HAVE_ARPA_NAMESER_H
7209 # include <arpa/nameser.h>
7210 #endif
7212 if test "x$ac_cv_header_resolv_h" = xyes; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define HAVE_RESOLV_H 1
7215 _ACEOF
7219 done
7222 for ac_header in ifaddrs.h
7223 do :
7224 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7226 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7227 cat >>confdefs.h <<_ACEOF
7228 #define HAVE_IFADDRS_H 1
7229 _ACEOF
7233 done
7236 for ac_header in sys/ucontext.h
7237 do :
7238 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7240 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define HAVE_SYS_UCONTEXT_H 1
7243 _ACEOF
7247 done
7250 for ac_header in sys/thr.h
7251 do :
7252 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7253 #ifdef HAVE_SYS_UCONTEXT_H
7254 #include <sys/ucontext.h>
7255 #endif
7257 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7258 cat >>confdefs.h <<_ACEOF
7259 #define HAVE_SYS_THR_H 1
7260 _ACEOF
7264 done
7267 for ac_header in pthread_np.h
7268 do :
7269 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7270 #include <pthread.h>
7271 #endif
7273 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7274 cat >>confdefs.h <<_ACEOF
7275 #define HAVE_PTHREAD_NP_H 1
7276 _ACEOF
7280 done
7283 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7284 do :
7285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7287 #include <sys/time.h>
7288 #endif
7289 #include <sys/types.h>
7290 #ifdef HAVE_ASM_TYPES_H
7291 #include <asm/types.h>
7292 #endif
7294 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 _ACEOF
7301 done
7304 for ac_header in libprocstat.h
7305 do :
7306 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7307 #include <sys/param.h>
7308 #endif
7309 #ifdef HAVE_SYS_QUEUE_H
7310 #include <sys/queue.h>
7311 #endif
7312 #ifdef HAVE_SYS_SOCKET_H
7313 #include <sys/socket.h>
7314 #endif
7316 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7317 cat >>confdefs.h <<_ACEOF
7318 #define HAVE_LIBPROCSTAT_H 1
7319 _ACEOF
7323 done
7327 dlldir="\${libdir}/wine"
7329 DLLFLAGS="-D_REENTRANT"
7331 LDRPATH_INSTALL=""
7333 LDRPATH_LOCAL=""
7335 LDEXECFLAGS=""
7337 LIBEXT="so"
7338 DLLEXT=".so"
7339 IMPLIBEXT="def"
7340 # Extract the first word of "ldd", so it can be a program name with args.
7341 set dummy ldd; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_path_LDD+:} false; then :
7345 $as_echo_n "(cached) " >&6
7346 else
7347 case $LDD in
7348 [\\/]* | ?:[\\/]*)
7349 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 as_dummy="/sbin:/usr/sbin:$PATH"
7354 for as_dir in $as_dummy
7356 IFS=$as_save_IFS
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7360 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7368 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7370 esac
7372 LDD=$ac_cv_path_LDD
7373 if test -n "$LDD"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7375 $as_echo "$LDD" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}otool; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_prog_OTOOL+:} false; then :
7388 $as_echo_n "(cached) " >&6
7389 else
7390 if test -n "$OTOOL"; then
7391 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7396 IFS=$as_save_IFS
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 break 2
7404 done
7405 done
7406 IFS=$as_save_IFS
7410 OTOOL=$ac_cv_prog_OTOOL
7411 if test -n "$OTOOL"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7413 $as_echo "$OTOOL" >&6; }
7414 else
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_OTOOL"; then
7422 ac_ct_OTOOL=$OTOOL
7423 # Extract the first word of "otool", so it can be a program name with args.
7424 set dummy otool; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7428 $as_echo_n "(cached) " >&6
7429 else
7430 if test -n "$ac_ct_OTOOL"; then
7431 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7440 ac_cv_prog_ac_ct_OTOOL="otool"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7451 if test -n "$ac_ct_OTOOL"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7453 $as_echo "$ac_ct_OTOOL" >&6; }
7454 else
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_OTOOL" = x; then
7460 OTOOL="otool"
7461 else
7462 case $cross_compiling:$ac_tool_warned in
7463 yes:)
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7467 esac
7468 OTOOL=$ac_ct_OTOOL
7470 else
7471 OTOOL="$ac_cv_prog_OTOOL"
7474 if test -n "$ac_tool_prefix"; then
7475 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7476 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if ${ac_cv_prog_READELF+:} false; then :
7480 $as_echo_n "(cached) " >&6
7481 else
7482 if test -n "$READELF"; then
7483 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7484 else
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 for as_dir in $PATH
7488 IFS=$as_save_IFS
7489 test -z "$as_dir" && as_dir=.
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7492 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494 break 2
7496 done
7497 done
7498 IFS=$as_save_IFS
7502 READELF=$ac_cv_prog_READELF
7503 if test -n "$READELF"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7505 $as_echo "$READELF" >&6; }
7506 else
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7513 if test -z "$ac_cv_prog_READELF"; then
7514 ac_ct_READELF=$READELF
7515 # Extract the first word of "readelf", so it can be a program name with args.
7516 set dummy readelf; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7518 $as_echo_n "checking for $ac_word... " >&6; }
7519 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7520 $as_echo_n "(cached) " >&6
7521 else
7522 if test -n "$ac_ct_READELF"; then
7523 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7524 else
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 for as_dir in $PATH
7528 IFS=$as_save_IFS
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7532 ac_cv_prog_ac_ct_READELF="readelf"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 break 2
7536 done
7537 done
7538 IFS=$as_save_IFS
7542 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7543 if test -n "$ac_ct_READELF"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7545 $as_echo "$ac_ct_READELF" >&6; }
7546 else
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7548 $as_echo "no" >&6; }
7551 if test "x$ac_ct_READELF" = x; then
7552 READELF="true"
7553 else
7554 case $cross_compiling:$ac_tool_warned in
7555 yes:)
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7558 ac_tool_warned=yes ;;
7559 esac
7560 READELF=$ac_ct_READELF
7562 else
7563 READELF="$ac_cv_prog_READELF"
7566 wine_rules_file=conf$$rules.make
7567 rm -f $wine_rules_file
7568 SUBDIRS=""
7570 DISABLED_SUBDIRS=""
7572 CONFIGURE_TARGETS=""
7574 ALL_TEST_RESOURCES=""
7577 wine_fn_append_file ()
7579 as_fn_append $1 " \\$as_nl $2"
7582 wine_fn_append_rule ()
7584 $as_echo "$1" >>$wine_rules_file
7587 wine_fn_has_flag ()
7589 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7592 wine_fn_all_rules ()
7594 wine_fn_append_file SUBDIRS $ac_dir
7595 wine_fn_append_rule \
7596 "all: $ac_dir
7597 .PHONY: $ac_dir
7598 $ac_dir: dummy
7599 @cd $ac_dir && \$(MAKE)"
7602 wine_fn_install_rules ()
7604 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7606 wine_fn_append_rule \
7607 ".PHONY: $ac_dir/install $ac_dir/uninstall
7608 $ac_dir/install:: $ac_dir
7609 @cd $ac_dir && \$(MAKE) install
7610 $ac_dir/uninstall::
7611 @cd $ac_dir && \$(MAKE) uninstall
7612 install:: $ac_dir/install
7613 __uninstall__: $ac_dir/uninstall"
7615 if wine_fn_has_flag install-lib
7616 then
7617 wine_fn_append_rule \
7618 ".PHONY: $ac_dir/install-lib
7619 $ac_dir/install-lib:: $ac_dir
7620 @cd $ac_dir && \$(MAKE) install-lib
7621 install-lib:: $ac_dir/install-lib"
7624 if wine_fn_has_flag install-dev
7625 then
7626 wine_fn_append_rule \
7627 ".PHONY: $ac_dir/install-dev
7628 $ac_dir/install-dev:: $ac_dir
7629 @cd $ac_dir && \$(MAKE) install-dev
7630 install-dev:: $ac_dir/install-dev"
7634 wine_fn_clean_rules ()
7636 ac_clean=$@
7638 if wine_fn_has_flag clean
7639 then
7640 wine_fn_append_rule \
7641 "$ac_dir/clean: dummy
7642 @cd $ac_dir && \$(MAKE) clean"
7643 else
7644 wine_fn_append_rule \
7645 "$ac_dir/clean: dummy
7646 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7648 wine_fn_append_rule \
7649 "__clean__: $ac_dir/clean
7650 .PHONY: $ac_dir/clean"
7653 wine_fn_disabled_rules ()
7655 ac_clean=$@
7657 wine_fn_append_file SUBDIRS $ac_dir
7658 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7659 wine_fn_append_rule \
7660 "__clean__: $ac_dir/clean
7661 .PHONY: $ac_dir/clean
7662 $ac_dir/clean: dummy
7663 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7666 wine_fn_config_makefile ()
7668 ac_dir=$1
7669 ac_enable=$2
7670 ac_flags=$3
7672 case $ac_dir in
7673 fonts|server) test -z "$with_wine64" || return ;;
7674 esac
7675 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7676 wine_fn_disabled_rules; return
7678 wine_fn_all_rules
7679 wine_fn_install_rules
7680 wine_fn_clean_rules
7683 wine_fn_config_lib ()
7685 ac_name=$1
7686 ac_flags=$2
7687 ac_dir=dlls/$ac_name
7688 ac_deps="include"
7690 if test "x$enable_tools" = xno; then :
7692 else
7693 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7695 wine_fn_all_rules
7696 wine_fn_clean_rules
7698 wine_fn_append_rule \
7699 ".PHONY: $ac_dir/install $ac_dir/uninstall
7700 $ac_dir/install:: $ac_dir
7701 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7702 $ac_dir/uninstall::
7703 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7704 install install-dev:: $ac_dir/install
7705 __uninstall__: $ac_dir/uninstall
7706 __builddeps__: $ac_dir
7707 $ac_dir: $ac_deps"
7710 wine_fn_config_dll ()
7712 ac_name=$1
7713 ac_dir=dlls/$ac_name
7714 ac_enable=$2
7715 ac_flags=$3
7716 ac_implib=${4:-$ac_name}
7717 ac_file=$ac_dir/lib$ac_implib
7718 ac_dll=$ac_name
7719 ac_deps="include"
7720 ac_implibflags=""
7722 if test "x$enable_tools" = xno; then :
7724 else
7725 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7727 case $ac_name in
7728 *.*16) ac_implibflags=" -m16" ;;
7729 *.*) ;;
7730 *) ac_dll=$ac_dll.dll ;;
7731 esac
7733 ac_clean=
7734 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7735 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7737 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7738 if test "$ac_enable" != enable_win16
7739 then
7740 wine_fn_clean_rules $ac_clean
7741 wine_fn_append_file SUBDIRS $ac_dir
7742 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7743 else
7744 wine_fn_disabled_rules $ac_clean
7745 return
7747 else
7748 wine_fn_all_rules
7749 wine_fn_clean_rules $ac_clean
7750 wine_fn_append_rule \
7751 "$ac_dir: __builddeps__
7752 manpages htmlpages sgmlpages xmlpages::
7753 @cd $ac_dir && \$(MAKE) \$@
7754 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install-lib
7756 __uninstall__: $ac_dir/uninstall"
7757 if test -n "$DLLEXT"
7758 then
7759 wine_fn_append_rule \
7760 "$ac_dir/install-lib:: $ac_dir
7761 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7762 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7763 $ac_dir/uninstall::
7764 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7765 else
7766 wine_fn_append_rule \
7767 "$ac_dir/install-lib:: $ac_dir
7768 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7769 $ac_dir/uninstall::
7770 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7774 if wine_fn_has_flag staticimplib
7775 then
7776 wine_fn_append_rule \
7777 "__builddeps__: $ac_file.a
7778 $ac_file.a $ac_file.cross.a: $ac_deps
7779 $ac_file.a: dummy
7780 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7781 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7782 $ac_dir/install-dev:: $ac_file.a
7783 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7786 install install-dev:: $ac_dir/install-dev
7787 __uninstall__: $ac_dir/uninstall"
7789 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7790 then
7791 wine_fn_append_rule \
7792 "__builddeps__: $ac_file.cross.a
7793 $ac_file.cross.a: dummy
7794 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7797 elif wine_fn_has_flag implib
7798 then
7799 wine_fn_append_rule \
7800 "__builddeps__: $ac_file.$IMPLIBEXT
7801 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7802 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7803 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7804 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7805 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7806 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7807 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7810 install install-dev:: $ac_dir/install-dev
7811 __uninstall__: $ac_dir/uninstall"
7812 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7813 then
7814 wine_fn_append_rule \
7815 "__builddeps__: $ac_file.cross.a
7816 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7817 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7822 wine_fn_config_program ()
7824 ac_name=$1
7825 ac_dir=programs/$ac_name
7826 ac_enable=$2
7827 ac_flags=$3
7828 ac_program=$ac_name
7830 case $ac_name in
7831 *.*) ;;
7832 *) ac_program=$ac_program.exe ;;
7833 esac
7835 ac_clean=
7836 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7837 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7839 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7840 wine_fn_disabled_rules $ac_clean; return
7843 wine_fn_all_rules
7844 wine_fn_clean_rules $ac_clean
7845 wine_fn_append_rule "$ac_dir: __builddeps__"
7847 wine_fn_has_flag install || return
7848 wine_fn_append_rule \
7849 ".PHONY: $ac_dir/install $ac_dir/uninstall
7850 install install-lib:: $ac_dir/install
7851 __uninstall__: $ac_dir/uninstall"
7853 if test -n "$DLLEXT"
7854 then
7855 wine_fn_append_rule \
7856 "$ac_dir/install:: $ac_dir
7857 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7858 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7859 $ac_dir/uninstall::
7860 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7862 if test -z "$with_wine64" && wine_fn_has_flag installbin
7863 then
7864 wine_fn_append_rule \
7865 "$ac_dir/install:: __tooldeps__
7866 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7867 $ac_dir/uninstall::
7868 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7870 else
7871 wine_fn_append_rule \
7872 "$ac_dir/install:: $ac_dir
7873 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7874 $ac_dir/uninstall::
7875 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7878 if test -z "$with_wine64" && wine_fn_has_flag manpage
7879 then
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: $ac_dir
7882 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7888 wine_fn_config_test ()
7890 ac_dir=$1
7891 ac_name=$2
7892 ac_flags=$3
7894 ac_clean=
7895 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7896 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7898 if test "x$enable_tests" = xno; then :
7899 wine_fn_disabled_rules $ac_clean; return
7902 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7903 wine_fn_all_rules
7904 wine_fn_clean_rules $ac_clean
7906 wine_fn_append_rule \
7907 "$ac_dir: __builddeps__
7908 programs/winetest: $ac_dir
7909 check test: $ac_dir/test
7910 .PHONY: $ac_dir/test
7911 $ac_dir/test: dummy
7912 @cd $ac_dir && \$(MAKE) test
7913 testclean::
7914 \$(RM) $ac_dir/*.ok"
7916 if test -n "$CROSSTARGET"
7917 then
7918 wine_fn_append_rule \
7919 "crosstest: $ac_dir/crosstest
7920 .PHONY: $ac_dir/crosstest
7921 $ac_dir/crosstest: __builddeps__ dummy
7922 @cd $ac_dir && \$(MAKE) crosstest"
7926 wine_fn_config_tool ()
7928 ac_dir=$1
7929 ac_flags=$2
7930 if test "x$enable_tools" = xno; then :
7931 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7934 wine_fn_all_rules
7935 wine_fn_install_rules
7936 wine_fn_clean_rules
7938 wine_fn_append_rule "__tooldeps__: $ac_dir"
7939 wine_fn_append_rule "$ac_dir: libs/port"
7940 case $ac_dir in
7941 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7942 esac
7945 wine_fn_config_symlink ()
7947 ac_linkdir=
7948 if test "x$1" = "x-d"
7949 then
7950 ac_linkdir=$2
7951 shift; shift
7953 ac_links=$@
7954 wine_fn_append_rule \
7955 "$ac_links:
7956 @./config.status \$@"
7957 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7958 test -n "$ac_linkdir" || return
7959 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7962 wine_binary="wine"
7963 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7964 WINELOADER_PROGRAMS="$wine_binary"
7966 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7968 case $host_os in
7969 cygwin*|mingw32*)
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7972 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_DLLTOOL+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 if test -n "$DLLTOOL"; then
7979 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7998 DLLTOOL=$ac_cv_prog_DLLTOOL
7999 if test -n "$DLLTOOL"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8001 $as_echo "$DLLTOOL" >&6; }
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_DLLTOOL"; then
8010 ac_ct_DLLTOOL=$DLLTOOL
8011 # Extract the first word of "dlltool", so it can be a program name with args.
8012 set dummy dlltool; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$ac_ct_DLLTOOL"; then
8019 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8039 if test -n "$ac_ct_DLLTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8041 $as_echo "$ac_ct_DLLTOOL" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_DLLTOOL" = x; then
8048 DLLTOOL="false"
8049 else
8050 case $cross_compiling:$ac_tool_warned in
8051 yes:)
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned=yes ;;
8055 esac
8056 DLLTOOL=$ac_ct_DLLTOOL
8058 else
8059 DLLTOOL="$ac_cv_prog_DLLTOOL"
8062 LIBEXT="dll"
8063 DLLEXT=""
8064 IMPLIBEXT="a"
8065 enable_iphlpapi=${enable_iphlpapi:-no}
8066 enable_kernel32=${enable_kernel32:-no}
8067 enable_msvcrt=${enable_msvcrt:-no}
8068 enable_ntdll=${enable_ntdll:-no}
8069 enable_ws2_32=${enable_ws2_32:-no}
8070 enable_loader=${enable_loader:-no}
8071 enable_server=${enable_server:-no}
8072 with_x=${with_x:-no}
8073 with_pthread=${with_pthread:-no}
8075 crtlibs=""
8076 case $host_os in
8077 mingw32*)
8078 crtlibs="-lmsvcrt"
8079 SOCKET_LIBS="-lws2_32"
8081 esac
8083 LIBWINE_SHAREDLIB="libwine.dll"
8085 LIBWINE_IMPORTLIB="libwine.a"
8087 LIBWINE_INSTALL_LIB="libwine.dll"
8089 LIBWINE_INSTALL_DEV="libwine.a"
8091 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8093 LIBWINE_DEPENDS="wine.def"
8097 darwin*|macosx*)
8098 for ac_header in libunwind.h
8099 do :
8100 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8102 cat >>confdefs.h <<_ACEOF
8103 #define HAVE_LIBUNWIND_H 1
8104 _ACEOF
8108 done
8110 LIBEXT="dylib"
8111 DLLFLAGS="$DLLFLAGS -fPIC"
8112 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8113 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8114 COREFOUNDATION_LIBS="-framework CoreFoundation"
8116 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8118 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8120 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8122 CORESERVICES_LIBS="-framework CoreServices"
8124 APPKIT_LIBS="-framework AppKit"
8126 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8128 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8129 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 ac_wine_try_cflags_saved=$CFLAGS
8133 CFLAGS="$CFLAGS -Wl,-no_pie"
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 int main(int argc, char **argv) { return 0; }
8137 _ACEOF
8138 if ac_fn_c_try_link "$LINENO"; then :
8139 ac_cv_cflags__Wl__no_pie=yes
8140 else
8141 ac_cv_cflags__Wl__no_pie=no
8143 rm -f core conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 CFLAGS=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8148 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8149 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8150 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8152 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8153 then
8154 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8157 if test "$ac_cv_header_Security_Security_h" = "yes"
8158 then
8159 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8161 ac_save_LIBS="$LIBS"
8162 LIBS="$LIBS $SECURITY_LIBS"
8163 for ac_func in SSLCopyPeerCertificates
8164 do :
8165 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8166 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8167 cat >>confdefs.h <<_ACEOF
8168 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8169 _ACEOF
8172 done
8174 LIBS="$ac_save_LIBS"
8175 with_gnutls=${with_gnutls:-no}
8177 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8178 then
8179 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8180 then
8181 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8183 else
8184 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8187 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8188 ac_save_LIBS="$LIBS"
8189 LIBS="$LIBS $COREAUDIO_LIBS"
8190 for ac_func in AUGraphAddNode
8191 do :
8192 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8193 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8194 cat >>confdefs.h <<_ACEOF
8195 #define HAVE_AUGRAPHADDNODE 1
8196 _ACEOF
8199 done
8201 LIBS="$ac_save_LIBS"
8203 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8204 then
8205 OPENAL_LIBS="-framework OpenAL"
8208 cat >>confdefs.h <<_ACEOF
8209 #define HAVE_OPENAL 1
8210 _ACEOF
8212 ac_cv_lib_openal=yes
8214 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8215 then
8216 OPENCL_LIBS="-framework OpenCL"
8218 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8220 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8221 then
8222 ac_save_LIBS="$LIBS"
8223 LIBS="$LIBS $IOKIT_LIBS"
8224 for ac_func in IOHIDManagerCreate
8225 do :
8226 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8227 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8228 cat >>confdefs.h <<_ACEOF
8229 #define HAVE_IOHIDMANAGERCREATE 1
8230 _ACEOF
8233 done
8235 LIBS="$ac_save_LIBS"
8237 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8238 then
8239 ac_save_LIBS="$LIBS"
8240 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8242 $as_echo_n "checking for the QuickTime framework... " >&6; }
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 #include <QuickTime/ImageCompression.h>
8247 main ()
8249 CodecManagerVersion(NULL);
8251 return 0;
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8256 $as_echo "yes" >&6; }
8257 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8259 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8260 else
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8263 ac_cv_header_QuickTime_ImageCompression_h=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 LIBS="$ac_save_LIBS"
8269 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8270 then
8271 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8273 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8274 then
8275 CARBON_LIBS="-framework Carbon"
8279 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8280 then
8281 ac_save_LIBS="$LIBS"
8282 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8283 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8284 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8285 enable_winemac_drv=${enable_winemac_drv:-yes}
8288 LIBS="$ac_save_LIBS"
8291 if test "x$enable_win16" = "xyes"
8292 then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8294 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8295 if test "$cross_compiling" = yes; then :
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8297 $as_echo "cross-compiling, assuming yes" >&6; }
8298 else
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 asm(".text\n"
8302 "bad:\tnop;nop\n"
8303 "good:\tnop;nop\n\t"
8304 ".globl _testfunc\n"
8305 "_testfunc:\tcallw good");
8306 extern void testfunc();
8308 main ()
8310 unsigned short *p = (unsigned short *)testfunc;
8311 return p[0] != 0xe866 || p[1] != 0xfffa
8313 return 0;
8315 _ACEOF
8316 if ac_fn_c_try_run "$LINENO"; then :
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8318 $as_echo "yes" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8322 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
8324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8325 conftest.$ac_objext conftest.beam conftest.$ac_ext
8330 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8332 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8334 LIBWINE_INSTALL_DEV="libwine.dylib"
8336 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8338 WINELOADER_DEPENDS="wine_info.plist"
8342 linux-android*)
8343 DLLFLAGS="$DLLFLAGS -fPIC"
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8345 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8346 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8357 else
8358 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8365 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8366 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8367 LDEXECFLAGS="-Wl,--export-dynamic"
8369 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8372 if eval \${$as_ac_var+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 eval "$as_ac_var=yes"
8383 else
8384 eval "$as_ac_var=no"
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 eval ac_res=\$$as_ac_var
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8392 $as_echo "$ac_res" >&6; }
8393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8394 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8395 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8396 else
8397 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8400 if eval \${$as_ac_var+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 eval "$as_ac_var=yes"
8411 else
8412 eval "$as_ac_var=no"
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 eval ac_res=\$$as_ac_var
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8420 $as_echo "$ac_res" >&6; }
8421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8422 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8423 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8428 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8429 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 ac_wine_try_cflags_saved=$CFLAGS
8433 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8437 _ACEOF
8438 if ac_fn_c_try_link "$LINENO"; then :
8439 ac_cv_cflags__Wl___enable_new_dtags=yes
8440 else
8441 ac_cv_cflags__Wl___enable_new_dtags=no
8443 rm -f core conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 CFLAGS=$ac_wine_try_cflags_saved
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8448 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8449 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8450 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8453 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8454 if ${ac_cv_cflags__Wl__pie+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -Wl,-pie"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_cflags__Wl__pie=yes
8465 else
8466 ac_cv_cflags__Wl__pie=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8473 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8474 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8475 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8478 LIBWINE_SHAREDLIB="libwine.so"
8480 LIBWINE_INSTALL_LIB="libwine.so"
8482 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8487 DLLFLAGS="$DLLFLAGS -fPIC"
8488 LDEXECFLAGS=""
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8490 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8491 if ${ac_cv_c_dll_gnuelf+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 void myfunc() {}
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 ac_cv_c_dll_gnuelf="yes"
8502 else
8503 ac_cv_c_dll_gnuelf="no"
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8510 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8511 if test "$ac_cv_c_dll_gnuelf" = "yes"
8512 then
8513 LIBWINE_LDFLAGS="-shared"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8515 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8516 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8527 else
8528 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8535 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8536 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8537 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8538 else
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8540 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8541 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8542 $as_echo_n "(cached) " >&6
8543 else
8544 ac_wine_try_cflags_saved=$CFLAGS
8545 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 int main(int argc, char **argv) { return 0; }
8549 _ACEOF
8550 if ac_fn_c_try_link "$LINENO"; then :
8551 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8552 else
8553 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8555 rm -f core conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 CFLAGS=$ac_wine_try_cflags_saved
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8560 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8561 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8562 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8566 echo '{ global: *; };' >conftest.map
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8568 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8569 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_wine_try_cflags_saved=$CFLAGS
8573 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 int main(int argc, char **argv) { return 0; }
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8580 else
8581 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 CFLAGS=$ac_wine_try_cflags_saved
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8588 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8589 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8590 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8592 rm -f conftest.map
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8595 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8596 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 ac_wine_try_cflags_saved=$CFLAGS
8600 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8603 int main(int argc, char **argv) { return 0; }
8604 _ACEOF
8605 if ac_fn_c_try_link "$LINENO"; then :
8606 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8607 else
8608 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8610 rm -f core conftest.err conftest.$ac_objext \
8611 conftest$ac_exeext conftest.$ac_ext
8612 CFLAGS=$ac_wine_try_cflags_saved
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8615 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8616 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8617 LDEXECFLAGS="-Wl,--export-dynamic"
8620 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8622 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8623 if eval \${$as_ac_var+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 eval "$as_ac_var=yes"
8634 else
8635 eval "$as_ac_var=no"
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 eval ac_res=\$$as_ac_var
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8643 $as_echo "$ac_res" >&6; }
8644 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8645 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8646 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8647 else
8648 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8650 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8651 if eval \${$as_ac_var+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 eval "$as_ac_var=yes"
8662 else
8663 eval "$as_ac_var=no"
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 eval ac_res=\$$as_ac_var
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8671 $as_echo "$ac_res" >&6; }
8672 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8673 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8674 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8679 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8680 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8681 $as_echo_n "(cached) " >&6
8682 else
8683 ac_wine_try_cflags_saved=$CFLAGS
8684 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 int main(int argc, char **argv) { return 0; }
8688 _ACEOF
8689 if ac_fn_c_try_link "$LINENO"; then :
8690 ac_cv_cflags__Wl___enable_new_dtags=yes
8691 else
8692 ac_cv_cflags__Wl___enable_new_dtags=no
8694 rm -f core conftest.err conftest.$ac_objext \
8695 conftest$ac_exeext conftest.$ac_ext
8696 CFLAGS=$ac_wine_try_cflags_saved
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8699 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8700 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8701 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8704 case $host_cpu in
8705 *i[3456789]86* | x86_64)
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8707 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8708 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 int main(int argc, char **argv) { return 0; }
8716 _ACEOF
8717 if ac_fn_c_try_link "$LINENO"; then :
8718 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8719 else
8720 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8727 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8728 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8729 case $host_os in
8730 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8731 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8732 esac
8733 else
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8735 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8736 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 int main(int argc, char **argv) { return 0; }
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8747 else
8748 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 CFLAGS=$ac_wine_try_cflags_saved
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8755 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8756 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8757 case $host_os in
8758 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8759 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8760 esac
8762 # Extract the first word of "prelink", so it can be a program name with args.
8763 set dummy prelink; ac_word=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if ${ac_cv_path_PRELINK+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 case $PRELINK in
8770 [\\/]* | ?:[\\/]*)
8771 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8775 for as_dir in /sbin /usr/sbin $PATH
8777 IFS=$as_save_IFS
8778 test -z "$as_dir" && as_dir=.
8779 for ac_exec_ext in '' $ac_executable_extensions; do
8780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8781 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8783 break 2
8785 done
8786 done
8787 IFS=$as_save_IFS
8789 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8791 esac
8793 PRELINK=$ac_cv_path_PRELINK
8794 if test -n "$PRELINK"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8796 $as_echo "$PRELINK" >&6; }
8797 else
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8803 if test "x$PRELINK" = xfalse
8804 then
8805 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8809 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8810 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 ac_wine_try_cflags_saved=$CFLAGS
8814 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 int main(int argc, char **argv) { return 0; }
8818 _ACEOF
8819 if ac_fn_c_try_link "$LINENO"; then :
8820 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8821 else
8822 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8824 rm -f core conftest.err conftest.$ac_objext \
8825 conftest$ac_exeext conftest.$ac_ext
8826 CFLAGS=$ac_wine_try_cflags_saved
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8829 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8830 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8831 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8834 esac
8836 else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8838 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8839 if ${ac_cv_c_dll_unixware+:} false; then :
8840 $as_echo_n "(cached) " >&6
8841 else
8842 ac_wine_try_cflags_saved=$CFLAGS
8843 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8846 void myfunc() {}
8847 _ACEOF
8848 if ac_fn_c_try_link "$LINENO"; then :
8849 ac_cv_c_dll_unixware="yes"
8850 else
8851 ac_cv_c_dll_unixware="no"
8853 rm -f core conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 CFLAGS=$ac_wine_try_cflags_saved
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8858 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8859 if test "$ac_cv_c_dll_unixware" = "yes"
8860 then
8861 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8864 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8866 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8868 LIBWINE_INSTALL_DEV="libwine.so"
8870 LIBWINE_DEPENDS="wine.map"
8873 esac
8875 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8876 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8877 enable_winemac_drv=${enable_winemac_drv:-no}
8878 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8880 CROSSTARGET=""
8882 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8883 then
8884 case "$host_cpu" in
8885 arm*)
8886 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8887 i[3456789]86*)
8888 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
8889 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8890 mingw32-gcc" ;;
8891 x86_64)
8892 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
8893 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8895 ac_prefix_list="" ;;
8896 esac
8897 for ac_prog in $ac_prefix_list
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy $ac_prog; ac_word=$2
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8902 $as_echo_n "checking for $ac_word... " >&6; }
8903 if ${ac_cv_prog_CROSSCC+:} false; then :
8904 $as_echo_n "(cached) " >&6
8905 else
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8908 else
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 for as_dir in $PATH
8912 IFS=$as_save_IFS
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8916 ac_cv_prog_CROSSCC="$ac_prog"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 break 2
8920 done
8921 done
8922 IFS=$as_save_IFS
8926 CROSSCC=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8929 $as_echo "$CROSSCC" >&6; }
8930 else
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8932 $as_echo "no" >&6; }
8936 test -n "$CROSSCC" && break
8937 done
8938 test -n "$CROSSCC" || CROSSCC="false"
8940 if test "$CROSSCC" != "false"
8941 then
8942 ac_save_CC="$CC"
8943 CC="$CROSSCC"
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8945 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8950 main ()
8954 return 0;
8956 _ACEOF
8957 if ac_fn_c_try_compile "$LINENO"; then :
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8959 $as_echo "yes" >&6; }
8960 set x $CROSSCC
8961 shift
8962 while test $# -ge 1
8964 case "$1" in
8965 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8966 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8967 esac
8968 shift
8969 done
8970 else
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8975 CC="$ac_save_CC"
8980 if test "$ac_cv_header_pthread_h" = "yes"
8981 then
8982 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8983 if test "x$ac_cv_func_pthread_create" = xyes; then :
8985 else
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8987 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8988 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8989 $as_echo_n "(cached) " >&6
8990 else
8991 ac_check_lib_save_LIBS=$LIBS
8992 LIBS="-lpthread $LIBS"
8993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8996 /* Override any GCC internal prototype to avoid an error.
8997 Use char because int might match the return type of a GCC
8998 builtin and then its argument prototype would still apply. */
8999 #ifdef __cplusplus
9000 extern "C"
9001 #endif
9002 char pthread_create ();
9004 main ()
9006 return pthread_create ();
9008 return 0;
9010 _ACEOF
9011 if ac_fn_c_try_link "$LINENO"; then :
9012 ac_cv_lib_pthread_pthread_create=yes
9013 else
9014 ac_cv_lib_pthread_pthread_create=no
9016 rm -f core conftest.err conftest.$ac_objext \
9017 conftest$ac_exeext conftest.$ac_ext
9018 LIBS=$ac_check_lib_save_LIBS
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9021 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9022 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9023 PTHREAD_LIBS="-lpthread"
9030 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9031 case "x$with_pthread" in
9032 xno) ;;
9033 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9034 Wine cannot support threads without libpthread.
9035 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9036 esac
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9042 $as_echo_n "checking for X... " >&6; }
9045 # Check whether --with-x was given.
9046 if test "${with_x+set}" = set; then :
9047 withval=$with_x;
9050 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9051 if test "x$with_x" = xno; then
9052 # The user explicitly disabled X.
9053 have_x=disabled
9054 else
9055 case $x_includes,$x_libraries in #(
9056 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9057 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9058 $as_echo_n "(cached) " >&6
9059 else
9060 # One or both of the vars are not set, and there is no cached value.
9061 ac_x_includes=no ac_x_libraries=no
9062 rm -f -r conftest.dir
9063 if mkdir conftest.dir; then
9064 cd conftest.dir
9065 cat >Imakefile <<'_ACEOF'
9066 incroot:
9067 @echo incroot='${INCROOT}'
9068 usrlibdir:
9069 @echo usrlibdir='${USRLIBDIR}'
9070 libdir:
9071 @echo libdir='${LIBDIR}'
9072 _ACEOF
9073 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9074 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9075 for ac_var in incroot usrlibdir libdir; do
9076 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9077 done
9078 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9079 for ac_extension in a so sl dylib la dll; do
9080 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9081 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9082 ac_im_usrlibdir=$ac_im_libdir; break
9084 done
9085 # Screen out bogus values from the imake configuration. They are
9086 # bogus both because they are the default anyway, and because
9087 # using them would break gcc on systems where it needs fixed includes.
9088 case $ac_im_incroot in
9089 /usr/include) ac_x_includes= ;;
9090 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9091 esac
9092 case $ac_im_usrlibdir in
9093 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9094 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9095 esac
9097 cd ..
9098 rm -f -r conftest.dir
9101 # Standard set of common directories for X headers.
9102 # Check X11 before X11Rn because it is often a symlink to the current release.
9103 ac_x_header_dirs='
9104 /usr/X11/include
9105 /usr/X11R7/include
9106 /usr/X11R6/include
9107 /usr/X11R5/include
9108 /usr/X11R4/include
9110 /usr/include/X11
9111 /usr/include/X11R7
9112 /usr/include/X11R6
9113 /usr/include/X11R5
9114 /usr/include/X11R4
9116 /usr/local/X11/include
9117 /usr/local/X11R7/include
9118 /usr/local/X11R6/include
9119 /usr/local/X11R5/include
9120 /usr/local/X11R4/include
9122 /usr/local/include/X11
9123 /usr/local/include/X11R7
9124 /usr/local/include/X11R6
9125 /usr/local/include/X11R5
9126 /usr/local/include/X11R4
9128 /usr/X386/include
9129 /usr/x386/include
9130 /usr/XFree86/include/X11
9132 /usr/include
9133 /usr/local/include
9134 /usr/unsupported/include
9135 /usr/athena/include
9136 /usr/local/x11r5/include
9137 /usr/lpp/Xamples/include
9139 /usr/openwin/include
9140 /usr/openwin/share/include'
9142 if test "$ac_x_includes" = no; then
9143 # Guess where to find include files, by looking for Xlib.h.
9144 # First, try using that file with no special directory specified.
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 #include <X11/Xlib.h>
9148 _ACEOF
9149 if ac_fn_c_try_cpp "$LINENO"; then :
9150 # We can compile using X headers with no special include directory.
9151 ac_x_includes=
9152 else
9153 for ac_dir in $ac_x_header_dirs; do
9154 if test -r "$ac_dir/X11/Xlib.h"; then
9155 ac_x_includes=$ac_dir
9156 break
9158 done
9160 rm -f conftest.err conftest.i conftest.$ac_ext
9161 fi # $ac_x_includes = no
9163 if test "$ac_x_libraries" = no; then
9164 # Check for the libraries.
9165 # See if we find them without any special options.
9166 # Don't add to $LIBS permanently.
9167 ac_save_LIBS=$LIBS
9168 LIBS="-lX11 $LIBS"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9171 #include <X11/Xlib.h>
9173 main ()
9175 XrmInitialize ()
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 LIBS=$ac_save_LIBS
9182 # We can link X programs with no special library path.
9183 ac_x_libraries=
9184 else
9185 LIBS=$ac_save_LIBS
9186 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9188 # Don't even attempt the hair of trying to link an X program!
9189 for ac_extension in a so sl dylib la dll; do
9190 if test -r "$ac_dir/libX11.$ac_extension"; then
9191 ac_x_libraries=$ac_dir
9192 break 2
9194 done
9195 done
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 fi # $ac_x_libraries = no
9201 case $ac_x_includes,$ac_x_libraries in #(
9202 no,* | *,no | *\'*)
9203 # Didn't find X, or a directory has "'" in its name.
9204 ac_cv_have_x="have_x=no";; #(
9206 # Record where we found X for the cache.
9207 ac_cv_have_x="have_x=yes\
9208 ac_x_includes='$ac_x_includes'\
9209 ac_x_libraries='$ac_x_libraries'"
9210 esac
9212 ;; #(
9213 *) have_x=yes;;
9214 esac
9215 eval "$ac_cv_have_x"
9216 fi # $with_x != no
9218 if test "$have_x" != yes; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9220 $as_echo "$have_x" >&6; }
9221 no_x=yes
9222 else
9223 # If each of the values was on the command line, it overrides each guess.
9224 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9225 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9226 # Update the cache value to reflect the command line values.
9227 ac_cv_have_x="have_x=yes\
9228 ac_x_includes='$x_includes'\
9229 ac_x_libraries='$x_libraries'"
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9231 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9234 if test "$no_x" = yes; then
9235 # Not all programs may use this symbol, but it does not hurt to define it.
9237 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9239 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9240 else
9241 if test -n "$x_includes"; then
9242 X_CFLAGS="$X_CFLAGS -I$x_includes"
9245 # It would also be nice to do this for all -L options, not just this one.
9246 if test -n "$x_libraries"; then
9247 X_LIBS="$X_LIBS -L$x_libraries"
9248 # For Solaris; some versions of Sun CC require a space after -R and
9249 # others require no space. Words are not sufficient . . . .
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9251 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9252 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9253 ac_xsave_c_werror_flag=$ac_c_werror_flag
9254 ac_c_werror_flag=yes
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9259 main ()
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9269 X_LIBS="$X_LIBS -R$x_libraries"
9270 else
9271 LIBS="$ac_xsave_LIBS -R $x_libraries"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9276 main ()
9280 return 0;
9282 _ACEOF
9283 if ac_fn_c_try_link "$LINENO"; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9285 $as_echo "yes" >&6; }
9286 X_LIBS="$X_LIBS -R $x_libraries"
9287 else
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9289 $as_echo "neither works" >&6; }
9291 rm -f core conftest.err conftest.$ac_objext \
9292 conftest$ac_exeext conftest.$ac_ext
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 ac_c_werror_flag=$ac_xsave_c_werror_flag
9297 LIBS=$ac_xsave_LIBS
9300 # Check for system-dependent libraries X programs must link with.
9301 # Do this before checking for the system-independent R6 libraries
9302 # (-lICE), since we may need -lsocket or whatever for X linking.
9304 if test "$ISC" = yes; then
9305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9306 else
9307 # Martyn Johnson says this is needed for Ultrix, if the X
9308 # libraries were built with DECnet support. And Karl Berry says
9309 # the Alpha needs dnet_stub (dnet does not exist).
9310 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9317 #ifdef __cplusplus
9318 extern "C"
9319 #endif
9320 char XOpenDisplay ();
9322 main ()
9324 return XOpenDisplay ();
9326 return 0;
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9331 else
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9333 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9334 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_lib_save_LIBS=$LIBS
9338 LIBS="-ldnet $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char dnet_ntoa ();
9350 main ()
9352 return dnet_ntoa ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_lib_dnet_dnet_ntoa=yes
9359 else
9360 ac_cv_lib_dnet_dnet_ntoa=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9367 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9368 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9369 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9372 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9374 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9375 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_lib_save_LIBS=$LIBS
9379 LIBS="-ldnet_stub $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char dnet_ntoa ();
9391 main ()
9393 return dnet_ntoa ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9400 else
9401 ac_cv_lib_dnet_stub_dnet_ntoa=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9408 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9409 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9410 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS="$ac_xsave_LIBS"
9419 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9420 # to get the SysV transport functions.
9421 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9422 # needs -lnsl.
9423 # The nsl library prevents programs from opening the X display
9424 # on Irix 5.2, according to T.E. Dickey.
9425 # The functions gethostbyname, getservbyname, and inet_addr are
9426 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9427 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9428 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9432 if test $ac_cv_func_gethostbyname = no; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9434 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9435 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lnsl $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char gethostbyname ();
9451 main ()
9453 return gethostbyname ();
9455 return 0;
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_lib_nsl_gethostbyname=yes
9460 else
9461 ac_cv_lib_nsl_gethostbyname=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 LIBS=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9468 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9469 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9473 if test $ac_cv_lib_nsl_gethostbyname = no; then
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9475 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9476 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9477 $as_echo_n "(cached) " >&6
9478 else
9479 ac_check_lib_save_LIBS=$LIBS
9480 LIBS="-lbsd $LIBS"
9481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h. */
9484 /* Override any GCC internal prototype to avoid an error.
9485 Use char because int might match the return type of a GCC
9486 builtin and then its argument prototype would still apply. */
9487 #ifdef __cplusplus
9488 extern "C"
9489 #endif
9490 char gethostbyname ();
9492 main ()
9494 return gethostbyname ();
9496 return 0;
9498 _ACEOF
9499 if ac_fn_c_try_link "$LINENO"; then :
9500 ac_cv_lib_bsd_gethostbyname=yes
9501 else
9502 ac_cv_lib_bsd_gethostbyname=no
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 LIBS=$ac_check_lib_save_LIBS
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9509 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9510 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9511 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9517 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9518 # socket/setsockopt and other routines are undefined under SCO ODT
9519 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9520 # on later versions), says Simon Leinen: it contains gethostby*
9521 # variants that don't use the name server (or something). -lsocket
9522 # must be given before -lnsl if both are needed. We assume that
9523 # if connect needs -lnsl, so does gethostbyname.
9524 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9525 if test "x$ac_cv_func_connect" = xyes; then :
9529 if test $ac_cv_func_connect = no; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9531 $as_echo_n "checking for connect in -lsocket... " >&6; }
9532 if ${ac_cv_lib_socket_connect+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_lib_save_LIBS=$LIBS
9536 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char connect ();
9548 main ()
9550 return connect ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_lib_socket_connect=yes
9557 else
9558 ac_cv_lib_socket_connect=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9565 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9566 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9567 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9572 # Guillermo Gomez says -lposix is necessary on A/UX.
9573 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9574 if test "x$ac_cv_func_remove" = xyes; then :
9578 if test $ac_cv_func_remove = no; then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9580 $as_echo_n "checking for remove in -lposix... " >&6; }
9581 if ${ac_cv_lib_posix_remove+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_lib_save_LIBS=$LIBS
9585 LIBS="-lposix $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char remove ();
9597 main ()
9599 return remove ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_lib_posix_remove=yes
9606 else
9607 ac_cv_lib_posix_remove=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9614 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9615 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9621 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9622 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9623 if test "x$ac_cv_func_shmat" = xyes; then :
9627 if test $ac_cv_func_shmat = no; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9629 $as_echo_n "checking for shmat in -lipc... " >&6; }
9630 if ${ac_cv_lib_ipc_shmat+:} false; then :
9631 $as_echo_n "(cached) " >&6
9632 else
9633 ac_check_lib_save_LIBS=$LIBS
9634 LIBS="-lipc $LIBS"
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char shmat ();
9646 main ()
9648 return shmat ();
9650 return 0;
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9654 ac_cv_lib_ipc_shmat=yes
9655 else
9656 ac_cv_lib_ipc_shmat=no
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 LIBS=$ac_check_lib_save_LIBS
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9663 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9664 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9665 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9671 # Check for libraries that X11R6 Xt/Xaw programs need.
9672 ac_save_LDFLAGS=$LDFLAGS
9673 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9674 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9675 # check for ICE first), but we must link in the order -lSM -lICE or
9676 # we get undefined symbols. So assume we have SM if we have ICE.
9677 # These have to be linked with before -lX11, unlike the other
9678 # libraries we check for below, so use a different variable.
9679 # John Interrante, Karl Berry
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9681 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9682 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684 else
9685 ac_check_lib_save_LIBS=$LIBS
9686 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9693 #ifdef __cplusplus
9694 extern "C"
9695 #endif
9696 char IceConnectionNumber ();
9698 main ()
9700 return IceConnectionNumber ();
9702 return 0;
9704 _ACEOF
9705 if ac_fn_c_try_link "$LINENO"; then :
9706 ac_cv_lib_ICE_IceConnectionNumber=yes
9707 else
9708 ac_cv_lib_ICE_IceConnectionNumber=no
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 LIBS=$ac_check_lib_save_LIBS
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9715 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9716 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9717 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9720 LDFLAGS=$ac_save_LDFLAGS
9725 if test "$have_x" = "yes"
9726 then
9727 ac_save_CPPFLAGS="$CPPFLAGS"
9728 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9731 $as_echo_n "checking for -lX11... " >&6; }
9732 if ${ac_cv_lib_soname_X11+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_check_soname_save_LIBS=$LIBS
9736 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char XCreateWindow ();
9748 main ()
9750 return XCreateWindow ();
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 case "$LIBEXT" in
9757 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_X11:+false} :; then :
9761 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9762 fi ;;
9763 esac
9765 rm -f core conftest.err conftest.$ac_objext \
9766 conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_X11:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9773 else
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9775 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9777 cat >>confdefs.h <<_ACEOF
9778 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9779 _ACEOF
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9784 $as_echo_n "checking for -lXext... " >&6; }
9785 if ${ac_cv_lib_soname_Xext+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 ac_check_soname_save_LIBS=$LIBS
9789 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9793 /* Override any GCC internal prototype to avoid an error.
9794 Use char because int might match the return type of a GCC
9795 builtin and then its argument prototype would still apply. */
9796 #ifdef __cplusplus
9797 extern "C"
9798 #endif
9799 char XextCreateExtension ();
9801 main ()
9803 return XextCreateExtension ();
9805 return 0;
9807 _ACEOF
9808 if ac_fn_c_try_link "$LINENO"; then :
9809 case "$LIBEXT" in
9810 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9811 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'` ;;
9812 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9813 if ${ac_cv_lib_soname_Xext:+false} :; then :
9814 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9815 fi ;;
9816 esac
9818 rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_soname_save_LIBS
9822 if ${ac_cv_lib_soname_Xext:+false} :; then :
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9824 $as_echo "not found" >&6; }
9826 else
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9828 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9830 cat >>confdefs.h <<_ACEOF
9831 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9832 _ACEOF
9834 X_LIBS="$X_LIBS -lXext"
9836 X_LIBS="$X_LIBS -lX11"
9838 for ac_header in X11/Xlib.h \
9839 X11/XKBlib.h \
9840 X11/Xutil.h \
9841 X11/Xcursor/Xcursor.h \
9842 X11/extensions/shape.h \
9843 X11/extensions/XInput.h \
9844 X11/extensions/XInput2.h \
9845 X11/extensions/XShm.h \
9846 X11/extensions/Xcomposite.h \
9847 X11/extensions/Xinerama.h \
9848 X11/extensions/Xrandr.h \
9849 X11/extensions/Xrender.h \
9850 X11/extensions/xf86vmode.h \
9851 X11/extensions/xf86vmproto.h
9852 do :
9853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9855 # include <X11/Xlib.h>
9856 #endif
9857 #ifdef HAVE_X11_XUTIL_H
9858 # include <X11/Xutil.h>
9859 #endif
9861 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9862 cat >>confdefs.h <<_ACEOF
9863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9864 _ACEOF
9868 done
9871 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9872 then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9874 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9875 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_lib_save_LIBS=$LIBS
9879 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XkbQueryExtension ();
9891 main ()
9893 return XkbQueryExtension ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_lib_X11_XkbQueryExtension=yes
9900 else
9901 ac_cv_lib_X11_XkbQueryExtension=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 LIBS=$ac_check_lib_save_LIBS
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9908 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9909 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9911 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9917 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9918 then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9920 $as_echo_n "checking for -lXcursor... " >&6; }
9921 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char XcursorImageLoadCursor ();
9937 main ()
9939 return XcursorImageLoadCursor ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 case "$LIBEXT" in
9946 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9950 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9951 fi ;;
9952 esac
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9964 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9966 cat >>confdefs.h <<_ACEOF
9967 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9968 _ACEOF
9973 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9974 case "x$with_xcursor" in
9975 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9978 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9979 esac
9983 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9984 then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9986 $as_echo_n "checking for -lXi... " >&6; }
9987 if ${ac_cv_lib_soname_Xi+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_check_soname_save_LIBS=$LIBS
9991 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
9998 #ifdef __cplusplus
9999 extern "C"
10000 #endif
10001 char XOpenDevice ();
10003 main ()
10005 return XOpenDevice ();
10007 return 0;
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 case "$LIBEXT" in
10012 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if ${ac_cv_lib_soname_Xi:+false} :; then :
10016 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10017 fi ;;
10018 esac
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_soname_save_LIBS
10024 if ${ac_cv_lib_soname_Xi:+false} :; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 $as_echo "not found" >&6; }
10028 else
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10030 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10032 cat >>confdefs.h <<_ACEOF
10033 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10034 _ACEOF
10039 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10040 case "x$with_xinput" in
10041 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10042 xno) ;;
10043 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10044 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10045 esac
10049 if test "x$ac_cv_lib_soname_Xi" != x
10050 then
10051 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10052 case "x$with_xinput2" in
10053 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10054 xno) ;;
10055 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10056 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10057 esac
10062 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10063 then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10065 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10066 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char XShmQueryExtension ();
10082 main ()
10084 return XShmQueryExtension ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_lib_Xext_XShmQueryExtension=yes
10091 else
10092 ac_cv_lib_Xext_XShmQueryExtension=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10099 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10100 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10102 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10107 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10108 case "x$with_xshm" in
10109 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10110 xno) ;;
10111 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10112 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10113 esac
10117 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10118 then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10120 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10121 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10122 $as_echo_n "(cached) " >&6
10123 else
10124 ac_check_lib_save_LIBS=$LIBS
10125 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10129 /* Override any GCC internal prototype to avoid an error.
10130 Use char because int might match the return type of a GCC
10131 builtin and then its argument prototype would still apply. */
10132 #ifdef __cplusplus
10133 extern "C"
10134 #endif
10135 char XShapeQueryExtension ();
10137 main ()
10139 return XShapeQueryExtension ();
10141 return 0;
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"; then :
10145 ac_cv_lib_Xext_XShapeQueryExtension=yes
10146 else
10147 ac_cv_lib_Xext_XShapeQueryExtension=no
10149 rm -f core conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_lib_save_LIBS
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10154 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10155 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10157 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10162 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10163 case "x$with_xshape" in
10164 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10165 xno) ;;
10166 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10167 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10168 esac
10172 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10173 then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10175 $as_echo_n "checking for -lXxf86vm... " >&6; }
10176 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_check_soname_save_LIBS=$LIBS
10180 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10187 #ifdef __cplusplus
10188 extern "C"
10189 #endif
10190 char XF86VidModeQueryExtension ();
10192 main ()
10194 return XF86VidModeQueryExtension ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 case "$LIBEXT" in
10201 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10205 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 fi ;;
10207 esac
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10217 else
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10219 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10221 cat >>confdefs.h <<_ACEOF
10222 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10223 _ACEOF
10228 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10229 case "x$with_xxf86vm" in
10230 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10231 xno) ;;
10232 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10233 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10234 esac
10238 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10239 then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10241 $as_echo_n "checking for -lXrender... " >&6; }
10242 if ${ac_cv_lib_soname_Xrender+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_check_soname_save_LIBS=$LIBS
10246 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10250 /* Override any GCC internal prototype to avoid an error.
10251 Use char because int might match the return type of a GCC
10252 builtin and then its argument prototype would still apply. */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 char XRenderQueryExtension ();
10258 main ()
10260 return XRenderQueryExtension ();
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"; then :
10266 case "$LIBEXT" in
10267 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10268 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'` ;;
10269 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10270 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10271 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10272 fi ;;
10273 esac
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10281 $as_echo "not found" >&6; }
10283 else
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10285 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10287 cat >>confdefs.h <<_ACEOF
10288 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10289 _ACEOF
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10292 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10293 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_check_lib_save_LIBS=$LIBS
10297 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10301 /* Override any GCC internal prototype to avoid an error.
10302 Use char because int might match the return type of a GCC
10303 builtin and then its argument prototype would still apply. */
10304 #ifdef __cplusplus
10305 extern "C"
10306 #endif
10307 char XRenderSetPictureTransform ();
10309 main ()
10311 return XRenderSetPictureTransform ();
10313 return 0;
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10318 else
10319 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 LIBS=$ac_check_lib_save_LIBS
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10326 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10327 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10329 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10334 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10335 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_check_lib_save_LIBS=$LIBS
10339 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 char XRenderCreateLinearGradient ();
10351 main ()
10353 return XRenderCreateLinearGradient ();
10355 return 0;
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"; then :
10359 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10360 else
10361 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 LIBS=$ac_check_lib_save_LIBS
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10368 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10369 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10371 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10378 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10379 case "x$with_xrender" in
10380 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10381 xno) ;;
10382 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10383 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10384 esac
10388 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10389 then
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 #include <X11/Xlib.h>
10393 #include <X11/extensions/Xrandr.h>
10395 main ()
10397 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_compile "$LINENO"; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10404 $as_echo_n "checking for -lXrandr... " >&6; }
10405 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_check_soname_save_LIBS=$LIBS
10409 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10416 #ifdef __cplusplus
10417 extern "C"
10418 #endif
10419 char XRRQueryExtension ();
10421 main ()
10423 return XRRQueryExtension ();
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 case "$LIBEXT" in
10430 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10434 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10435 fi ;;
10436 esac
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10446 else
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10448 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10450 cat >>confdefs.h <<_ACEOF
10451 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10452 _ACEOF
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xrandr.h>
10459 main ()
10461 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_compile "$LINENO"; then :
10468 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10476 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10477 case "x$with_xrandr" in
10478 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10479 xno) ;;
10480 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10482 esac
10486 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10487 then
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10490 #include <X11/Xlib.h>
10491 #include <X11/extensions/Xinerama.h>
10493 main ()
10495 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10497 return 0;
10499 _ACEOF
10500 if ac_fn_c_try_compile "$LINENO"; then :
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10502 $as_echo_n "checking for -lXinerama... " >&6; }
10503 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_check_soname_save_LIBS=$LIBS
10507 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10514 #ifdef __cplusplus
10515 extern "C"
10516 #endif
10517 char XineramaQueryScreens ();
10519 main ()
10521 return XineramaQueryScreens ();
10523 return 0;
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"; then :
10527 case "$LIBEXT" in
10528 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10529 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'` ;;
10530 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10531 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10532 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10533 fi ;;
10534 esac
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 LIBS=$ac_check_soname_save_LIBS
10540 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10542 $as_echo "not found" >&6; }
10544 else
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10546 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10548 cat >>confdefs.h <<_ACEOF
10549 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10550 _ACEOF
10555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10557 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10558 case "x$with_xinerama" in
10559 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10560 xno) ;;
10561 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10562 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10563 esac
10567 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10568 then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10570 $as_echo_n "checking for -lXcomposite... " >&6; }
10571 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10572 $as_echo_n "(cached) " >&6
10573 else
10574 ac_check_soname_save_LIBS=$LIBS
10575 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10579 /* Override any GCC internal prototype to avoid an error.
10580 Use char because int might match the return type of a GCC
10581 builtin and then its argument prototype would still apply. */
10582 #ifdef __cplusplus
10583 extern "C"
10584 #endif
10585 char XCompositeRedirectWindow ();
10587 main ()
10589 return XCompositeRedirectWindow ();
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_link "$LINENO"; then :
10595 case "$LIBEXT" in
10596 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10597 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'` ;;
10598 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10599 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10600 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10601 fi ;;
10602 esac
10604 rm -f core conftest.err conftest.$ac_objext \
10605 conftest$ac_exeext conftest.$ac_ext
10606 LIBS=$ac_check_soname_save_LIBS
10608 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10610 $as_echo "not found" >&6; }
10612 else
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10614 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10616 cat >>confdefs.h <<_ACEOF
10617 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10618 _ACEOF
10623 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10624 case "x$with_xcomposite" in
10625 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10626 xno) ;;
10627 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10628 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10629 esac
10633 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10634 #include <X11/Xlib.h>
10635 #endif
10637 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10639 cat >>confdefs.h <<_ACEOF
10640 #define HAVE_XICCALLBACK_CALLBACK 1
10641 _ACEOF
10645 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10646 #include <X11/Xlib.h>
10647 #endif
10649 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10651 cat >>confdefs.h <<_ACEOF
10652 #define HAVE_XEVENT_XCOOKIE 1
10653 _ACEOF
10660 opengl_msg=""
10661 if test "x$with_opengl" != "xno"
10662 then
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10664 $as_echo_n "checking for -lGL... " >&6; }
10665 if ${ac_cv_lib_soname_GL+:} false; then :
10666 $as_echo_n "(cached) " >&6
10667 else
10668 ac_check_soname_save_LIBS=$LIBS
10669 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10673 /* Override any GCC internal prototype to avoid an error.
10674 Use char because int might match the return type of a GCC
10675 builtin and then its argument prototype would still apply. */
10676 #ifdef __cplusplus
10677 extern "C"
10678 #endif
10679 char glXCreateContext ();
10681 main ()
10683 return glXCreateContext ();
10685 return 0;
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 case "$LIBEXT" in
10690 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10691 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'` ;;
10692 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10693 if ${ac_cv_lib_soname_GL:+false} :; then :
10694 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10695 fi ;;
10696 esac
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 LIBS=$ac_check_soname_save_LIBS
10702 if ${ac_cv_lib_soname_GL:+false} :; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10704 $as_echo "not found" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10706 $as_echo_n "checking for -lGL... " >&6; }
10707 if ${ac_cv_lib_soname_GL+:} false; then :
10708 $as_echo_n "(cached) " >&6
10709 else
10710 ac_check_soname_save_LIBS=$LIBS
10711 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"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char glXCreateContext ();
10723 main ()
10725 return glXCreateContext ();
10727 return 0;
10729 _ACEOF
10730 if ac_fn_c_try_link "$LINENO"; then :
10731 case "$LIBEXT" in
10732 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10733 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'` ;;
10734 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10735 if ${ac_cv_lib_soname_GL:+false} :; then :
10736 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10737 fi ;;
10738 esac
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_soname_save_LIBS
10744 if ${ac_cv_lib_soname_GL:+false} :; then :
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10746 $as_echo "not found" >&6; }
10747 if test -f /usr/X11R6/lib/libGL.a
10748 then
10749 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10750 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10751 else
10752 opengl_msg="No OpenGL library found on this system."
10754 else
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h <<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10760 _ACEOF
10762 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"
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10770 _ACEOF
10772 OPENGL_LIBS="-lGL"
10774 if test "x$with_glu" != "xno"
10775 then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10777 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10778 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10779 $as_echo_n "(cached) " >&6
10780 else
10781 ac_check_lib_save_LIBS=$LIBS
10782 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10786 /* Override any GCC internal prototype to avoid an error.
10787 Use char because int might match the return type of a GCC
10788 builtin and then its argument prototype would still apply. */
10789 #ifdef __cplusplus
10790 extern "C"
10791 #endif
10792 char gluLookAt ();
10794 main ()
10796 return gluLookAt ();
10798 return 0;
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"; then :
10802 ac_cv_lib_GLU_gluLookAt=yes
10803 else
10804 ac_cv_lib_GLU_gluLookAt=no
10806 rm -f core conftest.err conftest.$ac_objext \
10807 conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_lib_save_LIBS
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10811 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10812 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10816 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10817 case "x$with_glu" in
10818 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10821 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10822 esac
10827 if test "x$with_osmesa" != "xno"
10828 then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10830 $as_echo_n "checking for -lOSMesa... " >&6; }
10831 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_soname_save_LIBS=$LIBS
10835 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char glAccum ();
10847 main ()
10849 return glAccum ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 case "$LIBEXT" in
10856 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10857 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'` ;;
10858 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10859 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10860 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10861 fi ;;
10862 esac
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_soname_save_LIBS
10868 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10870 $as_echo "not found" >&6; }
10872 else
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10874 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10876 cat >>confdefs.h <<_ACEOF
10877 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10878 _ACEOF
10882 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10883 case "x$with_osmesa" in
10884 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10885 xno) ;;
10886 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10887 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10888 esac
10893 if test -n "$opengl_msg"; then :
10894 case "x$with_opengl" in
10895 x) as_fn_append wine_warnings "|$opengl_msg
10896 OpenGL and Direct3D won't be supported." ;;
10897 xno) ;;
10898 *) as_fn_error $? "$opengl_msg
10899 OpenGL and Direct3D won't be supported.
10900 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10901 esac
10905 CPPFLAGS="$ac_save_CPPFLAGS"
10906 else
10907 X_CFLAGS=""
10908 X_LIBS=""
10910 if test "x$X_LIBS" = "x"; then :
10911 case "x$with_x" in
10912 xno) ;;
10913 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10914 without X support, which probably isn't what you want. You will need
10915 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10916 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10917 esac
10918 enable_winex11_drv=${enable_winex11_drv:-no}
10921 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10923 if test "$ac_cv_header_CL_cl_h" = "yes"
10924 then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10926 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10927 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lOpenCL $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char clGetPlatformInfo ();
10943 main ()
10945 return clGetPlatformInfo ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10952 else
10953 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10960 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10961 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10962 OPENCL_LIBS="-lOpenCL"
10967 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10968 case "x$with_opencl" in
10969 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10970 xno) ;;
10971 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10972 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10973 esac
10974 enable_opencl=${enable_opencl:-no}
10977 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10978 then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10980 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10981 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_lib_save_LIBS=$LIBS
10985 LIBS="-lpcap $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char pcap_create ();
10997 main ()
10999 return pcap_create ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 ac_cv_lib_pcap_pcap_create=yes
11006 else
11007 ac_cv_lib_pcap_pcap_create=no
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 LIBS=$ac_check_lib_save_LIBS
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11014 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11015 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11016 PCAP_LIBS="-lpcap"
11021 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11022 case "x$with_pcap" in
11023 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11024 xno) ;;
11025 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11026 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11027 esac
11028 enable_wpcap=${enable_wpcap:-no}
11032 if test "x$with_xml" != "xno"
11033 then
11034 if ${XML2_CFLAGS:+false} :; then :
11035 if ${PKG_CONFIG+:} false; then :
11036 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11039 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11040 if ${XML2_LIBS:+false} :; then :
11041 if ${PKG_CONFIG+:} false; then :
11042 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11045 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11046 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11047 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11048 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11049 ac_save_CPPFLAGS=$CPPFLAGS
11050 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11051 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11052 do :
11053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11054 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11055 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11056 cat >>confdefs.h <<_ACEOF
11057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11058 _ACEOF
11062 done
11064 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"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11067 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11068 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lxml2 $XML2_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char xmlParseMemory ();
11084 main ()
11086 return xmlParseMemory ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_xml2_xmlParseMemory=yes
11093 else
11094 ac_cv_lib_xml2_xmlParseMemory=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11101 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11102 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11104 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11106 else
11107 XML2_LIBS=""
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11111 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11112 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_check_lib_save_LIBS=$LIBS
11116 LIBS="-lxml2 $XML2_LIBS $LIBS"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11123 #ifdef __cplusplus
11124 extern "C"
11125 #endif
11126 char xmlReadMemory ();
11128 main ()
11130 return xmlReadMemory ();
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"; then :
11136 ac_cv_lib_xml2_xmlReadMemory=yes
11137 else
11138 ac_cv_lib_xml2_xmlReadMemory=no
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_lib_save_LIBS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11145 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11146 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11148 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11153 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11154 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lxml2 $XML2_LIBS $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char xmlNewDocPI ();
11170 main ()
11172 return xmlNewDocPI ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 ac_cv_lib_xml2_xmlNewDocPI=yes
11179 else
11180 ac_cv_lib_xml2_xmlNewDocPI=no
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11187 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11188 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11190 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11195 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11196 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lxml2 $XML2_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char xmlSchemaSetParserStructuredErrors ();
11212 main ()
11214 return xmlSchemaSetParserStructuredErrors ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11221 else
11222 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11229 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11230 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11232 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11237 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11238 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lxml2 $XML2_LIBS $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char xmlSchemaSetValidStructuredErrors ();
11254 main ()
11256 return xmlSchemaSetValidStructuredErrors ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11263 else
11264 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11271 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11272 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11274 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11279 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11280 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lxml2 $XML2_LIBS $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char xmlFirstElementChild ();
11296 main ()
11298 return xmlFirstElementChild ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_xml2_xmlFirstElementChild=yes
11305 else
11306 ac_cv_lib_xml2_xmlFirstElementChild=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11313 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11314 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11316 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11320 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11322 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11324 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11328 else
11329 XML2_CFLAGS=""
11330 XML2_LIBS=""
11332 CPPFLAGS=$ac_save_CPPFLAGS
11333 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11334 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11337 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11338 case "x$with_xml" in
11339 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11340 xno) ;;
11341 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11342 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11343 esac
11347 if test "x$with_xslt" != "xno"
11348 then
11349 if ${XSLT_CFLAGS:+false} :; then :
11350 if ${PKG_CONFIG+:} false; then :
11351 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11354 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11355 if ${XSLT_LIBS:+false} :; then :
11356 if ${PKG_CONFIG+:} false; then :
11357 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11360 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11361 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11364 ac_save_CPPFLAGS=$CPPFLAGS
11365 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11366 for ac_header in libxslt/pattern.h libxslt/transform.h
11367 do :
11368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11369 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11370 # include <libxslt/pattern.h>
11371 #endif
11373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11374 cat >>confdefs.h <<_ACEOF
11375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11376 _ACEOF
11380 done
11382 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11383 then
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11385 $as_echo_n "checking for -lxslt... " >&6; }
11386 if ${ac_cv_lib_soname_xslt+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lxslt $XSLT_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char xsltCompilePattern ();
11402 main ()
11404 return xsltCompilePattern ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_xslt:+false} :; then :
11415 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_soname_save_LIBS
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11429 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11433 _ACEOF
11437 else
11438 XSLT_CFLAGS=""
11440 CPPFLAGS=$ac_save_CPPFLAGS
11441 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11446 case "x$with_xslt" in
11447 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11448 xno) ;;
11449 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11450 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11451 esac
11455 if test "x$with_dbus" != "xno"
11456 then
11457 if ${DBUS_CFLAGS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11463 if ${DBUS_LIBS:+false} :; then :
11464 if ${PKG_CONFIG+:} false; then :
11465 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11470 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11472 ac_save_CPPFLAGS=$CPPFLAGS
11473 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11474 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11475 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11477 $as_echo_n "checking for -ldbus-1... " >&6; }
11478 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char dbus_connection_close ();
11494 main ()
11496 return dbus_connection_close ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) 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'`
11506 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11507 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11518 DBUS_CFLAGS=""
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11521 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11525 _ACEOF
11529 else
11530 DBUS_CFLAGS=""
11534 CPPFLAGS=$ac_save_CPPFLAGS
11535 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11536 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11539 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11540 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11541 case "x$with_dbus" in
11542 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11545 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11546 esac
11550 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11551 then
11552 if ${HAL_CFLAGS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11558 if ${HAL_LIBS:+false} :; then :
11559 if ${PKG_CONFIG+:} false; then :
11560 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11564 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11565 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11567 ac_save_CPPFLAGS=$CPPFLAGS
11568 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11569 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11572 $as_echo_n "checking for -lhal... " >&6; }
11573 if ${ac_cv_lib_soname_hal+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_soname_save_LIBS=$LIBS
11577 LIBS="-lhal $HAL_LIBS $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char libhal_ctx_new ();
11589 main ()
11591 return libhal_ctx_new ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 case "$LIBEXT" in
11598 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_hal:+false} :; then :
11602 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11603 fi ;;
11604 esac
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11613 HAL_CFLAGS=""
11614 else
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11616 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11620 _ACEOF
11624 else
11625 HAL_CFLAGS=""
11629 CPPFLAGS=$ac_save_CPPFLAGS
11630 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11631 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11633 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11634 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11635 case "x$with_hal" in
11636 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11637 xno) ;;
11638 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11639 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11640 esac
11645 if test "x$with_gnutls" != "xno"
11646 then
11647 if ${GNUTLS_CFLAGS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11653 if ${GNUTLS_LIBS:+false} :; then :
11654 if ${PKG_CONFIG+:} false; then :
11655 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11660 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11661 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11662 ac_save_CPPFLAGS=$CPPFLAGS
11663 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11664 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11665 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11668 #include <gnutls/gnutls.h>
11669 #include <gnutls/crypto.h>
11671 main ()
11673 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11675 return 0;
11677 _ACEOF
11678 if ac_fn_c_try_compile "$LINENO"; then :
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11680 $as_echo_n "checking for -lgnutls... " >&6; }
11681 if ${ac_cv_lib_soname_gnutls+:} false; then :
11682 $as_echo_n "(cached) " >&6
11683 else
11684 ac_check_soname_save_LIBS=$LIBS
11685 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11692 #ifdef __cplusplus
11693 extern "C"
11694 #endif
11695 char gnutls_global_init ();
11697 main ()
11699 return gnutls_global_init ();
11701 return 0;
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"; then :
11705 case "$LIBEXT" in
11706 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11707 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'` ;;
11708 *) 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'`
11709 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11710 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'`
11711 fi ;;
11712 esac
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_soname_save_LIBS
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11720 $as_echo "not found" >&6; }
11721 GNUTLS_CFLAGS=""
11722 else
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11724 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11726 cat >>confdefs.h <<_ACEOF
11727 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11728 _ACEOF
11732 ac_wine_check_funcs_save_LIBS="$LIBS"
11733 LIBS="$LIBS $GNUTLS_LIBS"
11734 for ac_func in gnutls_hash
11735 do :
11736 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11737 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11738 cat >>confdefs.h <<_ACEOF
11739 #define HAVE_GNUTLS_HASH 1
11740 _ACEOF
11742 else
11743 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11745 done
11747 LIBS="$ac_wine_check_funcs_save_LIBS"
11749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11750 else
11751 GNUTLS_CFLAGS=""
11755 CPPFLAGS=$ac_save_CPPFLAGS
11756 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11757 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11760 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11761 case "x$with_gnutls" in
11762 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11765 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11766 esac
11770 CURSES_LIBS=""
11771 if test "$ac_cv_header_ncurses_h" = "yes"
11772 then
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11774 $as_echo_n "checking for -lncurses... " >&6; }
11775 if ${ac_cv_lib_soname_ncurses+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 ac_check_soname_save_LIBS=$LIBS
11779 LIBS="-lncurses $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char waddch ();
11791 main ()
11793 return waddch ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 case "$LIBEXT" in
11800 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 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'` ;;
11802 *) 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'`
11803 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11804 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11805 fi ;;
11806 esac
11808 rm -f core conftest.err conftest.$ac_objext \
11809 conftest$ac_exeext conftest.$ac_ext
11810 LIBS=$ac_check_soname_save_LIBS
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11814 $as_echo "not found" >&6; }
11816 else
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11818 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11820 cat >>confdefs.h <<_ACEOF
11821 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11822 _ACEOF
11824 CURSES_LIBS="-lncurses"
11826 elif test "$ac_cv_header_curses_h" = "yes"
11827 then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11829 $as_echo_n "checking for -lcurses... " >&6; }
11830 if ${ac_cv_lib_soname_curses+:} false; then :
11831 $as_echo_n "(cached) " >&6
11832 else
11833 ac_check_soname_save_LIBS=$LIBS
11834 LIBS="-lcurses $LIBS"
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11841 #ifdef __cplusplus
11842 extern "C"
11843 #endif
11844 char waddch ();
11846 main ()
11848 return waddch ();
11850 return 0;
11852 _ACEOF
11853 if ac_fn_c_try_link "$LINENO"; then :
11854 case "$LIBEXT" in
11855 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11856 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'` ;;
11857 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11858 if ${ac_cv_lib_soname_curses:+false} :; then :
11859 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11860 fi ;;
11861 esac
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_soname_save_LIBS
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11869 $as_echo "not found" >&6; }
11871 else
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11873 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11875 cat >>confdefs.h <<_ACEOF
11876 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11877 _ACEOF
11879 CURSES_LIBS="-lcurses"
11882 ac_save_LIBS="$LIBS"
11883 LIBS="$LIBS $CURSES_LIBS"
11884 for ac_func in mousemask
11885 do :
11886 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11887 if test "x$ac_cv_func_mousemask" = xyes; then :
11888 cat >>confdefs.h <<_ACEOF
11889 #define HAVE_MOUSEMASK 1
11890 _ACEOF
11893 done
11895 LIBS="$ac_save_LIBS"
11896 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11897 case "x$with_curses" in
11898 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11899 xno) ;;
11900 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11901 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11902 esac
11906 if test "x$with_sane" != "xno"
11907 then
11908 if ${SANE_CFLAGS:+false} :; then :
11909 if ${PKG_CONFIG+:} false; then :
11910 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11913 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11914 if ${SANE_LIBS:+false} :; then :
11915 if ${PKG_CONFIG+:} false; then :
11916 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11919 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11921 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11925 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11928 $as_echo_n "checking for -lsane... " >&6; }
11929 if ${ac_cv_lib_soname_sane+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_soname_save_LIBS=$LIBS
11933 LIBS="-lsane $SANE_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char sane_init ();
11945 main ()
11947 return sane_init ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 case "$LIBEXT" in
11954 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11955 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'` ;;
11956 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11957 if ${ac_cv_lib_soname_sane:+false} :; then :
11958 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11959 fi ;;
11960 esac
11962 rm -f core conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_soname_save_LIBS
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11968 $as_echo "not found" >&6; }
11969 SANE_CFLAGS=""
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11972 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11974 cat >>confdefs.h <<_ACEOF
11975 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11976 _ACEOF
11980 else
11981 SANE_CFLAGS=""
11985 CPPFLAGS=$ac_save_CPPFLAGS
11986 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11987 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11990 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11991 case "x$with_sane" in
11992 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11993 xno) ;;
11994 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11995 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11996 esac
12000 if test "x$with_v4l" != "xno"
12001 then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12003 $as_echo_n "checking for -lv4l1... " >&6; }
12004 if ${ac_cv_lib_soname_v4l1+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_soname_save_LIBS=$LIBS
12008 LIBS="-lv4l1 $LIBS"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12015 #ifdef __cplusplus
12016 extern "C"
12017 #endif
12018 char v4l1_open ();
12020 main ()
12022 return v4l1_open ();
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 case "$LIBEXT" in
12029 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12030 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'` ;;
12031 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12032 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12033 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12034 fi ;;
12035 esac
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_soname_save_LIBS
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12043 $as_echo "not found" >&6; }
12045 else
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12047 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12049 cat >>confdefs.h <<_ACEOF
12050 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12051 _ACEOF
12056 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12057 case "x$with_v4l" in
12058 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12061 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "x$with_gphoto" != "xno"
12067 then
12068 if ${GPHOTO2_CFLAGS:+false} :; then :
12069 if ${PKG_CONFIG+:} false; then :
12070 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12073 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12074 if ${GPHOTO2_LIBS:+false} :; then :
12075 if ${PKG_CONFIG+:} false; then :
12076 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12079 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12080 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12081 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12082 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12085 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12086 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12088 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12089 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 ac_check_lib_save_LIBS=$LIBS
12093 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 /* Override any GCC internal prototype to avoid an error.
12098 Use char because int might match the return type of a GCC
12099 builtin and then its argument prototype would still apply. */
12100 #ifdef __cplusplus
12101 extern "C"
12102 #endif
12103 char gp_camera_new ();
12105 main ()
12107 return gp_camera_new ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 ac_cv_lib_gphoto2_gp_camera_new=yes
12114 else
12115 ac_cv_lib_gphoto2_gp_camera_new=no
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_lib_save_LIBS
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12122 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12123 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12125 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12127 else
12128 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12131 else
12132 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12136 CPPFLAGS=$ac_save_CPPFLAGS
12137 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12138 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12140 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12145 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12146 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12151 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12152 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12157 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12160 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12161 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_lib_save_LIBS=$LIBS
12165 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char gp_port_info_list_new ();
12177 main ()
12179 return gp_port_info_list_new ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12186 else
12187 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12189 rm -f core conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12194 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12195 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12197 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12199 else
12200 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12203 else
12204 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12208 CPPFLAGS=$ac_save_CPPFLAGS
12209 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12210 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12213 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12214 case "x$with_gphoto" in
12215 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12216 xno) ;;
12217 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12218 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12219 esac
12222 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12228 esac
12233 if test "$ac_cv_header_resolv_h" = "yes"
12234 then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12236 $as_echo_n "checking for resolver library... " >&6; }
12237 if ${ac_cv_have_resolv+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_save_LIBS="$LIBS"
12241 for lib in '' -lresolv
12243 LIBS="$lib $ac_save_LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #ifdef HAVE_NETINET_IN_H
12247 #include <netinet/in.h>
12248 #endif
12249 #include <resolv.h>
12251 main ()
12253 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 ac_cv_have_resolv=${lib:-"none required"}
12260 else
12261 ac_cv_have_resolv="not found"
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 test "x$ac_cv_have_resolv" = "xnot found" || break
12266 done
12267 LIBS="$ac_save_LIBS"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12270 $as_echo "$ac_cv_have_resolv" >&6; }
12272 case "$ac_cv_have_resolv" in
12273 "not found") ;;
12274 "none required")
12276 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12279 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12281 RESOLV_LIBS=$ac_cv_have_resolv
12283 esac
12286 if test "x$with_cms" != "xno"
12287 then
12288 if ${LCMS2_CFLAGS:+false} :; then :
12289 if ${PKG_CONFIG+:} false; then :
12290 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12294 if ${LCMS2_LIBS:+false} :; then :
12295 if ${PKG_CONFIG+:} false; then :
12296 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12300 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12301 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12305 for ac_header in lcms2.h
12306 do :
12307 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12308 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_LCMS2_H 1
12311 _ACEOF
12315 done
12317 if test "$ac_cv_header_lcms2_h" = "yes"
12318 then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12320 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12321 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_lib_save_LIBS=$LIBS
12325 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char cmsOpenProfileFromFile ();
12337 main ()
12339 return cmsOpenProfileFromFile ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12346 else
12347 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12354 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12355 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12357 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12359 else
12360 LCMS2_LIBS=""
12363 else
12364 LCMS2_CFLAGS=""
12365 LCMS2_LIBS=""
12367 CPPFLAGS=$ac_save_CPPFLAGS
12368 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12369 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12372 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12373 case "x$with_cms" in
12374 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12375 xno) ;;
12376 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12377 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12378 esac
12382 if test "x$with_freetype" != "xno"
12383 then
12384 if ${FREETYPE_CFLAGS:+false} :; then :
12385 if ${PKG_CONFIG+:} false; then :
12386 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12389 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12390 if ${FREETYPE_LIBS:+false} :; then :
12391 if ${PKG_CONFIG+:} false; then :
12392 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12395 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12396 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12397 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12398 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12399 ac_save_CPPFLAGS=$CPPFLAGS
12400 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12401 for ac_header in ft2build.h
12402 do :
12403 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12404 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12405 cat >>confdefs.h <<_ACEOF
12406 #define HAVE_FT2BUILD_H 1
12407 _ACEOF
12411 done
12413 if test "$ac_cv_header_ft2build_h" = "yes"
12414 then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12416 $as_echo_n "checking for -lfreetype... " >&6; }
12417 if ${ac_cv_lib_soname_freetype+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_soname_save_LIBS=$LIBS
12421 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char FT_Init_FreeType ();
12433 main ()
12435 return FT_Init_FreeType ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 case "$LIBEXT" in
12442 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12443 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'` ;;
12444 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12445 if ${ac_cv_lib_soname_freetype:+false} :; then :
12446 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12447 fi ;;
12448 esac
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_soname_save_LIBS
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12456 $as_echo "not found" >&6; }
12457 FREETYPE_LIBS=""
12458 else
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12460 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12462 cat >>confdefs.h <<_ACEOF
12463 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12464 _ACEOF
12467 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12469 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12470 #include FT_MODULE_H
12472 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12474 cat >>confdefs.h <<_ACEOF
12475 #define HAVE_FT_TRUETYPEENGINETYPE 1
12476 _ACEOF
12482 else
12483 FREETYPE_CFLAGS=""
12484 FREETYPE_LIBS=""
12486 CPPFLAGS=$ac_save_CPPFLAGS
12487 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12488 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12491 if test "x$ac_cv_lib_soname_freetype" = x; then :
12492 case "x$with_freetype" in
12493 xno) ;;
12494 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12495 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12496 esac
12497 enable_fonts=${enable_fonts:-no}
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12501 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12502 if ${ac_cv_c_ppdev+:} false; then :
12503 $as_echo_n "(cached) " >&6
12504 else
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #ifdef HAVE_SYS_IOCTL_H
12508 # include <sys/ioctl.h>
12509 #endif
12510 #include <linux/ppdev.h>
12512 main ()
12514 ioctl (1,PPCLAIM,0)
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_compile "$LINENO"; then :
12520 ac_cv_c_ppdev="yes"
12521 else
12522 ac_cv_c_ppdev="no"
12524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12527 $as_echo "$ac_cv_c_ppdev" >&6; }
12528 if test "$ac_cv_c_ppdev" = "yes"
12529 then
12531 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12535 ac_wine_check_funcs_save_LIBS="$LIBS"
12536 LIBS="$LIBS $PTHREAD_LIBS"
12537 for ac_func in \
12538 pthread_attr_get_np \
12539 pthread_getattr_np \
12540 pthread_getthreadid_np \
12541 pthread_get_stackaddr_np \
12542 pthread_get_stacksize_np
12543 do :
12544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12547 cat >>confdefs.h <<_ACEOF
12548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12549 _ACEOF
12552 done
12554 LIBS="$ac_wine_check_funcs_save_LIBS"
12556 if test "$ac_cv_header_zlib_h" = "yes"
12557 then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12559 $as_echo_n "checking for inflate in -lz... " >&6; }
12560 if ${ac_cv_lib_z_inflate+:} false; then :
12561 $as_echo_n "(cached) " >&6
12562 else
12563 ac_check_lib_save_LIBS=$LIBS
12564 LIBS="-lz $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 #ifdef __cplusplus
12572 extern "C"
12573 #endif
12574 char inflate ();
12576 main ()
12578 return inflate ();
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 ac_cv_lib_z_inflate=yes
12585 else
12586 ac_cv_lib_z_inflate=no
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12590 LIBS=$ac_check_lib_save_LIBS
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12593 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12594 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12596 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12598 Z_LIBS="-lz"
12603 if test "x$Z_LIBS" = "x"; then :
12604 case "x$with_zlib" in
12605 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12606 xno) ;;
12607 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12608 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12609 esac
12613 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12614 then
12615 if test "$ac_cv_header_gettext_po_h" = "yes"
12616 then
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12618 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12619 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12620 $as_echo_n "(cached) " >&6
12621 else
12622 ac_check_lib_save_LIBS=$LIBS
12623 LIBS="-lgettextpo $LIBS"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12630 #ifdef __cplusplus
12631 extern "C"
12632 #endif
12633 char po_message_msgctxt ();
12635 main ()
12637 return po_message_msgctxt ();
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_link "$LINENO"; then :
12643 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12644 else
12645 ac_cv_lib_gettextpo_po_message_msgctxt=no
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12652 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12653 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12655 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12657 GETTEXTPO_LIBS="-lgettextpo"
12662 if test "x$GETTEXTPO_LIBS" = "x"; then :
12663 case "x$with_gettextpo" in
12664 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12665 xno) ;;
12666 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12667 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12668 esac
12671 if test "$srcdir" != .; then :
12672 case "x$with_gettextpo" in
12673 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12674 xno) ;;
12675 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12677 esac
12682 if test "x$with_pulse" != "xno";
12683 then
12684 if ${PULSE_CFLAGS:+false} :; then :
12685 if ${PKG_CONFIG+:} false; then :
12686 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12690 if ${PULSE_LIBS:+false} :; then :
12691 if ${PKG_CONFIG+:} false; then :
12692 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12697 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12698 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12699 ac_save_CPPFLAGS=$CPPFLAGS
12700 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12701 for ac_header in pulse/pulseaudio.h
12702 do :
12703 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12704 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12705 cat >>confdefs.h <<_ACEOF
12706 #define HAVE_PULSE_PULSEAUDIO_H 1
12707 _ACEOF
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12709 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12710 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12711 $as_echo_n "(cached) " >&6
12712 else
12713 ac_check_lib_save_LIBS=$LIBS
12714 LIBS="-lpulse $PULSE_LIBS $LIBS"
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12721 #ifdef __cplusplus
12722 extern "C"
12723 #endif
12724 char pa_stream_is_corked ();
12726 main ()
12728 return pa_stream_is_corked ();
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_link "$LINENO"; then :
12734 ac_cv_lib_pulse_pa_stream_is_corked=yes
12735 else
12736 ac_cv_lib_pulse_pa_stream_is_corked=no
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_lib_save_LIBS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12743 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12744 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12746 else
12747 PULSE_LIBS=""
12750 else
12751 PULSE_LIBS=""
12754 done
12756 CPPFLAGS=$ac_save_CPPFLAGS
12757 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12758 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12761 if test -z "$PULSE_LIBS"; then :
12762 case "x$with_pulse" in
12763 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12764 xno) ;;
12765 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12766 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12767 esac
12768 enable_winepulse_drv=${enable_winepulse_drv:-no}
12771 if test "x$with_gstreamer" != "xno"
12772 then
12773 if ${GSTREAMER_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false; then :
12775 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12779 if ${GSTREAMER_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false; then :
12781 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12788 ac_save_CPPFLAGS=$CPPFLAGS
12789 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12790 ac_gst_incl=""
12791 for i in $GSTREAMER_CFLAGS
12793 case "$i" in
12794 -I*) ac_gst_incl="$ac_gst_incl $i";;
12795 esac
12796 done
12797 GSTREAMER_CFLAGS=$ac_gst_incl
12798 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12800 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12802 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12805 #include <gst/gst.h>
12807 main ()
12809 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_compile "$LINENO"; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12816 $as_echo "yes" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12818 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12819 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12820 $as_echo_n "(cached) " >&6
12821 else
12822 ac_check_lib_save_LIBS=$LIBS
12823 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12830 #ifdef __cplusplus
12831 extern "C"
12832 #endif
12833 char gst_pad_new ();
12835 main ()
12837 return gst_pad_new ();
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_link "$LINENO"; then :
12843 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12844 else
12845 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12847 rm -f core conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_lib_save_LIBS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12852 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12853 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12857 else
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12860 ac_glib2_broken=yes
12861 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12867 CPPFLAGS=$ac_save_CPPFLAGS
12868 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12869 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12872 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 :
12873 case "x$with_gstreamer" in
12874 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12875 xno) ;;
12876 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12877 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12878 esac
12881 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12883 ALSA_LIBS=""
12885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12888 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12889 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lasound $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char snd_pcm_hw_params_get_access_mask ();
12905 main ()
12907 return snd_pcm_hw_params_get_access_mask ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12914 else
12915 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12922 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12923 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #ifdef HAVE_ALSA_ASOUNDLIB_H
12927 #include <alsa/asoundlib.h>
12928 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12929 #include <sys/asoundlib.h>
12930 #endif
12932 main ()
12934 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_compile "$LINENO"; then :
12940 ALSA_LIBS="-lasound"
12942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12946 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12948 if test "x$with_oss" != xno
12949 then
12950 ac_save_CPPFLAGS="$CPPFLAGS"
12951 if test -f /etc/oss.conf
12952 then
12953 . /etc/oss.conf
12955 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12956 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12957 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12959 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12965 _ACEOF
12967 OSS4_CFLAGS="$ac_oss_incl"
12974 CPPFLAGS="$ac_save_CPPFLAGS"
12976 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12977 case "x$with_oss" in
12978 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12979 xno) ;;
12980 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12981 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12982 esac
12983 enable_wineoss_drv=${enable_wineoss_drv:-no}
12986 if test "x$with_udev" != "xno"
12987 then
12988 if ${UDEV_CFLAGS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12994 if ${UDEV_LIBS:+false} :; then :
12995 if ${PKG_CONFIG+:} false; then :
12996 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13000 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13003 ac_save_CPPFLAGS=$CPPFLAGS
13004 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13005 for ac_header in libudev.h
13006 do :
13007 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13008 if test "x$ac_cv_header_libudev_h" = xyes; then :
13009 cat >>confdefs.h <<_ACEOF
13010 #define HAVE_LIBUDEV_H 1
13011 _ACEOF
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13013 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13014 if ${ac_cv_lib_udev_udev_new+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-ludev $UDEV_LIBS $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13025 #ifdef __cplusplus
13026 extern "C"
13027 #endif
13028 char udev_new ();
13030 main ()
13032 return udev_new ();
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_lib_udev_udev_new=yes
13039 else
13040 ac_cv_lib_udev_udev_new=no
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13047 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13048 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13050 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13052 else
13053 UDEV_LIBS=""
13056 else
13057 UDEV_LIBS=""
13060 done
13062 CPPFLAGS=$ac_save_CPPFLAGS
13063 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "x$UDEV_LIBS" = "x"; then :
13068 case "x$with_udev" in
13069 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13070 xno) ;;
13071 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13072 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13073 esac
13077 if test "x$with_capi" != "xno"
13078 then
13079 if ${CAPI20_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13085 if ${CAPI20_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13092 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13094 ac_save_CPPFLAGS=$CPPFLAGS
13095 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13096 for ac_header in capi20.h linux/capi.h
13097 do :
13098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13102 cat >>confdefs.h <<_ACEOF
13103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13104 _ACEOF
13108 done
13110 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13111 then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13113 $as_echo_n "checking for -lcapi20... " >&6; }
13114 if ${ac_cv_lib_soname_capi20+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char capi20_register ();
13130 main ()
13132 return capi20_register ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13142 if ${ac_cv_lib_soname_capi20:+false} :; then :
13143 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_capi20:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13157 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13161 _ACEOF
13166 CPPFLAGS=$ac_save_CPPFLAGS
13167 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13168 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13171 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13172 case "x$with_capi" in
13173 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13174 xno) ;;
13175 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13176 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13177 esac
13181 CUPS_CFLAGS=""
13183 if test "x$with_cups" != "xno"
13184 then
13185 ac_save_CPPFLAGS="$CPPFLAGS"
13186 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13187 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13188 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13189 for ac_header in cups/cups.h
13190 do :
13191 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13193 cat >>confdefs.h <<_ACEOF
13194 #define HAVE_CUPS_CUPS_H 1
13195 _ACEOF
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13197 $as_echo_n "checking for -lcups... " >&6; }
13198 if ${ac_cv_lib_soname_cups+:} false; then :
13199 $as_echo_n "(cached) " >&6
13200 else
13201 ac_check_soname_save_LIBS=$LIBS
13202 LIBS="-lcups $ac_cups_libs $LIBS"
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 char cupsGetDefault ();
13214 main ()
13216 return cupsGetDefault ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222 case "$LIBEXT" in
13223 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_cups:+false} :; then :
13227 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13228 fi ;;
13229 esac
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_cups:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13239 else
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13241 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13245 _ACEOF
13247 CUPS_CFLAGS="$ac_cups_cflags"
13249 for ac_header in cups/ppd.h
13250 do :
13251 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13252 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13253 cat >>confdefs.h <<_ACEOF
13254 #define HAVE_CUPS_PPD_H 1
13255 _ACEOF
13259 done
13263 done
13265 CPPFLAGS="$ac_save_CPPFLAGS"
13267 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13268 case "x$with_cups" in
13269 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13272 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13273 esac
13277 if test "x$with_fontconfig" != "xno"
13278 then
13279 if ${FONTCONFIG_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13284 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13285 if ${FONTCONFIG_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13290 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13292 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13294 ac_save_CPPFLAGS=$CPPFLAGS
13295 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13296 for ac_header in fontconfig/fontconfig.h
13297 do :
13298 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13299 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13300 cat >>confdefs.h <<_ACEOF
13301 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13302 _ACEOF
13306 done
13308 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13309 then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13311 $as_echo_n "checking for -lfontconfig... " >&6; }
13312 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_check_soname_save_LIBS=$LIBS
13316 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 #ifdef __cplusplus
13324 extern "C"
13325 #endif
13326 char FcInit ();
13328 main ()
13330 return FcInit ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"; then :
13336 case "$LIBEXT" in
13337 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13341 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13342 fi ;;
13343 esac
13345 rm -f core conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_soname_save_LIBS
13349 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13351 $as_echo "not found" >&6; }
13352 FONTCONFIG_CFLAGS=""
13353 else
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13355 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13357 cat >>confdefs.h <<_ACEOF
13358 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13359 _ACEOF
13363 else
13364 FONTCONFIG_CFLAGS=""
13366 CPPFLAGS=$ac_save_CPPFLAGS
13367 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13368 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13371 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13372 case "x$with_fontconfig" in
13373 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13374 xno) ;;
13375 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13376 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13377 esac
13381 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13382 then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13384 $as_echo_n "checking for -lgsm... " >&6; }
13385 if ${ac_cv_lib_soname_gsm+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 ac_check_soname_save_LIBS=$LIBS
13389 LIBS="-lgsm $LIBS"
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13396 #ifdef __cplusplus
13397 extern "C"
13398 #endif
13399 char gsm_create ();
13401 main ()
13403 return gsm_create ();
13405 return 0;
13407 _ACEOF
13408 if ac_fn_c_try_link "$LINENO"; then :
13409 case "$LIBEXT" in
13410 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13411 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'` ;;
13412 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13413 if ${ac_cv_lib_soname_gsm:+false} :; then :
13414 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13415 fi ;;
13416 esac
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_gsm:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13426 else
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13428 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13430 cat >>confdefs.h <<_ACEOF
13431 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13432 _ACEOF
13437 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13438 case "x$with_gsm" in
13439 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13440 xno) ;;
13441 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13442 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13443 esac
13447 if test "x$with_jpeg" != "xno"
13448 then
13449 if ${JPEG_CFLAGS:+false} :; then :
13450 if ${PKG_CONFIG+:} false; then :
13451 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13455 if ${JPEG_LIBS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13464 ac_save_CPPFLAGS=$CPPFLAGS
13465 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13466 for ac_header in jpeglib.h
13467 do :
13468 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13470 cat >>confdefs.h <<_ACEOF
13471 #define HAVE_JPEGLIB_H 1
13472 _ACEOF
13476 done
13478 if test "$ac_cv_header_jpeglib_h" = "yes"
13479 then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13481 $as_echo_n "checking for -ljpeg... " >&6; }
13482 if ${ac_cv_lib_soname_jpeg+:} false; then :
13483 $as_echo_n "(cached) " >&6
13484 else
13485 ac_check_soname_save_LIBS=$LIBS
13486 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 /* Override any GCC internal prototype to avoid an error.
13491 Use char because int might match the return type of a GCC
13492 builtin and then its argument prototype would still apply. */
13493 #ifdef __cplusplus
13494 extern "C"
13495 #endif
13496 char jpeg_start_decompress ();
13498 main ()
13500 return jpeg_start_decompress ();
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 case "$LIBEXT" in
13507 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13508 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'` ;;
13509 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13510 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13511 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13512 fi ;;
13513 esac
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13522 JPEG_CFLAGS=""
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13525 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13529 _ACEOF
13533 else
13534 JPEG_CFLAGS=""
13536 CPPFLAGS=$ac_save_CPPFLAGS
13537 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13538 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13541 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13542 case "x$with_jpeg" in
13543 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13544 xno) ;;
13545 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13546 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13547 esac
13551 if test "x$with_png" != "xno"
13552 then
13553 if ${PNG_CFLAGS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13558 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13559 if ${PNG_LIBS:+false} :; then :
13560 if ${PKG_CONFIG+:} false; then :
13561 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13564 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13568 ac_save_CPPFLAGS=$CPPFLAGS
13569 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13570 for ac_header in png.h
13571 do :
13572 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13573 if test "x$ac_cv_header_png_h" = xyes; then :
13574 cat >>confdefs.h <<_ACEOF
13575 #define HAVE_PNG_H 1
13576 _ACEOF
13580 done
13582 if test "$ac_cv_header_png_h" = "yes"
13583 then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13585 $as_echo_n "checking for -lpng... " >&6; }
13586 if ${ac_cv_lib_soname_png+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_soname_save_LIBS=$LIBS
13590 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char png_create_read_struct ();
13602 main ()
13604 return png_create_read_struct ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 case "$LIBEXT" in
13611 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) 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'`
13614 if ${ac_cv_lib_soname_png:+false} :; then :
13615 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13616 fi ;;
13617 esac
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_png:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13626 PNG_CFLAGS=""
13627 else
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13629 $as_echo "$ac_cv_lib_soname_png" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13633 _ACEOF
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <png.h>
13639 main ()
13641 typeof(png_set_expand_gray_1_2_4_to_8) *p
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_compile "$LINENO"; then :
13648 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 else
13654 PNG_CFLAGS=""
13656 CPPFLAGS=$ac_save_CPPFLAGS
13657 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13658 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13661 if test "x$ac_cv_lib_soname_png" = "x"; then :
13662 case "x$with_png" in
13663 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13664 xno) ;;
13665 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13666 This is an error since --with-png was requested." "$LINENO" 5 ;;
13667 esac
13671 if test "x$with_tiff" != "xno"
13672 then
13673 if ${TIFF_CFLAGS:+false} :; then :
13674 if ${PKG_CONFIG+:} false; then :
13675 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13679 if ${TIFF_LIBS:+false} :; then :
13680 if ${PKG_CONFIG+:} false; then :
13681 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13688 ac_save_CPPFLAGS=$CPPFLAGS
13689 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13690 for ac_header in tiffio.h
13691 do :
13692 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13693 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13694 cat >>confdefs.h <<_ACEOF
13695 #define HAVE_TIFFIO_H 1
13696 _ACEOF
13700 done
13702 if test "$ac_cv_header_tiffio_h" = "yes"
13703 then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13705 $as_echo_n "checking for -ltiff... " >&6; }
13706 if ${ac_cv_lib_soname_tiff+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 ac_check_soname_save_LIBS=$LIBS
13710 LIBS="-ltiff $TIFF_LIBS $LIBS"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 /* Override any GCC internal prototype to avoid an error.
13715 Use char because int might match the return type of a GCC
13716 builtin and then its argument prototype would still apply. */
13717 #ifdef __cplusplus
13718 extern "C"
13719 #endif
13720 char TIFFClientOpen ();
13722 main ()
13724 return TIFFClientOpen ();
13726 return 0;
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 case "$LIBEXT" in
13731 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13732 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'` ;;
13733 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13734 if ${ac_cv_lib_soname_tiff:+false} :; then :
13735 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13736 fi ;;
13737 esac
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 LIBS=$ac_check_soname_save_LIBS
13743 if ${ac_cv_lib_soname_tiff:+false} :; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13745 $as_echo "not found" >&6; }
13747 else
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13749 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13751 cat >>confdefs.h <<_ACEOF
13752 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13753 _ACEOF
13758 CPPFLAGS=$ac_save_CPPFLAGS
13759 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13760 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13763 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13764 case "x$with_tiff" in
13765 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13766 xno) ;;
13767 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13768 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13769 esac
13773 if test "x$with_mpg123" != "xno"
13774 then
13775 if ${MPG123_CFLAGS:+false} :; then :
13776 if ${PKG_CONFIG+:} false; then :
13777 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13781 if ${MPG123_LIBS:+false} :; then :
13782 if ${PKG_CONFIG+:} false; then :
13783 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13787 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13788 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13790 ac_save_CPPFLAGS=$CPPFLAGS
13791 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13792 for ac_header in mpg123.h
13793 do :
13794 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_MPG123_H 1
13798 _ACEOF
13802 done
13804 if test "$ac_cv_header_mpg123_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13807 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13808 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_lib_save_LIBS=$LIBS
13812 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char mpg123_feed ();
13824 main ()
13826 return mpg123_feed ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 ac_cv_lib_mpg123_mpg123_feed=yes
13833 else
13834 ac_cv_lib_mpg123_mpg123_feed=no
13836 rm -f core conftest.err conftest.$ac_objext \
13837 conftest$ac_exeext conftest.$ac_ext
13838 LIBS=$ac_check_lib_save_LIBS
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13841 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13842 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13844 else
13845 MPG123_LIBS=""
13848 else
13849 MPG123_CFLAGS=""
13850 MPG123_LIBS=""
13852 CPPFLAGS=$ac_save_CPPFLAGS
13853 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13857 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13858 case "x$with_mpg123" in
13859 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13860 xno) ;;
13861 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13862 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13863 esac
13864 enable_winemp3_acm=${enable_winemp3_acm:-no}
13867 if test "$ac_cv_header_AL_al_h" = "yes"
13868 then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13870 $as_echo_n "checking for -lopenal... " >&6; }
13871 if ${ac_cv_lib_soname_openal+:} false; then :
13872 $as_echo_n "(cached) " >&6
13873 else
13874 ac_check_soname_save_LIBS=$LIBS
13875 LIBS="-lopenal $LIBS"
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 char alGetSource3i ();
13887 main ()
13889 return alGetSource3i ();
13891 return 0;
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"; then :
13895 case "$LIBEXT" in
13896 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13897 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'` ;;
13898 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13899 if ${ac_cv_lib_soname_openal:+false} :; then :
13900 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13901 fi ;;
13902 esac
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_soname_save_LIBS
13908 if ${ac_cv_lib_soname_openal:+false} :; then :
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13910 $as_echo "not found" >&6; }
13912 else
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13914 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13916 cat >>confdefs.h <<_ACEOF
13917 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13918 _ACEOF
13920 OPENAL_LIBS="-lopenal"
13922 ac_cv_lib_openal=yes
13924 cat >>confdefs.h <<_ACEOF
13925 #define HAVE_OPENAL 1
13926 _ACEOF
13930 if test "x$ac_cv_lib_openal" != xyes; then :
13931 case "x$with_openal" in
13932 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13933 xno) ;;
13934 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13935 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13936 esac
13937 enable_openal32=${enable_openal32:-no}
13940 if test "x$ac_cv_lib_openal" = xyes
13941 then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13943 $as_echo_n "checking for openal-soft... " >&6; }
13944 if ${ac_cv_have_openalsoft+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 #include <AL/al.h>
13950 #include <AL/alc.h>
13951 #include <AL/alext.h>
13952 LPALCRENDERSAMPLESSOFT x;
13954 main ()
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_compile "$LINENO"; then :
13962 ac_cv_have_openalsoft=yes
13963 else
13964 ac_cv_have_openalsoft=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13969 $as_echo "$ac_cv_have_openalsoft" >&6; }
13971 if test "x$ac_cv_have_openalsoft" != xyes
13972 then
13973 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13974 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13975 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13976 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13977 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13978 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13979 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13980 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13981 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13982 enable_xapofx1_1=${enable_xapofx1_1:-no}
13983 enable_xapofx1_2=${enable_xapofx1_2:-no}
13984 enable_xapofx1_3=${enable_xapofx1_3:-no}
13985 enable_xapofx1_4=${enable_xapofx1_4:-no}
13986 enable_xapofx1_5=${enable_xapofx1_5:-no}
13987 enable_xaudio2_0=${enable_xaudio2_0:-no}
13988 enable_xaudio2_1=${enable_xaudio2_1:-no}
13989 enable_xaudio2_2=${enable_xaudio2_2:-no}
13990 enable_xaudio2_3=${enable_xaudio2_3:-no}
13991 enable_xaudio2_4=${enable_xaudio2_4:-no}
13992 enable_xaudio2_5=${enable_xaudio2_5:-no}
13993 enable_xaudio2_6=${enable_xaudio2_6:-no}
13994 enable_xaudio2_7=${enable_xaudio2_7:-no}
13995 enable_xaudio2_8=${enable_xaudio2_8:-no}
13996 enable_xaudio2_9=${enable_xaudio2_9:-no}
13999 if test "$ac_cv_header_kstat_h" = "yes"
14000 then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14002 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14003 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lkstat $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char kstat_open ();
14019 main ()
14021 return kstat_open ();
14023 return 0;
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_lib_kstat_kstat_open=yes
14028 else
14029 ac_cv_lib_kstat_kstat_open=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS=$ac_check_lib_save_LIBS
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14036 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14037 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14039 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14041 KSTAT_LIBS="-lkstat"
14047 if test "$ac_cv_header_libprocstat_h" = "yes"
14048 then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14050 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14051 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lprocstat $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 char procstat_open_sysctl ();
14067 main ()
14069 return procstat_open_sysctl ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_lib_procstat_procstat_open_sysctl=yes
14076 else
14077 ac_cv_lib_procstat_procstat_open_sysctl=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14084 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14087 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14089 PROCSTAT_LIBS="-lprocstat"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14096 $as_echo_n "checking for -lodbc... " >&6; }
14097 if ${ac_cv_lib_soname_odbc+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_check_soname_save_LIBS=$LIBS
14101 LIBS="-lodbc $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 #ifdef __cplusplus
14109 extern "C"
14110 #endif
14111 char SQLConnect ();
14113 main ()
14115 return SQLConnect ();
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 case "$LIBEXT" in
14122 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14123 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'` ;;
14124 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14125 if ${ac_cv_lib_soname_odbc:+false} :; then :
14126 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14127 fi ;;
14128 esac
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_soname_save_LIBS
14134 if ${ac_cv_lib_soname_odbc:+false} :; then :
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14136 $as_echo "not found" >&6; }
14137 cat >>confdefs.h <<_ACEOF
14138 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14139 _ACEOF
14141 else
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14143 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14145 cat >>confdefs.h <<_ACEOF
14146 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14147 _ACEOF
14152 if test "x$with_netapi" != "xno"
14153 then
14154 if ${NETAPI_CFLAGS:+false} :; then :
14155 if ${PKG_CONFIG+:} false; then :
14156 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14160 if ${NETAPI_LIBS:+false} :; then :
14161 if ${PKG_CONFIG+:} false; then :
14162 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14167 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14169 ac_save_CPPFLAGS=$CPPFLAGS
14170 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14172 $as_echo_n "checking for -lnetapi... " >&6; }
14173 if ${ac_cv_lib_soname_netapi+:} false; then :
14174 $as_echo_n "(cached) " >&6
14175 else
14176 ac_check_soname_save_LIBS=$LIBS
14177 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 #ifdef __cplusplus
14185 extern "C"
14186 #endif
14187 char libnetapi_init ();
14189 main ()
14191 return libnetapi_init ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 case "$LIBEXT" in
14198 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14199 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'` ;;
14200 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14201 if ${ac_cv_lib_soname_netapi:+false} :; then :
14202 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14203 fi ;;
14204 esac
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_soname_save_LIBS
14210 if ${ac_cv_lib_soname_netapi:+false} :; then :
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14212 $as_echo "not found" >&6; }
14213 cat >>confdefs.h <<_ACEOF
14214 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14215 _ACEOF
14217 else
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14219 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14221 cat >>confdefs.h <<_ACEOF
14222 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14223 _ACEOF
14227 CPPFLAGS=$ac_save_CPPFLAGS
14228 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14229 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14233 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14234 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14235 then
14236 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14240 EXTRACFLAGS=""
14242 if test "x${GCC}" = "xyes"
14243 then
14244 EXTRACFLAGS="-Wall -pipe"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14247 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14248 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 if test "$cross_compiling" = yes; then :
14252 ac_cv_c_gcc_strength_bug="no"
14253 else
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int L[4] = {0,1,2,3};
14258 main ()
14260 static int Array[3];
14261 unsigned int B = 3;
14262 int i;
14263 for(i=0; i<B; i++) Array[i] = i - 3;
14264 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14265 L[i] = 4;
14266 return (Array[1] != -2 || L[2] != 3)
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_run "$LINENO"; then :
14272 ac_cv_c_gcc_strength_bug="no"
14273 else
14274 ac_cv_c_gcc_strength_bug="yes"
14276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14277 conftest.$ac_objext conftest.beam conftest.$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14282 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14283 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14284 then
14285 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14289 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14290 if ${ac_cv_cflags__fno_builtin+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -fno-builtin"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 ac_cv_cflags__fno_builtin=yes
14301 else
14302 ac_cv_cflags__fno_builtin=no
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 CFLAGS=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14309 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14310 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14311 BUILTINFLAG="-fno-builtin"
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14315 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14316 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14317 $as_echo_n "(cached) " >&6
14318 else
14319 ac_wine_try_cflags_saved=$CFLAGS
14320 CFLAGS="$CFLAGS -fno-strict-aliasing"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_cflags__fno_strict_aliasing=yes
14327 else
14328 ac_cv_cflags__fno_strict_aliasing=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 CFLAGS=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14335 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14336 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14337 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14340 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14341 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_wine_try_cflags_saved=$CFLAGS
14345 CFLAGS="$CFLAGS -fexcess-precision=standard"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_cflags__fexcess_precision_standard=yes
14352 else
14353 ac_cv_cflags__fexcess_precision_standard=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 CFLAGS=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14360 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14361 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14362 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14365 saved_CFLAGS=$CFLAGS
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14367 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14368 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_wine_try_cflags_saved=$CFLAGS
14372 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14376 _ACEOF
14377 if ac_fn_c_try_link "$LINENO"; then :
14378 ac_cv_cflags__Werror_unknown_warning_option=yes
14379 else
14380 ac_cv_cflags__Werror_unknown_warning_option=no
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 CFLAGS=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14387 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14388 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14389 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14392 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14393 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_wine_try_cflags_saved=$CFLAGS
14397 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_cflags__Wdeclaration_after_statement=yes
14404 else
14405 ac_cv_cflags__Wdeclaration_after_statement=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 CFLAGS=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14412 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14413 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14414 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14417 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14418 if ${ac_cv_cflags__Wempty_body+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_wine_try_cflags_saved=$CFLAGS
14422 CFLAGS="$CFLAGS -Wempty-body"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 int main(int argc, char **argv) { return 0; }
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_cflags__Wempty_body=yes
14429 else
14430 ac_cv_cflags__Wempty_body=no
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 CFLAGS=$ac_wine_try_cflags_saved
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14437 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14438 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14439 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14442 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14443 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_wine_try_cflags_saved=$CFLAGS
14447 CFLAGS="$CFLAGS -Wignored-qualifiers"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 ac_cv_cflags__Wignored_qualifiers=yes
14454 else
14455 ac_cv_cflags__Wignored_qualifiers=no
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 CFLAGS=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14462 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14463 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14464 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14467 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14468 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_wine_try_cflags_saved=$CFLAGS
14472 CFLAGS="$CFLAGS -Wshift-overflow=2"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_cflags__Wshift_overflow_2=yes
14479 else
14480 ac_cv_cflags__Wshift_overflow_2=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 CFLAGS=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14487 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14488 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14489 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14492 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14493 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_wine_try_cflags_saved=$CFLAGS
14497 CFLAGS="$CFLAGS -Wstrict-prototypes"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_cflags__Wstrict_prototypes=yes
14504 else
14505 ac_cv_cflags__Wstrict_prototypes=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 CFLAGS=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14512 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14513 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14514 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14517 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14518 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 ac_wine_try_cflags_saved=$CFLAGS
14522 CFLAGS="$CFLAGS -Wtype-limits"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 int main(int argc, char **argv) { return 0; }
14526 _ACEOF
14527 if ac_fn_c_try_link "$LINENO"; then :
14528 ac_cv_cflags__Wtype_limits=yes
14529 else
14530 ac_cv_cflags__Wtype_limits=no
14532 rm -f core conftest.err conftest.$ac_objext \
14533 conftest$ac_exeext conftest.$ac_ext
14534 CFLAGS=$ac_wine_try_cflags_saved
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14537 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14538 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14539 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14542 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14543 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__Wunused_but_set_parameter=yes
14554 else
14555 ac_cv_cflags__Wunused_but_set_parameter=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14562 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14563 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14567 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14568 if ${ac_cv_cflags__Wvla+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_wine_try_cflags_saved=$CFLAGS
14572 CFLAGS="$CFLAGS -Wvla"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_cflags__Wvla=yes
14579 else
14580 ac_cv_cflags__Wvla=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 CFLAGS=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14587 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14588 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14589 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14592 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14593 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_wine_try_cflags_saved=$CFLAGS
14597 CFLAGS="$CFLAGS -Wwrite-strings"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_cflags__Wwrite_strings=yes
14604 else
14605 ac_cv_cflags__Wwrite_strings=no
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14609 CFLAGS=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14612 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14613 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14614 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14618 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14619 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_wine_try_cflags_saved=$CFLAGS
14623 CFLAGS="$CFLAGS -Wpointer-arith"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 int main(int argc, char **argv) { return 0; }
14627 _ACEOF
14628 if ac_fn_c_try_link "$LINENO"; then :
14629 ac_cv_cflags__Wpointer_arith=yes
14630 else
14631 ac_cv_cflags__Wpointer_arith=no
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 CFLAGS=$ac_wine_try_cflags_saved
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14638 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14639 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14640 saved_string_h_CFLAGS=$CFLAGS
14641 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14643 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14644 if ${ac_cv_c_string_h_warnings+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 #include <string.h>
14651 main ()
14655 return 0;
14657 _ACEOF
14658 if ac_fn_c_try_compile "$LINENO"; then :
14659 ac_cv_c_string_h_warnings=no
14660 else
14661 ac_cv_c_string_h_warnings=yes
14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14666 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14667 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14668 CFLAGS=$saved_string_h_CFLAGS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14672 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14673 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 ac_wine_try_cflags_saved=$CFLAGS
14677 CFLAGS="$CFLAGS -Wlogical-op"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14680 int main(int argc, char **argv) { return 0; }
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_cflags__Wlogical_op=yes
14684 else
14685 ac_cv_cflags__Wlogical_op=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 CFLAGS=$ac_wine_try_cflags_saved
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14692 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14693 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14694 saved_string_h_CFLAGS=$CFLAGS
14695 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14697 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14698 if ${ac_cv_c_logicalop_noisy+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 #include <string.h>
14704 char*f(const char *h,char n) {return strchr(h,n);}
14706 main ()
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_compile "$LINENO"; then :
14714 ac_cv_c_logicalop_noisy=no
14715 else
14716 ac_cv_c_logicalop_noisy=yes
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14721 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14722 CFLAGS=$saved_string_h_CFLAGS
14723 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14726 CFLAGS=$saved_CFLAGS
14728 for ac_flag in $CFLAGS; do
14729 case $ac_flag in
14730 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14731 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14732 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_wine_try_cflags_saved=$CFLAGS
14736 CFLAGS="$CFLAGS -gdwarf-2"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 int main(int argc, char **argv) { return 0; }
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_cflags__gdwarf_2=yes
14743 else
14744 ac_cv_cflags__gdwarf_2=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 CFLAGS=$ac_wine_try_cflags_saved
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14751 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14752 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14753 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14756 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14757 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -gstrict-dwarf"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__gstrict_dwarf=yes
14768 else
14769 ac_cv_cflags__gstrict_dwarf=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14776 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14777 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14778 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14779 fi ;;
14780 esac
14781 done
14783 case $host_cpu in
14784 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14785 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14786 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_wine_try_cflags_saved=$CFLAGS
14790 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 int main(int argc, char **argv) { return 0; }
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_cflags__fno_omit_frame_pointer=yes
14797 else
14798 ac_cv_cflags__fno_omit_frame_pointer=no
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14802 CFLAGS=$ac_wine_try_cflags_saved
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14805 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14806 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14807 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14808 fi ;;
14809 esac
14811 case $host in
14812 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14813 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14814 if ${ac_cv_cflags__Wno_format+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_wine_try_cflags_saved=$CFLAGS
14818 CFLAGS="$CFLAGS -Wno-format"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14821 int main(int argc, char **argv) { return 0; }
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"; then :
14824 ac_cv_cflags__Wno_format=yes
14825 else
14826 ac_cv_cflags__Wno_format=no
14828 rm -f core conftest.err conftest.$ac_objext \
14829 conftest$ac_exeext conftest.$ac_ext
14830 CFLAGS=$ac_wine_try_cflags_saved
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14833 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14834 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14835 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14836 fi ;;
14837 esac
14839 if test "x$enable_maintainer_mode" = "xyes"
14840 then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14842 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14843 if ${ac_cv_cflags__Werror+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_wine_try_cflags_saved=$CFLAGS
14847 CFLAGS="$CFLAGS -Werror"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_cflags__Werror=yes
14854 else
14855 ac_cv_cflags__Werror=no
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 CFLAGS=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14862 $as_echo "$ac_cv_cflags__Werror" >&6; }
14863 if test "x$ac_cv_cflags__Werror" = xyes; then :
14864 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14868 saved_CFLAGS="$CFLAGS"
14869 CFLAGS="$CFLAGS -Werror"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14871 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14872 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14879 main ()
14883 return 0;
14885 _ACEOF
14886 if ac_fn_c_try_compile "$LINENO"; then :
14887 ac_cv_have_ms_hook_prologue="yes"
14888 else
14889 ac_cv_have_ms_hook_prologue="no"
14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14894 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14895 CFLAGS="$saved_CFLAGS"
14896 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14897 then
14899 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14901 else
14902 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14909 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14910 if ${ac_cv_c_fortify_enabled+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14915 #include <string.h>
14917 main ()
14919 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14920 #error Fortify enabled
14921 #endif
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_compile "$LINENO"; then :
14927 ac_cv_c_fortify_enabled=no
14928 else
14929 ac_cv_c_fortify_enabled=yes
14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14934 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14935 if test "$ac_cv_c_fortify_enabled" = yes
14936 then
14937 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14942 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14943 if ${ac_cv_c_extern_prefix+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 extern int ac_test;
14950 main ()
14952 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14954 return 0;
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_c_extern_prefix="yes"
14959 else
14960 ac_cv_c_extern_prefix="no"
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14966 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14968 case $host_cpu in
14969 *i[3456789]86*)
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14971 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14972 if ${ac_cv_c_stdcall_suffix+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14977 #ifndef _MSC_VER
14978 #define __stdcall __attribute__((__stdcall__))
14979 #endif
14980 int __stdcall ac_test(int i) { return i; }
14982 main ()
14984 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"; then :
14990 ac_cv_c_stdcall_suffix="yes"
14991 else
14992 ac_cv_c_stdcall_suffix="no"
14994 rm -f core conftest.err conftest.$ac_objext \
14995 conftest$ac_exeext conftest.$ac_ext
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14998 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14999 *) ac_cv_c_stdcall_suffix="no" ;;
15000 esac
15003 if test "$ac_cv_c_extern_prefix" = "yes"
15004 then
15005 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15007 asm_name_prefix="_"
15008 else
15009 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15011 asm_name_prefix=""
15015 if test "$ac_cv_c_stdcall_suffix" = "yes"
15016 then
15017 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15019 else
15020 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15026 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15027 if ${ac_cv_asm_func_def+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15034 main ()
15036 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_asm_func_def=".def"
15043 else
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15048 main ()
15050 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15052 return 0;
15054 _ACEOF
15055 if ac_fn_c_try_link "$LINENO"; then :
15056 ac_cv_asm_func_def=".type @function"
15057 else
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15062 main ()
15064 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_asm_func_def=".type 2"
15071 else
15072 ac_cv_asm_func_def="unknown"
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15084 $as_echo "$ac_cv_asm_func_def" >&6; }
15087 case "$ac_cv_asm_func_def" in
15088 ".def")
15089 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15091 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15092 ".type @function")
15093 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15095 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15096 ".type 2")
15097 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15099 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15101 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15103 asm_func_header="" ;;
15104 esac
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15107 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15108 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15109 $as_echo_n "(cached) " >&6
15110 else
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 asm(".text\n\t.long 0");
15115 main ()
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_compile "$LINENO"; then :
15123 ac_cv_c_asm_outside_funcs="yes"
15124 else
15125 ac_cv_c_asm_outside_funcs="no"
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15130 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15133 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15134 if ${ac_cv_c_dot_previous+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15141 main ()
15143 asm(".text\nac_test:\t.long 0\n\t.previous");
15145 return 0;
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 ac_cv_c_dot_previous="yes"
15150 else
15151 ac_cv_c_dot_previous="no"
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15157 $as_echo "$ac_cv_c_dot_previous" >&6; }
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15160 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15161 if ${ac_cv_c_cfi_support+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15168 main ()
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_compile "$LINENO"; then :
15176 ac_cv_c_cfi_support="yes"
15177 else
15178 ac_cv_c_cfi_support="no"
15180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15183 $as_echo "$ac_cv_c_cfi_support" >&6; }
15185 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15186 asm_func_trailer=""
15187 if test "$ac_cv_c_dot_previous" = "yes"
15188 then
15189 asm_func_trailer="\\n\\t.previous"
15191 if test "$ac_cv_c_cfi_support" = "yes"
15192 then
15193 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15194 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15196 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15198 UNWINDFLAGS=-fasynchronous-unwind-tables
15200 else
15201 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15203 if test "x$enable_win64" = "xyes"
15204 then
15205 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15209 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15212 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15213 then
15214 cat >>confdefs.h <<_ACEOF
15215 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15216 _ACEOF
15218 else
15219 cat >>confdefs.h <<_ACEOF
15220 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15221 _ACEOF
15225 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15228 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15232 case $build_os in
15233 cygwin*|mingw32*) TOOLSEXT=".exe"
15235 esac
15237 case $host_os in
15238 linux-android*) ;;
15239 linux*)
15240 case $host_cpu in
15241 *i[3456789]86*|x86_64*)
15242 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15243 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15245 esac
15247 esac
15250 ac_save_CFLAGS="$CFLAGS"
15251 CFLAGS="$CFLAGS $BUILTINFLAG"
15252 for ac_func in \
15253 __res_get_state \
15254 __res_getservers \
15255 _finite \
15256 _isnan \
15257 _pclose \
15258 _popen \
15259 _snprintf \
15260 _spawnvp \
15261 _strdup \
15262 _stricmp \
15263 _strnicmp \
15264 _strtoi64 \
15265 _strtoui64 \
15266 _vsnprintf \
15267 asctime_r \
15268 chsize \
15269 dlopen \
15270 epoll_create \
15271 ffs \
15272 finitef \
15273 fnmatch \
15274 fork \
15275 fpclass \
15276 fstatfs \
15277 fstatvfs \
15278 ftruncate \
15279 futimens \
15280 futimes \
15281 futimesat \
15282 getattrlist \
15283 getopt_long_only \
15284 getpwuid \
15285 gettimeofday \
15286 getuid \
15287 if_nameindex \
15288 isnanf \
15289 kqueue \
15290 lstat \
15291 memmove \
15292 mmap \
15293 pclose \
15294 pipe2 \
15295 poll \
15296 popen \
15297 port_create \
15298 prctl \
15299 pread \
15300 proc_pidinfo \
15301 pwrite \
15302 readdir \
15303 readlink \
15304 sched_yield \
15305 select \
15306 setproctitle \
15307 setprogname \
15308 setrlimit \
15309 settimeofday \
15310 sigaltstack \
15311 sigprocmask \
15312 snprintf \
15313 statfs \
15314 statvfs \
15315 strcasecmp \
15316 strdup \
15317 strerror \
15318 strncasecmp \
15319 strtold \
15320 strtoll \
15321 strtoull \
15322 symlink \
15323 sysinfo \
15324 tcdrain \
15325 thr_kill2 \
15326 timegm \
15327 usleep \
15328 vsnprintf
15330 do :
15331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15333 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15336 _ACEOF
15339 done
15341 CFLAGS="$ac_save_CFLAGS"
15343 if test "$ac_cv_func_dlopen" = no
15344 then
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15346 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15347 if ${ac_cv_lib_dl_dlopen+:} false; then :
15348 $as_echo_n "(cached) " >&6
15349 else
15350 ac_check_lib_save_LIBS=$LIBS
15351 LIBS="-ldl $LIBS"
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 #ifdef __cplusplus
15359 extern "C"
15360 #endif
15361 char dlopen ();
15363 main ()
15365 return dlopen ();
15367 return 0;
15369 _ACEOF
15370 if ac_fn_c_try_link "$LINENO"; then :
15371 ac_cv_lib_dl_dlopen=yes
15372 else
15373 ac_cv_lib_dl_dlopen=no
15375 rm -f core conftest.err conftest.$ac_objext \
15376 conftest$ac_exeext conftest.$ac_ext
15377 LIBS=$ac_check_lib_save_LIBS
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15380 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15381 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15382 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15383 DL_LIBS="-ldl"
15388 ac_wine_check_funcs_save_LIBS="$LIBS"
15389 LIBS="$LIBS $DL_LIBS"
15390 for ac_func in dladdr
15391 do :
15392 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15393 if test "x$ac_cv_func_dladdr" = xyes; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define HAVE_DLADDR 1
15396 _ACEOF
15399 done
15401 LIBS="$ac_wine_check_funcs_save_LIBS"
15403 if test "$ac_cv_func_poll" = no
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15406 $as_echo_n "checking for poll in -lpoll... " >&6; }
15407 if ${ac_cv_lib_poll_poll+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-lpoll $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char poll ();
15423 main ()
15425 return poll ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_lib_poll_poll=yes
15432 else
15433 ac_cv_lib_poll_poll=no
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_lib_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15440 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15441 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15442 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15443 POLL_LIBS="-lpoll"
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15450 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15451 if ${ac_cv_search_gethostbyname+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_func_search_save_LIBS=$LIBS
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 #endif
15464 char gethostbyname ();
15466 main ()
15468 return gethostbyname ();
15470 return 0;
15472 _ACEOF
15473 for ac_lib in '' nsl; do
15474 if test -z "$ac_lib"; then
15475 ac_res="none required"
15476 else
15477 ac_res=-l$ac_lib
15478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_search_gethostbyname=$ac_res
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext
15485 if ${ac_cv_search_gethostbyname+:} false; then :
15486 break
15488 done
15489 if ${ac_cv_search_gethostbyname+:} false; then :
15491 else
15492 ac_cv_search_gethostbyname=no
15494 rm conftest.$ac_ext
15495 LIBS=$ac_func_search_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15498 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15499 ac_res=$ac_cv_search_gethostbyname
15500 if test "$ac_res" != no; then :
15501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15507 $as_echo_n "checking for library containing connect... " >&6; }
15508 if ${ac_cv_search_connect+:} false; then :
15509 $as_echo_n "(cached) " >&6
15510 else
15511 ac_func_search_save_LIBS=$LIBS
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 /* Override any GCC internal prototype to avoid an error.
15516 Use char because int might match the return type of a GCC
15517 builtin and then its argument prototype would still apply. */
15518 #ifdef __cplusplus
15519 extern "C"
15520 #endif
15521 char connect ();
15523 main ()
15525 return connect ();
15527 return 0;
15529 _ACEOF
15530 for ac_lib in '' socket; do
15531 if test -z "$ac_lib"; then
15532 ac_res="none required"
15533 else
15534 ac_res=-l$ac_lib
15535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_search_connect=$ac_res
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext
15542 if ${ac_cv_search_connect+:} false; then :
15543 break
15545 done
15546 if ${ac_cv_search_connect+:} false; then :
15548 else
15549 ac_cv_search_connect=no
15551 rm conftest.$ac_ext
15552 LIBS=$ac_func_search_save_LIBS
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15555 $as_echo "$ac_cv_search_connect" >&6; }
15556 ac_res=$ac_cv_search_connect
15557 if test "$ac_res" != no; then :
15558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15564 $as_echo_n "checking for library containing inet_aton... " >&6; }
15565 if ${ac_cv_search_inet_aton+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 ac_func_search_save_LIBS=$LIBS
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15575 #ifdef __cplusplus
15576 extern "C"
15577 #endif
15578 char inet_aton ();
15580 main ()
15582 return inet_aton ();
15584 return 0;
15586 _ACEOF
15587 for ac_lib in '' resolv; do
15588 if test -z "$ac_lib"; then
15589 ac_res="none required"
15590 else
15591 ac_res=-l$ac_lib
15592 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 ac_cv_search_inet_aton=$ac_res
15597 rm -f core conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext
15599 if ${ac_cv_search_inet_aton+:} false; then :
15600 break
15602 done
15603 if ${ac_cv_search_inet_aton+:} false; then :
15605 else
15606 ac_cv_search_inet_aton=no
15608 rm conftest.$ac_ext
15609 LIBS=$ac_func_search_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15612 $as_echo "$ac_cv_search_inet_aton" >&6; }
15613 ac_res=$ac_cv_search_inet_aton
15614 if test "$ac_res" != no; then :
15615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15620 for ac_func in \
15621 getaddrinfo \
15622 getnameinfo \
15623 getnetbyname \
15624 getprotobyname \
15625 getprotobynumber \
15626 getservbyport \
15627 inet_addr \
15628 inet_network \
15629 inet_ntop \
15630 inet_pton \
15631 sendmsg \
15632 socketpair \
15634 do :
15635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15638 cat >>confdefs.h <<_ACEOF
15639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15640 _ACEOF
15643 done
15646 ac_save_LIBS=$LIBS
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15648 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15649 if ${ac_cv_search_clock_gettime+:} false; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_func_search_save_LIBS=$LIBS
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15656 /* Override any GCC internal prototype to avoid an error.
15657 Use char because int might match the return type of a GCC
15658 builtin and then its argument prototype would still apply. */
15659 #ifdef __cplusplus
15660 extern "C"
15661 #endif
15662 char clock_gettime ();
15664 main ()
15666 return clock_gettime ();
15668 return 0;
15670 _ACEOF
15671 for ac_lib in '' rt; do
15672 if test -z "$ac_lib"; then
15673 ac_res="none required"
15674 else
15675 ac_res=-l$ac_lib
15676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15678 if ac_fn_c_try_link "$LINENO"; then :
15679 ac_cv_search_clock_gettime=$ac_res
15681 rm -f core conftest.err conftest.$ac_objext \
15682 conftest$ac_exeext
15683 if ${ac_cv_search_clock_gettime+:} false; then :
15684 break
15686 done
15687 if ${ac_cv_search_clock_gettime+:} false; then :
15689 else
15690 ac_cv_search_clock_gettime=no
15692 rm conftest.$ac_ext
15693 LIBS=$ac_func_search_save_LIBS
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15696 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15697 ac_res=$ac_cv_search_clock_gettime
15698 if test "$ac_res" != no; then :
15699 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15701 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15703 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15707 LIBS=$ac_save_LIBS
15709 LDAP_LIBS=""
15711 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15712 then
15713 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15715 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15717 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15718 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15719 $as_echo_n "(cached) " >&6
15720 else
15721 ac_check_lib_save_LIBS=$LIBS
15722 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 #ifdef __cplusplus
15730 extern "C"
15731 #endif
15732 char ldap_initialize ();
15734 main ()
15736 return ldap_initialize ();
15738 return 0;
15740 _ACEOF
15741 if ac_fn_c_try_link "$LINENO"; then :
15742 ac_cv_lib_ldap_r_ldap_initialize=yes
15743 else
15744 ac_cv_lib_ldap_r_ldap_initialize=no
15746 rm -f core conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15748 LIBS=$ac_check_lib_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15751 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15752 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15754 $as_echo_n "checking for ber_init in -llber... " >&6; }
15755 if ${ac_cv_lib_lber_ber_init+:} false; then :
15756 $as_echo_n "(cached) " >&6
15757 else
15758 ac_check_lib_save_LIBS=$LIBS
15759 LIBS="-llber $PTHREAD_LIBS $LIBS"
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15766 #ifdef __cplusplus
15767 extern "C"
15768 #endif
15769 char ber_init ();
15771 main ()
15773 return ber_init ();
15775 return 0;
15777 _ACEOF
15778 if ac_fn_c_try_link "$LINENO"; then :
15779 ac_cv_lib_lber_ber_init=yes
15780 else
15781 ac_cv_lib_lber_ber_init=no
15783 rm -f core conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 LIBS=$ac_check_lib_save_LIBS
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15788 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15789 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15791 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15793 LDAP_LIBS="-lldap_r -llber"
15800 ac_wine_check_funcs_save_LIBS="$LIBS"
15801 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15802 for ac_func in \
15803 ldap_count_references \
15804 ldap_first_reference \
15805 ldap_next_reference \
15806 ldap_parse_reference \
15807 ldap_parse_sort_control \
15808 ldap_parse_sortresponse_control \
15809 ldap_parse_vlv_control \
15810 ldap_parse_vlvresponse_control
15811 do :
15812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15817 _ACEOF
15820 done
15822 LIBS="$ac_wine_check_funcs_save_LIBS"
15824 if test "x$LDAP_LIBS" = "x"; then :
15825 case "x$with_ldap" in
15826 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15827 xno) ;;
15828 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15829 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15830 esac
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15835 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15836 if ${wine_cv_one_arg_mkdir+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #include <sys/stat.h>
15843 main ()
15845 mkdir("foo");
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_compile "$LINENO"; then :
15851 wine_cv_one_arg_mkdir=yes
15852 else
15853 wine_cv_one_arg_mkdir=no
15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15858 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15859 if test "$wine_cv_one_arg_mkdir" = "yes"
15860 then
15862 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15867 $as_echo_n "checking for sched_setaffinity... " >&6; }
15868 if ${wine_cv_have_sched_setaffinity+:} false; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE
15874 #include <sched.h>
15876 main ()
15878 sched_setaffinity(0, 0, 0);
15880 return 0;
15882 _ACEOF
15883 if ac_fn_c_try_link "$LINENO"; then :
15884 wine_cv_have_sched_setaffinity=yes
15885 else
15886 wine_cv_have_sched_setaffinity=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15892 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15893 if test "$wine_cv_have_sched_setaffinity" = "yes"
15894 then
15896 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15901 $as_echo_n "checking for fallocate... " >&6; }
15902 if ${wine_cv_have_fallocate+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #define _GNU_SOURCE
15908 #include <fcntl.h>
15910 main ()
15912 fallocate(-1, 0, 0, 0);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 wine_cv_have_fallocate=yes
15919 else
15920 wine_cv_have_fallocate=no
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15926 $as_echo "$wine_cv_have_fallocate" >&6; }
15927 if test "$wine_cv_have_fallocate" = "yes"
15928 then
15930 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15936 $as_echo_n "checking for inline... " >&6; }
15937 if ${ac_cv_c_inline+:} false; then :
15938 $as_echo_n "(cached) " >&6
15939 else
15940 ac_cv_c_inline=no
15941 for ac_kw in inline __inline__ __inline; do
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15944 #ifndef __cplusplus
15945 typedef int foo_t;
15946 static $ac_kw foo_t static_foo () {return 0; }
15947 $ac_kw foo_t foo () {return 0; }
15948 #endif
15950 _ACEOF
15951 if ac_fn_c_try_compile "$LINENO"; then :
15952 ac_cv_c_inline=$ac_kw
15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15955 test "$ac_cv_c_inline" != no && break
15956 done
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15960 $as_echo "$ac_cv_c_inline" >&6; }
15962 case $ac_cv_c_inline in
15963 inline | yes) ;;
15965 case $ac_cv_c_inline in
15966 no) ac_val=;;
15967 *) ac_val=$ac_cv_c_inline;;
15968 esac
15969 cat >>confdefs.h <<_ACEOF
15970 #ifndef __cplusplus
15971 #define inline $ac_val
15972 #endif
15973 _ACEOF
15975 esac
15977 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15978 if test "x$ac_cv_type_mode_t" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_MODE_T 1
15982 _ACEOF
15986 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_off_t" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_OFF_T 1
15991 _ACEOF
15995 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15996 if test "x$ac_cv_type_pid_t" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_PID_T 1
16000 _ACEOF
16004 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16005 if test "x$ac_cv_type_size_t" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_SIZE_T 1
16009 _ACEOF
16013 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16014 if test "x$ac_cv_type_ssize_t" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_SSIZE_T 1
16018 _ACEOF
16022 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16023 if test "x$ac_cv_type_long_long" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_LONG_LONG 1
16027 _ACEOF
16031 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16032 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_FSBLKCNT_T 1
16036 _ACEOF
16040 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16041 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_FSFILCNT_T 1
16045 _ACEOF
16050 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16051 #include <signal.h>
16053 if test "x$ac_cv_type_sigset_t" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_SIGSET_T 1
16057 _ACEOF
16062 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16064 if test "x$ac_cv_type_request_sense" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_REQUEST_SENSE 1
16068 _ACEOF
16074 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16075 #ifdef HAVE_SYS_SOCKET_H
16076 #include <sys/socket.h>
16077 #endif
16078 #ifdef HAVE_SYS_SOCKETVAR_H
16079 #include <sys/socketvar.h>
16080 #endif
16081 #ifdef HAVE_NET_ROUTE_H
16082 #include <net/route.h>
16083 #endif
16084 #ifdef HAVE_NETINET_IN_H
16085 #include <netinet/in.h>
16086 #endif
16087 #ifdef HAVE_NETINET_IN_SYSTM_H
16088 #include <netinet/in_systm.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IP_H
16091 #include <netinet/ip.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IN_PCB_H
16094 #include <netinet/in_pcb.h>
16095 #endif
16097 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_XINPGEN 1
16101 _ACEOF
16107 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16108 #include <link.h>
16109 #endif
16110 #ifdef HAVE_SYS_LINK_H
16111 #include <sys/link.h>
16112 #endif
16114 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_R_DEBUG 1
16118 _ACEOF
16122 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16123 #include <link.h>
16124 #endif
16125 #ifdef HAVE_SYS_LINK_H
16126 #include <sys/link.h>
16127 #endif
16129 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_STRUCT_LINK_MAP 1
16133 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16140 #include <linux/input.h>
16141 #endif
16143 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16147 _ACEOF
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16154 $as_echo_n "checking for sigaddset... " >&6; }
16155 if ${wine_cv_have_sigaddset+:} false; then :
16156 $as_echo_n "(cached) " >&6
16157 else
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <signal.h>
16162 main ()
16164 sigset_t set; sigaddset(&set,SIGTERM);
16166 return 0;
16168 _ACEOF
16169 if ac_fn_c_try_link "$LINENO"; then :
16170 wine_cv_have_sigaddset=yes
16171 else
16172 wine_cv_have_sigaddset=no
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext conftest.$ac_ext
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16178 $as_echo "$wine_cv_have_sigaddset" >&6; }
16179 if test "$wine_cv_have_sigaddset" = "yes"
16180 then
16182 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16188 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16189 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16190 $as_echo_n "(cached) " >&6
16191 else
16192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16193 /* end confdefs.h. */
16194 #include <netdb.h>
16196 main ()
16199 char *name=0;
16200 struct hostent he;
16201 struct hostent *result;
16202 char *buf=0;
16203 int bufsize=0;
16204 int errnr;
16205 char *addr=0;
16206 int addrlen=0;
16207 int addrtype=0;
16208 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16209 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16212 return 0;
16214 _ACEOF
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 wine_cv_linux_gethostbyname_r_6=yes
16217 else
16218 wine_cv_linux_gethostbyname_r_6=no
16221 rm -f core conftest.err conftest.$ac_objext \
16222 conftest$ac_exeext conftest.$ac_ext
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16226 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16227 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16228 then
16230 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16234 if test "$ac_cv_header_linux_joystick_h" = "yes"
16235 then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16237 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16238 if ${wine_cv_linux_joystick_22_api+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16244 #include <sys/ioctl.h>
16245 #include <sys/types.h>
16246 #include <linux/joystick.h>
16248 struct js_event blub;
16249 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16250 #error "no 2.2 header"
16251 #endif
16254 main ()
16256 /*empty*/
16258 return 0;
16260 _ACEOF
16261 if ac_fn_c_try_compile "$LINENO"; then :
16262 wine_cv_linux_joystick_22_api=yes
16263 else
16264 wine_cv_linux_joystick_22_api=no
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16270 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16271 if test "$wine_cv_linux_joystick_22_api" = "yes"
16272 then
16274 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16280 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16281 #ifdef HAVE_SYS_PARAM_H
16282 # include <sys/param.h>
16283 #endif
16284 #ifdef HAVE_SYS_MOUNT_H
16285 # include <sys/mount.h>
16286 #endif
16287 #ifdef HAVE_SYS_VFS_H
16288 # include <sys/vfs.h>
16289 #endif
16290 #ifdef HAVE_SYS_STATFS_H
16291 # include <sys/statfs.h>
16292 #endif
16294 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_STATFS_F_BFREE 1
16298 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#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_bavail" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#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_frsize" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16342 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#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_ffree" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STATFS_F_FFREE 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#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_favail" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16386 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#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_namelen" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16408 _ACEOF
16414 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16415 #include <sys/statvfs.h>
16416 #endif
16418 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16422 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16429 #include <dirent.h>
16430 #endif
16432 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16434 cat >>confdefs.h <<_ACEOF
16435 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16436 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_SOCKET_H
16444 # include <sys/socket.h>
16445 #endif
16446 #ifdef HAVE_SYS_UN_H
16447 # include <sys/un.h>
16448 #endif
16450 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16452 cat >>confdefs.h <<_ACEOF
16453 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16454 _ACEOF
16458 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16459 #ifdef HAVE_SYS_SOCKET_H
16460 # include <sys/socket.h>
16461 #endif
16462 #ifdef HAVE_SYS_UN_H
16463 # include <sys/un.h>
16464 #endif
16466 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16468 cat >>confdefs.h <<_ACEOF
16469 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16470 _ACEOF
16474 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16475 #ifdef HAVE_SYS_SOCKET_H
16476 # include <sys/socket.h>
16477 #endif
16478 #ifdef HAVE_SYS_UN_H
16479 # include <sys/un.h>
16480 #endif
16482 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16486 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16493 #ifdef HAVE_SCSI_SG_H
16494 #include <scsi/sg.h>
16495 #endif
16497 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_SCSIREQ_T_CMD 1
16501 _ACEOF
16505 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>
16506 #ifdef HAVE_SCSI_SG_H
16507 #include <scsi/sg.h>
16508 #endif
16510 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16512 cat >>confdefs.h <<_ACEOF
16513 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16514 _ACEOF
16520 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16522 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_SIGINFO_T_SI_FD 1
16526 _ACEOF
16532 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16533 #ifdef HAVE_SYS_MTIO_H
16534 #include <sys/mtio.h>
16535 #endif
16537 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16539 cat >>confdefs.h <<_ACEOF
16540 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16541 _ACEOF
16545 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16546 #ifdef HAVE_SYS_MTIO_H
16547 #include <sys/mtio.h>
16548 #endif
16550 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16554 _ACEOF
16558 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16559 #ifdef HAVE_SYS_MTIO_H
16560 #include <sys/mtio.h>
16561 #endif
16563 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16567 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16574 #include <getopt.h>
16575 #endif
16577 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_OPTION_NAME 1
16581 _ACEOF
16587 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16588 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16592 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16597 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_STAT_ST_MTIM 1
16601 _ACEOF
16605 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16606 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16610 _ACEOF
16614 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16615 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_STAT_ST_CTIM 1
16619 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16624 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16626 cat >>confdefs.h <<_ACEOF
16627 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16628 _ACEOF
16632 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16633 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16635 cat >>confdefs.h <<_ACEOF
16636 #define HAVE_STRUCT_STAT_ST_ATIM 1
16637 _ACEOF
16641 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16642 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16646 _ACEOF
16650 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16651 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16653 cat >>confdefs.h <<_ACEOF
16654 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16655 _ACEOF
16659 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16660 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16664 _ACEOF
16668 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16669 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16673 _ACEOF
16677 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16678 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16682 _ACEOF
16686 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16687 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16691 _ACEOF
16697 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
16698 #include <sys/types.h>
16699 #endif
16700 #ifdef HAVE_NETINET_IN_H
16701 #include <netinet/in.h>
16702 #endif
16704 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16708 _ACEOF
16714 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16715 #include <sys/types.h>
16716 #endif
16717 #ifdef HAVE_NETINET_IN_H
16718 #include <netinet/in.h>
16719 #endif
16720 #ifdef HAVE_RESOLV_H
16721 #include <resolv.h>
16722 #endif
16724 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_STRUCT___RES_STATE 1
16728 _ACEOF
16734 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
16735 #include <resolv.h>
16736 #endif
16738 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16742 _ACEOF
16748 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16749 #include <sys/types.h>
16750 #endif
16751 #ifdef HAVE_NETINET_IN_H
16752 # include <netinet/in.h>
16753 #endif
16754 #ifdef HAVE_ARPA_NAMESER_H
16755 # include <arpa/nameser.h>
16756 #endif
16758 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16760 cat >>confdefs.h <<_ACEOF
16761 #define HAVE_NS_MSG__MSG_PTR 1
16762 _ACEOF
16768 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16769 #include <sys/types.h>
16770 #endif
16771 #ifdef HAVE_NETINET_IN_H
16772 #include <netinet/in.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IP_H
16775 #include <netinet/ip.h>
16776 #endif
16777 #ifdef HAVE_NETINET_IP_ICMP_H
16778 #include <netinet/ip_icmp.h>
16779 #endif
16780 #ifdef HAVE_NETINET_ICMP_VAR_H
16781 #include <netinet/icmp_var.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16788 _ACEOF
16794 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16795 #include <sys/types.h>
16796 #endif
16797 #ifdef HAVE_ALIAS_H
16798 #include <alias.h>
16799 #endif
16800 #ifdef HAVE_SYS_SOCKET_H
16801 #include <sys/socket.h>
16802 #endif
16803 #ifdef HAVE_SYS_SOCKETVAR_H
16804 #include <sys/socketvar.h>
16805 #endif
16806 #ifdef HAVE_SYS_TIMEOUT_H
16807 #include <sys/timeout.h>
16808 #endif
16809 #ifdef HAVE_NETINET_IN_H
16810 #include <netinet/in.h>
16811 #endif
16812 #ifdef HAVE_NETINET_IN_SYSTM_H
16813 #include <netinet/in_systm.h>
16814 #endif
16815 #ifdef HAVE_NETINET_IP_H
16816 #include <netinet/ip.h>
16817 #endif
16818 #ifdef HAVE_NETINET_IP_VAR_H
16819 #include <netinet/ip_var.h>
16820 #endif
16821 #ifdef HAVE_NETINET_IP_ICMP_H
16822 #include <netinet/ip_icmp.h>
16823 #endif
16824 #ifdef HAVE_NETINET_ICMP_VAR_H
16825 #include <netinet/icmp_var.h>
16826 #endif
16828 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16830 cat >>confdefs.h <<_ACEOF
16831 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16832 _ACEOF
16838 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16839 #include <sys/types.h>
16840 #endif
16841 #ifdef HAVE_SYS_SOCKETVAR_H
16842 #include <sys/socketvar.h>
16843 #endif
16844 #ifdef HAVE_NETINET_IN_H
16845 #include <netinet/in.h>
16846 #endif
16847 #ifdef HAVE_NETINET_IP_VAR_H
16848 #include <netinet/ip_var.h>
16849 #endif
16851 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16855 _ACEOF
16861 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
16862 #include <netinet/ip_var.h>
16863 #endif
16865 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16867 cat >>confdefs.h <<_ACEOF
16868 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16869 _ACEOF
16875 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16876 #include <sys/types.h>
16877 #endif
16878 #ifdef HAVE_SYS_SOCKETVAR_H
16879 #include <sys/socketvar.h>
16880 #endif
16881 #ifdef HAVE_NETINET_IN_H
16882 #include <netinet/in.h>
16883 #endif
16884 #ifdef HAVE_NETINET_TCP_H
16885 #include <netinet/tcp.h>
16886 #endif
16887 #ifdef HAVE_NETINET_TCP_VAR_H
16888 #include <netinet/tcp_var.h>
16889 #endif
16891 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16893 cat >>confdefs.h <<_ACEOF
16894 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16895 _ACEOF
16901 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
16902 #include <netinet/tcp_var.h>
16903 #endif
16905 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16909 _ACEOF
16915 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16916 #include <sys/types.h>
16917 #endif
16918 #ifdef HAVE_NETINET_IN_H
16919 #include <netinet/in.h>
16920 #endif
16921 #ifdef HAVE_NETINET_IP_VAR_H
16922 #include <netinet/ip_var.h>
16923 #endif
16924 #ifdef HAVE_NETINET_UDP_H
16925 #include <netinet/udp.h>
16926 #endif
16927 #ifdef HAVE_NETINET_UDP_VAR_H
16928 #include <netinet/udp_var.h>
16929 #endif
16931 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16935 _ACEOF
16941 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16942 #include <sys/types.h>
16943 #endif
16944 #ifdef HAVE_NET_IF_H
16945 # include <net/if.h>
16946 #endif
16948 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16952 _ACEOF
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16959 $as_echo_n "checking for timezone variable... " >&6; }
16960 if ${ac_cv_have_timezone+:} false; then :
16961 $as_echo_n "(cached) " >&6
16962 else
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 #include <time.h>
16967 main ()
16969 timezone = 1
16971 return 0;
16973 _ACEOF
16974 if ac_fn_c_try_link "$LINENO"; then :
16975 ac_cv_have_timezone="yes"
16976 else
16977 ac_cv_have_timezone="no"
16979 rm -f core conftest.err conftest.$ac_objext \
16980 conftest$ac_exeext conftest.$ac_ext
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16983 $as_echo "$ac_cv_have_timezone" >&6; }
16984 if test "$ac_cv_have_timezone" = "yes"
16985 then
16987 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16991 $as_echo_n "checking for daylight variable... " >&6; }
16992 if ${ac_cv_have_daylight+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #include <time.h>
16999 main ()
17001 daylight = 1
17003 return 0;
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"; then :
17007 ac_cv_have_daylight="yes"
17008 else
17009 ac_cv_have_daylight="no"
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17015 $as_echo "$ac_cv_have_daylight" >&6; }
17016 if test "$ac_cv_have_daylight" = "yes"
17017 then
17019 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17023 ac_save_LIBS="$LIBS"
17024 LIBS="$LIBS -lm"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17026 $as_echo_n "checking for isfinite... " >&6; }
17027 if ${ac_cv_have_isfinite+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #define _GNU_SOURCE
17033 #include <math.h>
17035 main ()
17037 float f = 0.0; return isfinite(f)
17039 return 0;
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_have_isfinite="yes"
17044 else
17045 ac_cv_have_isfinite="no"
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17051 $as_echo "$ac_cv_have_isfinite" >&6; }
17052 if test "$ac_cv_have_isfinite" = "yes"
17053 then
17055 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17060 $as_echo_n "checking for isinf... " >&6; }
17061 if ${ac_cv_have_isinf+:} false; then :
17062 $as_echo_n "(cached) " >&6
17063 else
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <math.h>
17068 main ()
17070 float f = 0.0; return isinf(f)
17072 return 0;
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_have_isinf="yes"
17077 else
17078 ac_cv_have_isinf="no"
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17084 $as_echo "$ac_cv_have_isinf" >&6; }
17085 if test "$ac_cv_have_isinf" = "yes"
17086 then
17088 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17093 $as_echo_n "checking for isnan... " >&6; }
17094 if ${ac_cv_have_isnan+:} false; then :
17095 $as_echo_n "(cached) " >&6
17096 else
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099 #include <math.h>
17101 main ()
17103 float f = 0.0; return isnan(f)
17105 return 0;
17107 _ACEOF
17108 if ac_fn_c_try_link "$LINENO"; then :
17109 ac_cv_have_isnan="yes"
17110 else
17111 ac_cv_have_isnan="no"
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17117 $as_echo "$ac_cv_have_isnan" >&6; }
17118 if test "$ac_cv_have_isnan" = "yes"
17119 then
17121 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17125 for ac_func in \
17126 asinh \
17127 asinhf \
17128 cbrt \
17129 cbrtf \
17130 erf \
17131 erff \
17132 exp2 \
17133 exp2f \
17134 lgamma \
17135 lgammaf \
17136 llrint \
17137 llrintf \
17138 llround \
17139 llroundf \
17140 log2 \
17141 log2f \
17142 lrint \
17143 lrintf \
17144 lround \
17145 lroundf \
17146 nearbyint \
17147 nearbyintf \
17148 powl \
17149 remainder \
17150 remainderf \
17151 rint \
17152 rintf \
17153 round \
17154 roundf \
17155 trunc \
17156 truncf
17158 do :
17159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17162 cat >>confdefs.h <<_ACEOF
17163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17164 _ACEOF
17167 done
17169 LIBS="$ac_save_LIBS"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17172 $as_echo_n "checking for __builtin_clz... " >&6; }
17173 if ${ac_cv_have___builtin_clz+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17180 main ()
17182 return __builtin_clz(1)
17184 return 0;
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_have___builtin_clz="yes"
17189 else
17190 ac_cv_have___builtin_clz="no"
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17196 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17197 if test "$ac_cv_have___builtin_clz" = "yes"
17198 then
17200 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17205 $as_echo_n "checking for __builtin_popcount... " >&6; }
17206 if ${ac_cv_have___builtin_popcount+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17210 /* end confdefs.h. */
17213 main ()
17215 return __builtin_popcount(1)
17217 return 0;
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"; then :
17221 ac_cv_have___builtin_popcount="yes"
17222 else
17223 ac_cv_have___builtin_popcount="no"
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17229 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17230 if test "$ac_cv_have___builtin_popcount" = "yes"
17231 then
17233 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17238 case $host_cpu in
17239 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17240 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17241 if ${ac_cv_cpp_def___i386__+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 #ifndef __i386__
17248 #endif
17249 _ACEOF
17250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17251 $EGREP "yes" >/dev/null 2>&1; then :
17252 ac_cv_cpp_def___i386__=yes
17253 else
17254 ac_cv_cpp_def___i386__=no
17256 rm -f conftest*
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17260 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17261 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17262 CFLAGS="$CFLAGS -D__i386__"
17263 LINTFLAGS="$LINTFLAGS -D__i386__"
17264 fi ;;
17265 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17266 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17267 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #ifndef __x86_64__
17274 #endif
17275 _ACEOF
17276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17277 $EGREP "yes" >/dev/null 2>&1; then :
17278 ac_cv_cpp_def___x86_64__=yes
17279 else
17280 ac_cv_cpp_def___x86_64__=no
17282 rm -f conftest*
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17286 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17287 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17288 CFLAGS="$CFLAGS -D__x86_64__"
17289 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17290 fi ;;
17291 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17292 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17293 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #ifndef __sparc64__
17300 #endif
17301 _ACEOF
17302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17303 $EGREP "yes" >/dev/null 2>&1; then :
17304 ac_cv_cpp_def___sparc64__=yes
17305 else
17306 ac_cv_cpp_def___sparc64__=no
17308 rm -f conftest*
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17312 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17313 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17314 CFLAGS="$CFLAGS -D__sparc64__"
17315 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17316 fi ;;
17317 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17318 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17319 if ${ac_cv_cpp_def___sparc__+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 #ifndef __sparc__
17326 #endif
17327 _ACEOF
17328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17329 $EGREP "yes" >/dev/null 2>&1; then :
17330 ac_cv_cpp_def___sparc__=yes
17331 else
17332 ac_cv_cpp_def___sparc__=no
17334 rm -f conftest*
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17338 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17339 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17340 CFLAGS="$CFLAGS -D__sparc__"
17341 LINTFLAGS="$LINTFLAGS -D__sparc__"
17342 fi ;;
17343 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17344 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17345 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #ifndef __powerpc64__
17352 #endif
17353 _ACEOF
17354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17355 $EGREP "yes" >/dev/null 2>&1; then :
17356 ac_cv_cpp_def___powerpc64__=yes
17357 else
17358 ac_cv_cpp_def___powerpc64__=no
17360 rm -f conftest*
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17364 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17365 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17366 CFLAGS="$CFLAGS -D__powerpc64__"
17367 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17368 fi ;;
17369 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17370 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17371 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __powerpc__
17378 #endif
17379 _ACEOF
17380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17381 $EGREP "yes" >/dev/null 2>&1; then :
17382 ac_cv_cpp_def___powerpc__=yes
17383 else
17384 ac_cv_cpp_def___powerpc__=no
17386 rm -f conftest*
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17390 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17391 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17392 CFLAGS="$CFLAGS -D__powerpc__"
17393 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17394 fi ;;
17395 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17396 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17397 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #ifndef __aarch64__
17404 #endif
17405 _ACEOF
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev/null 2>&1; then :
17408 ac_cv_cpp_def___aarch64__=yes
17409 else
17410 ac_cv_cpp_def___aarch64__=no
17412 rm -f conftest*
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17416 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17417 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17418 CFLAGS="$CFLAGS -D__aarch64__"
17419 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17420 fi ;;
17421 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17422 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17423 if ${ac_cv_cpp_def___arm__+:} false; then :
17424 $as_echo_n "(cached) " >&6
17425 else
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #ifndef __arm__
17430 #endif
17431 _ACEOF
17432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17433 $EGREP "yes" >/dev/null 2>&1; then :
17434 ac_cv_cpp_def___arm__=yes
17435 else
17436 ac_cv_cpp_def___arm__=no
17438 rm -f conftest*
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17442 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17443 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17444 CFLAGS="$CFLAGS -D__arm__"
17445 LINTFLAGS="$LINTFLAGS -D__arm__"
17446 fi ;;
17447 esac
17449 case $host_vendor in
17450 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17451 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17452 if ${ac_cv_cpp_def___sun__+:} false; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #ifndef __sun__
17459 #endif
17460 _ACEOF
17461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17462 $EGREP "yes" >/dev/null 2>&1; then :
17463 ac_cv_cpp_def___sun__=yes
17464 else
17465 ac_cv_cpp_def___sun__=no
17467 rm -f conftest*
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17471 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17472 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17473 CFLAGS="$CFLAGS -D__sun__"
17474 LINTFLAGS="$LINTFLAGS -D__sun__"
17475 fi ;;
17476 esac
17482 ac_config_commands="$ac_config_commands include/stamp-h"
17484 $as_echo_n "creating Makefile rules..." >&6
17486 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17487 SOCKET_LIBS = $SOCKET_LIBS
17488 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17489 IOKIT_LIBS = $IOKIT_LIBS
17490 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17491 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17492 CORESERVICES_LIBS = $CORESERVICES_LIBS
17493 APPKIT_LIBS = $APPKIT_LIBS
17494 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17495 SECURITY_LIBS = $SECURITY_LIBS
17496 COREAUDIO_LIBS = $COREAUDIO_LIBS
17497 OPENAL_LIBS = $OPENAL_LIBS
17498 OPENCL_LIBS = $OPENCL_LIBS
17499 QUICKTIME_LIBS = $QUICKTIME_LIBS
17500 CARBON_LIBS = $CARBON_LIBS
17501 PTHREAD_LIBS = $PTHREAD_LIBS
17502 X_CFLAGS = $X_CFLAGS
17503 X_PRE_LIBS = $X_PRE_LIBS
17504 X_LIBS = $X_LIBS
17505 X_EXTRA_LIBS = $X_EXTRA_LIBS
17506 PCAP_LIBS = $PCAP_LIBS
17507 XML2_CFLAGS = $XML2_CFLAGS
17508 XML2_LIBS = $XML2_LIBS
17509 XSLT_CFLAGS = $XSLT_CFLAGS
17510 XSLT_LIBS = $XSLT_LIBS
17511 DBUS_CFLAGS = $DBUS_CFLAGS
17512 DBUS_LIBS = $DBUS_LIBS
17513 HAL_CFLAGS = $HAL_CFLAGS
17514 HAL_LIBS = $HAL_LIBS
17515 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17516 GNUTLS_LIBS = $GNUTLS_LIBS
17517 SANE_CFLAGS = $SANE_CFLAGS
17518 SANE_LIBS = $SANE_LIBS
17519 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17520 GPHOTO2_LIBS = $GPHOTO2_LIBS
17521 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17522 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17523 RESOLV_LIBS = $RESOLV_LIBS
17524 LCMS2_CFLAGS = $LCMS2_CFLAGS
17525 LCMS2_LIBS = $LCMS2_LIBS
17526 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17527 FREETYPE_LIBS = $FREETYPE_LIBS
17528 Z_LIBS = $Z_LIBS
17529 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17530 PULSE_CFLAGS = $PULSE_CFLAGS
17531 PULSE_LIBS = $PULSE_LIBS
17532 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17533 GSTREAMER_LIBS = $GSTREAMER_LIBS
17534 ALSA_LIBS = $ALSA_LIBS
17535 OSS4_CFLAGS = $OSS4_CFLAGS
17536 UDEV_CFLAGS = $UDEV_CFLAGS
17537 UDEV_LIBS = $UDEV_LIBS
17538 CAPI20_CFLAGS = $CAPI20_CFLAGS
17539 CAPI20_LIBS = $CAPI20_LIBS
17540 CUPS_CFLAGS = $CUPS_CFLAGS
17541 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17542 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17543 JPEG_CFLAGS = $JPEG_CFLAGS
17544 JPEG_LIBS = $JPEG_LIBS
17545 PNG_CFLAGS = $PNG_CFLAGS
17546 PNG_LIBS = $PNG_LIBS
17547 TIFF_CFLAGS = $TIFF_CFLAGS
17548 TIFF_LIBS = $TIFF_LIBS
17549 MPG123_CFLAGS = $MPG123_CFLAGS
17550 MPG123_LIBS = $MPG123_LIBS
17551 KSTAT_LIBS = $KSTAT_LIBS
17552 PROCSTAT_LIBS = $PROCSTAT_LIBS
17553 NETAPI_CFLAGS = $NETAPI_CFLAGS
17554 NETAPI_LIBS = $NETAPI_LIBS
17555 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17556 DL_LIBS = $DL_LIBS
17557 POLL_LIBS = $POLL_LIBS
17558 RT_LIBS = $RT_LIBS
17559 LDAP_LIBS = $LDAP_LIBS
17564 wine_fn_append_rule "
17565 # Rules automatically generated by configure
17567 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17569 .INIT: Makefile
17570 .MAKEFILEDEPS:
17571 all: Makefile
17572 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17573 @./config.status Make.tmp Makefile
17574 depend: \$(MAKEDEP) dummy
17575 \$(MAKEDEP)"
17577 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17578 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17580 if test "x$enable_fonts" != xno; then
17581 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17582 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17583 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17584 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17585 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17586 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17588 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17589 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17590 ac_config_links="$ac_config_links wine:tools/winewrapper"
17591 wine_fn_config_symlink wine
17592 if test "x$enable_win64" != xno; then
17593 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17594 wine_fn_config_symlink wine64
17597 wine_fn_config_dll acledit enable_acledit
17598 wine_fn_config_dll aclui enable_aclui implib
17599 wine_fn_config_dll activeds enable_activeds implib
17600 wine_fn_config_dll actxprxy enable_actxprxy clean
17601 wine_fn_config_lib adsiid
17602 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17603 wine_fn_config_test dlls/advapi32/tests advapi32_test
17604 wine_fn_config_dll advpack enable_advpack implib
17605 wine_fn_config_test dlls/advpack/tests advpack_test
17606 wine_fn_config_dll amstream enable_amstream clean
17607 wine_fn_config_test dlls/amstream/tests amstream_test
17608 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17609 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17612 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17617 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17629 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17634 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17635 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17636 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17642 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17644 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17646 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17652 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17653 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17655 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17656 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17657 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17659 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17664 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17671 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17675 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17676 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17684 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17689 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17693 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17695 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17696 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17698 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17709 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17710 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17716 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17717 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17718 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17719 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17720 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17721 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17722 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17723 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17724 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17725 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17726 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17727 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17731 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17732 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17733 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17734 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17735 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17736 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17737 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17738 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17739 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17740 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17741 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17742 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17743 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17744 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17745 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17746 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17747 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17748 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17749 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17750 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17751 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17752 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17753 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17754 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17755 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17756 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17757 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17758 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17759 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17760 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17761 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17762 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17763 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17764 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17765 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17766 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17767 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17768 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17769 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17770 wine_fn_config_dll apphelp enable_apphelp
17771 wine_fn_config_test dlls/apphelp/tests apphelp_test
17772 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17773 wine_fn_config_dll atl enable_atl clean,implib
17774 wine_fn_config_test dlls/atl/tests atl_test
17775 wine_fn_config_dll atl100 enable_atl100 clean,implib
17776 wine_fn_config_test dlls/atl100/tests atl100_test
17777 wine_fn_config_dll atl110 enable_atl110 clean
17778 wine_fn_config_dll atl80 enable_atl80 clean,implib
17779 wine_fn_config_test dlls/atl80/tests atl80_test
17780 wine_fn_config_dll atl90 enable_atl90 clean
17781 wine_fn_config_dll authz enable_authz
17782 wine_fn_config_dll avicap32 enable_avicap32 implib
17783 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17784 wine_fn_config_test dlls/avifil32/tests avifil32_test
17785 wine_fn_config_dll avifile.dll16 enable_win16
17786 wine_fn_config_dll avrt enable_avrt implib
17787 wine_fn_config_dll bcrypt enable_bcrypt implib
17788 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17789 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17790 wine_fn_config_dll browseui enable_browseui clean
17791 wine_fn_config_test dlls/browseui/tests browseui_test
17792 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17793 wine_fn_config_dll cabinet enable_cabinet implib
17794 wine_fn_config_test dlls/cabinet/tests cabinet_test
17795 wine_fn_config_dll capi2032 enable_capi2032 implib
17796 wine_fn_config_dll cards enable_cards implib
17797 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17798 wine_fn_config_dll clusapi enable_clusapi implib
17799 wine_fn_config_dll combase enable_combase
17800 wine_fn_config_test dlls/combase/tests combase_test
17801 wine_fn_config_dll comcat enable_comcat
17802 wine_fn_config_test dlls/comcat/tests comcat_test
17803 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17804 wine_fn_config_test dlls/comctl32/tests comctl32_test
17805 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17806 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17807 wine_fn_config_dll comm.drv16 enable_win16
17808 wine_fn_config_dll commdlg.dll16 enable_win16
17809 wine_fn_config_dll compobj.dll16 enable_win16
17810 wine_fn_config_dll compstui enable_compstui implib
17811 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17812 wine_fn_config_dll concrt140 enable_concrt140
17813 wine_fn_config_dll connect enable_connect
17814 wine_fn_config_dll credui enable_credui clean,implib
17815 wine_fn_config_test dlls/credui/tests credui_test
17816 wine_fn_config_dll crtdll enable_crtdll
17817 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17818 wine_fn_config_test dlls/crypt32/tests crypt32_test
17819 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17820 wine_fn_config_dll cryptdll enable_cryptdll implib
17821 wine_fn_config_dll cryptext enable_cryptext
17822 wine_fn_config_dll cryptnet enable_cryptnet implib
17823 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17824 wine_fn_config_dll cryptui enable_cryptui clean,implib
17825 wine_fn_config_test dlls/cryptui/tests cryptui_test
17826 wine_fn_config_dll ctapi32 enable_ctapi32
17827 wine_fn_config_dll ctl3d.dll16 enable_win16
17828 wine_fn_config_dll ctl3d32 enable_ctl3d32
17829 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17830 wine_fn_config_dll d2d1 enable_d2d1 implib
17831 wine_fn_config_test dlls/d2d1/tests d2d1_test
17832 wine_fn_config_dll d3d10 enable_d3d10 implib
17833 wine_fn_config_test dlls/d3d10/tests d3d10_test
17834 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17835 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17836 wine_fn_config_dll d3d10core enable_d3d10core implib
17837 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17838 wine_fn_config_dll d3d11 enable_d3d11 implib
17839 wine_fn_config_test dlls/d3d11/tests d3d11_test
17840 wine_fn_config_dll d3d8 enable_d3d8 implib
17841 wine_fn_config_test dlls/d3d8/tests d3d8_test
17842 wine_fn_config_dll d3d9 enable_d3d9 implib
17843 wine_fn_config_test dlls/d3d9/tests d3d9_test
17844 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17845 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17846 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17847 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17848 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17849 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17850 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17851 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17852 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17853 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17854 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17855 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17856 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17857 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17858 wine_fn_config_dll d3dim enable_d3dim
17859 wine_fn_config_dll d3drm enable_d3drm implib
17860 wine_fn_config_test dlls/d3drm/tests d3drm_test
17861 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17862 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17863 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17864 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17865 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17866 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17867 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17868 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17869 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17870 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17871 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17872 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17873 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17874 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17875 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17876 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17877 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17878 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17879 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17880 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17881 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17882 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17883 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17884 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17885 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17886 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17887 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17888 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17889 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17890 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17891 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17892 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17893 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17894 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17895 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17896 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17897 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17898 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17899 wine_fn_config_dll davclnt enable_davclnt
17900 wine_fn_config_dll dbgeng enable_dbgeng implib
17901 wine_fn_config_dll dbghelp enable_dbghelp implib
17902 wine_fn_config_dll dciman32 enable_dciman32 implib
17903 wine_fn_config_dll ddeml.dll16 enable_win16
17904 wine_fn_config_dll ddraw enable_ddraw clean,implib
17905 wine_fn_config_test dlls/ddraw/tests ddraw_test
17906 wine_fn_config_dll ddrawex enable_ddrawex clean
17907 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17908 wine_fn_config_dll devenum enable_devenum clean
17909 wine_fn_config_test dlls/devenum/tests devenum_test
17910 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17911 wine_fn_config_dll difxapi enable_difxapi
17912 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17913 wine_fn_config_test dlls/dinput/tests dinput_test
17914 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17915 wine_fn_config_test dlls/dinput8/tests dinput8_test
17916 wine_fn_config_dll dispdib.dll16 enable_win16
17917 wine_fn_config_dll dispex enable_dispex clean
17918 wine_fn_config_test dlls/dispex/tests dispex_test
17919 wine_fn_config_dll display.drv16 enable_win16
17920 wine_fn_config_dll dmband enable_dmband clean
17921 wine_fn_config_test dlls/dmband/tests dmband_test
17922 wine_fn_config_dll dmcompos enable_dmcompos clean
17923 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17924 wine_fn_config_dll dmime enable_dmime clean
17925 wine_fn_config_test dlls/dmime/tests dmime_test
17926 wine_fn_config_dll dmloader enable_dmloader clean
17927 wine_fn_config_test dlls/dmloader/tests dmloader_test
17928 wine_fn_config_dll dmscript enable_dmscript clean
17929 wine_fn_config_test dlls/dmscript/tests dmscript_test
17930 wine_fn_config_dll dmstyle enable_dmstyle clean
17931 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17932 wine_fn_config_dll dmsynth enable_dmsynth clean
17933 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17934 wine_fn_config_dll dmusic enable_dmusic clean
17935 wine_fn_config_test dlls/dmusic/tests dmusic_test
17936 wine_fn_config_dll dmusic32 enable_dmusic32
17937 wine_fn_config_dll dnsapi enable_dnsapi implib
17938 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17939 wine_fn_config_dll dplay enable_dplay
17940 wine_fn_config_dll dplayx enable_dplayx clean,implib
17941 wine_fn_config_test dlls/dplayx/tests dplayx_test
17942 wine_fn_config_dll dpnaddr enable_dpnaddr
17943 wine_fn_config_dll dpnet enable_dpnet clean,implib
17944 wine_fn_config_test dlls/dpnet/tests dpnet_test
17945 wine_fn_config_dll dpnhpast enable_dpnhpast
17946 wine_fn_config_dll dpnlobby enable_dpnlobby
17947 wine_fn_config_dll dpvoice enable_dpvoice clean
17948 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17949 wine_fn_config_dll dpwsockx enable_dpwsockx
17950 wine_fn_config_dll drmclien enable_drmclien
17951 wine_fn_config_dll dsound enable_dsound clean,implib
17952 wine_fn_config_test dlls/dsound/tests dsound_test
17953 wine_fn_config_dll dssenh enable_dssenh
17954 wine_fn_config_test dlls/dssenh/tests dssenh_test
17955 wine_fn_config_dll dswave enable_dswave clean
17956 wine_fn_config_test dlls/dswave/tests dswave_test
17957 wine_fn_config_dll dwmapi enable_dwmapi implib
17958 wine_fn_config_dll dwrite enable_dwrite implib
17959 wine_fn_config_test dlls/dwrite/tests dwrite_test
17960 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17961 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17962 wine_fn_config_lib dxerr8
17963 wine_fn_config_lib dxerr9
17964 wine_fn_config_dll dxgi enable_dxgi implib
17965 wine_fn_config_test dlls/dxgi/tests dxgi_test
17966 wine_fn_config_lib dxguid
17967 wine_fn_config_dll dxva2 enable_dxva2
17968 wine_fn_config_dll esent enable_esent
17969 wine_fn_config_dll evr enable_evr
17970 wine_fn_config_dll explorerframe enable_explorerframe clean
17971 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17972 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17973 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17974 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17975 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17976 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17977 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17978 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17979 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17980 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17981 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17982 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17983 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17984 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17985 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17986 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
17987 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17988 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17989 wine_fn_config_dll faultrep enable_faultrep implib
17990 wine_fn_config_test dlls/faultrep/tests faultrep_test
17991 wine_fn_config_dll fltlib enable_fltlib
17992 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17993 wine_fn_config_dll fntcache enable_fntcache
17994 wine_fn_config_dll fontsub enable_fontsub
17995 wine_fn_config_dll fusion enable_fusion
17996 wine_fn_config_test dlls/fusion/tests fusion_test
17997 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17998 wine_fn_config_dll gameux enable_gameux clean
17999 wine_fn_config_test dlls/gameux/tests gameux_test
18000 wine_fn_config_dll gdi.exe16 enable_win16
18001 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18002 wine_fn_config_test dlls/gdi32/tests gdi32_test
18003 wine_fn_config_dll gdiplus enable_gdiplus implib
18004 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18005 wine_fn_config_dll glu32 enable_glu32 implib
18006 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18007 wine_fn_config_dll gpkcsp enable_gpkcsp
18008 wine_fn_config_dll hal enable_hal
18009 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18010 wine_fn_config_dll hid enable_hid implib
18011 wine_fn_config_test dlls/hid/tests hid_test
18012 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18013 wine_fn_config_dll hlink enable_hlink clean,implib
18014 wine_fn_config_test dlls/hlink/tests hlink_test
18015 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18016 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18017 wine_fn_config_dll httpapi enable_httpapi
18018 wine_fn_config_dll iccvid enable_iccvid clean
18019 wine_fn_config_dll icmp enable_icmp
18020 wine_fn_config_dll ieframe enable_ieframe clean,implib
18021 wine_fn_config_test dlls/ieframe/tests ieframe_test
18022 wine_fn_config_dll ifsmgr.vxd enable_win16
18023 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18024 wine_fn_config_dll imagehlp enable_imagehlp implib
18025 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18026 wine_fn_config_dll imm.dll16 enable_win16
18027 wine_fn_config_dll imm32 enable_imm32 implib
18028 wine_fn_config_test dlls/imm32/tests imm32_test
18029 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18030 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18031 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18032 wine_fn_config_dll inetmib1 enable_inetmib1
18033 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18034 wine_fn_config_dll infosoft enable_infosoft clean
18035 wine_fn_config_test dlls/infosoft/tests infosoft_test
18036 wine_fn_config_dll initpki enable_initpki
18037 wine_fn_config_dll inkobj enable_inkobj
18038 wine_fn_config_dll inseng enable_inseng clean
18039 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18040 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18041 wine_fn_config_dll iprop enable_iprop
18042 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18043 wine_fn_config_dll itircl enable_itircl
18044 wine_fn_config_dll itss enable_itss clean
18045 wine_fn_config_test dlls/itss/tests itss_test
18046 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18047 wine_fn_config_dll jscript enable_jscript clean
18048 wine_fn_config_test dlls/jscript/tests jscript_test
18049 wine_fn_config_dll jsproxy enable_jsproxy implib
18050 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18051 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18052 wine_fn_config_test dlls/kernel32/tests kernel32_test
18053 wine_fn_config_dll kernelbase enable_kernelbase
18054 wine_fn_config_dll keyboard.drv16 enable_win16
18055 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18056 wine_fn_config_dll ksuser enable_ksuser
18057 wine_fn_config_dll ktmw32 enable_ktmw32
18058 wine_fn_config_dll loadperf enable_loadperf implib
18059 wine_fn_config_dll localspl enable_localspl clean
18060 wine_fn_config_test dlls/localspl/tests localspl_test
18061 wine_fn_config_dll localui enable_localui clean
18062 wine_fn_config_test dlls/localui/tests localui_test
18063 wine_fn_config_dll lz32 enable_lz32 implib
18064 wine_fn_config_test dlls/lz32/tests lz32_test
18065 wine_fn_config_dll lzexpand.dll16 enable_win16
18066 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18067 wine_fn_config_test dlls/mapi32/tests mapi32_test
18068 wine_fn_config_dll mapistub enable_mapistub
18069 wine_fn_config_dll mciavi32 enable_mciavi32
18070 wine_fn_config_dll mcicda enable_mcicda
18071 wine_fn_config_dll mciqtz32 enable_mciqtz32
18072 wine_fn_config_dll mciseq enable_mciseq
18073 wine_fn_config_dll mciwave enable_mciwave
18074 wine_fn_config_dll mf enable_mf
18075 wine_fn_config_dll mf3216 enable_mf3216
18076 wine_fn_config_dll mfplat enable_mfplat
18077 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18078 wine_fn_config_dll mgmtapi enable_mgmtapi
18079 wine_fn_config_dll midimap enable_midimap
18080 wine_fn_config_dll mlang enable_mlang clean,implib
18081 wine_fn_config_test dlls/mlang/tests mlang_test
18082 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18083 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18084 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18085 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18086 wine_fn_config_dll mmdevldr.vxd enable_win16
18087 wine_fn_config_dll mmsystem.dll16 enable_win16
18088 wine_fn_config_dll monodebg.vxd enable_win16
18089 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18090 wine_fn_config_dll mouse.drv16 enable_win16
18091 wine_fn_config_dll mpr enable_mpr clean,implib
18092 wine_fn_config_test dlls/mpr/tests mpr_test
18093 wine_fn_config_dll mprapi enable_mprapi implib
18094 wine_fn_config_dll msacm.dll16 enable_win16
18095 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18096 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18097 wine_fn_config_test dlls/msacm32/tests msacm32_test
18098 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18099 wine_fn_config_dll msasn1 enable_msasn1 implib
18100 wine_fn_config_dll mscat32 enable_mscat32
18101 wine_fn_config_dll mscms enable_mscms implib
18102 wine_fn_config_test dlls/mscms/tests mscms_test
18103 wine_fn_config_dll mscoree enable_mscoree clean
18104 wine_fn_config_test dlls/mscoree/tests mscoree_test
18105 wine_fn_config_dll msctf enable_msctf clean
18106 wine_fn_config_test dlls/msctf/tests msctf_test
18107 wine_fn_config_dll msctfp enable_msctfp clean
18108 wine_fn_config_dll msdaps enable_msdaps clean
18109 wine_fn_config_dll msdelta enable_msdelta
18110 wine_fn_config_dll msdmo enable_msdmo implib
18111 wine_fn_config_test dlls/msdmo/tests msdmo_test
18112 wine_fn_config_dll msdrm enable_msdrm
18113 wine_fn_config_dll msftedit enable_msftedit
18114 wine_fn_config_dll msg711.acm enable_msg711_acm
18115 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18116 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18117 wine_fn_config_dll mshtml enable_mshtml clean,implib
18118 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18119 wine_fn_config_dll msi enable_msi clean,implib
18120 wine_fn_config_test dlls/msi/tests msi_test
18121 wine_fn_config_dll msident enable_msident clean
18122 wine_fn_config_dll msimg32 enable_msimg32 implib
18123 wine_fn_config_dll msimsg enable_msimsg
18124 wine_fn_config_dll msimtf enable_msimtf clean
18125 wine_fn_config_dll msisip enable_msisip
18126 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18127 wine_fn_config_dll msls31 enable_msls31
18128 wine_fn_config_dll msnet32 enable_msnet32
18129 wine_fn_config_dll mspatcha enable_mspatcha implib
18130 wine_fn_config_dll msports enable_msports
18131 wine_fn_config_dll msrle32 enable_msrle32 clean
18132 wine_fn_config_test dlls/msrle32/tests msrle32_test
18133 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18134 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18135 wine_fn_config_dll mssign32 enable_mssign32
18136 wine_fn_config_dll mssip32 enable_mssip32
18137 wine_fn_config_dll mstask enable_mstask clean
18138 wine_fn_config_test dlls/mstask/tests mstask_test
18139 wine_fn_config_dll msvcirt enable_msvcirt
18140 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18141 wine_fn_config_dll msvcm80 enable_msvcm80
18142 wine_fn_config_dll msvcm90 enable_msvcm90
18143 wine_fn_config_dll msvcp100 enable_msvcp100
18144 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18145 wine_fn_config_dll msvcp110 enable_msvcp110
18146 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18147 wine_fn_config_dll msvcp120 enable_msvcp120
18148 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18149 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18150 wine_fn_config_dll msvcp140 enable_msvcp140
18151 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18152 wine_fn_config_dll msvcp60 enable_msvcp60
18153 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18154 wine_fn_config_dll msvcp70 enable_msvcp70
18155 wine_fn_config_dll msvcp71 enable_msvcp71
18156 wine_fn_config_dll msvcp80 enable_msvcp80
18157 wine_fn_config_dll msvcp90 enable_msvcp90
18158 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18159 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18160 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18161 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18162 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18163 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18164 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18165 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18166 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18167 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18168 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18169 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18170 wine_fn_config_dll msvcrt enable_msvcrt implib
18171 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18172 wine_fn_config_dll msvcrt20 enable_msvcrt20
18173 wine_fn_config_dll msvcrt40 enable_msvcrt40
18174 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18175 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18176 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18177 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18178 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18179 wine_fn_config_dll msvideo.dll16 enable_win16
18180 wine_fn_config_dll mswsock enable_mswsock implib
18181 wine_fn_config_dll msxml enable_msxml clean
18182 wine_fn_config_dll msxml2 enable_msxml2 clean
18183 wine_fn_config_dll msxml3 enable_msxml3 clean
18184 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18185 wine_fn_config_dll msxml4 enable_msxml4 clean
18186 wine_fn_config_dll msxml6 enable_msxml6 clean
18187 wine_fn_config_dll ncrypt enable_ncrypt
18188 wine_fn_config_dll nddeapi enable_nddeapi implib
18189 wine_fn_config_dll ndis.sys enable_ndis_sys
18190 wine_fn_config_dll netapi32 enable_netapi32 implib
18191 wine_fn_config_test dlls/netapi32/tests netapi32_test
18192 wine_fn_config_dll netcfgx enable_netcfgx clean
18193 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18194 wine_fn_config_dll netprofm enable_netprofm clean
18195 wine_fn_config_test dlls/netprofm/tests netprofm_test
18196 wine_fn_config_dll newdev enable_newdev implib
18197 wine_fn_config_dll normaliz enable_normaliz implib
18198 wine_fn_config_dll npmshtml enable_npmshtml
18199 wine_fn_config_dll npptools enable_npptools
18200 wine_fn_config_dll ntdll enable_ntdll implib
18201 wine_fn_config_test dlls/ntdll/tests ntdll_test
18202 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18203 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18204 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18205 wine_fn_config_dll ntprint enable_ntprint
18206 wine_fn_config_test dlls/ntprint/tests ntprint_test
18207 wine_fn_config_dll objsel enable_objsel clean
18208 wine_fn_config_dll odbc32 enable_odbc32 implib
18209 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18210 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18211 wine_fn_config_dll odbccu32 enable_odbccu32
18212 wine_fn_config_dll ole2.dll16 enable_win16
18213 wine_fn_config_dll ole2conv.dll16 enable_win16
18214 wine_fn_config_dll ole2disp.dll16 enable_win16
18215 wine_fn_config_dll ole2nls.dll16 enable_win16
18216 wine_fn_config_dll ole2prox.dll16 enable_win16
18217 wine_fn_config_dll ole2thk.dll16 enable_win16
18218 wine_fn_config_dll ole32 enable_ole32 clean,implib
18219 wine_fn_config_test dlls/ole32/tests ole32_test
18220 wine_fn_config_dll oleacc enable_oleacc clean,implib
18221 wine_fn_config_test dlls/oleacc/tests oleacc_test
18222 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18223 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18224 wine_fn_config_dll olecli.dll16 enable_win16
18225 wine_fn_config_dll olecli32 enable_olecli32 implib
18226 wine_fn_config_dll oledb32 enable_oledb32 clean
18227 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18228 wine_fn_config_dll oledlg enable_oledlg clean,implib
18229 wine_fn_config_test dlls/oledlg/tests oledlg_test
18230 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18231 wine_fn_config_dll olesvr.dll16 enable_win16
18232 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18233 wine_fn_config_dll olethk32 enable_olethk32
18234 wine_fn_config_dll openal32 enable_openal32
18235 wine_fn_config_dll opencl enable_opencl
18236 wine_fn_config_dll opengl32 enable_opengl32 implib
18237 wine_fn_config_test dlls/opengl32/tests opengl32_test
18238 wine_fn_config_dll packager enable_packager clean
18239 wine_fn_config_test dlls/packager/tests packager_test
18240 wine_fn_config_dll pdh enable_pdh implib
18241 wine_fn_config_test dlls/pdh/tests pdh_test
18242 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18243 wine_fn_config_dll pidgen enable_pidgen
18244 wine_fn_config_dll powrprof enable_powrprof implib
18245 wine_fn_config_dll printui enable_printui
18246 wine_fn_config_dll prntvpt enable_prntvpt
18247 wine_fn_config_dll propsys enable_propsys clean,implib
18248 wine_fn_config_test dlls/propsys/tests propsys_test
18249 wine_fn_config_dll psapi enable_psapi implib
18250 wine_fn_config_test dlls/psapi/tests psapi_test
18251 wine_fn_config_dll pstorec enable_pstorec clean
18252 wine_fn_config_test dlls/pstorec/tests pstorec_test
18253 wine_fn_config_dll qcap enable_qcap
18254 wine_fn_config_test dlls/qcap/tests qcap_test
18255 wine_fn_config_dll qedit enable_qedit clean
18256 wine_fn_config_test dlls/qedit/tests qedit_test
18257 wine_fn_config_dll qmgr enable_qmgr clean
18258 wine_fn_config_test dlls/qmgr/tests qmgr_test
18259 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18260 wine_fn_config_dll quartz enable_quartz clean,implib
18261 wine_fn_config_test dlls/quartz/tests quartz_test clean
18262 wine_fn_config_dll query enable_query
18263 wine_fn_config_dll rasapi16.dll16 enable_win16
18264 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18265 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18266 wine_fn_config_dll rasdlg enable_rasdlg implib
18267 wine_fn_config_dll regapi enable_regapi
18268 wine_fn_config_dll resutils enable_resutils implib
18269 wine_fn_config_dll riched20 enable_riched20 clean,implib
18270 wine_fn_config_test dlls/riched20/tests riched20_test
18271 wine_fn_config_dll riched32 enable_riched32
18272 wine_fn_config_test dlls/riched32/tests riched32_test
18273 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18274 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18275 wine_fn_config_dll rsabase enable_rsabase
18276 wine_fn_config_dll rsaenh enable_rsaenh implib
18277 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18278 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18279 wine_fn_config_dll rtutils enable_rtutils implib
18280 wine_fn_config_dll samlib enable_samlib
18281 wine_fn_config_dll sane.ds enable_sane_ds clean
18282 wine_fn_config_dll scarddlg enable_scarddlg
18283 wine_fn_config_dll sccbase enable_sccbase
18284 wine_fn_config_dll schannel enable_schannel
18285 wine_fn_config_test dlls/schannel/tests schannel_test
18286 wine_fn_config_dll schedsvc enable_schedsvc clean
18287 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18288 wine_fn_config_dll scrobj enable_scrobj clean
18289 wine_fn_config_dll scrrun enable_scrrun clean
18290 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18291 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18292 wine_fn_config_dll secur32 enable_secur32 implib
18293 wine_fn_config_test dlls/secur32/tests secur32_test
18294 wine_fn_config_dll security enable_security
18295 wine_fn_config_dll sensapi enable_sensapi implib
18296 wine_fn_config_dll serialui enable_serialui clean
18297 wine_fn_config_test dlls/serialui/tests serialui_test
18298 wine_fn_config_dll setupapi enable_setupapi clean,implib
18299 wine_fn_config_test dlls/setupapi/tests setupapi_test
18300 wine_fn_config_dll setupx.dll16 enable_win16
18301 wine_fn_config_dll sfc enable_sfc implib
18302 wine_fn_config_dll sfc_os enable_sfc_os implib
18303 wine_fn_config_dll shdoclc enable_shdoclc clean
18304 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18305 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18306 wine_fn_config_dll shell.dll16 enable_win16
18307 wine_fn_config_dll shell32 enable_shell32 clean,implib
18308 wine_fn_config_test dlls/shell32/tests shell32_test
18309 wine_fn_config_dll shfolder enable_shfolder implib
18310 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18311 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18312 wine_fn_config_dll slbcsp enable_slbcsp
18313 wine_fn_config_dll slc enable_slc implib
18314 wine_fn_config_test dlls/slc/tests slc_test
18315 wine_fn_config_dll snmpapi enable_snmpapi implib
18316 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18317 wine_fn_config_dll softpub enable_softpub
18318 wine_fn_config_dll sound.drv16 enable_win16
18319 wine_fn_config_dll spoolss enable_spoolss implib
18320 wine_fn_config_test dlls/spoolss/tests spoolss_test
18321 wine_fn_config_dll sspicli enable_sspicli
18322 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18323 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18324 wine_fn_config_dll sti enable_sti clean,implib
18325 wine_fn_config_test dlls/sti/tests sti_test
18326 wine_fn_config_dll storage.dll16 enable_win16
18327 wine_fn_config_dll stress.dll16 enable_win16
18328 wine_fn_config_lib strmbase
18329 wine_fn_config_lib strmiids
18330 wine_fn_config_dll svrapi enable_svrapi
18331 wine_fn_config_dll sxs enable_sxs implib
18332 wine_fn_config_test dlls/sxs/tests sxs_test
18333 wine_fn_config_dll system.drv16 enable_win16
18334 wine_fn_config_dll t2embed enable_t2embed implib
18335 wine_fn_config_test dlls/t2embed/tests t2embed_test
18336 wine_fn_config_dll tapi32 enable_tapi32 implib
18337 wine_fn_config_dll taskschd enable_taskschd clean
18338 wine_fn_config_test dlls/taskschd/tests taskschd_test
18339 wine_fn_config_dll tdi.sys enable_tdi_sys
18340 wine_fn_config_dll toolhelp.dll16 enable_win16
18341 wine_fn_config_dll traffic enable_traffic
18342 wine_fn_config_dll twain.dll16 enable_win16
18343 wine_fn_config_dll twain_32 enable_twain_32
18344 wine_fn_config_test dlls/twain_32/tests twain_32_test
18345 wine_fn_config_dll typelib.dll16 enable_win16
18346 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18347 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18348 wine_fn_config_dll unicows enable_unicows implib
18349 wine_fn_config_dll updspapi enable_updspapi
18350 wine_fn_config_dll url enable_url implib
18351 wine_fn_config_dll urlmon enable_urlmon clean,implib
18352 wine_fn_config_test dlls/urlmon/tests urlmon_test
18353 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18354 wine_fn_config_dll user.exe16 enable_win16
18355 wine_fn_config_dll user32 enable_user32 clean,implib
18356 wine_fn_config_test dlls/user32/tests user32_test
18357 wine_fn_config_dll userenv enable_userenv implib
18358 wine_fn_config_test dlls/userenv/tests userenv_test
18359 wine_fn_config_dll usp10 enable_usp10 implib
18360 wine_fn_config_test dlls/usp10/tests usp10_test
18361 wine_fn_config_lib uuid
18362 wine_fn_config_dll uxtheme enable_uxtheme implib
18363 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18364 wine_fn_config_dll vbscript enable_vbscript clean
18365 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18366 wine_fn_config_dll vcomp enable_vcomp
18367 wine_fn_config_test dlls/vcomp/tests vcomp_test
18368 wine_fn_config_dll vcomp100 enable_vcomp100
18369 wine_fn_config_dll vcomp110 enable_vcomp110
18370 wine_fn_config_dll vcomp120 enable_vcomp120
18371 wine_fn_config_dll vcomp140 enable_vcomp140
18372 wine_fn_config_dll vcomp90 enable_vcomp90
18373 wine_fn_config_dll vcruntime140 enable_vcruntime140
18374 wine_fn_config_dll vdhcp.vxd enable_win16
18375 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18376 wine_fn_config_dll ver.dll16 enable_win16
18377 wine_fn_config_dll version enable_version implib
18378 wine_fn_config_test dlls/version/tests version_test
18379 wine_fn_config_dll virtdisk enable_virtdisk
18380 wine_fn_config_dll vmm.vxd enable_win16
18381 wine_fn_config_dll vnbt.vxd enable_win16
18382 wine_fn_config_dll vnetbios.vxd enable_win16
18383 wine_fn_config_dll vssapi enable_vssapi
18384 wine_fn_config_dll vtdapi.vxd enable_win16
18385 wine_fn_config_dll vwin32.vxd enable_win16
18386 wine_fn_config_dll w32skrnl enable_win16
18387 wine_fn_config_dll w32sys.dll16 enable_win16
18388 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18389 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18390 wine_fn_config_dll wbemprox enable_wbemprox clean
18391 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18392 wine_fn_config_dll webservices enable_webservices implib
18393 wine_fn_config_test dlls/webservices/tests webservices_test
18394 wine_fn_config_dll wer enable_wer implib
18395 wine_fn_config_test dlls/wer/tests wer_test
18396 wine_fn_config_dll wevtapi enable_wevtapi
18397 wine_fn_config_dll wiaservc enable_wiaservc clean
18398 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18399 wine_fn_config_dll wimgapi enable_wimgapi
18400 wine_fn_config_dll win32s16.dll16 enable_win16
18401 wine_fn_config_dll win87em.dll16 enable_win16
18402 wine_fn_config_dll winaspi.dll16 enable_win16
18403 wine_fn_config_dll windebug.dll16 enable_win16
18404 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18405 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18406 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18407 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18408 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18409 wine_fn_config_dll winebus.sys enable_winebus_sys
18410 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18411 wine_fn_config_lib winecrt0
18412 wine_fn_config_dll wined3d enable_wined3d implib
18413 wine_fn_config_dll winegstreamer enable_winegstreamer
18414 wine_fn_config_dll winehid.sys enable_winehid_sys
18415 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18416 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18417 wine_fn_config_dll winemapi enable_winemapi
18418 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18419 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18420 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18421 wine_fn_config_dll wineps16.drv16 enable_win16
18422 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18423 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18424 wine_fn_config_dll winex11.drv enable_winex11_drv
18425 wine_fn_config_dll wing.dll16 enable_win16
18426 wine_fn_config_dll wing32 enable_wing32
18427 wine_fn_config_dll winhttp enable_winhttp clean,implib
18428 wine_fn_config_test dlls/winhttp/tests winhttp_test
18429 wine_fn_config_dll wininet enable_wininet clean,implib
18430 wine_fn_config_test dlls/wininet/tests wininet_test
18431 wine_fn_config_dll winmm enable_winmm clean,implib
18432 wine_fn_config_test dlls/winmm/tests winmm_test
18433 wine_fn_config_dll winnls.dll16 enable_win16
18434 wine_fn_config_dll winnls32 enable_winnls32 implib
18435 wine_fn_config_dll winscard enable_winscard implib
18436 wine_fn_config_dll winsock.dll16 enable_win16
18437 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18438 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18439 wine_fn_config_dll winsta enable_winsta
18440 wine_fn_config_dll wintab.dll16 enable_win16
18441 wine_fn_config_dll wintab32 enable_wintab32 implib
18442 wine_fn_config_test dlls/wintab32/tests wintab32_test
18443 wine_fn_config_dll wintrust enable_wintrust implib
18444 wine_fn_config_test dlls/wintrust/tests wintrust_test
18445 wine_fn_config_dll winusb enable_winusb
18446 wine_fn_config_dll wlanapi enable_wlanapi implib
18447 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18448 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18449 wine_fn_config_test dlls/wldap32/tests wldap32_test
18450 wine_fn_config_dll wmasf enable_wmasf
18451 wine_fn_config_dll wmi enable_wmi
18452 wine_fn_config_dll wmiutils enable_wmiutils clean
18453 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18454 wine_fn_config_dll wmp enable_wmp clean
18455 wine_fn_config_test dlls/wmp/tests wmp_test
18456 wine_fn_config_dll wmvcore enable_wmvcore
18457 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18458 wine_fn_config_dll wow32 enable_win16 implib
18459 wine_fn_config_dll wpc enable_wpc clean
18460 wine_fn_config_test dlls/wpc/tests wpc_test
18461 wine_fn_config_dll wpcap enable_wpcap
18462 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18463 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18464 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18465 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18466 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18467 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18468 wine_fn_config_dll wsock32 enable_wsock32 implib
18469 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18470 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18471 wine_fn_config_dll wuapi enable_wuapi clean
18472 wine_fn_config_dll wuaueng enable_wuaueng
18473 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18474 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18475 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18476 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18477 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18478 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18479 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18480 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18481 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18482 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18483 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18484 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18485 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18486 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18487 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18488 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18489 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18490 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18491 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18492 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18493 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18494 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18495 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18496 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18497 wine_fn_config_dll xinput1_1 enable_xinput1_1
18498 wine_fn_config_dll xinput1_2 enable_xinput1_2
18499 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18500 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18501 wine_fn_config_dll xinput1_4 enable_xinput1_4
18502 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18503 wine_fn_config_dll xmllite enable_xmllite implib
18504 wine_fn_config_test dlls/xmllite/tests xmllite_test
18505 wine_fn_config_dll xolehlp enable_xolehlp
18506 wine_fn_config_dll xpsprint enable_xpsprint
18507 wine_fn_config_dll xpssvcs enable_xpssvcs
18508 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18509 wine_fn_config_makefile include enable_include clean,install-dev
18510 wine_fn_config_makefile libs/port enable_libs_port
18511 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18512 wine_fn_config_makefile libs/wpp enable_libs_wpp
18513 wine_fn_config_makefile loader enable_loader clean,install-lib
18514 wine_fn_config_makefile po enable_po clean
18515 wine_fn_config_program arp enable_arp install
18516 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18517 wine_fn_config_program attrib enable_attrib clean,install
18518 wine_fn_config_program cabarc enable_cabarc install
18519 wine_fn_config_program cacls enable_cacls install
18520 wine_fn_config_program clock enable_clock clean,install
18521 wine_fn_config_program cmd enable_cmd clean,install
18522 wine_fn_config_test programs/cmd/tests cmd.exe_test
18523 wine_fn_config_program conhost enable_conhost install
18524 wine_fn_config_program control enable_control install
18525 wine_fn_config_program cscript enable_cscript clean,install
18526 wine_fn_config_program dpnsvr enable_dpnsvr install
18527 wine_fn_config_program dxdiag enable_dxdiag clean,install
18528 wine_fn_config_program eject enable_eject install
18529 wine_fn_config_program expand enable_expand install
18530 wine_fn_config_program explorer enable_explorer clean,install
18531 wine_fn_config_program extrac32 enable_extrac32 install
18532 wine_fn_config_program findstr enable_findstr install
18533 wine_fn_config_program fsutil enable_fsutil install
18534 wine_fn_config_program hh enable_hh install
18535 wine_fn_config_program hostname enable_hostname clean,install
18536 wine_fn_config_program icacls enable_icacls install
18537 wine_fn_config_program icinfo enable_icinfo install
18538 wine_fn_config_program iexplore enable_iexplore install
18539 wine_fn_config_program ipconfig enable_ipconfig clean,install
18540 wine_fn_config_program lodctr enable_lodctr install
18541 wine_fn_config_program mofcomp enable_mofcomp install
18542 wine_fn_config_program mshta enable_mshta install
18543 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18544 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18545 wine_fn_config_program net enable_net clean,install
18546 wine_fn_config_program netsh enable_netsh install
18547 wine_fn_config_program netstat enable_netstat clean,install
18548 wine_fn_config_program ngen enable_ngen install
18549 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18550 wine_fn_config_program oleview enable_oleview clean,install
18551 wine_fn_config_program ping enable_ping install
18552 wine_fn_config_program plugplay enable_plugplay install
18553 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18554 wine_fn_config_program progman enable_progman clean,install
18555 wine_fn_config_program reg enable_reg clean,install
18556 wine_fn_config_test programs/reg/tests reg.exe_test
18557 wine_fn_config_program regasm enable_regasm install
18558 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18559 wine_fn_config_test programs/regedit/tests regedit.exe_test
18560 wine_fn_config_program regsvcs enable_regsvcs install
18561 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18562 wine_fn_config_program rpcss enable_rpcss clean,install
18563 wine_fn_config_program rundll.exe16 enable_win16 install
18564 wine_fn_config_program rundll32 enable_rundll32 install
18565 wine_fn_config_program sc enable_sc install
18566 wine_fn_config_program schtasks enable_schtasks install
18567 wine_fn_config_program sdbinst enable_sdbinst install
18568 wine_fn_config_program secedit enable_secedit install
18569 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18570 wine_fn_config_program services enable_services clean,install
18571 wine_fn_config_test programs/services/tests services.exe_test
18572 wine_fn_config_program shutdown enable_shutdown install
18573 wine_fn_config_program spoolsv enable_spoolsv install
18574 wine_fn_config_program start enable_start clean,install
18575 wine_fn_config_program subst enable_subst install
18576 wine_fn_config_program svchost enable_svchost install
18577 wine_fn_config_program systeminfo enable_systeminfo install
18578 wine_fn_config_program taskkill enable_taskkill clean,install
18579 wine_fn_config_program tasklist enable_tasklist install
18580 wine_fn_config_program taskmgr enable_taskmgr clean,install
18581 wine_fn_config_program termsv enable_termsv install
18582 wine_fn_config_program uninstaller enable_uninstaller clean,install
18583 wine_fn_config_program unlodctr enable_unlodctr install
18584 wine_fn_config_program view enable_view clean,install
18585 wine_fn_config_program wevtutil enable_wevtutil install
18586 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18587 wine_fn_config_program winebrowser enable_winebrowser install
18588 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18589 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18590 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18591 wine_fn_config_program winedevice enable_winedevice install
18592 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18593 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18594 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18595 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18596 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18597 wine_fn_config_program winetest enable_winetest clean
18598 wine_fn_config_program winevdm enable_win16 install
18599 wine_fn_config_program winhelp.exe16 enable_win16 install
18600 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18601 wine_fn_config_program winoldap.mod16 enable_win16 install
18602 wine_fn_config_program winver enable_winver install
18603 wine_fn_config_program wmic enable_wmic clean,install
18604 wine_fn_config_program wmplayer enable_wmplayer install
18605 wine_fn_config_program wordpad enable_wordpad clean,install
18606 wine_fn_config_program write enable_write clean,install
18607 wine_fn_config_program wscript enable_wscript clean,install
18608 wine_fn_config_test programs/wscript/tests wscript.exe_test
18609 wine_fn_config_program wusa enable_wusa install
18610 wine_fn_config_program xcopy enable_xcopy clean,install
18611 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18612 wine_fn_config_makefile server enable_server clean,install-lib
18613 wine_fn_config_tool tools clean
18614 wine_fn_config_tool tools/sfnt2fon clean
18615 wine_fn_config_tool tools/widl clean,install-dev
18616 wine_fn_config_tool tools/winebuild clean,install-dev
18617 wine_fn_config_tool tools/winedump clean,install-dev
18618 wine_fn_config_tool tools/winegcc clean,install-dev
18619 wine_fn_config_tool tools/winemaker clean,install-dev
18620 wine_fn_config_tool tools/wmc clean,install-dev
18621 wine_fn_config_tool tools/wrc clean,install-dev
18624 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18625 wine_fn_append_file CONFIGURE_TARGETS "tags"
18626 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18627 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18628 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18629 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18630 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18631 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18633 if test "x$enable_tools" != xno
18634 then
18635 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18636 ac_config_commands="$ac_config_commands tools/makedep"
18640 ac_config_commands="$ac_config_commands Makefile"
18643 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18647 if test "x$enable_maintainer_mode" = xyes
18648 then
18649 wine_fn_append_rule "configure: configure.ac aclocal.m4
18650 autoconf --warnings=all
18651 include/config.h.in: include/stamp-h.in
18652 include/stamp-h.in: configure.ac aclocal.m4
18653 autoheader --warnings=all
18654 @echo timestamp > \$@"
18657 if test "x$enable_tools" != xno
18658 then
18659 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18660 @./config.status tools/makedep
18661 Makefile: tools/makedep$ac_exeext"
18662 else
18663 wine_fn_append_rule "\$(MAKEDEP):
18664 @echo \"You need to run make in $TOOLSDIR first\" && false"
18667 if test -n "$with_wine64"
18668 then
18669 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18670 fonts server:
18671 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18672 $with_wine64/loader/wine:
18673 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18674 $with_wine64/loader/wine-preloader:
18675 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18676 clean::
18677 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18678 else
18679 WINELOADER_INSTALL="wine.inf"
18681 wine_fn_append_rule "install install-lib::
18682 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18683 uninstall::
18684 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18685 case $host_os in
18686 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18687 *) wine_fn_append_rule "install install-lib::
18688 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18689 uninstall::
18690 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18691 esac
18694 $as_echo " done" >&6
18695 cat >confcache <<\_ACEOF
18696 # This file is a shell script that caches the results of configure
18697 # tests run on this system so they can be shared between configure
18698 # scripts and configure runs, see configure's option --config-cache.
18699 # It is not useful on other systems. If it contains results you don't
18700 # want to keep, you may remove or edit it.
18702 # config.status only pays attention to the cache file if you give it
18703 # the --recheck option to rerun configure.
18705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18707 # following values.
18709 _ACEOF
18711 # The following way of writing the cache mishandles newlines in values,
18712 # but we know of no workaround that is simple, portable, and efficient.
18713 # So, we kill variables containing newlines.
18714 # Ultrix sh set writes to stderr and can't be redirected directly,
18715 # and sets the high bit in the cache file unless we assign to the vars.
18717 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18718 eval ac_val=\$$ac_var
18719 case $ac_val in #(
18720 *${as_nl}*)
18721 case $ac_var in #(
18722 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18724 esac
18725 case $ac_var in #(
18726 _ | IFS | as_nl) ;; #(
18727 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18728 *) { eval $ac_var=; unset $ac_var;} ;;
18729 esac ;;
18730 esac
18731 done
18733 (set) 2>&1 |
18734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18735 *${as_nl}ac_space=\ *)
18736 # `set' does not quote correctly, so add quotes: double-quote
18737 # substitution turns \\\\ into \\, and sed turns \\ into \.
18738 sed -n \
18739 "s/'/'\\\\''/g;
18740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18741 ;; #(
18743 # `set' quotes correctly as required by POSIX, so do not add quotes.
18744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18746 esac |
18747 sort
18749 sed '
18750 /^ac_cv_env_/b end
18751 t clear
18752 :clear
18753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18754 t end
18755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18756 :end' >>confcache
18757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18758 if test -w "$cache_file"; then
18759 if test "x$cache_file" != "x/dev/null"; then
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18761 $as_echo "$as_me: updating cache $cache_file" >&6;}
18762 if test ! -f "$cache_file" || test -h "$cache_file"; then
18763 cat confcache >"$cache_file"
18764 else
18765 case $cache_file in #(
18766 */* | ?:*)
18767 mv -f confcache "$cache_file"$$ &&
18768 mv -f "$cache_file"$$ "$cache_file" ;; #(
18770 mv -f confcache "$cache_file" ;;
18771 esac
18774 else
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18779 rm -f confcache
18781 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18782 # Let make expand exec_prefix.
18783 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18785 DEFS=-DHAVE_CONFIG_H
18787 ac_libobjs=
18788 ac_ltlibobjs=
18790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18791 # 1. Remove the extension, and $U if already installed.
18792 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18793 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18794 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18795 # will be set to the directory where LIBOBJS objects are built.
18796 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18797 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18798 done
18799 LIBOBJS=$ac_libobjs
18801 LTLIBOBJS=$ac_ltlibobjs
18805 : "${CONFIG_STATUS=./config.status}"
18806 ac_write_fail=0
18807 ac_clean_files_save=$ac_clean_files
18808 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18810 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18811 as_write_fail=0
18812 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18813 #! $SHELL
18814 # Generated by $as_me.
18815 # Run this file to recreate the current configuration.
18816 # Compiler output produced by configure, useful for debugging
18817 # configure, is in config.log if it exists.
18819 debug=false
18820 ac_cs_recheck=false
18821 ac_cs_silent=false
18823 SHELL=\${CONFIG_SHELL-$SHELL}
18824 export SHELL
18825 _ASEOF
18826 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18827 ## -------------------- ##
18828 ## M4sh Initialization. ##
18829 ## -------------------- ##
18831 # Be more Bourne compatible
18832 DUALCASE=1; export DUALCASE # for MKS sh
18833 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18834 emulate sh
18835 NULLCMD=:
18836 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18837 # is contrary to our usage. Disable this feature.
18838 alias -g '${1+"$@"}'='"$@"'
18839 setopt NO_GLOB_SUBST
18840 else
18841 case `(set -o) 2>/dev/null` in #(
18842 *posix*) :
18843 set -o posix ;; #(
18844 *) :
18846 esac
18850 as_nl='
18852 export as_nl
18853 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18854 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18855 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18857 # Prefer a ksh shell builtin over an external printf program on Solaris,
18858 # but without wasting forks for bash or zsh.
18859 if test -z "$BASH_VERSION$ZSH_VERSION" \
18860 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18861 as_echo='print -r --'
18862 as_echo_n='print -rn --'
18863 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18864 as_echo='printf %s\n'
18865 as_echo_n='printf %s'
18866 else
18867 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18868 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18869 as_echo_n='/usr/ucb/echo -n'
18870 else
18871 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18872 as_echo_n_body='eval
18873 arg=$1;
18874 case $arg in #(
18875 *"$as_nl"*)
18876 expr "X$arg" : "X\\(.*\\)$as_nl";
18877 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18878 esac;
18879 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18881 export as_echo_n_body
18882 as_echo_n='sh -c $as_echo_n_body as_echo'
18884 export as_echo_body
18885 as_echo='sh -c $as_echo_body as_echo'
18888 # The user is always right.
18889 if test "${PATH_SEPARATOR+set}" != set; then
18890 PATH_SEPARATOR=:
18891 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18892 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18893 PATH_SEPARATOR=';'
18898 # IFS
18899 # We need space, tab and new line, in precisely that order. Quoting is
18900 # there to prevent editors from complaining about space-tab.
18901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18902 # splitting by setting IFS to empty value.)
18903 IFS=" "" $as_nl"
18905 # Find who we are. Look in the path if we contain no directory separator.
18906 as_myself=
18907 case $0 in #((
18908 *[\\/]* ) as_myself=$0 ;;
18909 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18910 for as_dir in $PATH
18912 IFS=$as_save_IFS
18913 test -z "$as_dir" && as_dir=.
18914 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18915 done
18916 IFS=$as_save_IFS
18919 esac
18920 # We did not find ourselves, most probably we were run as `sh COMMAND'
18921 # in which case we are not to be found in the path.
18922 if test "x$as_myself" = x; then
18923 as_myself=$0
18925 if test ! -f "$as_myself"; then
18926 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18927 exit 1
18930 # Unset variables that we do not need and which cause bugs (e.g. in
18931 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18932 # suppresses any "Segmentation fault" message there. '((' could
18933 # trigger a bug in pdksh 5.2.14.
18934 for as_var in BASH_ENV ENV MAIL MAILPATH
18935 do eval test x\${$as_var+set} = xset \
18936 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18937 done
18938 PS1='$ '
18939 PS2='> '
18940 PS4='+ '
18942 # NLS nuisances.
18943 LC_ALL=C
18944 export LC_ALL
18945 LANGUAGE=C
18946 export LANGUAGE
18948 # CDPATH.
18949 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18952 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18953 # ----------------------------------------
18954 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18955 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18956 # script with STATUS, using 1 if that was 0.
18957 as_fn_error ()
18959 as_status=$1; test $as_status -eq 0 && as_status=1
18960 if test "$4"; then
18961 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18962 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18964 $as_echo "$as_me: error: $2" >&2
18965 as_fn_exit $as_status
18966 } # as_fn_error
18969 # as_fn_set_status STATUS
18970 # -----------------------
18971 # Set $? to STATUS, without forking.
18972 as_fn_set_status ()
18974 return $1
18975 } # as_fn_set_status
18977 # as_fn_exit STATUS
18978 # -----------------
18979 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18980 as_fn_exit ()
18982 set +e
18983 as_fn_set_status $1
18984 exit $1
18985 } # as_fn_exit
18987 # as_fn_unset VAR
18988 # ---------------
18989 # Portably unset VAR.
18990 as_fn_unset ()
18992 { eval $1=; unset $1;}
18994 as_unset=as_fn_unset
18995 # as_fn_append VAR VALUE
18996 # ----------------------
18997 # Append the text in VALUE to the end of the definition contained in VAR. Take
18998 # advantage of any shell optimizations that allow amortized linear growth over
18999 # repeated appends, instead of the typical quadratic growth present in naive
19000 # implementations.
19001 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19002 eval 'as_fn_append ()
19004 eval $1+=\$2
19006 else
19007 as_fn_append ()
19009 eval $1=\$$1\$2
19011 fi # as_fn_append
19013 # as_fn_arith ARG...
19014 # ------------------
19015 # Perform arithmetic evaluation on the ARGs, and store the result in the
19016 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19017 # must be portable across $(()) and expr.
19018 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19019 eval 'as_fn_arith ()
19021 as_val=$(( $* ))
19023 else
19024 as_fn_arith ()
19026 as_val=`expr "$@" || test $? -eq 1`
19028 fi # as_fn_arith
19031 if expr a : '\(a\)' >/dev/null 2>&1 &&
19032 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19033 as_expr=expr
19034 else
19035 as_expr=false
19038 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19039 as_basename=basename
19040 else
19041 as_basename=false
19044 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19045 as_dirname=dirname
19046 else
19047 as_dirname=false
19050 as_me=`$as_basename -- "$0" ||
19051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19052 X"$0" : 'X\(//\)$' \| \
19053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19054 $as_echo X/"$0" |
19055 sed '/^.*\/\([^/][^/]*\)\/*$/{
19056 s//\1/
19059 /^X\/\(\/\/\)$/{
19060 s//\1/
19063 /^X\/\(\/\).*/{
19064 s//\1/
19067 s/.*/./; q'`
19069 # Avoid depending upon Character Ranges.
19070 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19071 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19072 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19073 as_cr_digits='0123456789'
19074 as_cr_alnum=$as_cr_Letters$as_cr_digits
19076 ECHO_C= ECHO_N= ECHO_T=
19077 case `echo -n x` in #(((((
19078 -n*)
19079 case `echo 'xy\c'` in
19080 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19081 xy) ECHO_C='\c';;
19082 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19083 ECHO_T=' ';;
19084 esac;;
19086 ECHO_N='-n';;
19087 esac
19089 rm -f conf$$ conf$$.exe conf$$.file
19090 if test -d conf$$.dir; then
19091 rm -f conf$$.dir/conf$$.file
19092 else
19093 rm -f conf$$.dir
19094 mkdir conf$$.dir 2>/dev/null
19096 if (echo >conf$$.file) 2>/dev/null; then
19097 if ln -s conf$$.file conf$$ 2>/dev/null; then
19098 as_ln_s='ln -s'
19099 # ... but there are two gotchas:
19100 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19101 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19102 # In both cases, we have to default to `cp -pR'.
19103 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19104 as_ln_s='cp -pR'
19105 elif ln conf$$.file conf$$ 2>/dev/null; then
19106 as_ln_s=ln
19107 else
19108 as_ln_s='cp -pR'
19110 else
19111 as_ln_s='cp -pR'
19113 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19114 rmdir conf$$.dir 2>/dev/null
19117 # as_fn_mkdir_p
19118 # -------------
19119 # Create "$as_dir" as a directory, including parents if necessary.
19120 as_fn_mkdir_p ()
19123 case $as_dir in #(
19124 -*) as_dir=./$as_dir;;
19125 esac
19126 test -d "$as_dir" || eval $as_mkdir_p || {
19127 as_dirs=
19128 while :; do
19129 case $as_dir in #(
19130 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19131 *) as_qdir=$as_dir;;
19132 esac
19133 as_dirs="'$as_qdir' $as_dirs"
19134 as_dir=`$as_dirname -- "$as_dir" ||
19135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19136 X"$as_dir" : 'X\(//\)[^/]' \| \
19137 X"$as_dir" : 'X\(//\)$' \| \
19138 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19139 $as_echo X"$as_dir" |
19140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19141 s//\1/
19144 /^X\(\/\/\)[^/].*/{
19145 s//\1/
19148 /^X\(\/\/\)$/{
19149 s//\1/
19152 /^X\(\/\).*/{
19153 s//\1/
19156 s/.*/./; q'`
19157 test -d "$as_dir" && break
19158 done
19159 test -z "$as_dirs" || eval "mkdir $as_dirs"
19160 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19163 } # as_fn_mkdir_p
19164 if mkdir -p . 2>/dev/null; then
19165 as_mkdir_p='mkdir -p "$as_dir"'
19166 else
19167 test -d ./-p && rmdir ./-p
19168 as_mkdir_p=false
19172 # as_fn_executable_p FILE
19173 # -----------------------
19174 # Test if FILE is an executable regular file.
19175 as_fn_executable_p ()
19177 test -f "$1" && test -x "$1"
19178 } # as_fn_executable_p
19179 as_test_x='test -x'
19180 as_executable_p=as_fn_executable_p
19182 # Sed expression to map a string onto a valid CPP name.
19183 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19185 # Sed expression to map a string onto a valid variable name.
19186 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19189 exec 6>&1
19190 ## ----------------------------------- ##
19191 ## Main body of $CONFIG_STATUS script. ##
19192 ## ----------------------------------- ##
19193 _ASEOF
19194 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19197 # Save the log message, to keep $0 and so on meaningful, and to
19198 # report actual input values of CONFIG_FILES etc. instead of their
19199 # values after options handling.
19200 ac_log="
19201 This file was extended by Wine $as_me 2.1, which was
19202 generated by GNU Autoconf 2.69. Invocation command line was
19204 CONFIG_FILES = $CONFIG_FILES
19205 CONFIG_HEADERS = $CONFIG_HEADERS
19206 CONFIG_LINKS = $CONFIG_LINKS
19207 CONFIG_COMMANDS = $CONFIG_COMMANDS
19208 $ $0 $@
19210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19213 _ACEOF
19215 case $ac_config_files in *"
19216 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19217 esac
19219 case $ac_config_headers in *"
19220 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19221 esac
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 # Files that config.status was made for.
19226 config_files="$ac_config_files"
19227 config_headers="$ac_config_headers"
19228 config_links="$ac_config_links"
19229 config_commands="$ac_config_commands"
19231 _ACEOF
19233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19234 ac_cs_usage="\
19235 \`$as_me' instantiates files and other configuration actions
19236 from templates according to the current configuration. Unless the files
19237 and actions are specified as TAGs, all are instantiated by default.
19239 Usage: $0 [OPTION]... [TAG]...
19241 -h, --help print this help, then exit
19242 -V, --version print version number and configuration settings, then exit
19243 --config print configuration, then exit
19244 -q, --quiet, --silent
19245 do not print progress messages
19246 -d, --debug don't remove temporary files
19247 --recheck update $as_me by reconfiguring in the same conditions
19248 --file=FILE[:TEMPLATE]
19249 instantiate the configuration file FILE
19250 --header=FILE[:TEMPLATE]
19251 instantiate the configuration header FILE
19253 Configuration files:
19254 $config_files
19256 Configuration headers:
19257 $config_headers
19259 Configuration links:
19260 $config_links
19262 Configuration commands:
19263 $config_commands
19265 Report bugs to <wine-devel@winehq.org>.
19266 Wine home page: <http://www.winehq.org>."
19268 _ACEOF
19269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19270 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19271 ac_cs_version="\\
19272 Wine config.status 2.1
19273 configured by $0, generated by GNU Autoconf 2.69,
19274 with options \\"\$ac_cs_config\\"
19276 Copyright (C) 2012 Free Software Foundation, Inc.
19277 This config.status script is free software; the Free Software Foundation
19278 gives unlimited permission to copy, distribute and modify it."
19280 ac_pwd='$ac_pwd'
19281 srcdir='$srcdir'
19282 test -n "\$AWK" || AWK=awk
19283 _ACEOF
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19286 # The default lists apply if the user does not specify any file.
19287 ac_need_defaults=:
19288 while test $# != 0
19290 case $1 in
19291 --*=?*)
19292 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19294 ac_shift=:
19296 --*=)
19297 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19298 ac_optarg=
19299 ac_shift=:
19302 ac_option=$1
19303 ac_optarg=$2
19304 ac_shift=shift
19306 esac
19308 case $ac_option in
19309 # Handling of the options.
19310 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19311 ac_cs_recheck=: ;;
19312 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19313 $as_echo "$ac_cs_version"; exit ;;
19314 --config | --confi | --conf | --con | --co | --c )
19315 $as_echo "$ac_cs_config"; exit ;;
19316 --debug | --debu | --deb | --de | --d | -d )
19317 debug=: ;;
19318 --file | --fil | --fi | --f )
19319 $ac_shift
19320 case $ac_optarg in
19321 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19322 '') as_fn_error $? "missing file argument" ;;
19323 esac
19324 as_fn_append CONFIG_FILES " '$ac_optarg'"
19325 ac_need_defaults=false;;
19326 --header | --heade | --head | --hea )
19327 $ac_shift
19328 case $ac_optarg in
19329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19330 esac
19331 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19332 ac_need_defaults=false;;
19333 --he | --h)
19334 # Conflict between --help and --header
19335 as_fn_error $? "ambiguous option: \`$1'
19336 Try \`$0 --help' for more information.";;
19337 --help | --hel | -h )
19338 $as_echo "$ac_cs_usage"; exit ;;
19339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19340 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19341 ac_cs_silent=: ;;
19343 # This is an error.
19344 -*) as_fn_error $? "unrecognized option: \`$1'
19345 Try \`$0 --help' for more information." ;;
19347 *) as_fn_append ac_config_targets " $1"
19348 ac_need_defaults=false ;;
19350 esac
19351 shift
19352 done
19354 ac_configure_extra_args=
19356 if $ac_cs_silent; then
19357 exec 6>/dev/null
19358 ac_configure_extra_args="$ac_configure_extra_args --silent"
19361 _ACEOF
19362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19363 if \$ac_cs_recheck; then
19364 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19365 shift
19366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19367 CONFIG_SHELL='$SHELL'
19368 export CONFIG_SHELL
19369 exec "\$@"
19372 _ACEOF
19373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19374 exec 5>>config.log
19376 echo
19377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19378 ## Running $as_me. ##
19379 _ASBOX
19380 $as_echo "$ac_log"
19381 } >&5
19383 _ACEOF
19384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19386 # INIT-COMMANDS
19388 wine_fn_output_makedep ()
19390 as_dir=tools; as_fn_mkdir_p
19391 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19393 wine_fn_output_makefile ()
19395 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19396 `cat $wine_rules_file`
19397 _WINE_EOF
19398 as_fn_error $? "could not create Makefile" "$LINENO" 5
19401 _ACEOF
19403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19405 # Handling of arguments.
19406 for ac_config_target in $ac_config_targets
19408 case $ac_config_target in
19409 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19410 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19411 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19412 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19413 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19414 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19415 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19416 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19417 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19418 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19419 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19420 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19421 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19423 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19424 esac
19425 done
19428 # If the user did not use the arguments to specify the items to instantiate,
19429 # then the envvar interface is used. Set only those that are not.
19430 # We use the long form for the default assignment because of an extremely
19431 # bizarre bug on SunOS 4.1.3.
19432 if $ac_need_defaults; then
19433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19435 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19436 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19439 # Have a temporary directory for convenience. Make it in the build tree
19440 # simply because there is no reason against having it here, and in addition,
19441 # creating and moving files from /tmp can sometimes cause problems.
19442 # Hook for its removal unless debugging.
19443 # Note that there is a small window in which the directory will not be cleaned:
19444 # after its creation but before its name has been assigned to `$tmp'.
19445 $debug ||
19447 tmp= ac_tmp=
19448 trap 'exit_status=$?
19449 : "${ac_tmp:=$tmp}"
19450 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19452 trap 'as_fn_exit 1' 1 2 13 15
19454 # Create a (secure) tmp directory for tmp files.
19457 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19458 test -d "$tmp"
19459 } ||
19461 tmp=./conf$$-$RANDOM
19462 (umask 077 && mkdir "$tmp")
19463 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19464 ac_tmp=$tmp
19466 # Set up the scripts for CONFIG_FILES section.
19467 # No need to generate them if there are no CONFIG_FILES.
19468 # This happens for instance with `./config.status config.h'.
19469 if test -n "$CONFIG_FILES"; then
19472 ac_cr=`echo X | tr X '\015'`
19473 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19474 # But we know of no other shell where ac_cr would be empty at this
19475 # point, so we can use a bashism as a fallback.
19476 if test "x$ac_cr" = x; then
19477 eval ac_cr=\$\'\\r\'
19479 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19480 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19481 ac_cs_awk_cr='\\r'
19482 else
19483 ac_cs_awk_cr=$ac_cr
19486 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19487 _ACEOF
19491 echo "cat >conf$$subs.awk <<_ACEOF" &&
19492 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19493 echo "_ACEOF"
19494 } >conf$$subs.sh ||
19495 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19497 ac_delim='%!_!# '
19498 for ac_last_try in false false false false false :; do
19499 . ./conf$$subs.sh ||
19500 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19502 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19503 if test $ac_delim_n = $ac_delim_num; then
19504 break
19505 elif $ac_last_try; then
19506 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19507 else
19508 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19510 done
19511 rm -f conf$$subs.sh
19513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19514 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19515 _ACEOF
19516 sed -n '
19518 s/^/S["/; s/!.*/"]=/
19521 s/^[^!]*!//
19522 :repl
19523 t repl
19524 s/'"$ac_delim"'$//
19525 t delim
19528 s/\(.\{148\}\)..*/\1/
19529 t more1
19530 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19533 b repl
19534 :more1
19535 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19538 s/.\{148\}//
19539 t nl
19540 :delim
19542 s/\(.\{148\}\)..*/\1/
19543 t more2
19544 s/["\\]/\\&/g; s/^/"/; s/$/"/
19547 :more2
19548 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19551 s/.\{148\}//
19552 t delim
19553 ' <conf$$subs.awk | sed '
19554 /^[^""]/{
19556 s/\n//
19558 ' >>$CONFIG_STATUS || ac_write_fail=1
19559 rm -f conf$$subs.awk
19560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19561 _ACAWK
19562 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19563 for (key in S) S_is_set[key] = 1
19564 FS = "\a"
19568 line = $ 0
19569 nfields = split(line, field, "@")
19570 substed = 0
19571 len = length(field[1])
19572 for (i = 2; i < nfields; i++) {
19573 key = field[i]
19574 keylen = length(key)
19575 if (S_is_set[key]) {
19576 value = S[key]
19577 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19578 len += length(value) + length(field[++i])
19579 substed = 1
19580 } else
19581 len += 1 + keylen
19584 print line
19587 _ACAWK
19588 _ACEOF
19589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19590 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19591 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19592 else
19594 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19595 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19596 _ACEOF
19598 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19599 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19600 # trailing colons and then remove the whole line if VPATH becomes empty
19601 # (actually we leave an empty line to preserve line numbers).
19602 if test "x$srcdir" = x.; then
19603 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19605 s///
19606 s/^/:/
19607 s/[ ]*$/:/
19608 s/:\$(srcdir):/:/g
19609 s/:\${srcdir}:/:/g
19610 s/:@srcdir@:/:/g
19611 s/^:*//
19612 s/:*$//
19614 s/\(=[ ]*\).*/\1/
19616 s/\n//
19617 s/^[^=]*=[ ]*$//
19621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19622 fi # test -n "$CONFIG_FILES"
19624 # Set up the scripts for CONFIG_HEADERS section.
19625 # No need to generate them if there are no CONFIG_HEADERS.
19626 # This happens for instance with `./config.status Makefile'.
19627 if test -n "$CONFIG_HEADERS"; then
19628 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19629 BEGIN {
19630 _ACEOF
19632 # Transform confdefs.h into an awk script `defines.awk', embedded as
19633 # here-document in config.status, that substitutes the proper values into
19634 # config.h.in to produce config.h.
19636 # Create a delimiter string that does not exist in confdefs.h, to ease
19637 # handling of long lines.
19638 ac_delim='%!_!# '
19639 for ac_last_try in false false :; do
19640 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19641 if test -z "$ac_tt"; then
19642 break
19643 elif $ac_last_try; then
19644 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19645 else
19646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19648 done
19650 # For the awk script, D is an array of macro values keyed by name,
19651 # likewise P contains macro parameters if any. Preserve backslash
19652 # newline sequences.
19654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19655 sed -n '
19656 s/.\{148\}/&'"$ac_delim"'/g
19657 t rset
19658 :rset
19659 s/^[ ]*#[ ]*define[ ][ ]*/ /
19660 t def
19662 :def
19663 s/\\$//
19664 t bsnl
19665 s/["\\]/\\&/g
19666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19667 D["\1"]=" \3"/p
19668 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19670 :bsnl
19671 s/["\\]/\\&/g
19672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19673 D["\1"]=" \3\\\\\\n"\\/p
19674 t cont
19675 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19676 t cont
19678 :cont
19680 s/.\{148\}/&'"$ac_delim"'/g
19681 t clear
19682 :clear
19683 s/\\$//
19684 t bsnlc
19685 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19687 :bsnlc
19688 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19689 b cont
19690 ' <confdefs.h | sed '
19691 s/'"$ac_delim"'/"\\\
19692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19695 for (key in D) D_is_set[key] = 1
19696 FS = "\a"
19698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19699 line = \$ 0
19700 split(line, arg, " ")
19701 if (arg[1] == "#") {
19702 defundef = arg[2]
19703 mac1 = arg[3]
19704 } else {
19705 defundef = substr(arg[1], 2)
19706 mac1 = arg[2]
19708 split(mac1, mac2, "(") #)
19709 macro = mac2[1]
19710 prefix = substr(line, 1, index(line, defundef) - 1)
19711 if (D_is_set[macro]) {
19712 # Preserve the white space surrounding the "#".
19713 print prefix "define", macro P[macro] D[macro]
19714 next
19715 } else {
19716 # Replace #undef with comments. This is necessary, for example,
19717 # in the case of _POSIX_SOURCE, which is predefined and required
19718 # on some systems where configure will not decide to define it.
19719 if (defundef == "undef") {
19720 print "/*", prefix defundef, macro, "*/"
19721 next
19725 { print }
19726 _ACAWK
19727 _ACEOF
19728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19729 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19730 fi # test -n "$CONFIG_HEADERS"
19733 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19734 shift
19735 for ac_tag
19737 case $ac_tag in
19738 :[FHLC]) ac_mode=$ac_tag; continue;;
19739 esac
19740 case $ac_mode$ac_tag in
19741 :[FHL]*:*);;
19742 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19743 :[FH]-) ac_tag=-:-;;
19744 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19745 esac
19746 ac_save_IFS=$IFS
19747 IFS=:
19748 set x $ac_tag
19749 IFS=$ac_save_IFS
19750 shift
19751 ac_file=$1
19752 shift
19754 case $ac_mode in
19755 :L) ac_source=$1;;
19756 :[FH])
19757 ac_file_inputs=
19758 for ac_f
19760 case $ac_f in
19761 -) ac_f="$ac_tmp/stdin";;
19762 *) # Look for the file first in the build tree, then in the source tree
19763 # (if the path is not absolute). The absolute path cannot be DOS-style,
19764 # because $ac_f cannot contain `:'.
19765 test -f "$ac_f" ||
19766 case $ac_f in
19767 [\\/$]*) false;;
19768 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19769 esac ||
19770 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19771 esac
19772 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19773 as_fn_append ac_file_inputs " '$ac_f'"
19774 done
19776 # Let's still pretend it is `configure' which instantiates (i.e., don't
19777 # use $as_me), people would be surprised to read:
19778 # /* config.h. Generated by config.status. */
19779 configure_input='Generated from '`
19780 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19781 `' by configure.'
19782 if test x"$ac_file" != x-; then
19783 configure_input="$ac_file. $configure_input"
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19785 $as_echo "$as_me: creating $ac_file" >&6;}
19787 # Neutralize special characters interpreted by sed in replacement strings.
19788 case $configure_input in #(
19789 *\&* | *\|* | *\\* )
19790 ac_sed_conf_input=`$as_echo "$configure_input" |
19791 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19792 *) ac_sed_conf_input=$configure_input;;
19793 esac
19795 case $ac_tag in
19796 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19798 esac
19800 esac
19802 ac_dir=`$as_dirname -- "$ac_file" ||
19803 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19804 X"$ac_file" : 'X\(//\)[^/]' \| \
19805 X"$ac_file" : 'X\(//\)$' \| \
19806 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19807 $as_echo X"$ac_file" |
19808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19809 s//\1/
19812 /^X\(\/\/\)[^/].*/{
19813 s//\1/
19816 /^X\(\/\/\)$/{
19817 s//\1/
19820 /^X\(\/\).*/{
19821 s//\1/
19824 s/.*/./; q'`
19825 as_dir="$ac_dir"; as_fn_mkdir_p
19826 ac_builddir=.
19828 case "$ac_dir" in
19829 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19831 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19832 # A ".." for each directory in $ac_dir_suffix.
19833 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19834 case $ac_top_builddir_sub in
19835 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19836 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19837 esac ;;
19838 esac
19839 ac_abs_top_builddir=$ac_pwd
19840 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19841 # for backward compatibility:
19842 ac_top_builddir=$ac_top_build_prefix
19844 case $srcdir in
19845 .) # We are building in place.
19846 ac_srcdir=.
19847 ac_top_srcdir=$ac_top_builddir_sub
19848 ac_abs_top_srcdir=$ac_pwd ;;
19849 [\\/]* | ?:[\\/]* ) # Absolute name.
19850 ac_srcdir=$srcdir$ac_dir_suffix;
19851 ac_top_srcdir=$srcdir
19852 ac_abs_top_srcdir=$srcdir ;;
19853 *) # Relative name.
19854 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19855 ac_top_srcdir=$ac_top_build_prefix$srcdir
19856 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19857 esac
19858 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19861 case $ac_mode in
19864 # CONFIG_FILE
19867 _ACEOF
19869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19870 # If the template does not know about datarootdir, expand it.
19871 # FIXME: This hack should be removed a few years after 2.60.
19872 ac_datarootdir_hack=; ac_datarootdir_seen=
19873 ac_sed_dataroot='
19874 /datarootdir/ {
19878 /@datadir@/p
19879 /@docdir@/p
19880 /@infodir@/p
19881 /@localedir@/p
19882 /@mandir@/p'
19883 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19884 *datarootdir*) ac_datarootdir_seen=yes;;
19885 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19887 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19888 _ACEOF
19889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19890 ac_datarootdir_hack='
19891 s&@datadir@&$datadir&g
19892 s&@docdir@&$docdir&g
19893 s&@infodir@&$infodir&g
19894 s&@localedir@&$localedir&g
19895 s&@mandir@&$mandir&g
19896 s&\\\${datarootdir}&$datarootdir&g' ;;
19897 esac
19898 _ACEOF
19900 # Neutralize VPATH when `$srcdir' = `.'.
19901 # Shell code in configure.ac might set extrasub.
19902 # FIXME: do we really want to maintain this feature?
19903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19904 ac_sed_extra="$ac_vpsub
19905 $extrasub
19906 _ACEOF
19907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19910 s|@configure_input@|$ac_sed_conf_input|;t t
19911 s&@top_builddir@&$ac_top_builddir_sub&;t t
19912 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19913 s&@srcdir@&$ac_srcdir&;t t
19914 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19915 s&@top_srcdir@&$ac_top_srcdir&;t t
19916 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19917 s&@builddir@&$ac_builddir&;t t
19918 s&@abs_builddir@&$ac_abs_builddir&;t t
19919 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19920 $ac_datarootdir_hack
19922 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19923 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19926 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19928 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19930 which seems to be undefined. Please make sure it is defined" >&5
19931 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19932 which seems to be undefined. Please make sure it is defined" >&2;}
19934 rm -f "$ac_tmp/stdin"
19935 case $ac_file in
19936 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19937 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19938 esac \
19939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19943 # CONFIG_HEADER
19945 if test x"$ac_file" != x-; then
19947 $as_echo "/* $configure_input */" \
19948 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19949 } >"$ac_tmp/config.h" \
19950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19951 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19953 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19954 else
19955 rm -f "$ac_file"
19956 mv "$ac_tmp/config.h" "$ac_file" \
19957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19959 else
19960 $as_echo "/* $configure_input */" \
19961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19962 || as_fn_error $? "could not create -" "$LINENO" 5
19967 # CONFIG_LINK
19970 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19972 else
19973 # Prefer the file from the source tree if names are identical.
19974 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19975 ac_source=$srcdir/$ac_source
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19979 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19981 if test ! -r "$ac_source"; then
19982 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19984 rm -f "$ac_file"
19986 # Try a relative symlink, then a hard link, then a copy.
19987 case $ac_source in
19988 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19989 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19990 esac
19991 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19992 ln "$ac_source" "$ac_file" 2>/dev/null ||
19993 cp -p "$ac_source" "$ac_file" ||
19994 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19997 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19998 $as_echo "$as_me: executing $ac_file commands" >&6;}
20000 esac
20003 case $ac_file$ac_mode in
20004 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20005 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20006 "Makefile":C) wine_fn_output_makefile Makefile ;;
20008 esac
20009 done # for ac_tag
20012 as_fn_exit 0
20013 _ACEOF
20014 ac_clean_files=$ac_clean_files_save
20016 test $ac_write_fail = 0 ||
20017 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20020 # configure is writing to config.log, and then calls config.status.
20021 # config.status does its own redirection, appending to config.log.
20022 # Unfortunately, on DOS this fails, as config.log is still kept open
20023 # by configure, so config.status won't be able to write to it; its
20024 # output is simply discarded. So we exec the FD to /dev/null,
20025 # effectively closing config.log, so it can be properly (re)opened and
20026 # appended to by config.status. When coming back to configure, we
20027 # need to make the FD available again.
20028 if test "$no_create" != yes; then
20029 ac_cs_success=:
20030 ac_config_status_args=
20031 test "$silent" = yes &&
20032 ac_config_status_args="$ac_config_status_args --quiet"
20033 exec 5>/dev/null
20034 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20035 exec 5>>config.log
20036 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20037 # would make configure fail if this is the last instruction.
20038 $ac_cs_success || as_fn_exit 1
20040 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20042 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20046 if test "$no_create" = "yes"
20047 then
20048 exit 0
20051 ac_save_IFS="$IFS"
20052 if test "x$wine_notices" != x; then
20053 echo >&6
20054 IFS="|"
20055 for msg in $wine_notices; do
20056 IFS="$ac_save_IFS"
20057 if ${msg:+false} :; then :
20059 else
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20061 $as_echo "$as_me: $msg" >&6;}
20063 done
20065 IFS="|"
20066 for msg in $wine_warnings; do
20067 IFS="$ac_save_IFS"
20068 if ${msg:+false} :; then :
20070 else
20071 echo >&2
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20073 $as_echo "$as_me: WARNING: $msg" >&2;}
20075 done
20076 IFS="$ac_save_IFS"
20078 $as_echo "
20079 $as_me: Finished. Do '${ac_make}' to compile Wine.
20080 " >&6