winex11: Always use the client pointer for raw events.
[wine.git] / configure
blob1d8f3c6c957b7abc71ef1a21191740fe4f6dd460
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.23.
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='1.9.23'
584 PACKAGE_STRING='Wine 1.9.23'
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_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_com_private_l1_1_0
886 enable_api_ms_win_core_console_l1_1_0
887 enable_api_ms_win_core_console_l2_1_0
888 enable_api_ms_win_core_datetime_l1_1_0
889 enable_api_ms_win_core_datetime_l1_1_1
890 enable_api_ms_win_core_debug_l1_1_0
891 enable_api_ms_win_core_debug_l1_1_1
892 enable_api_ms_win_core_delayload_l1_1_0
893 enable_api_ms_win_core_delayload_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_0
895 enable_api_ms_win_core_errorhandling_l1_1_1
896 enable_api_ms_win_core_errorhandling_l1_1_2
897 enable_api_ms_win_core_fibers_l1_1_0
898 enable_api_ms_win_core_fibers_l1_1_1
899 enable_api_ms_win_core_file_l1_1_0
900 enable_api_ms_win_core_file_l1_2_0
901 enable_api_ms_win_core_file_l1_2_1
902 enable_api_ms_win_core_file_l2_1_0
903 enable_api_ms_win_core_file_l2_1_1
904 enable_api_ms_win_core_handle_l1_1_0
905 enable_api_ms_win_core_heap_l1_1_0
906 enable_api_ms_win_core_heap_l1_2_0
907 enable_api_ms_win_core_heap_obsolete_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_2_0
910 enable_api_ms_win_core_io_l1_1_0
911 enable_api_ms_win_core_io_l1_1_1
912 enable_api_ms_win_core_job_l1_1_0
913 enable_api_ms_win_core_job_l2_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_1
916 enable_api_ms_win_core_kernel32_private_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_1_0
918 enable_api_ms_win_core_libraryloader_l1_1_1
919 enable_api_ms_win_core_libraryloader_l1_2_0
920 enable_api_ms_win_core_libraryloader_l1_2_2
921 enable_api_ms_win_core_localization_l1_1_0
922 enable_api_ms_win_core_localization_l1_2_0
923 enable_api_ms_win_core_localization_l1_2_1
924 enable_api_ms_win_core_localization_l2_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_2_0
927 enable_api_ms_win_core_localization_private_l1_1_0
928 enable_api_ms_win_core_localregistry_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_1
931 enable_api_ms_win_core_memory_l1_1_2
932 enable_api_ms_win_core_misc_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_2_0
935 enable_api_ms_win_core_namespace_l1_1_0
936 enable_api_ms_win_core_normalization_l1_1_0
937 enable_api_ms_win_core_path_l1_1_0
938 enable_api_ms_win_core_privateprofile_l1_1_1
939 enable_api_ms_win_core_processenvironment_l1_1_0
940 enable_api_ms_win_core_processenvironment_l1_2_0
941 enable_api_ms_win_core_processthreads_l1_1_0
942 enable_api_ms_win_core_processthreads_l1_1_1
943 enable_api_ms_win_core_processthreads_l1_1_2
944 enable_api_ms_win_core_profile_l1_1_0
945 enable_api_ms_win_core_psapi_l1_1_0
946 enable_api_ms_win_core_psapi_obsolete_l1_1_0
947 enable_api_ms_win_core_realtime_l1_1_0
948 enable_api_ms_win_core_registry_l1_1_0
949 enable_api_ms_win_core_registryuserspecific_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_2_0
952 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
953 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
954 enable_api_ms_win_core_sidebyside_l1_1_0
955 enable_api_ms_win_core_string_l1_1_0
956 enable_api_ms_win_core_string_l2_1_0
957 enable_api_ms_win_core_string_obsolete_l1_1_0
958 enable_api_ms_win_core_stringansi_l1_1_0
959 enable_api_ms_win_core_synch_l1_1_0
960 enable_api_ms_win_core_synch_l1_2_0
961 enable_api_ms_win_core_sysinfo_l1_1_0
962 enable_api_ms_win_core_sysinfo_l1_2_0
963 enable_api_ms_win_core_sysinfo_l1_2_1
964 enable_api_ms_win_core_threadpool_l1_1_0
965 enable_api_ms_win_core_threadpool_l1_2_0
966 enable_api_ms_win_core_threadpool_legacy_l1_1_0
967 enable_api_ms_win_core_timezone_l1_1_0
968 enable_api_ms_win_core_toolhelp_l1_1_0
969 enable_api_ms_win_core_url_l1_1_0
970 enable_api_ms_win_core_util_l1_1_0
971 enable_api_ms_win_core_version_l1_1_0
972 enable_api_ms_win_core_version_private_l1_1_0
973 enable_api_ms_win_core_versionansi_l1_1_0
974 enable_api_ms_win_core_windowserrorreporting_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_1
977 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
978 enable_api_ms_win_core_winrt_l1_1_0
979 enable_api_ms_win_core_winrt_registration_l1_1_0
980 enable_api_ms_win_core_winrt_string_l1_1_0
981 enable_api_ms_win_core_wow64_l1_1_0
982 enable_api_ms_win_core_xstate_l1_1_0
983 enable_api_ms_win_core_xstate_l2_1_0
984 enable_api_ms_win_crt_conio_l1_1_0
985 enable_api_ms_win_crt_convert_l1_1_0
986 enable_api_ms_win_crt_environment_l1_1_0
987 enable_api_ms_win_crt_filesystem_l1_1_0
988 enable_api_ms_win_crt_heap_l1_1_0
989 enable_api_ms_win_crt_locale_l1_1_0
990 enable_api_ms_win_crt_math_l1_1_0
991 enable_api_ms_win_crt_multibyte_l1_1_0
992 enable_api_ms_win_crt_private_l1_1_0
993 enable_api_ms_win_crt_process_l1_1_0
994 enable_api_ms_win_crt_runtime_l1_1_0
995 enable_api_ms_win_crt_stdio_l1_1_0
996 enable_api_ms_win_crt_string_l1_1_0
997 enable_api_ms_win_crt_time_l1_1_0
998 enable_api_ms_win_crt_utility_l1_1_0
999 enable_api_ms_win_devices_config_l1_1_1
1000 enable_api_ms_win_devices_query_l1_1_1
1001 enable_api_ms_win_downlevel_advapi32_l1_1_0
1002 enable_api_ms_win_downlevel_advapi32_l2_1_0
1003 enable_api_ms_win_downlevel_normaliz_l1_1_0
1004 enable_api_ms_win_downlevel_ole32_l1_1_0
1005 enable_api_ms_win_downlevel_shell32_l1_1_0
1006 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1007 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1008 enable_api_ms_win_downlevel_user32_l1_1_0
1009 enable_api_ms_win_downlevel_version_l1_1_0
1010 enable_api_ms_win_dx_d3dkmt_l1_1_0
1011 enable_api_ms_win_eventing_classicprovider_l1_1_0
1012 enable_api_ms_win_eventing_consumer_l1_1_0
1013 enable_api_ms_win_eventing_controller_l1_1_0
1014 enable_api_ms_win_eventing_provider_l1_1_0
1015 enable_api_ms_win_eventlog_legacy_l1_1_0
1016 enable_api_ms_win_ntuser_dc_access_l1_1_0
1017 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1018 enable_api_ms_win_security_audit_l1_1_1
1019 enable_api_ms_win_security_base_l1_1_0
1020 enable_api_ms_win_security_base_l1_2_0
1021 enable_api_ms_win_security_base_private_l1_1_1
1022 enable_api_ms_win_security_lsalookup_l1_1_0
1023 enable_api_ms_win_security_lsalookup_l1_1_1
1024 enable_api_ms_win_security_lsalookup_l2_1_1
1025 enable_api_ms_win_security_lsapolicy_l1_1_0
1026 enable_api_ms_win_security_sddl_l1_1_0
1027 enable_api_ms_win_service_core_l1_1_0
1028 enable_api_ms_win_service_core_l1_1_1
1029 enable_api_ms_win_service_management_l1_1_0
1030 enable_api_ms_win_service_management_l2_1_0
1031 enable_api_ms_win_service_private_l1_1_1
1032 enable_api_ms_win_service_winsvc_l1_1_0
1033 enable_api_ms_win_service_winsvc_l1_2_0
1034 enable_api_ms_win_shell_shellcom_l1_1_0
1035 enable_api_ms_win_shell_shellfolders_l1_1_0
1036 enable_apphelp
1037 enable_appwiz_cpl
1038 enable_atl
1039 enable_atl100
1040 enable_atl110
1041 enable_atl80
1042 enable_atl90
1043 enable_authz
1044 enable_avicap32
1045 enable_avifil32
1046 enable_avrt
1047 enable_bcrypt
1048 enable_bluetoothapis
1049 enable_browseui
1050 enable_bthprops_cpl
1051 enable_cabinet
1052 enable_capi2032
1053 enable_cards
1054 enable_cfgmgr32
1055 enable_clusapi
1056 enable_combase
1057 enable_comcat
1058 enable_comctl32
1059 enable_comdlg32
1060 enable_compstui
1061 enable_comsvcs
1062 enable_concrt140
1063 enable_connect
1064 enable_credui
1065 enable_crtdll
1066 enable_crypt32
1067 enable_cryptdlg
1068 enable_cryptdll
1069 enable_cryptext
1070 enable_cryptnet
1071 enable_cryptui
1072 enable_ctapi32
1073 enable_ctl3d32
1074 enable_d2d1
1075 enable_d3d10
1076 enable_d3d10_1
1077 enable_d3d10core
1078 enable_d3d11
1079 enable_d3d8
1080 enable_d3d9
1081 enable_d3dcompiler_33
1082 enable_d3dcompiler_34
1083 enable_d3dcompiler_35
1084 enable_d3dcompiler_36
1085 enable_d3dcompiler_37
1086 enable_d3dcompiler_38
1087 enable_d3dcompiler_39
1088 enable_d3dcompiler_40
1089 enable_d3dcompiler_41
1090 enable_d3dcompiler_42
1091 enable_d3dcompiler_43
1092 enable_d3dcompiler_46
1093 enable_d3dcompiler_47
1094 enable_d3dim
1095 enable_d3drm
1096 enable_d3dx10_33
1097 enable_d3dx10_34
1098 enable_d3dx10_35
1099 enable_d3dx10_36
1100 enable_d3dx10_37
1101 enable_d3dx10_38
1102 enable_d3dx10_39
1103 enable_d3dx10_40
1104 enable_d3dx10_41
1105 enable_d3dx10_42
1106 enable_d3dx10_43
1107 enable_d3dx11_42
1108 enable_d3dx11_43
1109 enable_d3dx9_24
1110 enable_d3dx9_25
1111 enable_d3dx9_26
1112 enable_d3dx9_27
1113 enable_d3dx9_28
1114 enable_d3dx9_29
1115 enable_d3dx9_30
1116 enable_d3dx9_31
1117 enable_d3dx9_32
1118 enable_d3dx9_33
1119 enable_d3dx9_34
1120 enable_d3dx9_35
1121 enable_d3dx9_36
1122 enable_d3dx9_37
1123 enable_d3dx9_38
1124 enable_d3dx9_39
1125 enable_d3dx9_40
1126 enable_d3dx9_41
1127 enable_d3dx9_42
1128 enable_d3dx9_43
1129 enable_d3dxof
1130 enable_davclnt
1131 enable_dbgeng
1132 enable_dbghelp
1133 enable_dciman32
1134 enable_ddraw
1135 enable_ddrawex
1136 enable_devenum
1137 enable_dhcpcsvc
1138 enable_difxapi
1139 enable_dinput
1140 enable_dinput8
1141 enable_dispex
1142 enable_dmband
1143 enable_dmcompos
1144 enable_dmime
1145 enable_dmloader
1146 enable_dmscript
1147 enable_dmstyle
1148 enable_dmsynth
1149 enable_dmusic
1150 enable_dmusic32
1151 enable_dnsapi
1152 enable_dplay
1153 enable_dplayx
1154 enable_dpnaddr
1155 enable_dpnet
1156 enable_dpnhpast
1157 enable_dpnlobby
1158 enable_dpvoice
1159 enable_dpwsockx
1160 enable_drmclien
1161 enable_dsound
1162 enable_dssenh
1163 enable_dswave
1164 enable_dwmapi
1165 enable_dwrite
1166 enable_dxdiagn
1167 enable_dxgi
1168 enable_dxva2
1169 enable_esent
1170 enable_evr
1171 enable_explorerframe
1172 enable_ext_ms_win_gdi_dc_create_l1_1_1
1173 enable_ext_ms_win_gdi_dc_l1_2_0
1174 enable_ext_ms_win_gdi_devcaps_l1_1_0
1175 enable_ext_ms_win_gdi_draw_l1_1_1
1176 enable_ext_ms_win_gdi_render_l1_1_0
1177 enable_ext_ms_win_kernel32_package_current_l1_1_0
1178 enable_ext_ms_win_ntuser_message_l1_1_1
1179 enable_ext_ms_win_ntuser_private_l1_1_1
1180 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1181 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1182 enable_ext_ms_win_ntuser_window_l1_1_1
1183 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1184 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1185 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1186 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1187 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1188 enable_faultrep
1189 enable_fltlib
1190 enable_fltmgr_sys
1191 enable_fntcache
1192 enable_fontsub
1193 enable_fusion
1194 enable_fwpuclnt
1195 enable_gameux
1196 enable_gdi32
1197 enable_gdiplus
1198 enable_glu32
1199 enable_gphoto2_ds
1200 enable_gpkcsp
1201 enable_hal
1202 enable_hhctrl_ocx
1203 enable_hid
1204 enable_hidclass_sys
1205 enable_hlink
1206 enable_hnetcfg
1207 enable_httpapi
1208 enable_iccvid
1209 enable_icmp
1210 enable_ieframe
1211 enable_imaadp32_acm
1212 enable_imagehlp
1213 enable_imm32
1214 enable_inetcomm
1215 enable_inetcpl_cpl
1216 enable_inetmib1
1217 enable_infosoft
1218 enable_initpki
1219 enable_inkobj
1220 enable_inseng
1221 enable_iphlpapi
1222 enable_iprop
1223 enable_irprops_cpl
1224 enable_itircl
1225 enable_itss
1226 enable_joy_cpl
1227 enable_jscript
1228 enable_jsproxy
1229 enable_kernel32
1230 enable_kernelbase
1231 enable_ksuser
1232 enable_ktmw32
1233 enable_loadperf
1234 enable_localspl
1235 enable_localui
1236 enable_lz32
1237 enable_mapi32
1238 enable_mapistub
1239 enable_mciavi32
1240 enable_mcicda
1241 enable_mciqtz32
1242 enable_mciseq
1243 enable_mciwave
1244 enable_mf
1245 enable_mfplat
1246 enable_mfreadwrite
1247 enable_mgmtapi
1248 enable_midimap
1249 enable_mlang
1250 enable_mmcndmgr
1251 enable_mmdevapi
1252 enable_mountmgr_sys
1253 enable_mpr
1254 enable_mprapi
1255 enable_msacm32_drv
1256 enable_msacm32
1257 enable_msadp32_acm
1258 enable_msasn1
1259 enable_mscat32
1260 enable_mscms
1261 enable_mscoree
1262 enable_msctf
1263 enable_msctfp
1264 enable_msdaps
1265 enable_msdelta
1266 enable_msdmo
1267 enable_msdrm
1268 enable_msftedit
1269 enable_msg711_acm
1270 enable_msgsm32_acm
1271 enable_mshtml_tlb
1272 enable_mshtml
1273 enable_msi
1274 enable_msident
1275 enable_msimg32
1276 enable_msimsg
1277 enable_msimtf
1278 enable_msisip
1279 enable_msisys_ocx
1280 enable_msls31
1281 enable_msnet32
1282 enable_mspatcha
1283 enable_msports
1284 enable_msrle32
1285 enable_msscript_ocx
1286 enable_mssign32
1287 enable_mssip32
1288 enable_mstask
1289 enable_msvcirt
1290 enable_msvcm80
1291 enable_msvcm90
1292 enable_msvcp100
1293 enable_msvcp110
1294 enable_msvcp120
1295 enable_msvcp120_app
1296 enable_msvcp140
1297 enable_msvcp60
1298 enable_msvcp70
1299 enable_msvcp71
1300 enable_msvcp80
1301 enable_msvcp90
1302 enable_msvcr100
1303 enable_msvcr110
1304 enable_msvcr120
1305 enable_msvcr120_app
1306 enable_msvcr70
1307 enable_msvcr71
1308 enable_msvcr80
1309 enable_msvcr90
1310 enable_msvcrt
1311 enable_msvcrt20
1312 enable_msvcrt40
1313 enable_msvcrtd
1314 enable_msvfw32
1315 enable_msvidc32
1316 enable_mswsock
1317 enable_msxml
1318 enable_msxml2
1319 enable_msxml3
1320 enable_msxml4
1321 enable_msxml6
1322 enable_ncrypt
1323 enable_nddeapi
1324 enable_ndis_sys
1325 enable_netapi32
1326 enable_netcfgx
1327 enable_netprofm
1328 enable_newdev
1329 enable_normaliz
1330 enable_npmshtml
1331 enable_npptools
1332 enable_ntdll
1333 enable_ntdsapi
1334 enable_ntoskrnl_exe
1335 enable_ntprint
1336 enable_objsel
1337 enable_odbc32
1338 enable_odbccp32
1339 enable_odbccu32
1340 enable_ole32
1341 enable_oleacc
1342 enable_oleaut32
1343 enable_olecli32
1344 enable_oledb32
1345 enable_oledlg
1346 enable_olepro32
1347 enable_olesvr32
1348 enable_olethk32
1349 enable_openal32
1350 enable_opencl
1351 enable_opengl32
1352 enable_packager
1353 enable_pdh
1354 enable_photometadatahandler
1355 enable_pidgen
1356 enable_powrprof
1357 enable_printui
1358 enable_prntvpt
1359 enable_propsys
1360 enable_psapi
1361 enable_pstorec
1362 enable_qcap
1363 enable_qedit
1364 enable_qmgr
1365 enable_qmgrprxy
1366 enable_quartz
1367 enable_query
1368 enable_rasapi32
1369 enable_rasdlg
1370 enable_regapi
1371 enable_resutils
1372 enable_riched20
1373 enable_riched32
1374 enable_rpcrt4
1375 enable_rsabase
1376 enable_rsaenh
1377 enable_rstrtmgr
1378 enable_rtutils
1379 enable_samlib
1380 enable_sane_ds
1381 enable_scarddlg
1382 enable_sccbase
1383 enable_schannel
1384 enable_schedsvc
1385 enable_scrrun
1386 enable_scsiport_sys
1387 enable_secur32
1388 enable_security
1389 enable_sensapi
1390 enable_serialui
1391 enable_setupapi
1392 enable_sfc
1393 enable_sfc_os
1394 enable_shdoclc
1395 enable_shdocvw
1396 enable_shell32
1397 enable_shfolder
1398 enable_shlwapi
1399 enable_slbcsp
1400 enable_slc
1401 enable_snmpapi
1402 enable_softpub
1403 enable_spoolss
1404 enable_sspicli
1405 enable_stdole2_tlb
1406 enable_stdole32_tlb
1407 enable_sti
1408 enable_svrapi
1409 enable_sxs
1410 enable_t2embed
1411 enable_tapi32
1412 enable_taskschd
1413 enable_tdi_sys
1414 enable_traffic
1415 enable_twain_32
1416 enable_ucrtbase
1417 enable_unicows
1418 enable_updspapi
1419 enable_url
1420 enable_urlmon
1421 enable_usbd_sys
1422 enable_user32
1423 enable_userenv
1424 enable_usp10
1425 enable_uxtheme
1426 enable_vbscript
1427 enable_vcomp
1428 enable_vcomp100
1429 enable_vcomp110
1430 enable_vcomp120
1431 enable_vcomp140
1432 enable_vcomp90
1433 enable_vcruntime140
1434 enable_vdmdbg
1435 enable_version
1436 enable_vssapi
1437 enable_wbemdisp
1438 enable_wbemprox
1439 enable_webservices
1440 enable_wer
1441 enable_wevtapi
1442 enable_wiaservc
1443 enable_wimgapi
1444 enable_windowscodecs
1445 enable_windowscodecsext
1446 enable_winealsa_drv
1447 enable_winebus_sys
1448 enable_winecoreaudio_drv
1449 enable_wined3d
1450 enable_winegstreamer
1451 enable_winehid_sys
1452 enable_winejoystick_drv
1453 enable_winemac_drv
1454 enable_winemapi
1455 enable_winemp3_acm
1456 enable_wineoss_drv
1457 enable_wineps_drv
1458 enable_winepulse_drv
1459 enable_wineqtdecoder
1460 enable_winex11_drv
1461 enable_wing32
1462 enable_winhttp
1463 enable_wininet
1464 enable_winmm
1465 enable_winnls32
1466 enable_winscard
1467 enable_winspool_drv
1468 enable_winsta
1469 enable_wintab32
1470 enable_wintrust
1471 enable_wlanapi
1472 enable_wldap32
1473 enable_wmasf
1474 enable_wmi
1475 enable_wmiutils
1476 enable_wmp
1477 enable_wmvcore
1478 enable_wnaspi32
1479 enable_wpc
1480 enable_wpcap
1481 enable_ws2_32
1482 enable_wshom_ocx
1483 enable_wsnmp32
1484 enable_wsock32
1485 enable_wtsapi32
1486 enable_wuapi
1487 enable_wuaueng
1488 enable_x3daudio1_0
1489 enable_x3daudio1_1
1490 enable_x3daudio1_2
1491 enable_x3daudio1_3
1492 enable_x3daudio1_4
1493 enable_x3daudio1_5
1494 enable_x3daudio1_6
1495 enable_x3daudio1_7
1496 enable_xapofx1_1
1497 enable_xapofx1_2
1498 enable_xapofx1_3
1499 enable_xapofx1_4
1500 enable_xapofx1_5
1501 enable_xaudio2_0
1502 enable_xaudio2_1
1503 enable_xaudio2_2
1504 enable_xaudio2_3
1505 enable_xaudio2_4
1506 enable_xaudio2_5
1507 enable_xaudio2_6
1508 enable_xaudio2_7
1509 enable_xaudio2_8
1510 enable_xaudio2_9
1511 enable_xinput1_1
1512 enable_xinput1_2
1513 enable_xinput1_3
1514 enable_xinput1_4
1515 enable_xinput9_1_0
1516 enable_xmllite
1517 enable_xolehlp
1518 enable_xpsprint
1519 enable_xpssvcs
1520 enable_fonts
1521 enable_include
1522 enable_libs_port
1523 enable_libs_wine
1524 enable_libs_wpp
1525 enable_loader
1526 enable_po
1527 enable_arp
1528 enable_aspnet_regiis
1529 enable_attrib
1530 enable_cabarc
1531 enable_cacls
1532 enable_clock
1533 enable_cmd
1534 enable_conhost
1535 enable_control
1536 enable_cscript
1537 enable_dpnsvr
1538 enable_dxdiag
1539 enable_eject
1540 enable_expand
1541 enable_explorer
1542 enable_extrac32
1543 enable_findstr
1544 enable_fsutil
1545 enable_hh
1546 enable_hostname
1547 enable_icacls
1548 enable_icinfo
1549 enable_iexplore
1550 enable_ipconfig
1551 enable_lodctr
1552 enable_mofcomp
1553 enable_mshta
1554 enable_msiexec
1555 enable_msinfo32
1556 enable_net
1557 enable_netsh
1558 enable_netstat
1559 enable_ngen
1560 enable_notepad
1561 enable_oleview
1562 enable_ping
1563 enable_plugplay
1564 enable_presentationfontcache
1565 enable_progman
1566 enable_reg
1567 enable_regasm
1568 enable_regedit
1569 enable_regsvcs
1570 enable_regsvr32
1571 enable_rpcss
1572 enable_rundll32
1573 enable_sc
1574 enable_schtasks
1575 enable_sdbinst
1576 enable_secedit
1577 enable_servicemodelreg
1578 enable_services
1579 enable_shutdown
1580 enable_spoolsv
1581 enable_start
1582 enable_subst
1583 enable_svchost
1584 enable_systeminfo
1585 enable_taskkill
1586 enable_tasklist
1587 enable_taskmgr
1588 enable_termsv
1589 enable_uninstaller
1590 enable_unlodctr
1591 enable_view
1592 enable_wevtutil
1593 enable_wineboot
1594 enable_winebrowser
1595 enable_winecfg
1596 enable_wineconsole
1597 enable_winedbg
1598 enable_winedevice
1599 enable_winefile
1600 enable_winemenubuilder
1601 enable_winemine
1602 enable_winemsibuilder
1603 enable_winepath
1604 enable_winetest
1605 enable_winhlp32
1606 enable_winver
1607 enable_wmic
1608 enable_wmplayer
1609 enable_wordpad
1610 enable_write
1611 enable_wscript
1612 enable_wusa
1613 enable_xcopy
1614 enable_server
1615 enable_tools
1617 ac_precious_vars='build_alias
1618 host_alias
1619 target_alias
1621 CFLAGS
1622 LDFLAGS
1623 LIBS
1624 CPPFLAGS
1626 CXXFLAGS
1629 XMKMF
1630 XML2_CFLAGS
1631 XML2_LIBS
1632 XSLT_CFLAGS
1633 XSLT_LIBS
1634 DBUS_CFLAGS
1635 DBUS_LIBS
1636 HAL_CFLAGS
1637 HAL_LIBS
1638 GNUTLS_CFLAGS
1639 GNUTLS_LIBS
1640 SANE_CFLAGS
1641 SANE_LIBS
1642 GPHOTO2_CFLAGS
1643 GPHOTO2_LIBS
1644 GPHOTO2_PORT_CFLAGS
1645 GPHOTO2_PORT_LIBS
1646 LCMS2_CFLAGS
1647 LCMS2_LIBS
1648 FREETYPE_CFLAGS
1649 FREETYPE_LIBS
1650 PULSE_CFLAGS
1651 PULSE_LIBS
1652 GSTREAMER_CFLAGS
1653 GSTREAMER_LIBS
1654 UDEV_CFLAGS
1655 UDEV_LIBS
1656 CAPI20_CFLAGS
1657 CAPI20_LIBS
1658 FONTCONFIG_CFLAGS
1659 FONTCONFIG_LIBS
1660 JPEG_CFLAGS
1661 JPEG_LIBS
1662 PNG_CFLAGS
1663 PNG_LIBS
1664 TIFF_CFLAGS
1665 TIFF_LIBS
1666 MPG123_CFLAGS
1667 MPG123_LIBS
1668 NETAPI_CFLAGS
1669 NETAPI_LIBS'
1672 # Initialize some variables set by options.
1673 ac_init_help=
1674 ac_init_version=false
1675 ac_unrecognized_opts=
1676 ac_unrecognized_sep=
1677 # The variables have the same names as the options, with
1678 # dashes changed to underlines.
1679 cache_file=/dev/null
1680 exec_prefix=NONE
1681 no_create=
1682 no_recursion=
1683 prefix=NONE
1684 program_prefix=NONE
1685 program_suffix=NONE
1686 program_transform_name=s,x,x,
1687 silent=
1688 site=
1689 srcdir=
1690 verbose=
1691 x_includes=NONE
1692 x_libraries=NONE
1694 # Installation directory options.
1695 # These are left unexpanded so users can "make install exec_prefix=/foo"
1696 # and all the variables that are supposed to be based on exec_prefix
1697 # by default will actually change.
1698 # Use braces instead of parens because sh, perl, etc. also accept them.
1699 # (The list follows the same order as the GNU Coding Standards.)
1700 bindir='${exec_prefix}/bin'
1701 sbindir='${exec_prefix}/sbin'
1702 libexecdir='${exec_prefix}/libexec'
1703 datarootdir='${prefix}/share'
1704 datadir='${datarootdir}'
1705 sysconfdir='${prefix}/etc'
1706 sharedstatedir='${prefix}/com'
1707 localstatedir='${prefix}/var'
1708 runstatedir='${localstatedir}/run'
1709 includedir='${prefix}/include'
1710 oldincludedir='/usr/include'
1711 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1712 infodir='${datarootdir}/info'
1713 htmldir='${docdir}'
1714 dvidir='${docdir}'
1715 pdfdir='${docdir}'
1716 psdir='${docdir}'
1717 libdir='${exec_prefix}/lib'
1718 localedir='${datarootdir}/locale'
1719 mandir='${datarootdir}/man'
1721 ac_prev=
1722 ac_dashdash=
1723 for ac_option
1725 # If the previous option needs an argument, assign it.
1726 if test -n "$ac_prev"; then
1727 eval $ac_prev=\$ac_option
1728 ac_prev=
1729 continue
1732 case $ac_option in
1733 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1734 *=) ac_optarg= ;;
1735 *) ac_optarg=yes ;;
1736 esac
1738 # Accept the important Cygnus configure options, so we can diagnose typos.
1740 case $ac_dashdash$ac_option in
1742 ac_dashdash=yes ;;
1744 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1745 ac_prev=bindir ;;
1746 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1747 bindir=$ac_optarg ;;
1749 -build | --build | --buil | --bui | --bu)
1750 ac_prev=build_alias ;;
1751 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1752 build_alias=$ac_optarg ;;
1754 -cache-file | --cache-file | --cache-fil | --cache-fi \
1755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1756 ac_prev=cache_file ;;
1757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1759 cache_file=$ac_optarg ;;
1761 --config-cache | -C)
1762 cache_file=config.cache ;;
1764 -datadir | --datadir | --datadi | --datad)
1765 ac_prev=datadir ;;
1766 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1767 datadir=$ac_optarg ;;
1769 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1770 | --dataroo | --dataro | --datar)
1771 ac_prev=datarootdir ;;
1772 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1773 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1774 datarootdir=$ac_optarg ;;
1776 -disable-* | --disable-*)
1777 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1778 # Reject names that are not valid shell variable names.
1779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1780 as_fn_error $? "invalid feature name: $ac_useropt"
1781 ac_useropt_orig=$ac_useropt
1782 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1783 case $ac_user_opts in
1785 "enable_$ac_useropt"
1786 "*) ;;
1787 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1788 ac_unrecognized_sep=', ';;
1789 esac
1790 eval enable_$ac_useropt=no ;;
1792 -docdir | --docdir | --docdi | --doc | --do)
1793 ac_prev=docdir ;;
1794 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1795 docdir=$ac_optarg ;;
1797 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1798 ac_prev=dvidir ;;
1799 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1800 dvidir=$ac_optarg ;;
1802 -enable-* | --enable-*)
1803 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1804 # Reject names that are not valid shell variable names.
1805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1806 as_fn_error $? "invalid feature name: $ac_useropt"
1807 ac_useropt_orig=$ac_useropt
1808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1809 case $ac_user_opts in
1811 "enable_$ac_useropt"
1812 "*) ;;
1813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1814 ac_unrecognized_sep=', ';;
1815 esac
1816 eval enable_$ac_useropt=\$ac_optarg ;;
1818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1820 | --exec | --exe | --ex)
1821 ac_prev=exec_prefix ;;
1822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1824 | --exec=* | --exe=* | --ex=*)
1825 exec_prefix=$ac_optarg ;;
1827 -gas | --gas | --ga | --g)
1828 # Obsolete; use --with-gas.
1829 with_gas=yes ;;
1831 -help | --help | --hel | --he | -h)
1832 ac_init_help=long ;;
1833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1834 ac_init_help=recursive ;;
1835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1836 ac_init_help=short ;;
1838 -host | --host | --hos | --ho)
1839 ac_prev=host_alias ;;
1840 -host=* | --host=* | --hos=* | --ho=*)
1841 host_alias=$ac_optarg ;;
1843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1844 ac_prev=htmldir ;;
1845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1846 | --ht=*)
1847 htmldir=$ac_optarg ;;
1849 -includedir | --includedir | --includedi | --included | --include \
1850 | --includ | --inclu | --incl | --inc)
1851 ac_prev=includedir ;;
1852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1853 | --includ=* | --inclu=* | --incl=* | --inc=*)
1854 includedir=$ac_optarg ;;
1856 -infodir | --infodir | --infodi | --infod | --info | --inf)
1857 ac_prev=infodir ;;
1858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1859 infodir=$ac_optarg ;;
1861 -libdir | --libdir | --libdi | --libd)
1862 ac_prev=libdir ;;
1863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1864 libdir=$ac_optarg ;;
1866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1867 | --libexe | --libex | --libe)
1868 ac_prev=libexecdir ;;
1869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1870 | --libexe=* | --libex=* | --libe=*)
1871 libexecdir=$ac_optarg ;;
1873 -localedir | --localedir | --localedi | --localed | --locale)
1874 ac_prev=localedir ;;
1875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1876 localedir=$ac_optarg ;;
1878 -localstatedir | --localstatedir | --localstatedi | --localstated \
1879 | --localstate | --localstat | --localsta | --localst | --locals)
1880 ac_prev=localstatedir ;;
1881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1883 localstatedir=$ac_optarg ;;
1885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1886 ac_prev=mandir ;;
1887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1888 mandir=$ac_optarg ;;
1890 -nfp | --nfp | --nf)
1891 # Obsolete; use --without-fp.
1892 with_fp=no ;;
1894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1895 | --no-cr | --no-c | -n)
1896 no_create=yes ;;
1898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1900 no_recursion=yes ;;
1902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1904 | --oldin | --oldi | --old | --ol | --o)
1905 ac_prev=oldincludedir ;;
1906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1909 oldincludedir=$ac_optarg ;;
1911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1912 ac_prev=prefix ;;
1913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1914 prefix=$ac_optarg ;;
1916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1917 | --program-pre | --program-pr | --program-p)
1918 ac_prev=program_prefix ;;
1919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1921 program_prefix=$ac_optarg ;;
1923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1924 | --program-suf | --program-su | --program-s)
1925 ac_prev=program_suffix ;;
1926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1928 program_suffix=$ac_optarg ;;
1930 -program-transform-name | --program-transform-name \
1931 | --program-transform-nam | --program-transform-na \
1932 | --program-transform-n | --program-transform- \
1933 | --program-transform | --program-transfor \
1934 | --program-transfo | --program-transf \
1935 | --program-trans | --program-tran \
1936 | --progr-tra | --program-tr | --program-t)
1937 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1948 ac_prev=pdfdir ;;
1949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1950 pdfdir=$ac_optarg ;;
1952 -psdir | --psdir | --psdi | --psd | --ps)
1953 ac_prev=psdir ;;
1954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1955 psdir=$ac_optarg ;;
1957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1958 | -silent | --silent | --silen | --sile | --sil)
1959 silent=yes ;;
1961 -runstatedir | --runstatedir | --runstatedi | --runstated \
1962 | --runstate | --runstat | --runsta | --runst | --runs \
1963 | --run | --ru | --r)
1964 ac_prev=runstatedir ;;
1965 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1966 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1967 | --run=* | --ru=* | --r=*)
1968 runstatedir=$ac_optarg ;;
1970 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1971 ac_prev=sbindir ;;
1972 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1973 | --sbi=* | --sb=*)
1974 sbindir=$ac_optarg ;;
1976 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1977 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1978 | --sharedst | --shareds | --shared | --share | --shar \
1979 | --sha | --sh)
1980 ac_prev=sharedstatedir ;;
1981 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1982 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1983 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1984 | --sha=* | --sh=*)
1985 sharedstatedir=$ac_optarg ;;
1987 -site | --site | --sit)
1988 ac_prev=site ;;
1989 -site=* | --site=* | --sit=*)
1990 site=$ac_optarg ;;
1992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1993 ac_prev=srcdir ;;
1994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1995 srcdir=$ac_optarg ;;
1997 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1998 | --syscon | --sysco | --sysc | --sys | --sy)
1999 ac_prev=sysconfdir ;;
2000 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2001 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2002 sysconfdir=$ac_optarg ;;
2004 -target | --target | --targe | --targ | --tar | --ta | --t)
2005 ac_prev=target_alias ;;
2006 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2007 target_alias=$ac_optarg ;;
2009 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2010 verbose=yes ;;
2012 -version | --version | --versio | --versi | --vers | -V)
2013 ac_init_version=: ;;
2015 -with-* | --with-*)
2016 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2017 # Reject names that are not valid shell variable names.
2018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2019 as_fn_error $? "invalid package name: $ac_useropt"
2020 ac_useropt_orig=$ac_useropt
2021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2022 case $ac_user_opts in
2024 "with_$ac_useropt"
2025 "*) ;;
2026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2027 ac_unrecognized_sep=', ';;
2028 esac
2029 eval with_$ac_useropt=\$ac_optarg ;;
2031 -without-* | --without-*)
2032 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2033 # Reject names that are not valid shell variable names.
2034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2035 as_fn_error $? "invalid package name: $ac_useropt"
2036 ac_useropt_orig=$ac_useropt
2037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2038 case $ac_user_opts in
2040 "with_$ac_useropt"
2041 "*) ;;
2042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2043 ac_unrecognized_sep=', ';;
2044 esac
2045 eval with_$ac_useropt=no ;;
2047 --x)
2048 # Obsolete; use --with-x.
2049 with_x=yes ;;
2051 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2052 | --x-incl | --x-inc | --x-in | --x-i)
2053 ac_prev=x_includes ;;
2054 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2055 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2056 x_includes=$ac_optarg ;;
2058 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2059 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2060 ac_prev=x_libraries ;;
2061 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2062 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2063 x_libraries=$ac_optarg ;;
2065 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2066 Try \`$0 --help' for more information"
2069 *=*)
2070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2071 # Reject names that are not valid shell variable names.
2072 case $ac_envvar in #(
2073 '' | [0-9]* | *[!_$as_cr_alnum]* )
2074 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2075 esac
2076 eval $ac_envvar=\$ac_optarg
2077 export $ac_envvar ;;
2080 # FIXME: should be removed in autoconf 3.0.
2081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2084 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2087 esac
2088 done
2090 if test -n "$ac_prev"; then
2091 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2092 as_fn_error $? "missing argument to $ac_option"
2095 if test -n "$ac_unrecognized_opts"; then
2096 case $enable_option_checking in
2097 no) ;;
2098 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2100 esac
2103 # Check all directory arguments for consistency.
2104 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2105 datadir sysconfdir sharedstatedir localstatedir includedir \
2106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2107 libdir localedir mandir runstatedir
2109 eval ac_val=\$$ac_var
2110 # Remove trailing slashes.
2111 case $ac_val in
2112 */ )
2113 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2114 eval $ac_var=\$ac_val;;
2115 esac
2116 # Be sure to have absolute directory names.
2117 case $ac_val in
2118 [\\/$]* | ?:[\\/]* ) continue;;
2119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2120 esac
2121 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2122 done
2124 # There might be people who depend on the old broken behavior: `$host'
2125 # used to hold the argument of --host etc.
2126 # FIXME: To remove some day.
2127 build=$build_alias
2128 host=$host_alias
2129 target=$target_alias
2131 # FIXME: To remove some day.
2132 if test "x$host_alias" != x; then
2133 if test "x$build_alias" = x; then
2134 cross_compiling=maybe
2135 elif test "x$build_alias" != "x$host_alias"; then
2136 cross_compiling=yes
2140 ac_tool_prefix=
2141 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2143 test "$silent" = yes && exec 6>/dev/null
2146 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2147 ac_ls_di=`ls -di .` &&
2148 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2149 as_fn_error $? "working directory cannot be determined"
2150 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2151 as_fn_error $? "pwd does not report name of working directory"
2154 # Find the source files, if location was not specified.
2155 if test -z "$srcdir"; then
2156 ac_srcdir_defaulted=yes
2157 # Try the directory containing this script, then the parent directory.
2158 ac_confdir=`$as_dirname -- "$as_myself" ||
2159 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2160 X"$as_myself" : 'X\(//\)[^/]' \| \
2161 X"$as_myself" : 'X\(//\)$' \| \
2162 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2163 $as_echo X"$as_myself" |
2164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2165 s//\1/
2168 /^X\(\/\/\)[^/].*/{
2169 s//\1/
2172 /^X\(\/\/\)$/{
2173 s//\1/
2176 /^X\(\/\).*/{
2177 s//\1/
2180 s/.*/./; q'`
2181 srcdir=$ac_confdir
2182 if test ! -r "$srcdir/$ac_unique_file"; then
2183 srcdir=..
2185 else
2186 ac_srcdir_defaulted=no
2188 if test ! -r "$srcdir/$ac_unique_file"; then
2189 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2190 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2192 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2193 ac_abs_confdir=`(
2194 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2195 pwd)`
2196 # When building in place, set srcdir=.
2197 if test "$ac_abs_confdir" = "$ac_pwd"; then
2198 srcdir=.
2200 # Remove unnecessary trailing slashes from srcdir.
2201 # Double slashes in file names in object file debugging info
2202 # mess up M-x gdb in Emacs.
2203 case $srcdir in
2204 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2205 esac
2206 for ac_var in $ac_precious_vars; do
2207 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2208 eval ac_env_${ac_var}_value=\$${ac_var}
2209 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2210 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2211 done
2214 # Report the --help message.
2216 if test "$ac_init_help" = "long"; then
2217 # Omit some internal or obsolete options to make the list less imposing.
2218 # This message is too long to be a string in the A/UX 3.1 sh.
2219 cat <<_ACEOF
2220 \`configure' configures Wine 1.9.23 to adapt to many kinds of systems.
2222 Usage: $0 [OPTION]... [VAR=VALUE]...
2224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2225 VAR=VALUE. See below for descriptions of some of the useful variables.
2227 Defaults for the options are specified in brackets.
2229 Configuration:
2230 -h, --help display this help and exit
2231 --help=short display options specific to this package
2232 --help=recursive display the short help of all the included packages
2233 -V, --version display version information and exit
2234 -q, --quiet, --silent do not print \`checking ...' messages
2235 --cache-file=FILE cache test results in FILE [disabled]
2236 -C, --config-cache alias for \`--cache-file=config.cache'
2237 -n, --no-create do not create output files
2238 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2240 Installation directories:
2241 --prefix=PREFIX install architecture-independent files in PREFIX
2242 [$ac_default_prefix]
2243 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2244 [PREFIX]
2246 By default, \`make install' will install all the files in
2247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2249 for instance \`--prefix=\$HOME'.
2251 For better control, use the options below.
2253 Fine tuning of the installation directories:
2254 --bindir=DIR user executables [EPREFIX/bin]
2255 --sbindir=DIR system admin executables [EPREFIX/sbin]
2256 --libexecdir=DIR program executables [EPREFIX/libexec]
2257 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2258 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2259 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2260 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2261 --libdir=DIR object code libraries [EPREFIX/lib]
2262 --includedir=DIR C header files [PREFIX/include]
2263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2266 --infodir=DIR info documentation [DATAROOTDIR/info]
2267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2268 --mandir=DIR man documentation [DATAROOTDIR/man]
2269 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2270 --htmldir=DIR html documentation [DOCDIR]
2271 --dvidir=DIR dvi documentation [DOCDIR]
2272 --pdfdir=DIR pdf documentation [DOCDIR]
2273 --psdir=DIR ps documentation [DOCDIR]
2274 _ACEOF
2276 cat <<\_ACEOF
2278 X features:
2279 --x-includes=DIR X include files are in DIR
2280 --x-libraries=DIR X library files are in DIR
2282 System types:
2283 --build=BUILD configure for building on BUILD [guessed]
2284 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2285 _ACEOF
2288 if test -n "$ac_init_help"; then
2289 case $ac_init_help in
2290 short | recursive ) echo "Configuration of Wine 1.9.23:";;
2291 esac
2292 cat <<\_ACEOF
2294 Optional Features:
2295 --disable-option-checking ignore unrecognized --enable/--with options
2296 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2297 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2298 --disable-win16 do not include Win16 support
2299 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2300 binaries)
2301 --disable-tests do not build the regression tests
2302 --enable-maintainer-mode
2303 enable maintainer-specific build rules
2304 --disable-largefile omit support for large files
2306 Optional Packages:
2307 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2308 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2309 --without-alsa do not use the Alsa sound support
2310 --without-capi do not use CAPI (ISDN support)
2311 --without-cms do not use CMS (color management support)
2312 --without-coreaudio do not use the CoreAudio sound support
2313 --without-cups do not use CUPS
2314 --without-curses do not use (n)curses
2315 --without-dbus do not use DBus (dynamic device support)
2316 --without-fontconfig do not use fontconfig
2317 --without-freetype do not use the FreeType library
2318 --without-gettext do not use gettext
2319 --with-gettextpo use the GetTextPO library to rebuild po files
2320 --without-gphoto do not use gphoto (Digital Camera support)
2321 --without-glu do not use the GLU library
2322 --without-gnutls do not use GnuTLS (schannel support)
2323 --without-gsm do not use libgsm (GSM 06.10 codec support)
2324 --without-gstreamer do not use GStreamer (codecs support)
2325 --without-hal do not use HAL (dynamic device support)
2326 --without-jpeg do not use JPEG
2327 --without-ldap do not use LDAP
2328 --without-mpg123 do not use the mpg123 library
2329 --without-netapi do not use the Samba NetAPI library
2330 --without-openal do not use OpenAL
2331 --without-opencl do not use OpenCL
2332 --without-opengl do not use OpenGL
2333 --without-osmesa do not use the OSMesa library
2334 --without-oss do not use the OSS sound support
2335 --without-pcap do not use the Packet Capture library
2336 --without-png do not use PNG
2337 --without-pthread do not use the pthread library
2338 --without-pulse do not use PulseAudio sound support
2339 --without-sane do not use SANE (scanner support)
2340 --without-tiff do not use TIFF
2341 --without-udev do not use udev (plug and play support)
2342 --without-v4l do not use v4l1 (v4l support)
2343 --without-xcomposite do not use the Xcomposite extension
2344 --without-xcursor do not use the Xcursor extension
2345 --without-xinerama do not use Xinerama (multi-monitor support)
2346 --without-xinput do not use the Xinput extension
2347 --without-xinput2 do not use the Xinput 2 extension
2348 --without-xml do not use XML
2349 --without-xrandr do not use Xrandr (resolution changes)
2350 --without-xrender do not use the Xrender extension
2351 --without-xshape do not use the Xshape extension
2352 --without-xshm do not use XShm (shared memory extension)
2353 --without-xslt do not use XSLT
2354 --without-xxf86vm do not use XFree video mode extension
2355 --without-zlib do not use Zlib (data compression)
2356 --with-wine-tools=DIR use Wine tools from directory DIR
2357 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2358 --with-x use the X Window System
2360 Some influential environment variables:
2361 CC C compiler command
2362 CFLAGS C compiler flags
2363 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2364 nonstandard directory <lib dir>
2365 LIBS libraries to pass to the linker, e.g. -l<library>
2366 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2367 you have headers in a nonstandard directory <include dir>
2368 CXX C++ compiler command
2369 CXXFLAGS C++ compiler flags
2370 CPP C preprocessor
2371 XMKMF Path to xmkmf, Makefile generator for X Window System
2372 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2373 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2374 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2375 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2376 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2377 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2378 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2379 HAL_LIBS Linker flags for hal, overriding pkg-config
2380 GNUTLS_CFLAGS
2381 C compiler flags for gnutls, overriding pkg-config
2382 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2383 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2384 SANE_LIBS Linker flags for libsane, overriding pkg-config
2385 GPHOTO2_CFLAGS
2386 C compiler flags for libgphoto2, overriding pkg-config
2387 GPHOTO2_LIBS
2388 Linker flags for libgphoto2, overriding pkg-config
2389 GPHOTO2_PORT_CFLAGS
2390 C compiler flags for libgphoto2_port, overriding pkg-config
2391 GPHOTO2_PORT_LIBS
2392 Linker flags for libgphoto2_port, overriding pkg-config
2393 LCMS2_CFLAGS
2394 C compiler flags for lcms2, overriding pkg-config
2395 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2396 FREETYPE_CFLAGS
2397 C compiler flags for freetype2, overriding pkg-config
2398 FREETYPE_LIBS
2399 Linker flags for freetype2, overriding pkg-config
2400 PULSE_CFLAGS
2401 C compiler flags for libpulse, overriding pkg-config
2402 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2403 GSTREAMER_CFLAGS
2404 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2405 gstreamer-audio-1.0, overriding pkg-config
2406 GSTREAMER_LIBS
2407 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2408 gstreamer-audio-1.0, overriding pkg-config
2409 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2410 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2411 CAPI20_CFLAGS
2412 C compiler flags for capi20, overriding pkg-config
2413 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2414 FONTCONFIG_CFLAGS
2415 C compiler flags for fontconfig, overriding pkg-config
2416 FONTCONFIG_LIBS
2417 Linker flags for fontconfig, overriding pkg-config
2418 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2419 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2420 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2421 PNG_LIBS Linker flags for libpng, overriding pkg-config
2422 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2423 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2424 MPG123_CFLAGS
2425 C compiler flags for libmpg123, overriding pkg-config
2426 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2427 NETAPI_CFLAGS
2428 C compiler flags for netapi, overriding pkg-config
2429 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2431 Use these variables to override the choices made by `configure' or to help
2432 it to find libraries and programs with nonstandard names/locations.
2434 Report bugs to <wine-devel@winehq.org>.
2435 Wine home page: <http://www.winehq.org>.
2436 _ACEOF
2437 ac_status=$?
2440 if test "$ac_init_help" = "recursive"; then
2441 # If there are subdirs, report their specific --help.
2442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2443 test -d "$ac_dir" ||
2444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2445 continue
2446 ac_builddir=.
2448 case "$ac_dir" in
2449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2452 # A ".." for each directory in $ac_dir_suffix.
2453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2454 case $ac_top_builddir_sub in
2455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2457 esac ;;
2458 esac
2459 ac_abs_top_builddir=$ac_pwd
2460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2461 # for backward compatibility:
2462 ac_top_builddir=$ac_top_build_prefix
2464 case $srcdir in
2465 .) # We are building in place.
2466 ac_srcdir=.
2467 ac_top_srcdir=$ac_top_builddir_sub
2468 ac_abs_top_srcdir=$ac_pwd ;;
2469 [\\/]* | ?:[\\/]* ) # Absolute name.
2470 ac_srcdir=$srcdir$ac_dir_suffix;
2471 ac_top_srcdir=$srcdir
2472 ac_abs_top_srcdir=$srcdir ;;
2473 *) # Relative name.
2474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2475 ac_top_srcdir=$ac_top_build_prefix$srcdir
2476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2477 esac
2478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2480 cd "$ac_dir" || { ac_status=$?; continue; }
2481 # Check for guested configure.
2482 if test -f "$ac_srcdir/configure.gnu"; then
2483 echo &&
2484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2485 elif test -f "$ac_srcdir/configure"; then
2486 echo &&
2487 $SHELL "$ac_srcdir/configure" --help=recursive
2488 else
2489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2490 fi || ac_status=$?
2491 cd "$ac_pwd" || { ac_status=$?; break; }
2492 done
2495 test -n "$ac_init_help" && exit $ac_status
2496 if $ac_init_version; then
2497 cat <<\_ACEOF
2498 Wine configure 1.9.23
2499 generated by GNU Autoconf 2.69
2501 Copyright (C) 2012 Free Software Foundation, Inc.
2502 This configure script is free software; the Free Software Foundation
2503 gives unlimited permission to copy, distribute and modify it.
2504 _ACEOF
2505 exit
2508 ## ------------------------ ##
2509 ## Autoconf initialization. ##
2510 ## ------------------------ ##
2512 # ac_fn_c_try_compile LINENO
2513 # --------------------------
2514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2515 ac_fn_c_try_compile ()
2517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518 rm -f conftest.$ac_objext
2519 if { { ac_try="$ac_compile"
2520 case "(($ac_try" in
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2523 esac
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_compile") 2>conftest.err
2527 ac_status=$?
2528 if test -s conftest.err; then
2529 grep -v '^ *+' conftest.err >conftest.er1
2530 cat conftest.er1 >&5
2531 mv -f conftest.er1 conftest.err
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } && {
2535 test -z "$ac_c_werror_flag" ||
2536 test ! -s conftest.err
2537 } && test -s conftest.$ac_objext; then :
2538 ac_retval=0
2539 else
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2543 ac_retval=1
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status $ac_retval
2548 } # ac_fn_c_try_compile
2550 # ac_fn_cxx_try_compile LINENO
2551 # ----------------------------
2552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2553 ac_fn_cxx_try_compile ()
2555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556 rm -f conftest.$ac_objext
2557 if { { ac_try="$ac_compile"
2558 case "(($ac_try" in
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2561 esac
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_compile") 2>conftest.err
2565 ac_status=$?
2566 if test -s conftest.err; then
2567 grep -v '^ *+' conftest.err >conftest.er1
2568 cat conftest.er1 >&5
2569 mv -f conftest.er1 conftest.err
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; } && {
2573 test -z "$ac_cxx_werror_flag" ||
2574 test ! -s conftest.err
2575 } && test -s conftest.$ac_objext; then :
2576 ac_retval=0
2577 else
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2581 ac_retval=1
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 as_fn_set_status $ac_retval
2586 } # ac_fn_cxx_try_compile
2588 # ac_fn_c_try_link LINENO
2589 # -----------------------
2590 # Try to link conftest.$ac_ext, and return whether this succeeded.
2591 ac_fn_c_try_link ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 rm -f conftest.$ac_objext conftest$ac_exeext
2595 if { { ac_try="$ac_link"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2601 $as_echo "$ac_try_echo"; } >&5
2602 (eval "$ac_link") 2>conftest.err
2603 ac_status=$?
2604 if test -s conftest.err; then
2605 grep -v '^ *+' conftest.err >conftest.er1
2606 cat conftest.er1 >&5
2607 mv -f conftest.er1 conftest.err
2609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2610 test $ac_status = 0; } && {
2611 test -z "$ac_c_werror_flag" ||
2612 test ! -s conftest.err
2613 } && test -s conftest$ac_exeext && {
2614 test "$cross_compiling" = yes ||
2615 test -x conftest$ac_exeext
2616 }; then :
2617 ac_retval=0
2618 else
2619 $as_echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2622 ac_retval=1
2624 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2625 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2626 # interfere with the next link command; also delete a directory that is
2627 # left behind by Apple's compiler. We do this before executing the actions.
2628 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630 as_fn_set_status $ac_retval
2632 } # ac_fn_c_try_link
2634 # ac_fn_c_try_cpp LINENO
2635 # ----------------------
2636 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2637 ac_fn_c_try_cpp ()
2639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2640 if { { ac_try="$ac_cpp conftest.$ac_ext"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2648 ac_status=$?
2649 if test -s conftest.err; then
2650 grep -v '^ *+' conftest.err >conftest.er1
2651 cat conftest.er1 >&5
2652 mv -f conftest.er1 conftest.err
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; } > conftest.i && {
2656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2657 test ! -s conftest.err
2658 }; then :
2659 ac_retval=0
2660 else
2661 $as_echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2664 ac_retval=1
2666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 as_fn_set_status $ac_retval
2669 } # ac_fn_c_try_cpp
2671 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2672 # -------------------------------------------------------
2673 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2674 # the include files in INCLUDES and setting the cache variable VAR
2675 # accordingly.
2676 ac_fn_c_check_header_mongrel ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 if eval \${$3+:} false; then :
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2681 $as_echo_n "checking for $2... " >&6; }
2682 if eval \${$3+:} false; then :
2683 $as_echo_n "(cached) " >&6
2685 eval ac_res=\$$3
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2687 $as_echo "$ac_res" >&6; }
2688 else
2689 # Is the header compilable?
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2691 $as_echo_n "checking $2 usability... " >&6; }
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2695 #include <$2>
2696 _ACEOF
2697 if ac_fn_c_try_compile "$LINENO"; then :
2698 ac_header_compiler=yes
2699 else
2700 ac_header_compiler=no
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2704 $as_echo "$ac_header_compiler" >&6; }
2706 # Is the header present?
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2708 $as_echo_n "checking $2 presence... " >&6; }
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2711 #include <$2>
2712 _ACEOF
2713 if ac_fn_c_try_cpp "$LINENO"; then :
2714 ac_header_preproc=yes
2715 else
2716 ac_header_preproc=no
2718 rm -f conftest.err conftest.i conftest.$ac_ext
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2720 $as_echo "$ac_header_preproc" >&6; }
2722 # So? What about this header?
2723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2724 yes:no: )
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2726 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2730 no:yes:* )
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2732 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2734 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2736 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2738 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2740 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2741 ( $as_echo "## ------------------------------------ ##
2742 ## Report this to wine-devel@winehq.org ##
2743 ## ------------------------------------ ##"
2744 ) | sed "s/^/$as_me: WARNING: /" >&2
2746 esac
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2748 $as_echo_n "checking for $2... " >&6; }
2749 if eval \${$3+:} false; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 eval "$3=\$ac_header_compiler"
2754 eval ac_res=\$$3
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2756 $as_echo "$ac_res" >&6; }
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 } # ac_fn_c_check_header_mongrel
2762 # ac_fn_c_try_run LINENO
2763 # ----------------------
2764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2765 # that executables *can* be run.
2766 ac_fn_c_try_run ()
2768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2769 if { { ac_try="$ac_link"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_link") 2>&5
2777 ac_status=$?
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2780 { { case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_try") 2>&5
2787 ac_status=$?
2788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; }; }; then :
2790 ac_retval=0
2791 else
2792 $as_echo "$as_me: program exited with status $ac_status" >&5
2793 $as_echo "$as_me: failed program was:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_retval=$ac_status
2798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 as_fn_set_status $ac_retval
2802 } # ac_fn_c_try_run
2804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2805 # -------------------------------------------------------
2806 # Tests whether HEADER exists and can be compiled using the include files in
2807 # INCLUDES, setting the cache variable VAR accordingly.
2808 ac_fn_c_check_header_compile ()
2810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2812 $as_echo_n "checking for $2... " >&6; }
2813 if eval \${$3+:} false; then :
2814 $as_echo_n "(cached) " >&6
2815 else
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2819 #include <$2>
2820 _ACEOF
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822 eval "$3=yes"
2823 else
2824 eval "$3=no"
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 eval ac_res=\$$3
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2830 $as_echo "$ac_res" >&6; }
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 } # ac_fn_c_check_header_compile
2835 # ac_fn_c_check_func LINENO FUNC VAR
2836 # ----------------------------------
2837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2838 ac_fn_c_check_func ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2842 $as_echo_n "checking for $2... " >&6; }
2843 if eval \${$3+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2850 #define $2 innocuous_$2
2852 /* System header to define __stub macros and hopefully few prototypes,
2853 which can conflict with char $2 (); below.
2854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2855 <limits.h> exists even on freestanding compilers. */
2857 #ifdef __STDC__
2858 # include <limits.h>
2859 #else
2860 # include <assert.h>
2861 #endif
2863 #undef $2
2865 /* Override any GCC internal prototype to avoid an error.
2866 Use char because int might match the return type of a GCC
2867 builtin and then its argument prototype would still apply. */
2868 #ifdef __cplusplus
2869 extern "C"
2870 #endif
2871 char $2 ();
2872 /* The GNU C library defines this for functions which it implements
2873 to always fail with ENOSYS. Some functions are actually named
2874 something starting with __ and the normal name is an alias. */
2875 #if defined __stub_$2 || defined __stub___$2
2876 choke me
2877 #endif
2880 main ()
2882 return $2 ();
2884 return 0;
2886 _ACEOF
2887 if ac_fn_c_try_link "$LINENO"; then :
2888 eval "$3=yes"
2889 else
2890 eval "$3=no"
2892 rm -f core conftest.err conftest.$ac_objext \
2893 conftest$ac_exeext conftest.$ac_ext
2895 eval ac_res=\$$3
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 $as_echo "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_c_check_func
2902 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2903 # ----------------------------------------------------
2904 # Tries to find if the field MEMBER exists in type AGGR, after including
2905 # INCLUDES, setting cache variable VAR accordingly.
2906 ac_fn_c_check_member ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2910 $as_echo_n "checking for $2.$3... " >&6; }
2911 if eval \${$4+:} false; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2918 main ()
2920 static $2 ac_aggr;
2921 if (ac_aggr.$3)
2922 return 0;
2924 return 0;
2926 _ACEOF
2927 if ac_fn_c_try_compile "$LINENO"; then :
2928 eval "$4=yes"
2929 else
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2934 main ()
2936 static $2 ac_aggr;
2937 if (sizeof ac_aggr.$3)
2938 return 0;
2940 return 0;
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2944 eval "$4=yes"
2945 else
2946 eval "$4=no"
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 eval ac_res=\$$4
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2954 $as_echo "$ac_res" >&6; }
2955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 } # ac_fn_c_check_member
2959 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2960 # -------------------------------------------
2961 # Tests whether TYPE exists after having included INCLUDES, setting cache
2962 # variable VAR accordingly.
2963 ac_fn_c_check_type ()
2965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2967 $as_echo_n "checking for $2... " >&6; }
2968 if eval \${$3+:} false; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 eval "$3=no"
2972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2976 main ()
2978 if (sizeof ($2))
2979 return 0;
2981 return 0;
2983 _ACEOF
2984 if ac_fn_c_try_compile "$LINENO"; then :
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2989 main ()
2991 if (sizeof (($2)))
2992 return 0;
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2999 else
3000 eval "$3=yes"
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 eval ac_res=\$$3
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 } # ac_fn_c_check_type
3012 cat >config.log <<_ACEOF
3013 This file contains any messages produced by compilers while
3014 running configure, to aid debugging if configure makes a mistake.
3016 It was created by Wine $as_me 1.9.23, which was
3017 generated by GNU Autoconf 2.69. Invocation command line was
3019 $ $0 $@
3021 _ACEOF
3022 exec 5>>config.log
3024 cat <<_ASUNAME
3025 ## --------- ##
3026 ## Platform. ##
3027 ## --------- ##
3029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3036 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3038 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3039 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3041 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3042 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3043 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3044 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3046 _ASUNAME
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 for as_dir in $PATH
3051 IFS=$as_save_IFS
3052 test -z "$as_dir" && as_dir=.
3053 $as_echo "PATH: $as_dir"
3054 done
3055 IFS=$as_save_IFS
3057 } >&5
3059 cat >&5 <<_ACEOF
3062 ## ----------- ##
3063 ## Core tests. ##
3064 ## ----------- ##
3066 _ACEOF
3069 # Keep a trace of the command line.
3070 # Strip out --no-create and --no-recursion so they do not pile up.
3071 # Strip out --silent because we don't want to record it for future runs.
3072 # Also quote any args containing shell meta-characters.
3073 # Make two passes to allow for proper duplicate-argument suppression.
3074 ac_configure_args=
3075 ac_configure_args0=
3076 ac_configure_args1=
3077 ac_must_keep_next=false
3078 for ac_pass in 1 2
3080 for ac_arg
3082 case $ac_arg in
3083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3085 | -silent | --silent | --silen | --sile | --sil)
3086 continue ;;
3087 *\'*)
3088 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 esac
3090 case $ac_pass in
3091 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3093 as_fn_append ac_configure_args1 " '$ac_arg'"
3094 if test $ac_must_keep_next = true; then
3095 ac_must_keep_next=false # Got value, back to normal.
3096 else
3097 case $ac_arg in
3098 *=* | --config-cache | -C | -disable-* | --disable-* \
3099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3101 | -with-* | --with-* | -without-* | --without-* | --x)
3102 case "$ac_configure_args0 " in
3103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3104 esac
3106 -* ) ac_must_keep_next=true ;;
3107 esac
3109 as_fn_append ac_configure_args " '$ac_arg'"
3111 esac
3112 done
3113 done
3114 { ac_configure_args0=; unset ac_configure_args0;}
3115 { ac_configure_args1=; unset ac_configure_args1;}
3117 # When interrupted or exit'd, cleanup temporary files, and complete
3118 # config.log. We remove comments because anyway the quotes in there
3119 # would cause problems or look ugly.
3120 # WARNING: Use '\'' to represent an apostrophe within the trap.
3121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3122 trap 'exit_status=$?
3123 # Save into config.log some information that might help in debugging.
3125 echo
3127 $as_echo "## ---------------- ##
3128 ## Cache variables. ##
3129 ## ---------------- ##"
3130 echo
3131 # The following way of writing the cache mishandles newlines in values,
3133 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3134 eval ac_val=\$$ac_var
3135 case $ac_val in #(
3136 *${as_nl}*)
3137 case $ac_var in #(
3138 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3140 esac
3141 case $ac_var in #(
3142 _ | IFS | as_nl) ;; #(
3143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3144 *) { eval $ac_var=; unset $ac_var;} ;;
3145 esac ;;
3146 esac
3147 done
3148 (set) 2>&1 |
3149 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3150 *${as_nl}ac_space=\ *)
3151 sed -n \
3152 "s/'\''/'\''\\\\'\'''\''/g;
3153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3154 ;; #(
3156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3158 esac |
3159 sort
3161 echo
3163 $as_echo "## ----------------- ##
3164 ## Output variables. ##
3165 ## ----------------- ##"
3166 echo
3167 for ac_var in $ac_subst_vars
3169 eval ac_val=\$$ac_var
3170 case $ac_val in
3171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3172 esac
3173 $as_echo "$ac_var='\''$ac_val'\''"
3174 done | sort
3175 echo
3177 if test -n "$ac_subst_files"; then
3178 $as_echo "## ------------------- ##
3179 ## File substitutions. ##
3180 ## ------------------- ##"
3181 echo
3182 for ac_var in $ac_subst_files
3184 eval ac_val=\$$ac_var
3185 case $ac_val in
3186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3187 esac
3188 $as_echo "$ac_var='\''$ac_val'\''"
3189 done | sort
3190 echo
3193 if test -s confdefs.h; then
3194 $as_echo "## ----------- ##
3195 ## confdefs.h. ##
3196 ## ----------- ##"
3197 echo
3198 cat confdefs.h
3199 echo
3201 test "$ac_signal" != 0 &&
3202 $as_echo "$as_me: caught signal $ac_signal"
3203 $as_echo "$as_me: exit $exit_status"
3204 } >&5
3205 rm -f core *.core core.conftest.* &&
3206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3207 exit $exit_status
3209 for ac_signal in 1 2 13 15; do
3210 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3211 done
3212 ac_signal=0
3214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3215 rm -f -r conftest* confdefs.h
3217 $as_echo "/* confdefs.h */" > confdefs.h
3219 # Predefined preprocessor variables.
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_NAME "$PACKAGE_NAME"
3223 _ACEOF
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3227 _ACEOF
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3231 _ACEOF
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_STRING "$PACKAGE_STRING"
3235 _ACEOF
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3239 _ACEOF
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_URL "$PACKAGE_URL"
3243 _ACEOF
3246 # Let the site file select an alternate cache file if it wants to.
3247 # Prefer an explicitly selected file to automatically selected ones.
3248 ac_site_file1=NONE
3249 ac_site_file2=NONE
3250 if test -n "$CONFIG_SITE"; then
3251 # We do not want a PATH search for config.site.
3252 case $CONFIG_SITE in #((
3253 -*) ac_site_file1=./$CONFIG_SITE;;
3254 */*) ac_site_file1=$CONFIG_SITE;;
3255 *) ac_site_file1=./$CONFIG_SITE;;
3256 esac
3257 elif test "x$prefix" != xNONE; then
3258 ac_site_file1=$prefix/share/config.site
3259 ac_site_file2=$prefix/etc/config.site
3260 else
3261 ac_site_file1=$ac_default_prefix/share/config.site
3262 ac_site_file2=$ac_default_prefix/etc/config.site
3264 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3266 test "x$ac_site_file" = xNONE && continue
3267 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3269 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3270 sed 's/^/| /' "$ac_site_file" >&5
3271 . "$ac_site_file" \
3272 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "failed to load site script $ac_site_file
3275 See \`config.log' for more details" "$LINENO" 5; }
3277 done
3279 if test -r "$cache_file"; then
3280 # Some versions of bash will fail to source /dev/null (special files
3281 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3282 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3284 $as_echo "$as_me: loading cache $cache_file" >&6;}
3285 case $cache_file in
3286 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3287 *) . "./$cache_file";;
3288 esac
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3292 $as_echo "$as_me: creating cache $cache_file" >&6;}
3293 >$cache_file
3296 # Check that the precious variables saved in the cache have kept the same
3297 # value.
3298 ac_cache_corrupted=false
3299 for ac_var in $ac_precious_vars; do
3300 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3301 eval ac_new_set=\$ac_env_${ac_var}_set
3302 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3303 eval ac_new_val=\$ac_env_${ac_var}_value
3304 case $ac_old_set,$ac_new_set in
3305 set,)
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3307 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3308 ac_cache_corrupted=: ;;
3309 ,set)
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3311 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3312 ac_cache_corrupted=: ;;
3313 ,);;
3315 if test "x$ac_old_val" != "x$ac_new_val"; then
3316 # differences in whitespace do not lead to failure.
3317 ac_old_val_w=`echo x $ac_old_val`
3318 ac_new_val_w=`echo x $ac_new_val`
3319 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3321 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3322 ac_cache_corrupted=:
3323 else
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3325 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3326 eval $ac_var=\$ac_old_val
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3329 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3331 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3332 fi;;
3333 esac
3334 # Pass precious variables to config.status.
3335 if test "$ac_new_set" = set; then
3336 case $ac_new_val in
3337 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3338 *) ac_arg=$ac_var=$ac_new_val ;;
3339 esac
3340 case " $ac_configure_args " in
3341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3342 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3343 esac
3345 done
3346 if $ac_cache_corrupted; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3350 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3351 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3353 ## -------------------- ##
3354 ## Main body of script. ##
3355 ## -------------------- ##
3357 ac_ext=c
3358 ac_cpp='$CPP $CPPFLAGS'
3359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3365 ac_config_headers="$ac_config_headers include/config.h"
3367 ac_aux_dir=
3368 for ac_dir in tools "$srcdir"/tools; do
3369 if test -f "$ac_dir/install-sh"; then
3370 ac_aux_dir=$ac_dir
3371 ac_install_sh="$ac_aux_dir/install-sh -c"
3372 break
3373 elif test -f "$ac_dir/install.sh"; then
3374 ac_aux_dir=$ac_dir
3375 ac_install_sh="$ac_aux_dir/install.sh -c"
3376 break
3377 elif test -f "$ac_dir/shtool"; then
3378 ac_aux_dir=$ac_dir
3379 ac_install_sh="$ac_aux_dir/shtool install -c"
3380 break
3382 done
3383 if test -z "$ac_aux_dir"; then
3384 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3387 # These three variables are undocumented and unsupported,
3388 # and are intended to be withdrawn in a future Autoconf release.
3389 # They can cause serious problems if a builder's source tree is in a directory
3390 # whose full name contains unusual characters.
3391 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3392 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3393 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3397 libwine_version="1.0"
3401 # Check whether --enable-win16 was given.
3402 if test "${enable_win16+set}" = set; then :
3403 enableval=$enable_win16;
3406 # Check whether --enable-win64 was given.
3407 if test "${enable_win64+set}" = set; then :
3408 enableval=$enable_win64;
3411 # Check whether --enable-tests was given.
3412 if test "${enable_tests+set}" = set; then :
3413 enableval=$enable_tests;
3416 # Check whether --enable-maintainer-mode was given.
3417 if test "${enable_maintainer_mode+set}" = set; then :
3418 enableval=$enable_maintainer_mode;
3423 # Check whether --with-alsa was given.
3424 if test "${with_alsa+set}" = set; then :
3425 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3429 # Check whether --with-capi was given.
3430 if test "${with_capi+set}" = set; then :
3431 withval=$with_capi;
3435 # Check whether --with-cms was given.
3436 if test "${with_cms+set}" = set; then :
3437 withval=$with_cms;
3441 # Check whether --with-coreaudio was given.
3442 if test "${with_coreaudio+set}" = set; then :
3443 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3447 # Check whether --with-cups was given.
3448 if test "${with_cups+set}" = set; then :
3449 withval=$with_cups;
3453 # Check whether --with-curses was given.
3454 if test "${with_curses+set}" = set; then :
3455 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3459 # Check whether --with-dbus was given.
3460 if test "${with_dbus+set}" = set; then :
3461 withval=$with_dbus;
3465 # Check whether --with-fontconfig was given.
3466 if test "${with_fontconfig+set}" = set; then :
3467 withval=$with_fontconfig;
3471 # Check whether --with-freetype was given.
3472 if test "${with_freetype+set}" = set; then :
3473 withval=$with_freetype;
3477 # Check whether --with-gettext was given.
3478 if test "${with_gettext+set}" = set; then :
3479 withval=$with_gettext;
3483 # Check whether --with-gettextpo was given.
3484 if test "${with_gettextpo+set}" = set; then :
3485 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3489 # Check whether --with-gphoto was given.
3490 if test "${with_gphoto+set}" = set; then :
3491 withval=$with_gphoto;
3495 # Check whether --with-glu was given.
3496 if test "${with_glu+set}" = set; then :
3497 withval=$with_glu;
3501 # Check whether --with-gnutls was given.
3502 if test "${with_gnutls+set}" = set; then :
3503 withval=$with_gnutls;
3507 # Check whether --with-gsm was given.
3508 if test "${with_gsm+set}" = set; then :
3509 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3513 # Check whether --with-gstreamer was given.
3514 if test "${with_gstreamer+set}" = set; then :
3515 withval=$with_gstreamer;
3519 # Check whether --with-hal was given.
3520 if test "${with_hal+set}" = set; then :
3521 withval=$with_hal;
3525 # Check whether --with-jpeg was given.
3526 if test "${with_jpeg+set}" = set; then :
3527 withval=$with_jpeg;
3531 # Check whether --with-ldap was given.
3532 if test "${with_ldap+set}" = set; then :
3533 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3537 # Check whether --with-mpg123 was given.
3538 if test "${with_mpg123+set}" = set; then :
3539 withval=$with_mpg123;
3543 # Check whether --with-netapi was given.
3544 if test "${with_netapi+set}" = set; then :
3545 withval=$with_netapi;
3549 # Check whether --with-openal was given.
3550 if test "${with_openal+set}" = set; then :
3551 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3555 # Check whether --with-opencl was given.
3556 if test "${with_opencl+set}" = set; then :
3557 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3561 # Check whether --with-opengl was given.
3562 if test "${with_opengl+set}" = set; then :
3563 withval=$with_opengl;
3567 # Check whether --with-osmesa was given.
3568 if test "${with_osmesa+set}" = set; then :
3569 withval=$with_osmesa;
3573 # Check whether --with-oss was given.
3574 if test "${with_oss+set}" = set; then :
3575 withval=$with_oss;
3579 # Check whether --with-pcap was given.
3580 if test "${with_pcap+set}" = set; then :
3581 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3585 # Check whether --with-png was given.
3586 if test "${with_png+set}" = set; then :
3587 withval=$with_png;
3591 # Check whether --with-pthread was given.
3592 if test "${with_pthread+set}" = set; then :
3593 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3597 # Check whether --with-pulse was given.
3598 if test "${with_pulse+set}" = set; then :
3599 withval=$with_pulse;
3603 # Check whether --with-sane was given.
3604 if test "${with_sane+set}" = set; then :
3605 withval=$with_sane;
3609 # Check whether --with-tiff was given.
3610 if test "${with_tiff+set}" = set; then :
3611 withval=$with_tiff;
3615 # Check whether --with-udev was given.
3616 if test "${with_udev+set}" = set; then :
3617 withval=$with_udev;
3621 # Check whether --with-v4l was given.
3622 if test "${with_v4l+set}" = set; then :
3623 withval=$with_v4l;
3627 # Check whether --with-xcomposite was given.
3628 if test "${with_xcomposite+set}" = set; then :
3629 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3633 # Check whether --with-xcursor was given.
3634 if test "${with_xcursor+set}" = set; then :
3635 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3639 # Check whether --with-xinerama was given.
3640 if test "${with_xinerama+set}" = set; then :
3641 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3645 # Check whether --with-xinput was given.
3646 if test "${with_xinput+set}" = set; then :
3647 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3651 # Check whether --with-xinput2 was given.
3652 if test "${with_xinput2+set}" = set; then :
3653 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3657 # Check whether --with-xml was given.
3658 if test "${with_xml+set}" = set; then :
3659 withval=$with_xml;
3663 # Check whether --with-xrandr was given.
3664 if test "${with_xrandr+set}" = set; then :
3665 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3669 # Check whether --with-xrender was given.
3670 if test "${with_xrender+set}" = set; then :
3671 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3675 # Check whether --with-xshape was given.
3676 if test "${with_xshape+set}" = set; then :
3677 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3681 # Check whether --with-xshm was given.
3682 if test "${with_xshm+set}" = set; then :
3683 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3687 # Check whether --with-xslt was given.
3688 if test "${with_xslt+set}" = set; then :
3689 withval=$with_xslt;
3693 # Check whether --with-xxf86vm was given.
3694 if test "${with_xxf86vm+set}" = set; then :
3695 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
3699 # Check whether --with-zlib was given.
3700 if test "${with_zlib+set}" = set; then :
3701 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3706 # Check whether --with-wine-tools was given.
3707 if test "${with_wine_tools+set}" = set; then :
3708 withval=$with_wine_tools;
3712 # Check whether --with-wine64 was given.
3713 if test "${with_wine64+set}" = set; then :
3714 withval=$with_wine64;
3718 # Make sure we can run config.sub.
3719 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3720 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3723 $as_echo_n "checking build system type... " >&6; }
3724 if ${ac_cv_build+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 ac_build_alias=$build_alias
3728 test "x$ac_build_alias" = x &&
3729 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3730 test "x$ac_build_alias" = x &&
3731 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3732 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3733 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3737 $as_echo "$ac_cv_build" >&6; }
3738 case $ac_cv_build in
3739 *-*-*) ;;
3740 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3741 esac
3742 build=$ac_cv_build
3743 ac_save_IFS=$IFS; IFS='-'
3744 set x $ac_cv_build
3745 shift
3746 build_cpu=$1
3747 build_vendor=$2
3748 shift; shift
3749 # Remember, the first character of IFS is used to create $*,
3750 # except with old shells:
3751 build_os=$*
3752 IFS=$ac_save_IFS
3753 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3757 $as_echo_n "checking host system type... " >&6; }
3758 if ${ac_cv_host+:} false; then :
3759 $as_echo_n "(cached) " >&6
3760 else
3761 if test "x$host_alias" = x; then
3762 ac_cv_host=$ac_cv_build
3763 else
3764 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3765 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3770 $as_echo "$ac_cv_host" >&6; }
3771 case $ac_cv_host in
3772 *-*-*) ;;
3773 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3774 esac
3775 host=$ac_cv_host
3776 ac_save_IFS=$IFS; IFS='-'
3777 set x $ac_cv_host
3778 shift
3779 host_cpu=$1
3780 host_vendor=$2
3781 shift; shift
3782 # Remember, the first character of IFS is used to create $*,
3783 # except with old shells:
3784 host_os=$*
3785 IFS=$ac_save_IFS
3786 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3790 case "$srcdir" in
3791 .) ;;
3792 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3793 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3794 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3795 fi ;;
3796 esac
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3800 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3801 set x ${MAKE-make}
3802 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3803 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 cat >conftest.make <<\_ACEOF
3807 SHELL = /bin/sh
3808 all:
3809 @echo '@@@%%%=$(MAKE)=@@@%%%'
3810 _ACEOF
3811 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3812 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3813 *@@@%%%=?*=@@@%%%*)
3814 eval ac_cv_prog_make_${ac_make}_set=yes;;
3816 eval ac_cv_prog_make_${ac_make}_set=no;;
3817 esac
3818 rm -f conftest.make
3820 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3822 $as_echo "yes" >&6; }
3823 SET_MAKE=
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 SET_MAKE="MAKE=${MAKE-make}"
3830 ac_ext=c
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3874 if test -z "$ac_cv_prog_CC"; then
3875 ac_ct_CC=$CC
3876 # Extract the first word of "gcc", so it can be a program name with args.
3877 set dummy gcc; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$ac_ct_CC"; then
3884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3885 else
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 for as_dir in $PATH
3889 IFS=$as_save_IFS
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3893 ac_cv_prog_ac_ct_CC="gcc"
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 break 2
3897 done
3898 done
3899 IFS=$as_save_IFS
3903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3904 if test -n "$ac_ct_CC"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3906 $as_echo "$ac_ct_CC" >&6; }
3907 else
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3912 if test "x$ac_ct_CC" = x; then
3913 CC=""
3914 else
3915 case $cross_compiling:$ac_tool_warned in
3916 yes:)
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3919 ac_tool_warned=yes ;;
3920 esac
3921 CC=$ac_ct_CC
3923 else
3924 CC="$ac_cv_prog_CC"
3927 if test -z "$CC"; then
3928 if test -n "$ac_tool_prefix"; then
3929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3930 set dummy ${ac_tool_prefix}cc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CC="${ac_tool_prefix}cc"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3968 if test -z "$CC"; then
3969 # Extract the first word of "cc", so it can be a program name with args.
3970 set dummy cc; ac_word=$2
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3972 $as_echo_n "checking for $ac_word... " >&6; }
3973 if ${ac_cv_prog_CC+:} false; then :
3974 $as_echo_n "(cached) " >&6
3975 else
3976 if test -n "$CC"; then
3977 ac_cv_prog_CC="$CC" # Let the user override the test.
3978 else
3979 ac_prog_rejected=no
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3988 ac_prog_rejected=yes
3989 continue
3991 ac_cv_prog_CC="cc"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 break 2
3995 done
3996 done
3997 IFS=$as_save_IFS
3999 if test $ac_prog_rejected = yes; then
4000 # We found a bogon in the path, so make sure we never use it.
4001 set dummy $ac_cv_prog_CC
4002 shift
4003 if test $# != 0; then
4004 # We chose a different compiler from the bogus one.
4005 # However, it has the same basename, so the bogon will be chosen
4006 # first if we set CC to just the basename; use the full file name.
4007 shift
4008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4013 CC=$ac_cv_prog_CC
4014 if test -n "$CC"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4016 $as_echo "$CC" >&6; }
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4024 if test -z "$CC"; then
4025 if test -n "$ac_tool_prefix"; then
4026 for ac_prog in cl.exe
4028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_prog_CC+:} false; then :
4033 $as_echo_n "(cached) " >&6
4034 else
4035 if test -n "$CC"; then
4036 ac_cv_prog_CC="$CC" # Let the user override the test.
4037 else
4038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 for as_dir in $PATH
4041 IFS=$as_save_IFS
4042 test -z "$as_dir" && as_dir=.
4043 for ac_exec_ext in '' $ac_executable_extensions; do
4044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 break 2
4049 done
4050 done
4051 IFS=$as_save_IFS
4055 CC=$ac_cv_prog_CC
4056 if test -n "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058 $as_echo "$CC" >&6; }
4059 else
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4065 test -n "$CC" && break
4066 done
4068 if test -z "$CC"; then
4069 ac_ct_CC=$CC
4070 for ac_prog in cl.exe
4072 # Extract the first word of "$ac_prog", so it can be a program name with args.
4073 set dummy $ac_prog; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4077 $as_echo_n "(cached) " >&6
4078 else
4079 if test -n "$ac_ct_CC"; then
4080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4081 else
4082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 for as_dir in $PATH
4085 IFS=$as_save_IFS
4086 test -z "$as_dir" && as_dir=.
4087 for ac_exec_ext in '' $ac_executable_extensions; do
4088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4089 ac_cv_prog_ac_ct_CC="$ac_prog"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 break 2
4093 done
4094 done
4095 IFS=$as_save_IFS
4099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4100 if test -n "$ac_ct_CC"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4102 $as_echo "$ac_ct_CC" >&6; }
4103 else
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4109 test -n "$ac_ct_CC" && break
4110 done
4112 if test "x$ac_ct_CC" = x; then
4113 CC=""
4114 else
4115 case $cross_compiling:$ac_tool_warned in
4116 yes:)
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4119 ac_tool_warned=yes ;;
4120 esac
4121 CC=$ac_ct_CC
4128 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "no acceptable C compiler found in \$PATH
4131 See \`config.log' for more details" "$LINENO" 5; }
4133 # Provide some information about the compiler.
4134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4135 set X $ac_compile
4136 ac_compiler=$2
4137 for ac_option in --version -v -V -qversion; do
4138 { { ac_try="$ac_compiler $ac_option >&5"
4139 case "(($ac_try" in
4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4142 esac
4143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4144 $as_echo "$ac_try_echo"; } >&5
4145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4146 ac_status=$?
4147 if test -s conftest.err; then
4148 sed '10a\
4149 ... rest of stderr output deleted ...
4150 10q' conftest.err >conftest.er1
4151 cat conftest.er1 >&5
4153 rm -f conftest.er1 conftest.err
4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4155 test $ac_status = 0; }
4156 done
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4162 main ()
4166 return 0;
4168 _ACEOF
4169 ac_clean_files_save=$ac_clean_files
4170 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4171 # Try to create an executable without -o first, disregard a.out.
4172 # It will help us diagnose broken compilers, and finding out an intuition
4173 # of exeext.
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4175 $as_echo_n "checking whether the C compiler works... " >&6; }
4176 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4178 # The possible output files:
4179 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4181 ac_rmfiles=
4182 for ac_file in $ac_files
4184 case $ac_file in
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4186 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4187 esac
4188 done
4189 rm -f $ac_rmfiles
4191 if { { ac_try="$ac_link_default"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4197 $as_echo "$ac_try_echo"; } >&5
4198 (eval "$ac_link_default") 2>&5
4199 ac_status=$?
4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201 test $ac_status = 0; }; then :
4202 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4204 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4205 # so that the user can short-circuit this test for compilers unknown to
4206 # Autoconf.
4207 for ac_file in $ac_files ''
4209 test -f "$ac_file" || continue
4210 case $ac_file in
4211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4213 [ab].out )
4214 # We found the default executable, but exeext='' is most
4215 # certainly right.
4216 break;;
4217 *.* )
4218 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4219 then :; else
4220 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4222 # We set ac_cv_exeext here because the later test for it is not
4223 # safe: cross compilers may not add the suffix if given an `-o'
4224 # argument, so we may need to know it at that point already.
4225 # Even if this section looks crufty: it has the advantage of
4226 # actually working.
4227 break;;
4229 break;;
4230 esac
4231 done
4232 test "$ac_cv_exeext" = no && ac_cv_exeext=
4234 else
4235 ac_file=''
4237 if test -z "$ac_file"; then :
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4240 $as_echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4245 as_fn_error 77 "C compiler cannot create executables
4246 See \`config.log' for more details" "$LINENO" 5; }
4247 else
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4249 $as_echo "yes" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4252 $as_echo_n "checking for C compiler default output file name... " >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4254 $as_echo "$ac_file" >&6; }
4255 ac_exeext=$ac_cv_exeext
4257 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4258 ac_clean_files=$ac_clean_files_save
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4260 $as_echo_n "checking for suffix of executables... " >&6; }
4261 if { { ac_try="$ac_link"
4262 case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4265 esac
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4267 $as_echo "$ac_try_echo"; } >&5
4268 (eval "$ac_link") 2>&5
4269 ac_status=$?
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }; then :
4272 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4273 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4274 # work properly (i.e., refer to `conftest.exe'), while it won't with
4275 # `rm'.
4276 for ac_file in conftest.exe conftest conftest.*; do
4277 test -f "$ac_file" || continue
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4280 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4281 break;;
4282 * ) break;;
4283 esac
4284 done
4285 else
4286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4288 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4289 See \`config.log' for more details" "$LINENO" 5; }
4291 rm -f conftest conftest$ac_cv_exeext
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4293 $as_echo "$ac_cv_exeext" >&6; }
4295 rm -f conftest.$ac_ext
4296 EXEEXT=$ac_cv_exeext
4297 ac_exeext=$EXEEXT
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300 #include <stdio.h>
4302 main ()
4304 FILE *f = fopen ("conftest.out", "w");
4305 return ferror (f) || fclose (f) != 0;
4308 return 0;
4310 _ACEOF
4311 ac_clean_files="$ac_clean_files conftest.out"
4312 # Check that the compiler produces executables we can run. If not, either
4313 # the compiler is broken, or we cross compile.
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4315 $as_echo_n "checking whether we are cross compiling... " >&6; }
4316 if test "$cross_compiling" != yes; then
4317 { { ac_try="$ac_link"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_link") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }
4328 if { ac_try='./conftest$ac_cv_exeext'
4329 { { case "(($ac_try" in
4330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331 *) ac_try_echo=$ac_try;;
4332 esac
4333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 $as_echo "$ac_try_echo"; } >&5
4335 (eval "$ac_try") 2>&5
4336 ac_status=$?
4337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338 test $ac_status = 0; }; }; then
4339 cross_compiling=no
4340 else
4341 if test "$cross_compiling" = maybe; then
4342 cross_compiling=yes
4343 else
4344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4346 as_fn_error $? "cannot run C compiled programs.
4347 If you meant to cross compile, use \`--host'.
4348 See \`config.log' for more details" "$LINENO" 5; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4353 $as_echo "$cross_compiling" >&6; }
4355 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4356 ac_clean_files=$ac_clean_files_save
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4358 $as_echo_n "checking for suffix of object files... " >&6; }
4359 if ${ac_cv_objext+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4366 main ()
4370 return 0;
4372 _ACEOF
4373 rm -f conftest.o conftest.obj
4374 if { { ac_try="$ac_compile"
4375 case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4380 $as_echo "$ac_try_echo"; } >&5
4381 (eval "$ac_compile") 2>&5
4382 ac_status=$?
4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384 test $ac_status = 0; }; then :
4385 for ac_file in conftest.o conftest.obj conftest.*; do
4386 test -f "$ac_file" || continue;
4387 case $ac_file in
4388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4389 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4390 break;;
4391 esac
4392 done
4393 else
4394 $as_echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of object files: cannot compile
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4405 $as_echo "$ac_cv_objext" >&6; }
4406 OBJEXT=$ac_cv_objext
4407 ac_objext=$OBJEXT
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4410 if ${ac_cv_c_compiler_gnu+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4417 main ()
4419 #ifndef __GNUC__
4420 choke me
4421 #endif
4424 return 0;
4426 _ACEOF
4427 if ac_fn_c_try_compile "$LINENO"; then :
4428 ac_compiler_gnu=yes
4429 else
4430 ac_compiler_gnu=no
4432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4438 if test $ac_compiler_gnu = yes; then
4439 GCC=yes
4440 else
4441 GCC=
4443 ac_test_CFLAGS=${CFLAGS+set}
4444 ac_save_CFLAGS=$CFLAGS
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4447 if ${ac_cv_prog_cc_g+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 ac_save_c_werror_flag=$ac_c_werror_flag
4451 ac_c_werror_flag=yes
4452 ac_cv_prog_cc_g=no
4453 CFLAGS="-g"
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4458 main ()
4462 return 0;
4464 _ACEOF
4465 if ac_fn_c_try_compile "$LINENO"; then :
4466 ac_cv_prog_cc_g=yes
4467 else
4468 CFLAGS=""
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4473 main ()
4477 return 0;
4479 _ACEOF
4480 if ac_fn_c_try_compile "$LINENO"; then :
4482 else
4483 ac_c_werror_flag=$ac_save_c_werror_flag
4484 CFLAGS="-g"
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4493 return 0;
4495 _ACEOF
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_cv_prog_cc_g=yes
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 ac_c_werror_flag=$ac_save_c_werror_flag
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4507 $as_echo "$ac_cv_prog_cc_g" >&6; }
4508 if test "$ac_test_CFLAGS" = set; then
4509 CFLAGS=$ac_save_CFLAGS
4510 elif test $ac_cv_prog_cc_g = yes; then
4511 if test "$GCC" = yes; then
4512 CFLAGS="-g -O2"
4513 else
4514 CFLAGS="-g"
4516 else
4517 if test "$GCC" = yes; then
4518 CFLAGS="-O2"
4519 else
4520 CFLAGS=
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4525 if ${ac_cv_prog_cc_c89+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 ac_cv_prog_cc_c89=no
4529 ac_save_CC=$CC
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4532 #include <stdarg.h>
4533 #include <stdio.h>
4534 struct stat;
4535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4536 struct buf { int x; };
4537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4538 static char *e (p, i)
4539 char **p;
4540 int i;
4542 return p[i];
4544 static char *f (char * (*g) (char **, int), char **p, ...)
4546 char *s;
4547 va_list v;
4548 va_start (v,p);
4549 s = g (p, va_arg (v,int));
4550 va_end (v);
4551 return s;
4554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4555 function prototypes and stuff, but not '\xHH' hex character constants.
4556 These don't provoke an error unfortunately, instead are silently treated
4557 as 'x'. The following induces an error, until -std is added to get
4558 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4559 array size at least. It's necessary to write '\x00'==0 to get something
4560 that's true only with -std. */
4561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4564 inside strings and character constants. */
4565 #define FOO(x) 'x'
4566 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4568 int test (int i, double x);
4569 struct s1 {int (*f) (int a);};
4570 struct s2 {int (*f) (double a);};
4571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4572 int argc;
4573 char **argv;
4575 main ()
4577 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4579 return 0;
4581 _ACEOF
4582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4583 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4585 CC="$ac_save_CC $ac_arg"
4586 if ac_fn_c_try_compile "$LINENO"; then :
4587 ac_cv_prog_cc_c89=$ac_arg
4589 rm -f core conftest.err conftest.$ac_objext
4590 test "x$ac_cv_prog_cc_c89" != "xno" && break
4591 done
4592 rm -f conftest.$ac_ext
4593 CC=$ac_save_CC
4596 # AC_CACHE_VAL
4597 case "x$ac_cv_prog_cc_c89" in
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4600 $as_echo "none needed" >&6; } ;;
4601 xno)
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4603 $as_echo "unsupported" >&6; } ;;
4605 CC="$CC $ac_cv_prog_cc_c89"
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4607 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4608 esac
4609 if test "x$ac_cv_prog_cc_c89" != xno; then :
4613 ac_ext=c
4614 ac_cpp='$CPP $CPPFLAGS'
4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 ac_ext=cpp
4620 ac_cpp='$CXXCPP $CPPFLAGS'
4621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4624 if test -z "$CXX"; then
4625 if test -n "$CCC"; then
4626 CXX=$CCC
4627 else
4628 if test -n "$ac_tool_prefix"; then
4629 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if ${ac_cv_prog_CXX+:} false; then :
4636 $as_echo_n "(cached) " >&6
4637 else
4638 if test -n "$CXX"; then
4639 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4640 else
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 for as_dir in $PATH
4644 IFS=$as_save_IFS
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 break 2
4652 done
4653 done
4654 IFS=$as_save_IFS
4658 CXX=$ac_cv_prog_CXX
4659 if test -n "$CXX"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4661 $as_echo "$CXX" >&6; }
4662 else
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4668 test -n "$CXX" && break
4669 done
4671 if test -z "$CXX"; then
4672 ac_ct_CXX=$CXX
4673 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4675 # Extract the first word of "$ac_prog", so it can be a program name with args.
4676 set dummy $ac_prog; ac_word=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4680 $as_echo_n "(cached) " >&6
4681 else
4682 if test -n "$ac_ct_CXX"; then
4683 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692 ac_cv_prog_ac_ct_CXX="$ac_prog"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 break 2
4696 done
4697 done
4698 IFS=$as_save_IFS
4702 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4703 if test -n "$ac_ct_CXX"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4705 $as_echo "$ac_ct_CXX" >&6; }
4706 else
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4712 test -n "$ac_ct_CXX" && break
4713 done
4715 if test "x$ac_ct_CXX" = x; then
4716 CXX="g++"
4717 else
4718 case $cross_compiling:$ac_tool_warned in
4719 yes:)
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned=yes ;;
4723 esac
4724 CXX=$ac_ct_CXX
4730 # Provide some information about the compiler.
4731 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4732 set X $ac_compile
4733 ac_compiler=$2
4734 for ac_option in --version -v -V -qversion; do
4735 { { ac_try="$ac_compiler $ac_option >&5"
4736 case "(($ac_try" in
4737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738 *) ac_try_echo=$ac_try;;
4739 esac
4740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4741 $as_echo "$ac_try_echo"; } >&5
4742 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4743 ac_status=$?
4744 if test -s conftest.err; then
4745 sed '10a\
4746 ... rest of stderr output deleted ...
4747 10q' conftest.err >conftest.er1
4748 cat conftest.er1 >&5
4750 rm -f conftest.er1 conftest.err
4751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4752 test $ac_status = 0; }
4753 done
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4756 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4757 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4764 main ()
4766 #ifndef __GNUC__
4767 choke me
4768 #endif
4771 return 0;
4773 _ACEOF
4774 if ac_fn_cxx_try_compile "$LINENO"; then :
4775 ac_compiler_gnu=yes
4776 else
4777 ac_compiler_gnu=no
4779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4784 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4785 if test $ac_compiler_gnu = yes; then
4786 GXX=yes
4787 else
4788 GXX=
4790 ac_test_CXXFLAGS=${CXXFLAGS+set}
4791 ac_save_CXXFLAGS=$CXXFLAGS
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4793 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4794 if ${ac_cv_prog_cxx_g+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4798 ac_cxx_werror_flag=yes
4799 ac_cv_prog_cxx_g=no
4800 CXXFLAGS="-g"
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4805 main ()
4809 return 0;
4811 _ACEOF
4812 if ac_fn_cxx_try_compile "$LINENO"; then :
4813 ac_cv_prog_cxx_g=yes
4814 else
4815 CXXFLAGS=""
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4820 main ()
4824 return 0;
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4829 else
4830 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4831 CXXFLAGS="-g"
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4836 main ()
4840 return 0;
4842 _ACEOF
4843 if ac_fn_cxx_try_compile "$LINENO"; then :
4844 ac_cv_prog_cxx_g=yes
4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4854 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4855 if test "$ac_test_CXXFLAGS" = set; then
4856 CXXFLAGS=$ac_save_CXXFLAGS
4857 elif test $ac_cv_prog_cxx_g = yes; then
4858 if test "$GXX" = yes; then
4859 CXXFLAGS="-g -O2"
4860 else
4861 CXXFLAGS="-g"
4863 else
4864 if test "$GXX" = yes; then
4865 CXXFLAGS="-O2"
4866 else
4867 CXXFLAGS=
4870 ac_ext=c
4871 ac_cpp='$CPP $CPPFLAGS'
4872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4876 if test -n "$ac_tool_prefix"; then
4877 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4878 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if ${ac_cv_prog_CPPBIN+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 if test -n "$CPPBIN"; then
4885 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4900 IFS=$as_save_IFS
4904 CPPBIN=$ac_cv_prog_CPPBIN
4905 if test -n "$CPPBIN"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4907 $as_echo "$CPPBIN" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4915 if test -z "$ac_cv_prog_CPPBIN"; then
4916 ac_ct_CPPBIN=$CPPBIN
4917 # Extract the first word of "cpp", so it can be a program name with args.
4918 set dummy cpp; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$ac_ct_CPPBIN"; then
4925 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_ac_ct_CPPBIN="cpp"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4938 done
4939 done
4940 IFS=$as_save_IFS
4944 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4945 if test -n "$ac_ct_CPPBIN"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4947 $as_echo "$ac_ct_CPPBIN" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4953 if test "x$ac_ct_CPPBIN" = x; then
4954 CPPBIN="cpp"
4955 else
4956 case $cross_compiling:$ac_tool_warned in
4957 yes:)
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4960 ac_tool_warned=yes ;;
4961 esac
4962 CPPBIN=$ac_ct_CPPBIN
4964 else
4965 CPPBIN="$ac_cv_prog_CPPBIN"
4969 cat >>confdefs.h <<_ACEOF
4970 #define EXEEXT "$ac_exeext"
4971 _ACEOF
4973 if test -n "$ac_tool_prefix"; then
4974 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4975 set dummy ${ac_tool_prefix}ld; ac_word=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if ${ac_cv_prog_LD+:} false; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 if test -n "$LD"; then
4982 ac_cv_prog_LD="$LD" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_LD="${ac_tool_prefix}ld"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 break 2
4995 done
4996 done
4997 IFS=$as_save_IFS
5001 LD=$ac_cv_prog_LD
5002 if test -n "$LD"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5004 $as_echo "$LD" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5012 if test -z "$ac_cv_prog_LD"; then
5013 ac_ct_LD=$LD
5014 # Extract the first word of "ld", so it can be a program name with args.
5015 set dummy ld; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$ac_ct_LD"; then
5022 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_ac_ct_LD="ld"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5042 if test -n "$ac_ct_LD"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5044 $as_echo "$ac_ct_LD" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5050 if test "x$ac_ct_LD" = x; then
5051 LD=""
5052 else
5053 case $cross_compiling:$ac_tool_warned in
5054 yes:)
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057 ac_tool_warned=yes ;;
5058 esac
5059 LD=$ac_ct_LD
5061 else
5062 LD="$ac_cv_prog_LD"
5066 case $host in
5067 *-darwin*)
5068 with_fontconfig=${with_fontconfig:-no}
5070 *-mingw32*|*-cygwin*)
5071 enable_win16=${enable_win16:-no}
5072 CFLAGS="$CFLAGS -D_WIN32"
5074 esac
5076 case $host in
5077 x86_64*|amd64*)
5078 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5079 then
5080 CC="$CC -m32"
5081 CXX="$CXX -m32"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5083 $as_echo_n "checking whether $CC works... " >&6; }
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5089 main ()
5093 return 0;
5095 _ACEOF
5096 if ac_fn_c_try_link "$LINENO"; then :
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5098 $as_echo "yes" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5104 rm -f core conftest.err conftest.$ac_objext \
5105 conftest$ac_exeext conftest.$ac_ext
5106 host_cpu="i386"
5107 notice_platform="32-bit "
5108 TARGETFLAGS="-m32"
5110 enable_win16=${enable_win16:-yes}
5111 else
5112 if test "x${GCC}" = "xyes"
5113 then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5115 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5118 #include <stdarg.h>
5120 main ()
5122 void func(__builtin_ms_va_list *args);
5124 return 0;
5126 _ACEOF
5127 if ac_fn_c_try_compile "$LINENO"; then :
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5129 $as_echo "yes" >&6; }
5130 else
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5133 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 CC="$CC -m64"
5138 CXX="$CXX -m64"
5139 host_cpu="x86_64"
5140 notice_platform="64-bit "
5141 TARGETFLAGS="-m64"
5145 arm*)
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5147 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5150 int ac_test(int i) { return i; }
5152 main ()
5154 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5156 return 0;
5158 _ACEOF
5159 if ac_fn_c_try_link "$LINENO"; then :
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5161 $as_echo "yes" >&6; }
5162 else
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5165 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5167 rm -f core conftest.err conftest.$ac_objext \
5168 conftest$ac_exeext conftest.$ac_ext
5169 CFLAGS="$CFLAGS -marm"
5170 TARGETFLAGS="-marm"
5173 i[3456789]86*)
5174 enable_win16=${enable_win16:-yes}
5176 esac
5178 enable_win16=${enable_win16:-no}
5179 enable_win64=${enable_win64:-no}
5181 enable_winetest=${enable_winetest:-$enable_tests}
5183 if test -n "$with_wine64"
5184 then
5185 if test "x$enable_win64" = "xyes"
5186 then
5187 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5188 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5190 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5191 You should create a separate build directory and run configure from there." "$LINENO" 5
5192 enable_fonts=${enable_fonts:-no}
5193 enable_server=${enable_server:-no}
5194 elif test "x$enable_win64" = "xyes"
5195 then
5196 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5200 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5201 if ${wine_cv_toolsdir+:} false; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 wine_cv_toolsdir="$with_wine_tools"
5205 if test -z "$with_wine_tools"; then
5206 if test "$cross_compiling" = "yes"; then
5207 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5208 elif test -n "$with_wine64"; then
5209 wine_cv_toolsdir="$with_wine64"
5212 if test -z "$wine_cv_toolsdir"; then
5213 wine_makedep=tools/makedep
5214 wine_cv_toolsdir="\$(top_builddir)"
5215 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5216 wine_makedep=$wine_cv_toolsdir/tools/makedep
5217 case "$wine_cv_toolsdir" in
5218 /*) ;;
5219 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5220 esac
5221 enable_tools=${enable_tools:-no}
5222 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5223 else
5224 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5228 $as_echo "$wine_cv_toolsdir" >&6; }
5229 TOOLSDIR=$wine_cv_toolsdir
5231 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5232 then
5233 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5237 for ac_prog in flex
5239 # Extract the first word of "$ac_prog", so it can be a program name with args.
5240 set dummy $ac_prog; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_FLEX+:} false; then :
5244 $as_echo_n "(cached) " >&6
5245 else
5246 if test -n "$FLEX"; then
5247 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_FLEX="$ac_prog"
5257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 FLEX=$ac_cv_prog_FLEX
5267 if test -n "$FLEX"; then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5269 $as_echo "$FLEX" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5276 test -n "$FLEX" && break
5277 done
5278 test -n "$FLEX" || FLEX="none"
5280 if test "$FLEX" = "none"
5281 then
5282 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5285 $as_echo_n "checking whether flex is recent enough... " >&6; }
5286 cat >conftest.l <<EOF
5287 %top{
5288 #include "prediluvian.h"
5292 if $FLEX -t conftest.l >/dev/null 2>&5
5293 then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5295 $as_echo "yes" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5299 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5302 for ac_prog in bison
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_BISON+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$BISON"; then
5312 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_BISON="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 BISON=$ac_cv_prog_BISON
5332 if test -n "$BISON"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5334 $as_echo "$BISON" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$BISON" && break
5342 done
5343 test -n "$BISON" || BISON="none"
5345 if test "$BISON" = "none"
5346 then
5347 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5350 if test -n "$ac_tool_prefix"; then
5351 for ac_prog in ar gar
5353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if ${ac_cv_prog_AR+:} false; then :
5358 $as_echo_n "(cached) " >&6
5359 else
5360 if test -n "$AR"; then
5361 ac_cv_prog_AR="$AR" # Let the user override the test.
5362 else
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH
5366 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 break 2
5374 done
5375 done
5376 IFS=$as_save_IFS
5380 AR=$ac_cv_prog_AR
5381 if test -n "$AR"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5383 $as_echo "$AR" >&6; }
5384 else
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5390 test -n "$AR" && break
5391 done
5393 if test -z "$AR"; then
5394 ac_ct_AR=$AR
5395 for ac_prog in ar gar
5397 # Extract the first word of "$ac_prog", so it can be a program name with args.
5398 set dummy $ac_prog; ac_word=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 if test -n "$ac_ct_AR"; then
5405 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5414 ac_cv_prog_ac_ct_AR="$ac_prog"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5425 if test -n "$ac_ct_AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5427 $as_echo "$ac_ct_AR" >&6; }
5428 else
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5434 test -n "$ac_ct_AR" && break
5435 done
5437 if test "x$ac_ct_AR" = x; then
5438 AR="ar"
5439 else
5440 case $cross_compiling:$ac_tool_warned in
5441 yes:)
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444 ac_tool_warned=yes ;;
5445 esac
5446 AR=$ac_ct_AR
5450 if test -n "$ac_tool_prefix"; then
5451 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5452 set dummy ${ac_tool_prefix}strip; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_STRIP+:} false; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if test -n "$STRIP"; then
5459 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 break 2
5472 done
5473 done
5474 IFS=$as_save_IFS
5478 STRIP=$ac_cv_prog_STRIP
5479 if test -n "$STRIP"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5481 $as_echo "$STRIP" >&6; }
5482 else
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5489 if test -z "$ac_cv_prog_STRIP"; then
5490 ac_ct_STRIP=$STRIP
5491 # Extract the first word of "strip", so it can be a program name with args.
5492 set dummy strip; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$ac_ct_STRIP"; then
5499 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_ac_ct_STRIP="strip"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5519 if test -n "$ac_ct_STRIP"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5521 $as_echo "$ac_ct_STRIP" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5527 if test "x$ac_ct_STRIP" = x; then
5528 STRIP="strip"
5529 else
5530 case $cross_compiling:$ac_tool_warned in
5531 yes:)
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 STRIP=$ac_ct_STRIP
5538 else
5539 STRIP="$ac_cv_prog_STRIP"
5542 ARFLAGS=rc
5544 if test -n "$ac_tool_prefix"; then
5545 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5546 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_RANLIB+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -n "$RANLIB"; then
5553 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5554 else
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 break 2
5566 done
5567 done
5568 IFS=$as_save_IFS
5572 RANLIB=$ac_cv_prog_RANLIB
5573 if test -n "$RANLIB"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5575 $as_echo "$RANLIB" >&6; }
5576 else
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5583 if test -z "$ac_cv_prog_RANLIB"; then
5584 ac_ct_RANLIB=$RANLIB
5585 # Extract the first word of "ranlib", so it can be a program name with args.
5586 set dummy ranlib; ac_word=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -n "$ac_ct_RANLIB"; then
5593 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5594 else
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_prog_ac_ct_RANLIB="ranlib"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5612 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5613 if test -n "$ac_ct_RANLIB"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5615 $as_echo "$ac_ct_RANLIB" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5621 if test "x$ac_ct_RANLIB" = x; then
5622 RANLIB=":"
5623 else
5624 case $cross_compiling:$ac_tool_warned in
5625 yes:)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5628 ac_tool_warned=yes ;;
5629 esac
5630 RANLIB=$ac_ct_RANLIB
5632 else
5633 RANLIB="$ac_cv_prog_RANLIB"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5637 $as_echo_n "checking whether ln -s works... " >&6; }
5638 LN_S=$as_ln_s
5639 if test "$LN_S" = "ln -s"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641 $as_echo "yes" >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5644 $as_echo "no, using $LN_S" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5648 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5649 if ${ac_cv_path_GREP+:} false; then :
5650 $as_echo_n "(cached) " >&6
5651 else
5652 if test -z "$GREP"; then
5653 ac_path_GREP_found=false
5654 # Loop through the user's path and test for each of PROGNAME-LIST
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_prog in grep ggrep; do
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5663 as_fn_executable_p "$ac_path_GREP" || continue
5664 # Check for GNU ac_path_GREP and select it if it is found.
5665 # Check for GNU $ac_path_GREP
5666 case `"$ac_path_GREP" --version 2>&1` in
5667 *GNU*)
5668 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5670 ac_count=0
5671 $as_echo_n 0123456789 >"conftest.in"
5672 while :
5674 cat "conftest.in" "conftest.in" >"conftest.tmp"
5675 mv "conftest.tmp" "conftest.in"
5676 cp "conftest.in" "conftest.nl"
5677 $as_echo 'GREP' >> "conftest.nl"
5678 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5679 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5680 as_fn_arith $ac_count + 1 && ac_count=$as_val
5681 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5682 # Best one so far, save it but keep looking for a better one
5683 ac_cv_path_GREP="$ac_path_GREP"
5684 ac_path_GREP_max=$ac_count
5686 # 10*(2^10) chars as input seems more than enough
5687 test $ac_count -gt 10 && break
5688 done
5689 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5690 esac
5692 $ac_path_GREP_found && break 3
5693 done
5694 done
5695 done
5696 IFS=$as_save_IFS
5697 if test -z "$ac_cv_path_GREP"; then
5698 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5700 else
5701 ac_cv_path_GREP=$GREP
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5706 $as_echo "$ac_cv_path_GREP" >&6; }
5707 GREP="$ac_cv_path_GREP"
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5711 $as_echo_n "checking for egrep... " >&6; }
5712 if ${ac_cv_path_EGREP+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5716 then ac_cv_path_EGREP="$GREP -E"
5717 else
5718 if test -z "$EGREP"; then
5719 ac_path_EGREP_found=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_prog in egrep; do
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5729 as_fn_executable_p "$ac_path_EGREP" || continue
5730 # Check for GNU ac_path_EGREP and select it if it is found.
5731 # Check for GNU $ac_path_EGREP
5732 case `"$ac_path_EGREP" --version 2>&1` in
5733 *GNU*)
5734 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5736 ac_count=0
5737 $as_echo_n 0123456789 >"conftest.in"
5738 while :
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 $as_echo 'EGREP' >> "conftest.nl"
5744 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5746 as_fn_arith $ac_count + 1 && ac_count=$as_val
5747 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_EGREP="$ac_path_EGREP"
5750 ac_path_EGREP_max=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5754 done
5755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5756 esac
5758 $ac_path_EGREP_found && break 3
5759 done
5760 done
5761 done
5762 IFS=$as_save_IFS
5763 if test -z "$ac_cv_path_EGREP"; then
5764 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5766 else
5767 ac_cv_path_EGREP=$EGREP
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5773 $as_echo "$ac_cv_path_EGREP" >&6; }
5774 EGREP="$ac_cv_path_EGREP"
5777 # Extract the first word of "ldconfig", so it can be a program name with args.
5778 set dummy ldconfig; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_path_LDCONFIG+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 case $LDCONFIG in
5785 [\\/]* | ?:[\\/]*)
5786 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in /sbin /usr/sbin $PATH
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5800 done
5801 done
5802 IFS=$as_save_IFS
5804 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5806 esac
5808 LDCONFIG=$ac_cv_path_LDCONFIG
5809 if test -n "$LDCONFIG"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5811 $as_echo "$LDCONFIG" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 for ac_prog in msgfmt
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy $ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_MSGFMT+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$MSGFMT"; then
5828 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_MSGFMT="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 MSGFMT=$ac_cv_prog_MSGFMT
5848 if test -n "$MSGFMT"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5850 $as_echo "$MSGFMT" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$MSGFMT" && break
5858 done
5859 test -n "$MSGFMT" || MSGFMT="false"
5861 if ${ac_tool_prefix+:} false; then :
5862 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$PKG_CONFIG"; then
5870 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5890 if test -n "$PKG_CONFIG"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5892 $as_echo "$PKG_CONFIG" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5900 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5901 if test "x$cross_compiling" = xyes; then :
5903 else
5904 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5905 # Extract the first word of "pkg-config", so it can be a program name with args.
5906 set dummy pkg-config; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$PKG_CONFIG"; then
5913 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_PKG_CONFIG="pkg-config"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5933 if test -n "$PKG_CONFIG"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5935 $as_echo "$PKG_CONFIG" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5943 else
5944 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5947 if test "x$enable_maintainer_mode" != "xyes"
5948 then
5949 FONTFORGE=""
5950 RSVG=""
5951 CONVERT=""
5952 ICOTOOL=""
5953 else
5954 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5955 for ac_prog in fontforge
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy $ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_FONTFORGE+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$FONTFORGE"; then
5965 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_FONTFORGE="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 FONTFORGE=$ac_cv_prog_FONTFORGE
5985 if test -n "$FONTFORGE"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5987 $as_echo "$FONTFORGE" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$FONTFORGE" && break
5995 done
5996 test -n "$FONTFORGE" || FONTFORGE="false"
5998 for ac_prog in rsvg-convert rsvg
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_RSVG+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$RSVG"; then
6008 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_RSVG="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 RSVG=$ac_cv_prog_RSVG
6028 if test -n "$RSVG"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6030 $as_echo "$RSVG" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$RSVG" && break
6038 done
6039 test -n "$RSVG" || RSVG="false"
6041 for ac_prog in convert
6043 # Extract the first word of "$ac_prog", so it can be a program name with args.
6044 set dummy $ac_prog; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_CONVERT+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$CONVERT"; then
6051 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_CONVERT="$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 CONVERT=$ac_cv_prog_CONVERT
6071 if test -n "$CONVERT"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6073 $as_echo "$CONVERT" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$CONVERT" && break
6081 done
6082 test -n "$CONVERT" || CONVERT="false"
6084 for ac_prog in icotool
6086 # Extract the first word of "$ac_prog", so it can be a program name with args.
6087 set dummy $ac_prog; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if ${ac_cv_prog_ICOTOOL+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$ICOTOOL"; then
6094 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6103 ac_cv_prog_ICOTOOL="$ac_prog"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6107 done
6108 done
6109 IFS=$as_save_IFS
6113 ICOTOOL=$ac_cv_prog_ICOTOOL
6114 if test -n "$ICOTOOL"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6116 $as_echo "$ICOTOOL" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6123 test -n "$ICOTOOL" && break
6124 done
6125 test -n "$ICOTOOL" || ICOTOOL="false"
6127 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6128 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6130 if test "$CONVERT" = false
6131 then
6132 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6133 else
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6135 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6136 convert_version=`convert --version | head -n1`
6137 if test "x$convert_version" != "x"
6138 then
6139 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6140 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6141 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6142 then
6143 CONVERT=false
6146 if test "$CONVERT" = false
6147 then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6149 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6150 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6153 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6157 if test "$ICOTOOL" = false
6158 then
6159 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6162 $as_echo_n "checking for recent enough icotool... " >&6; }
6163 icotool_version=`icotool --version | head -n1`
6164 if test "x$icotool_version" != "x"
6165 then
6166 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6167 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6168 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6169 then
6170 ICOTOOL=false
6171 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6174 if test "$ICOTOOL" = false
6175 then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6177 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6178 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6181 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6185 with_gettext=yes
6186 with_gettextpo=yes
6187 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6190 test "x$with_gettext" != xno || MSGFMT=false
6191 if test "$MSGFMT" != "false"
6192 then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6194 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6195 cat >conftest.po <<EOF
6196 # comment
6197 msgctxt "ctxt"
6198 msgid "id"
6199 msgstr "str"
6201 if $MSGFMT -o /dev/null conftest.po 2>&5
6202 then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6204 $as_echo "yes" >&6; }
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6208 MSGFMT=false
6211 if test "$MSGFMT" = false; then :
6212 case "x$with_gettext" in
6213 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6214 xno) ;;
6215 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6216 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6217 esac
6218 enable_po=${enable_po:-no}
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6223 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6224 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 ac_check_lib_save_LIBS=$LIBS
6228 LIBS="-li386 $LIBS"
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6232 /* Override any GCC internal prototype to avoid an error.
6233 Use char because int might match the return type of a GCC
6234 builtin and then its argument prototype would still apply. */
6235 #ifdef __cplusplus
6236 extern "C"
6237 #endif
6238 char i386_set_ldt ();
6240 main ()
6242 return i386_set_ldt ();
6244 return 0;
6246 _ACEOF
6247 if ac_fn_c_try_link "$LINENO"; then :
6248 ac_cv_lib_i386_i386_set_ldt=yes
6249 else
6250 ac_cv_lib_i386_i386_set_ldt=no
6252 rm -f core conftest.err conftest.$ac_objext \
6253 conftest$ac_exeext conftest.$ac_ext
6254 LIBS=$ac_check_lib_save_LIBS
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6257 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6258 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6259 cat >>confdefs.h <<_ACEOF
6260 #define HAVE_LIBI386 1
6261 _ACEOF
6263 LIBS="-li386 $LIBS"
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6268 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6269 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6270 $as_echo_n "(cached) " >&6
6271 else
6272 ac_check_lib_save_LIBS=$LIBS
6273 LIBS="-lossaudio $LIBS"
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6277 /* Override any GCC internal prototype to avoid an error.
6278 Use char because int might match the return type of a GCC
6279 builtin and then its argument prototype would still apply. */
6280 #ifdef __cplusplus
6281 extern "C"
6282 #endif
6283 char _oss_ioctl ();
6285 main ()
6287 return _oss_ioctl ();
6289 return 0;
6291 _ACEOF
6292 if ac_fn_c_try_link "$LINENO"; then :
6293 ac_cv_lib_ossaudio__oss_ioctl=yes
6294 else
6295 ac_cv_lib_ossaudio__oss_ioctl=no
6297 rm -f core conftest.err conftest.$ac_objext \
6298 conftest$ac_exeext conftest.$ac_ext
6299 LIBS=$ac_check_lib_save_LIBS
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6302 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6303 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6304 cat >>confdefs.h <<_ACEOF
6305 #define HAVE_LIBOSSAUDIO 1
6306 _ACEOF
6308 LIBS="-lossaudio $LIBS"
6313 OPENGL_LIBS=""
6317 # Check whether --enable-largefile was given.
6318 if test "${enable_largefile+set}" = set; then :
6319 enableval=$enable_largefile;
6322 if test "$enable_largefile" != no; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6325 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6326 if ${ac_cv_sys_largefile_CC+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 ac_cv_sys_largefile_CC=no
6330 if test "$GCC" != yes; then
6331 ac_save_CC=$CC
6332 while :; do
6333 # IRIX 6.2 and later do not support large files by default,
6334 # so use the C compiler's -n32 option if that helps.
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6337 #include <sys/types.h>
6338 /* Check that off_t can represent 2**63 - 1 correctly.
6339 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6340 since some C++ compilers masquerading as C compilers
6341 incorrectly reject 9223372036854775807. */
6342 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6343 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6344 && LARGE_OFF_T % 2147483647 == 1)
6345 ? 1 : -1];
6347 main ()
6351 return 0;
6353 _ACEOF
6354 if ac_fn_c_try_compile "$LINENO"; then :
6355 break
6357 rm -f core conftest.err conftest.$ac_objext
6358 CC="$CC -n32"
6359 if ac_fn_c_try_compile "$LINENO"; then :
6360 ac_cv_sys_largefile_CC=' -n32'; break
6362 rm -f core conftest.err conftest.$ac_objext
6363 break
6364 done
6365 CC=$ac_save_CC
6366 rm -f conftest.$ac_ext
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6370 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6371 if test "$ac_cv_sys_largefile_CC" != no; then
6372 CC=$CC$ac_cv_sys_largefile_CC
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6376 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6377 if ${ac_cv_sys_file_offset_bits+:} false; then :
6378 $as_echo_n "(cached) " >&6
6379 else
6380 while :; do
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6382 /* end confdefs.h. */
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_file_offset_bits=no; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #define _FILE_OFFSET_BITS 64
6407 #include <sys/types.h>
6408 /* Check that off_t can represent 2**63 - 1 correctly.
6409 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6410 since some C++ compilers masquerading as C compilers
6411 incorrectly reject 9223372036854775807. */
6412 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6413 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6414 && LARGE_OFF_T % 2147483647 == 1)
6415 ? 1 : -1];
6417 main ()
6421 return 0;
6423 _ACEOF
6424 if ac_fn_c_try_compile "$LINENO"; then :
6425 ac_cv_sys_file_offset_bits=64; break
6427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6428 ac_cv_sys_file_offset_bits=unknown
6429 break
6430 done
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6433 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6434 case $ac_cv_sys_file_offset_bits in #(
6435 no | unknown) ;;
6437 cat >>confdefs.h <<_ACEOF
6438 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6439 _ACEOF
6441 esac
6442 rm -rf conftest*
6443 if test $ac_cv_sys_file_offset_bits = unknown; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6445 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6446 if ${ac_cv_sys_large_files+:} false; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 while :; do
6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6452 #include <sys/types.h>
6453 /* Check that off_t can represent 2**63 - 1 correctly.
6454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6455 since some C++ compilers masquerading as C compilers
6456 incorrectly reject 9223372036854775807. */
6457 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6459 && LARGE_OFF_T % 2147483647 == 1)
6460 ? 1 : -1];
6462 main ()
6466 return 0;
6468 _ACEOF
6469 if ac_fn_c_try_compile "$LINENO"; then :
6470 ac_cv_sys_large_files=no; break
6472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #define _LARGE_FILES 1
6476 #include <sys/types.h>
6477 /* Check that off_t can represent 2**63 - 1 correctly.
6478 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6479 since some C++ compilers masquerading as C compilers
6480 incorrectly reject 9223372036854775807. */
6481 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6482 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6483 && LARGE_OFF_T % 2147483647 == 1)
6484 ? 1 : -1];
6486 main ()
6490 return 0;
6492 _ACEOF
6493 if ac_fn_c_try_compile "$LINENO"; then :
6494 ac_cv_sys_large_files=1; break
6496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6497 ac_cv_sys_large_files=unknown
6498 break
6499 done
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6502 $as_echo "$ac_cv_sys_large_files" >&6; }
6503 case $ac_cv_sys_large_files in #(
6504 no | unknown) ;;
6506 cat >>confdefs.h <<_ACEOF
6507 #define _LARGE_FILES $ac_cv_sys_large_files
6508 _ACEOF
6510 esac
6511 rm -rf conftest*
6518 ac_ext=c
6519 ac_cpp='$CPP $CPPFLAGS'
6520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6524 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6525 # On Suns, sometimes $CPP names a directory.
6526 if test -n "$CPP" && test -d "$CPP"; then
6527 CPP=
6529 if test -z "$CPP"; then
6530 if ${ac_cv_prog_CPP+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 # Double quotes because CPP needs to be expanded
6534 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6536 ac_preproc_ok=false
6537 for ac_c_preproc_warn_flag in '' yes
6539 # Use a header file that comes with gcc, so configuring glibc
6540 # with a fresh cross-compiler works.
6541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6542 # <limits.h> exists even on freestanding compilers.
6543 # On the NeXT, cc -E runs the code through the compiler's parser,
6544 # not just through cpp. "Syntax error" is here to catch this case.
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #ifdef __STDC__
6548 # include <limits.h>
6549 #else
6550 # include <assert.h>
6551 #endif
6552 Syntax error
6553 _ACEOF
6554 if ac_fn_c_try_cpp "$LINENO"; then :
6556 else
6557 # Broken: fails on valid input.
6558 continue
6560 rm -f conftest.err conftest.i conftest.$ac_ext
6562 # OK, works on sane cases. Now check whether nonexistent headers
6563 # can be detected and how.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6566 #include <ac_nonexistent.h>
6567 _ACEOF
6568 if ac_fn_c_try_cpp "$LINENO"; then :
6569 # Broken: success on invalid input.
6570 continue
6571 else
6572 # Passes both tests.
6573 ac_preproc_ok=:
6574 break
6576 rm -f conftest.err conftest.i conftest.$ac_ext
6578 done
6579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6580 rm -f conftest.i conftest.err conftest.$ac_ext
6581 if $ac_preproc_ok; then :
6582 break
6585 done
6586 ac_cv_prog_CPP=$CPP
6589 CPP=$ac_cv_prog_CPP
6590 else
6591 ac_cv_prog_CPP=$CPP
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6594 $as_echo "$CPP" >&6; }
6595 ac_preproc_ok=false
6596 for ac_c_preproc_warn_flag in '' yes
6598 # Use a header file that comes with gcc, so configuring glibc
6599 # with a fresh cross-compiler works.
6600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601 # <limits.h> exists even on freestanding compilers.
6602 # On the NeXT, cc -E runs the code through the compiler's parser,
6603 # not just through cpp. "Syntax error" is here to catch this case.
6604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6606 #ifdef __STDC__
6607 # include <limits.h>
6608 #else
6609 # include <assert.h>
6610 #endif
6611 Syntax error
6612 _ACEOF
6613 if ac_fn_c_try_cpp "$LINENO"; then :
6615 else
6616 # Broken: fails on valid input.
6617 continue
6619 rm -f conftest.err conftest.i conftest.$ac_ext
6621 # OK, works on sane cases. Now check whether nonexistent headers
6622 # can be detected and how.
6623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6625 #include <ac_nonexistent.h>
6626 _ACEOF
6627 if ac_fn_c_try_cpp "$LINENO"; then :
6628 # Broken: success on invalid input.
6629 continue
6630 else
6631 # Passes both tests.
6632 ac_preproc_ok=:
6633 break
6635 rm -f conftest.err conftest.i conftest.$ac_ext
6637 done
6638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6639 rm -f conftest.i conftest.err conftest.$ac_ext
6640 if $ac_preproc_ok; then :
6642 else
6643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6645 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6646 See \`config.log' for more details" "$LINENO" 5; }
6649 ac_ext=c
6650 ac_cpp='$CPP $CPPFLAGS'
6651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6657 $as_echo_n "checking for ANSI C header files... " >&6; }
6658 if ${ac_cv_header_stdc+:} false; then :
6659 $as_echo_n "(cached) " >&6
6660 else
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <stdlib.h>
6664 #include <stdarg.h>
6665 #include <string.h>
6666 #include <float.h>
6669 main ()
6673 return 0;
6675 _ACEOF
6676 if ac_fn_c_try_compile "$LINENO"; then :
6677 ac_cv_header_stdc=yes
6678 else
6679 ac_cv_header_stdc=no
6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6683 if test $ac_cv_header_stdc = yes; then
6684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6687 #include <string.h>
6689 _ACEOF
6690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6691 $EGREP "memchr" >/dev/null 2>&1; then :
6693 else
6694 ac_cv_header_stdc=no
6696 rm -f conftest*
6700 if test $ac_cv_header_stdc = yes; then
6701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6704 #include <stdlib.h>
6706 _ACEOF
6707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6708 $EGREP "free" >/dev/null 2>&1; then :
6710 else
6711 ac_cv_header_stdc=no
6713 rm -f conftest*
6717 if test $ac_cv_header_stdc = yes; then
6718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6719 if test "$cross_compiling" = yes; then :
6721 else
6722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724 #include <ctype.h>
6725 #include <stdlib.h>
6726 #if ((' ' & 0x0FF) == 0x020)
6727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6729 #else
6730 # define ISLOWER(c) \
6731 (('a' <= (c) && (c) <= 'i') \
6732 || ('j' <= (c) && (c) <= 'r') \
6733 || ('s' <= (c) && (c) <= 'z'))
6734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6735 #endif
6737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6739 main ()
6741 int i;
6742 for (i = 0; i < 256; i++)
6743 if (XOR (islower (i), ISLOWER (i))
6744 || toupper (i) != TOUPPER (i))
6745 return 2;
6746 return 0;
6748 _ACEOF
6749 if ac_fn_c_try_run "$LINENO"; then :
6751 else
6752 ac_cv_header_stdc=no
6754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6755 conftest.$ac_objext conftest.beam conftest.$ac_ext
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6761 $as_echo "$ac_cv_header_stdc" >&6; }
6762 if test $ac_cv_header_stdc = yes; then
6764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6769 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6770 inttypes.h stdint.h unistd.h
6771 do :
6772 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6773 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6776 cat >>confdefs.h <<_ACEOF
6777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6778 _ACEOF
6782 done
6785 for ac_header in \
6786 AL/al.h \
6787 ApplicationServices/ApplicationServices.h \
6788 AudioToolbox/AudioConverter.h \
6789 AudioUnit/AudioUnit.h \
6790 AudioUnit/AudioComponent.h \
6791 CL/cl.h \
6792 Carbon/Carbon.h \
6793 CommonCrypto/CommonDigest.h \
6794 CoreAudio/CoreAudio.h \
6795 CoreServices/CoreServices.h \
6796 DiskArbitration/DiskArbitration.h \
6797 IOKit/IOKitLib.h \
6798 IOKit/hid/IOHIDLib.h \
6799 OpenAL/al.h \
6800 OpenCL/opencl.h \
6801 QuickTime/ImageCompression.h \
6802 Security/Security.h \
6803 alias.h \
6804 alsa/asoundlib.h \
6805 arpa/inet.h \
6806 arpa/nameser.h \
6807 asm/types.h \
6808 asm/user.h \
6809 curses.h \
6810 direct.h \
6811 dirent.h \
6812 dlfcn.h \
6813 elf.h \
6814 float.h \
6815 fnmatch.h \
6816 getopt.h \
6817 gettext-po.h \
6818 grp.h \
6819 gsm.h \
6820 gsm/gsm.h \
6821 ieeefp.h \
6822 inet/mib2.h \
6823 io.h \
6824 kstat.h \
6825 lber.h \
6826 ldap.h \
6827 libproc.h \
6828 link.h \
6829 linux/cdrom.h \
6830 linux/compiler.h \
6831 linux/filter.h \
6832 linux/hdreg.h \
6833 linux/hidraw.h \
6834 linux/input.h \
6835 linux/ioctl.h \
6836 linux/joystick.h \
6837 linux/major.h \
6838 linux/param.h \
6839 linux/serial.h \
6840 linux/types.h \
6841 linux/ucdrom.h \
6842 lwp.h \
6843 mach-o/nlist.h \
6844 mach-o/loader.h \
6845 mach/mach.h \
6846 mach/machine.h \
6847 machine/cpu.h \
6848 machine/limits.h \
6849 machine/sysarch.h \
6850 mntent.h \
6851 ncurses.h \
6852 netdb.h \
6853 netinet/in.h \
6854 netinet/in_systm.h \
6855 netinet/tcp.h \
6856 netinet/tcp_fsm.h \
6857 pcap/pcap.h \
6858 poll.h \
6859 port.h \
6860 process.h \
6861 pthread.h \
6862 pwd.h \
6863 sched.h \
6864 scsi/scsi.h \
6865 scsi/scsi_ioctl.h \
6866 scsi/sg.h \
6867 stdbool.h \
6868 stdint.h \
6869 stropts.h \
6870 sys/asoundlib.h \
6871 sys/attr.h \
6872 sys/cdio.h \
6873 sys/elf32.h \
6874 sys/epoll.h \
6875 sys/event.h \
6876 sys/exec_elf.h \
6877 sys/filio.h \
6878 sys/inotify.h \
6879 sys/ioctl.h \
6880 sys/ipc.h \
6881 sys/limits.h \
6882 sys/link.h \
6883 sys/mman.h \
6884 sys/modem.h \
6885 sys/msg.h \
6886 sys/mtio.h \
6887 sys/param.h \
6888 sys/poll.h \
6889 sys/prctl.h \
6890 sys/protosw.h \
6891 sys/ptrace.h \
6892 sys/queue.h \
6893 sys/resource.h \
6894 sys/scsiio.h \
6895 sys/shm.h \
6896 sys/signal.h \
6897 sys/socket.h \
6898 sys/socketvar.h \
6899 sys/sockio.h \
6900 sys/statvfs.h \
6901 sys/strtio.h \
6902 sys/syscall.h \
6903 sys/sysinfo.h \
6904 sys/tihdr.h \
6905 sys/time.h \
6906 sys/timeout.h \
6907 sys/times.h \
6908 sys/uio.h \
6909 sys/user.h \
6910 sys/utsname.h \
6911 sys/vm86.h \
6912 sys/vnode.h \
6913 sys/wait.h \
6914 syscall.h \
6915 termios.h \
6916 unistd.h \
6917 utime.h \
6918 valgrind/memcheck.h \
6919 valgrind/valgrind.h \
6920 zlib.h
6922 do :
6923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6924 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6926 cat >>confdefs.h <<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6928 _ACEOF
6932 done
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6935 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6936 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6943 main ()
6945 return makedev(0, 0);
6947 return 0;
6949 _ACEOF
6950 if ac_fn_c_try_link "$LINENO"; then :
6951 ac_cv_header_sys_types_h_makedev=yes
6952 else
6953 ac_cv_header_sys_types_h_makedev=no
6955 rm -f core conftest.err conftest.$ac_objext \
6956 conftest$ac_exeext conftest.$ac_ext
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6960 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6962 if test $ac_cv_header_sys_types_h_makedev = no; then
6963 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6964 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6966 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6972 if test $ac_cv_header_sys_mkdev_h = no; then
6973 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6974 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6976 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6985 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6986 if ${ac_cv_header_stat_broken+:} false; then :
6987 $as_echo_n "(cached) " >&6
6988 else
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6991 #include <sys/types.h>
6992 #include <sys/stat.h>
6994 #if defined S_ISBLK && defined S_IFDIR
6995 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6996 #endif
6998 #if defined S_ISBLK && defined S_IFCHR
6999 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7000 #endif
7002 #if defined S_ISLNK && defined S_IFREG
7003 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7004 #endif
7006 #if defined S_ISSOCK && defined S_IFREG
7007 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7008 #endif
7010 _ACEOF
7011 if ac_fn_c_try_compile "$LINENO"; then :
7012 ac_cv_header_stat_broken=no
7013 else
7014 ac_cv_header_stat_broken=yes
7016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7019 $as_echo "$ac_cv_header_stat_broken" >&6; }
7020 if test $ac_cv_header_stat_broken = yes; then
7022 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7028 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7029 do :
7030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7031 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7032 #ifdef HAVE_SYS_PARAM_H
7033 # include <sys/param.h>
7034 #endif
7036 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7039 _ACEOF
7043 done
7046 for ac_header in \
7047 netinet/ip.h \
7048 net/if.h \
7049 net/if_arp.h \
7050 net/if_dl.h \
7051 net/if_types.h \
7052 net/route.h \
7053 netinet/if_ether.h \
7054 netinet/if_inarp.h \
7055 netinet/in_pcb.h \
7056 netinet/ip_icmp.h \
7057 netinet/ip_var.h \
7058 netinet/udp.h \
7059 netipx/ipx.h \
7060 sys/un.h \
7062 do :
7063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7065 #ifdef HAVE_SYS_SOCKET_H
7066 # include <sys/socket.h>
7067 #endif
7068 #ifdef HAVE_SYS_SOCKETVAR_H
7069 # include <sys/socketvar.h>
7070 #endif
7071 #ifdef HAVE_NET_ROUTE_H
7072 # include <net/route.h>
7073 #endif
7074 #ifdef HAVE_NETINET_IN_H
7075 # include <netinet/in.h>
7076 #endif
7077 #ifdef HAVE_NETINET_IN_SYSTM_H
7078 # include <netinet/in_systm.h>
7079 #endif
7080 #ifdef HAVE_NET_IF_H
7081 # include <net/if.h>
7082 #endif
7083 #ifdef HAVE_NETINET_IP_H
7084 # include <netinet/ip.h>
7085 #endif
7087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7090 _ACEOF
7094 done
7097 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7098 do :
7099 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7100 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7101 #ifdef HAVE_ALIAS_H
7102 # include <alias.h>
7103 #endif
7104 #ifdef HAVE_SYS_SOCKET_H
7105 # include <sys/socket.h>
7106 #endif
7107 #ifdef HAVE_SYS_SOCKETVAR_H
7108 # include <sys/socketvar.h>
7109 #endif
7110 #ifdef HAVE_SYS_TIMEOUT_H
7111 # include <sys/timeout.h>
7112 #endif
7113 #ifdef HAVE_NETINET_IN_H
7114 # include <netinet/in.h>
7115 #endif
7116 #ifdef HAVE_NETINET_IN_SYSTM_H
7117 # include <netinet/in_systm.h>
7118 #endif
7119 #ifdef HAVE_NETINET_IP_H
7120 # include <netinet/ip.h>
7121 #endif
7122 #ifdef HAVE_NETINET_IP_VAR_H
7123 # include <netinet/ip_var.h>
7124 #endif
7125 #ifdef HAVE_NETINET_IP_ICMP_H
7126 # include <netinet/ip_icmp.h>
7127 #endif
7128 #ifdef HAVE_NETINET_UDP_H
7129 # include <netinet/udp.h>
7130 #endif
7131 #ifdef HAVE_NETINET_TCP_H
7132 # include <netinet/tcp.h>
7133 #endif
7134 #ifdef HAVE_NETINET_TCP_TIMER_H
7135 #include <netinet/tcp_timer.h>
7136 #endif
7138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7139 cat >>confdefs.h <<_ACEOF
7140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7141 _ACEOF
7145 done
7148 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7149 do :
7150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7151 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7152 #ifdef HAVE_ASM_TYPES_H
7153 # include <asm/types.h>
7154 #endif
7155 #ifdef HAVE_SYS_SOCKET_H
7156 # include <sys/socket.h>
7157 #endif
7158 #ifdef HAVE_LINUX_TYPES_H
7159 # include <linux/types.h>
7160 #endif
7162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7165 _ACEOF
7169 done
7172 for ac_header in mach-o/dyld_images.h
7173 do :
7174 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7175 # include <stdbool.h>
7176 #endif
7177 #ifdef HAVE_STDINT_H
7178 # include <stdint.h>
7179 #endif
7181 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7182 cat >>confdefs.h <<_ACEOF
7183 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7184 _ACEOF
7188 done
7191 for ac_header in resolv.h
7192 do :
7193 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7194 #ifdef HAVE_SYS_SOCKET_H
7195 # include <sys/socket.h>
7196 #endif
7197 #ifdef HAVE_NETINET_IN_H
7198 # include <netinet/in.h>
7199 #endif
7200 #ifdef HAVE_ARPA_NAMESER_H
7201 # include <arpa/nameser.h>
7202 #endif
7204 if test "x$ac_cv_header_resolv_h" = xyes; then :
7205 cat >>confdefs.h <<_ACEOF
7206 #define HAVE_RESOLV_H 1
7207 _ACEOF
7211 done
7214 for ac_header in ifaddrs.h
7215 do :
7216 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7218 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define HAVE_IFADDRS_H 1
7221 _ACEOF
7225 done
7228 for ac_header in sys/ucontext.h
7229 do :
7230 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7232 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7233 cat >>confdefs.h <<_ACEOF
7234 #define HAVE_SYS_UCONTEXT_H 1
7235 _ACEOF
7239 done
7242 for ac_header in sys/thr.h
7243 do :
7244 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7245 #ifdef HAVE_SYS_UCONTEXT_H
7246 #include <sys/ucontext.h>
7247 #endif
7249 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7250 cat >>confdefs.h <<_ACEOF
7251 #define HAVE_SYS_THR_H 1
7252 _ACEOF
7256 done
7259 for ac_header in pthread_np.h
7260 do :
7261 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7262 #include <pthread.h>
7263 #endif
7265 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7266 cat >>confdefs.h <<_ACEOF
7267 #define HAVE_PTHREAD_NP_H 1
7268 _ACEOF
7272 done
7275 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7276 do :
7277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7278 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7279 #include <sys/time.h>
7280 #endif
7281 #include <sys/types.h>
7282 #ifdef HAVE_ASM_TYPES_H
7283 #include <asm/types.h>
7284 #endif
7286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7287 cat >>confdefs.h <<_ACEOF
7288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7289 _ACEOF
7293 done
7296 for ac_header in libprocstat.h
7297 do :
7298 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7299 #include <sys/param.h>
7300 #endif
7301 #ifdef HAVE_SYS_QUEUE_H
7302 #include <sys/queue.h>
7303 #endif
7304 #ifdef HAVE_SYS_SOCKET_H
7305 #include <sys/socket.h>
7306 #endif
7308 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7309 cat >>confdefs.h <<_ACEOF
7310 #define HAVE_LIBPROCSTAT_H 1
7311 _ACEOF
7315 done
7319 dlldir="\${libdir}/wine"
7321 DLLFLAGS="-D_REENTRANT"
7323 LDRPATH_INSTALL=""
7325 LDRPATH_LOCAL=""
7327 LDEXECFLAGS=""
7329 LIBEXT="so"
7330 DLLEXT=".so"
7331 IMPLIBEXT="def"
7332 # Extract the first word of "ldd", so it can be a program name with args.
7333 set dummy ldd; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_path_LDD+:} false; then :
7337 $as_echo_n "(cached) " >&6
7338 else
7339 case $LDD in
7340 [\\/]* | ?:[\\/]*)
7341 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 as_dummy="/sbin:/usr/sbin:$PATH"
7346 for as_dir in $as_dummy
7348 IFS=$as_save_IFS
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7352 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 break 2
7356 done
7357 done
7358 IFS=$as_save_IFS
7360 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7362 esac
7364 LDD=$ac_cv_path_LDD
7365 if test -n "$LDD"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7367 $as_echo "$LDD" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7374 if test -n "$ac_tool_prefix"; then
7375 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7376 set dummy ${ac_tool_prefix}otool; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_OTOOL+:} false; then :
7380 $as_echo_n "(cached) " >&6
7381 else
7382 if test -n "$OTOOL"; then
7383 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7392 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 OTOOL=$ac_cv_prog_OTOOL
7403 if test -n "$OTOOL"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7405 $as_echo "$OTOOL" >&6; }
7406 else
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7413 if test -z "$ac_cv_prog_OTOOL"; then
7414 ac_ct_OTOOL=$OTOOL
7415 # Extract the first word of "otool", so it can be a program name with args.
7416 set dummy otool; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$ac_ct_OTOOL"; then
7423 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ac_ct_OTOOL="otool"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7443 if test -n "$ac_ct_OTOOL"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7445 $as_echo "$ac_ct_OTOOL" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7451 if test "x$ac_ct_OTOOL" = x; then
7452 OTOOL="otool"
7453 else
7454 case $cross_compiling:$ac_tool_warned in
7455 yes:)
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7458 ac_tool_warned=yes ;;
7459 esac
7460 OTOOL=$ac_ct_OTOOL
7462 else
7463 OTOOL="$ac_cv_prog_OTOOL"
7466 if test -n "$ac_tool_prefix"; then
7467 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7468 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if ${ac_cv_prog_READELF+:} false; then :
7472 $as_echo_n "(cached) " >&6
7473 else
7474 if test -n "$READELF"; then
7475 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7480 IFS=$as_save_IFS
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7494 READELF=$ac_cv_prog_READELF
7495 if test -n "$READELF"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7497 $as_echo "$READELF" >&6; }
7498 else
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7505 if test -z "$ac_cv_prog_READELF"; then
7506 ac_ct_READELF=$READELF
7507 # Extract the first word of "readelf", so it can be a program name with args.
7508 set dummy readelf; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$ac_ct_READELF"; then
7515 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7524 ac_cv_prog_ac_ct_READELF="readelf"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7535 if test -n "$ac_ct_READELF"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7537 $as_echo "$ac_ct_READELF" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7543 if test "x$ac_ct_READELF" = x; then
7544 READELF="true"
7545 else
7546 case $cross_compiling:$ac_tool_warned in
7547 yes:)
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7550 ac_tool_warned=yes ;;
7551 esac
7552 READELF=$ac_ct_READELF
7554 else
7555 READELF="$ac_cv_prog_READELF"
7558 wine_rules_file=conf$$rules.make
7559 rm -f $wine_rules_file
7560 SUBDIRS=""
7562 DISABLED_SUBDIRS=""
7564 CONFIGURE_TARGETS=""
7566 ALL_TEST_RESOURCES=""
7569 wine_fn_append_file ()
7571 as_fn_append $1 " \\$as_nl $2"
7574 wine_fn_append_rule ()
7576 $as_echo "$1" >>$wine_rules_file
7579 wine_fn_has_flag ()
7581 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7584 wine_fn_all_rules ()
7586 wine_fn_append_file SUBDIRS $ac_dir
7587 wine_fn_append_rule \
7588 "all: $ac_dir
7589 .PHONY: $ac_dir
7590 $ac_dir: dummy
7591 @cd $ac_dir && \$(MAKE)"
7594 wine_fn_install_rules ()
7596 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7598 wine_fn_append_rule \
7599 ".PHONY: $ac_dir/install $ac_dir/uninstall
7600 $ac_dir/install:: $ac_dir
7601 @cd $ac_dir && \$(MAKE) install
7602 $ac_dir/uninstall::
7603 @cd $ac_dir && \$(MAKE) uninstall
7604 install:: $ac_dir/install
7605 __uninstall__: $ac_dir/uninstall"
7607 if wine_fn_has_flag install-lib
7608 then
7609 wine_fn_append_rule \
7610 ".PHONY: $ac_dir/install-lib
7611 $ac_dir/install-lib:: $ac_dir
7612 @cd $ac_dir && \$(MAKE) install-lib
7613 install-lib:: $ac_dir/install-lib"
7616 if wine_fn_has_flag install-dev
7617 then
7618 wine_fn_append_rule \
7619 ".PHONY: $ac_dir/install-dev
7620 $ac_dir/install-dev:: $ac_dir
7621 @cd $ac_dir && \$(MAKE) install-dev
7622 install-dev:: $ac_dir/install-dev"
7626 wine_fn_clean_rules ()
7628 ac_clean=$@
7630 if wine_fn_has_flag clean
7631 then
7632 wine_fn_append_rule \
7633 "$ac_dir/clean: dummy
7634 @cd $ac_dir && \$(MAKE) clean"
7635 else
7636 wine_fn_append_rule \
7637 "$ac_dir/clean: dummy
7638 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7640 wine_fn_append_rule \
7641 "__clean__: $ac_dir/clean
7642 .PHONY: $ac_dir/clean"
7645 wine_fn_disabled_rules ()
7647 ac_clean=$@
7649 wine_fn_append_file SUBDIRS $ac_dir
7650 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7651 wine_fn_append_rule \
7652 "__clean__: $ac_dir/clean
7653 .PHONY: $ac_dir/clean
7654 $ac_dir/clean: dummy
7655 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7658 wine_fn_config_makefile ()
7660 ac_dir=$1
7661 ac_enable=$2
7662 ac_flags=$3
7664 case $ac_dir in
7665 fonts|server) test -z "$with_wine64" || return ;;
7666 esac
7667 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7668 wine_fn_disabled_rules; return
7670 wine_fn_all_rules
7671 wine_fn_install_rules
7672 wine_fn_clean_rules
7675 wine_fn_config_lib ()
7677 ac_name=$1
7678 ac_flags=$2
7679 ac_dir=dlls/$ac_name
7680 ac_deps="include"
7682 if test "x$enable_tools" = xno; then :
7684 else
7685 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7687 wine_fn_all_rules
7688 wine_fn_clean_rules
7690 wine_fn_append_rule \
7691 ".PHONY: $ac_dir/install $ac_dir/uninstall
7692 $ac_dir/install:: $ac_dir
7693 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7694 $ac_dir/uninstall::
7695 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7696 install install-dev:: $ac_dir/install
7697 __uninstall__: $ac_dir/uninstall
7698 __builddeps__: $ac_dir
7699 $ac_dir: $ac_deps"
7702 wine_fn_config_dll ()
7704 ac_name=$1
7705 ac_dir=dlls/$ac_name
7706 ac_enable=$2
7707 ac_flags=$3
7708 ac_implib=${4:-$ac_name}
7709 ac_file=$ac_dir/lib$ac_implib
7710 ac_dll=$ac_name
7711 ac_deps="include"
7712 ac_implibflags=""
7714 if test "x$enable_tools" = xno; then :
7716 else
7717 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7719 case $ac_name in
7720 *16) ac_implibflags=" -m16" ;;
7721 *.*) ;;
7722 *) ac_dll=$ac_dll.dll ;;
7723 esac
7725 ac_clean=
7726 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7727 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7729 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7730 if test "$ac_enable" != enable_win16
7731 then
7732 wine_fn_clean_rules $ac_clean
7733 wine_fn_append_file SUBDIRS $ac_dir
7734 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7735 else
7736 wine_fn_disabled_rules $ac_clean
7737 return
7739 else
7740 wine_fn_all_rules
7741 wine_fn_clean_rules $ac_clean
7742 wine_fn_append_rule \
7743 "$ac_dir: __builddeps__
7744 manpages htmlpages sgmlpages xmlpages::
7745 @cd $ac_dir && \$(MAKE) \$@
7746 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7747 install install-lib:: $ac_dir/install-lib
7748 __uninstall__: $ac_dir/uninstall"
7749 if test -n "$DLLEXT"
7750 then
7751 wine_fn_append_rule \
7752 "$ac_dir/install-lib:: $ac_dir
7753 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7754 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7755 $ac_dir/uninstall::
7756 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7757 else
7758 wine_fn_append_rule \
7759 "$ac_dir/install-lib:: $ac_dir
7760 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7761 $ac_dir/uninstall::
7762 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7766 if wine_fn_has_flag staticimplib
7767 then
7768 wine_fn_append_rule \
7769 "__builddeps__: $ac_file.a
7770 $ac_file.a $ac_file.cross.a: $ac_deps
7771 $ac_file.a: dummy
7772 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7773 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7774 $ac_dir/install-dev:: $ac_file.a
7775 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7778 install install-dev:: $ac_dir/install-dev
7779 __uninstall__: $ac_dir/uninstall"
7781 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7782 then
7783 wine_fn_append_rule \
7784 "__builddeps__: $ac_file.cross.a
7785 $ac_file.cross.a: dummy
7786 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7789 elif wine_fn_has_flag implib
7790 then
7791 wine_fn_append_rule \
7792 "__builddeps__: $ac_file.$IMPLIBEXT
7793 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7794 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7795 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7796 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7797 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7798 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7799 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7802 install install-dev:: $ac_dir/install-dev
7803 __uninstall__: $ac_dir/uninstall"
7804 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7805 then
7806 wine_fn_append_rule \
7807 "__builddeps__: $ac_file.cross.a
7808 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7809 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7814 wine_fn_config_program ()
7816 ac_name=$1
7817 ac_dir=programs/$ac_name
7818 ac_enable=$2
7819 ac_flags=$3
7820 ac_program=$ac_name
7822 case $ac_name in
7823 *.*) ;;
7824 *) ac_program=$ac_program.exe ;;
7825 esac
7827 ac_clean=
7828 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7829 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7831 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7832 wine_fn_disabled_rules $ac_clean; return
7835 wine_fn_all_rules
7836 wine_fn_clean_rules $ac_clean
7837 wine_fn_append_rule "$ac_dir: __builddeps__"
7839 wine_fn_has_flag install || return
7840 wine_fn_append_rule \
7841 ".PHONY: $ac_dir/install $ac_dir/uninstall
7842 install install-lib:: $ac_dir/install
7843 __uninstall__: $ac_dir/uninstall"
7845 if test -n "$DLLEXT"
7846 then
7847 wine_fn_append_rule \
7848 "$ac_dir/install:: $ac_dir
7849 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7850 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7851 $ac_dir/uninstall::
7852 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7854 if test -z "$with_wine64" && wine_fn_has_flag installbin
7855 then
7856 wine_fn_append_rule \
7857 "$ac_dir/install:: __tooldeps__
7858 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7859 $ac_dir/uninstall::
7860 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7862 else
7863 wine_fn_append_rule \
7864 "$ac_dir/install:: $ac_dir
7865 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7866 $ac_dir/uninstall::
7867 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7870 if test -z "$with_wine64" && wine_fn_has_flag manpage
7871 then
7872 wine_fn_append_rule \
7873 "$ac_dir/install:: $ac_dir
7874 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7875 $ac_dir/uninstall::
7876 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7880 wine_fn_config_test ()
7882 ac_dir=$1
7883 ac_name=$2
7884 ac_flags=$3
7886 ac_clean=
7887 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7888 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7890 if test "x$enable_tests" = xno; then :
7891 wine_fn_disabled_rules $ac_clean; return
7894 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7895 wine_fn_all_rules
7896 wine_fn_clean_rules $ac_clean
7898 wine_fn_append_rule \
7899 "$ac_dir: __builddeps__
7900 programs/winetest: $ac_dir
7901 check test: $ac_dir/test
7902 .PHONY: $ac_dir/test
7903 $ac_dir/test: dummy
7904 @cd $ac_dir && \$(MAKE) test
7905 testclean::
7906 \$(RM) $ac_dir/*.ok"
7908 if test -n "$CROSSTARGET"
7909 then
7910 wine_fn_append_rule \
7911 "crosstest: $ac_dir/crosstest
7912 .PHONY: $ac_dir/crosstest
7913 $ac_dir/crosstest: __builddeps__ dummy
7914 @cd $ac_dir && \$(MAKE) crosstest"
7918 wine_fn_config_tool ()
7920 ac_dir=$1
7921 ac_flags=$2
7922 if test "x$enable_tools" = xno; then :
7923 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7926 wine_fn_all_rules
7927 wine_fn_install_rules
7928 wine_fn_clean_rules
7930 wine_fn_append_rule "__tooldeps__: $ac_dir"
7931 wine_fn_append_rule "$ac_dir: libs/port"
7932 case $ac_dir in
7933 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7934 esac
7937 wine_fn_config_symlink ()
7939 ac_linkdir=
7940 if test "x$1" = "x-d"
7941 then
7942 ac_linkdir=$2
7943 shift; shift
7945 ac_links=$@
7946 wine_fn_append_rule \
7947 "$ac_links:
7948 @./config.status \$@"
7949 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7950 test -n "$ac_linkdir" || return
7951 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7954 wine_binary="wine"
7955 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7956 WINELOADER_PROGRAMS="$wine_binary"
7958 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7960 case $host_os in
7961 cygwin*|mingw32*)
7962 if test -n "$ac_tool_prefix"; then
7963 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7964 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966 $as_echo_n "checking for $ac_word... " >&6; }
7967 if ${ac_cv_prog_DLLTOOL+:} false; then :
7968 $as_echo_n "(cached) " >&6
7969 else
7970 if test -n "$DLLTOOL"; then
7971 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7972 else
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 for as_dir in $PATH
7976 IFS=$as_save_IFS
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 break 2
7984 done
7985 done
7986 IFS=$as_save_IFS
7990 DLLTOOL=$ac_cv_prog_DLLTOOL
7991 if test -n "$DLLTOOL"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7993 $as_echo "$DLLTOOL" >&6; }
7994 else
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
8001 if test -z "$ac_cv_prog_DLLTOOL"; then
8002 ac_ct_DLLTOOL=$DLLTOOL
8003 # Extract the first word of "dlltool", so it can be a program name with args.
8004 set dummy dlltool; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8008 $as_echo_n "(cached) " >&6
8009 else
8010 if test -n "$ac_ct_DLLTOOL"; then
8011 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8016 IFS=$as_save_IFS
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8020 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 break 2
8024 done
8025 done
8026 IFS=$as_save_IFS
8030 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8031 if test -n "$ac_ct_DLLTOOL"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8033 $as_echo "$ac_ct_DLLTOOL" >&6; }
8034 else
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8039 if test "x$ac_ct_DLLTOOL" = x; then
8040 DLLTOOL="false"
8041 else
8042 case $cross_compiling:$ac_tool_warned in
8043 yes:)
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8046 ac_tool_warned=yes ;;
8047 esac
8048 DLLTOOL=$ac_ct_DLLTOOL
8050 else
8051 DLLTOOL="$ac_cv_prog_DLLTOOL"
8054 LIBEXT="dll"
8055 DLLEXT=""
8056 IMPLIBEXT="a"
8057 enable_iphlpapi=${enable_iphlpapi:-no}
8058 enable_kernel32=${enable_kernel32:-no}
8059 enable_msvcrt=${enable_msvcrt:-no}
8060 enable_ntdll=${enable_ntdll:-no}
8061 enable_ws2_32=${enable_ws2_32:-no}
8062 enable_loader=${enable_loader:-no}
8063 enable_server=${enable_server:-no}
8064 with_x=${with_x:-no}
8065 with_pthread=${with_pthread:-no}
8067 crtlibs=""
8068 case $host_os in
8069 mingw32*)
8070 crtlibs="-lmsvcrt"
8071 SOCKET_LIBS="-lws2_32"
8073 esac
8075 LIBWINE_SHAREDLIB="libwine.dll"
8077 LIBWINE_IMPORTLIB="libwine.a"
8079 LIBWINE_INSTALL_LIB="libwine.dll"
8081 LIBWINE_INSTALL_DEV="libwine.a"
8083 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8085 LIBWINE_DEPENDS="wine.def"
8089 darwin*|macosx*)
8090 for ac_header in libunwind.h
8091 do :
8092 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8094 cat >>confdefs.h <<_ACEOF
8095 #define HAVE_LIBUNWIND_H 1
8096 _ACEOF
8100 done
8102 LIBEXT="dylib"
8103 DLLFLAGS="$DLLFLAGS -fPIC"
8104 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8105 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8106 COREFOUNDATION_LIBS="-framework CoreFoundation"
8108 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8110 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8112 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8114 CORESERVICES_LIBS="-framework CoreServices"
8116 APPKIT_LIBS="-framework AppKit"
8118 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8120 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8121 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 ac_wine_try_cflags_saved=$CFLAGS
8125 CFLAGS="$CFLAGS -Wl,-no_pie"
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8128 int main(int argc, char **argv) { return 0; }
8129 _ACEOF
8130 if ac_fn_c_try_link "$LINENO"; then :
8131 ac_cv_cflags__Wl__no_pie=yes
8132 else
8133 ac_cv_cflags__Wl__no_pie=no
8135 rm -f core conftest.err conftest.$ac_objext \
8136 conftest$ac_exeext conftest.$ac_ext
8137 CFLAGS=$ac_wine_try_cflags_saved
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8140 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8141 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8142 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8144 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8145 then
8146 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8149 if test "$ac_cv_header_Security_Security_h" = "yes"
8150 then
8151 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8153 ac_save_LIBS="$LIBS"
8154 LIBS="$LIBS $SECURITY_LIBS"
8155 for ac_func in SSLCopyPeerCertificates
8156 do :
8157 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8158 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8159 cat >>confdefs.h <<_ACEOF
8160 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8161 _ACEOF
8164 done
8166 LIBS="$ac_save_LIBS"
8167 with_gnutls=${with_gnutls:-no}
8169 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8170 then
8171 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8172 then
8173 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8175 else
8176 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8179 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8180 ac_save_LIBS="$LIBS"
8181 LIBS="$LIBS $COREAUDIO_LIBS"
8182 for ac_func in AUGraphAddNode
8183 do :
8184 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8185 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8186 cat >>confdefs.h <<_ACEOF
8187 #define HAVE_AUGRAPHADDNODE 1
8188 _ACEOF
8191 done
8193 LIBS="$ac_save_LIBS"
8195 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8196 then
8197 OPENAL_LIBS="-framework OpenAL"
8200 cat >>confdefs.h <<_ACEOF
8201 #define HAVE_OPENAL 1
8202 _ACEOF
8204 ac_cv_lib_openal=yes
8206 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8207 then
8208 OPENCL_LIBS="-framework OpenCL"
8210 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8212 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8213 then
8214 ac_save_LIBS="$LIBS"
8215 LIBS="$LIBS $IOKIT_LIBS"
8216 for ac_func in IOHIDManagerCreate
8217 do :
8218 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8219 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_IOHIDMANAGERCREATE 1
8222 _ACEOF
8225 done
8227 LIBS="$ac_save_LIBS"
8229 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8230 then
8231 ac_save_LIBS="$LIBS"
8232 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8234 $as_echo_n "checking for the QuickTime framework... " >&6; }
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8237 #include <QuickTime/ImageCompression.h>
8239 main ()
8241 CodecManagerVersion(NULL);
8243 return 0;
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8248 $as_echo "yes" >&6; }
8249 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8251 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8252 else
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8255 ac_cv_header_QuickTime_ImageCompression_h=no
8257 rm -f core conftest.err conftest.$ac_objext \
8258 conftest$ac_exeext conftest.$ac_ext
8259 LIBS="$ac_save_LIBS"
8261 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8262 then
8263 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8265 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8266 then
8267 CARBON_LIBS="-framework Carbon"
8271 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8272 then
8273 ac_save_LIBS="$LIBS"
8274 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8275 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8276 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8277 enable_winemac_drv=${enable_winemac_drv:-yes}
8280 LIBS="$ac_save_LIBS"
8283 if test "x$enable_win16" = "xyes"
8284 then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8286 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8287 if test "$cross_compiling" = yes; then :
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8289 $as_echo "cross-compiling, assuming yes" >&6; }
8290 else
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 asm(".text\n"
8294 "bad:\tnop;nop\n"
8295 "good:\tnop;nop\n\t"
8296 ".globl _testfunc\n"
8297 "_testfunc:\tcallw good");
8298 extern void testfunc();
8300 main ()
8302 unsigned short *p = (unsigned short *)testfunc;
8303 return p[0] != 0xe866 || p[1] != 0xfffa
8305 return 0;
8307 _ACEOF
8308 if ac_fn_c_try_run "$LINENO"; then :
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8310 $as_echo "yes" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8314 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
8316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8317 conftest.$ac_objext conftest.beam conftest.$ac_ext
8322 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8324 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8326 LIBWINE_INSTALL_DEV="libwine.dylib"
8328 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8330 WINELOADER_DEPENDS="wine_info.plist"
8334 linux-android*)
8335 DLLFLAGS="$DLLFLAGS -fPIC"
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8337 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8338 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 int main(int argc, char **argv) { return 0; }
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8349 else
8350 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8357 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8358 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8359 LDEXECFLAGS="-Wl,--export-dynamic"
8361 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8363 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8364 if eval \${$as_ac_var+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_wine_try_cflags_saved=$CFLAGS
8368 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 int main(int argc, char **argv) { return 0; }
8372 _ACEOF
8373 if ac_fn_c_try_link "$LINENO"; then :
8374 eval "$as_ac_var=yes"
8375 else
8376 eval "$as_ac_var=no"
8378 rm -f core conftest.err conftest.$ac_objext \
8379 conftest$ac_exeext conftest.$ac_ext
8380 CFLAGS=$ac_wine_try_cflags_saved
8382 eval ac_res=\$$as_ac_var
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8384 $as_echo "$ac_res" >&6; }
8385 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8386 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8387 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8388 else
8389 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8391 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8392 if eval \${$as_ac_var+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 int main(int argc, char **argv) { return 0; }
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 eval "$as_ac_var=yes"
8403 else
8404 eval "$as_ac_var=no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 eval ac_res=\$$as_ac_var
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8412 $as_echo "$ac_res" >&6; }
8413 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8414 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8415 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8420 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8421 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_cflags__Wl___enable_new_dtags=yes
8432 else
8433 ac_cv_cflags__Wl___enable_new_dtags=no
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8440 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8441 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8442 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8445 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8446 if ${ac_cv_cflags__Wl__pie+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -Wl,-pie"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__Wl__pie=yes
8457 else
8458 ac_cv_cflags__Wl__pie=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8465 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8466 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8467 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8470 LIBWINE_SHAREDLIB="libwine.so"
8472 LIBWINE_INSTALL_LIB="libwine.so"
8474 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8479 DLLFLAGS="$DLLFLAGS -fPIC"
8480 LDEXECFLAGS=""
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8482 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8483 if ${ac_cv_c_dll_gnuelf+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 void myfunc() {}
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 ac_cv_c_dll_gnuelf="yes"
8494 else
8495 ac_cv_c_dll_gnuelf="no"
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8502 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8503 if test "$ac_cv_c_dll_gnuelf" = "yes"
8504 then
8505 LIBWINE_LDFLAGS="-shared"
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8507 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8508 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 ac_wine_try_cflags_saved=$CFLAGS
8512 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 int main(int argc, char **argv) { return 0; }
8516 _ACEOF
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8519 else
8520 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 CFLAGS=$ac_wine_try_cflags_saved
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8527 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8528 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8529 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8530 else
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8532 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8533 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_wine_try_cflags_saved=$CFLAGS
8537 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 int main(int argc, char **argv) { return 0; }
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8544 else
8545 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8549 CFLAGS=$ac_wine_try_cflags_saved
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8552 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8553 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8554 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8558 echo '{ global: *; };' >conftest.map
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8560 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8561 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8562 $as_echo_n "(cached) " >&6
8563 else
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 int main(int argc, char **argv) { return 0; }
8569 _ACEOF
8570 if ac_fn_c_try_link "$LINENO"; then :
8571 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8572 else
8573 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8575 rm -f core conftest.err conftest.$ac_objext \
8576 conftest$ac_exeext conftest.$ac_ext
8577 CFLAGS=$ac_wine_try_cflags_saved
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8580 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8581 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8582 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8584 rm -f conftest.map
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8587 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8588 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8599 else
8600 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8607 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8608 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8609 LDEXECFLAGS="-Wl,--export-dynamic"
8612 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8614 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8615 if eval \${$as_ac_var+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 eval "$as_ac_var=yes"
8626 else
8627 eval "$as_ac_var=no"
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 eval ac_res=\$$as_ac_var
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8635 $as_echo "$ac_res" >&6; }
8636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8637 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8638 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8639 else
8640 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8642 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8643 if eval \${$as_ac_var+:} false; then :
8644 $as_echo_n "(cached) " >&6
8645 else
8646 ac_wine_try_cflags_saved=$CFLAGS
8647 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8649 /* end confdefs.h. */
8650 int main(int argc, char **argv) { return 0; }
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 eval "$as_ac_var=yes"
8654 else
8655 eval "$as_ac_var=no"
8657 rm -f core conftest.err conftest.$ac_objext \
8658 conftest$ac_exeext conftest.$ac_ext
8659 CFLAGS=$ac_wine_try_cflags_saved
8661 eval ac_res=\$$as_ac_var
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8663 $as_echo "$ac_res" >&6; }
8664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8665 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8666 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8672 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl___enable_new_dtags=yes
8683 else
8684 ac_cv_cflags__Wl___enable_new_dtags=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8691 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8692 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8693 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8696 case $host_cpu in
8697 *i[3456789]86* | x86_64)
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8699 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8700 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 ac_wine_try_cflags_saved=$CFLAGS
8704 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8707 int main(int argc, char **argv) { return 0; }
8708 _ACEOF
8709 if ac_fn_c_try_link "$LINENO"; then :
8710 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8711 else
8712 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8714 rm -f core conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8716 CFLAGS=$ac_wine_try_cflags_saved
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8719 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8720 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8721 case $host_os in
8722 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8723 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8724 esac
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8727 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8728 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8739 else
8740 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8747 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8748 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8749 case $host_os in
8750 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8751 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8752 esac
8754 # Extract the first word of "prelink", so it can be a program name with args.
8755 set dummy prelink; ac_word=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if ${ac_cv_path_PRELINK+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 case $PRELINK in
8762 [\\/]* | ?:[\\/]*)
8763 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767 for as_dir in /sbin /usr/sbin $PATH
8769 IFS=$as_save_IFS
8770 test -z "$as_dir" && as_dir=.
8771 for ac_exec_ext in '' $ac_executable_extensions; do
8772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8773 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8775 break 2
8777 done
8778 done
8779 IFS=$as_save_IFS
8781 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8783 esac
8785 PRELINK=$ac_cv_path_PRELINK
8786 if test -n "$PRELINK"; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8788 $as_echo "$PRELINK" >&6; }
8789 else
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8791 $as_echo "no" >&6; }
8795 if test "x$PRELINK" = xfalse
8796 then
8797 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8801 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8802 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 ac_wine_try_cflags_saved=$CFLAGS
8806 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8808 /* end confdefs.h. */
8809 int main(int argc, char **argv) { return 0; }
8810 _ACEOF
8811 if ac_fn_c_try_link "$LINENO"; then :
8812 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8813 else
8814 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8816 rm -f core conftest.err conftest.$ac_objext \
8817 conftest$ac_exeext conftest.$ac_ext
8818 CFLAGS=$ac_wine_try_cflags_saved
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8821 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8822 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8823 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8826 esac
8828 else
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8830 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8831 if ${ac_cv_c_dll_unixware+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8838 void myfunc() {}
8839 _ACEOF
8840 if ac_fn_c_try_link "$LINENO"; then :
8841 ac_cv_c_dll_unixware="yes"
8842 else
8843 ac_cv_c_dll_unixware="no"
8845 rm -f core conftest.err conftest.$ac_objext \
8846 conftest$ac_exeext conftest.$ac_ext
8847 CFLAGS=$ac_wine_try_cflags_saved
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8850 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8851 if test "$ac_cv_c_dll_unixware" = "yes"
8852 then
8853 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8856 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8858 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8860 LIBWINE_INSTALL_DEV="libwine.so"
8862 LIBWINE_DEPENDS="wine.map"
8865 esac
8867 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8868 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8869 enable_winemac_drv=${enable_winemac_drv:-no}
8870 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8872 CROSSTARGET=""
8874 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8875 then
8876 case "$host_cpu" in
8877 arm*)
8878 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8879 i[3456789]86*)
8880 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
8881 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8882 mingw32-gcc" ;;
8883 x86_64)
8884 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
8885 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8887 ac_prefix_list="" ;;
8888 esac
8889 for ac_prog in $ac_prefix_list
8891 # Extract the first word of "$ac_prog", so it can be a program name with args.
8892 set dummy $ac_prog; ac_word=$2
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8894 $as_echo_n "checking for $ac_word... " >&6; }
8895 if ${ac_cv_prog_CROSSCC+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 if test -n "$CROSSCC"; then
8899 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8900 else
8901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 for as_dir in $PATH
8904 IFS=$as_save_IFS
8905 test -z "$as_dir" && as_dir=.
8906 for ac_exec_ext in '' $ac_executable_extensions; do
8907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8908 ac_cv_prog_CROSSCC="$ac_prog"
8909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910 break 2
8912 done
8913 done
8914 IFS=$as_save_IFS
8918 CROSSCC=$ac_cv_prog_CROSSCC
8919 if test -n "$CROSSCC"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8921 $as_echo "$CROSSCC" >&6; }
8922 else
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8928 test -n "$CROSSCC" && break
8929 done
8930 test -n "$CROSSCC" || CROSSCC="false"
8932 if test "$CROSSCC" != "false"
8933 then
8934 ac_save_CC="$CC"
8935 CC="$CROSSCC"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8937 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8939 /* end confdefs.h. */
8942 main ()
8946 return 0;
8948 _ACEOF
8949 if ac_fn_c_try_compile "$LINENO"; then :
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8951 $as_echo "yes" >&6; }
8952 set x $CROSSCC
8953 shift
8954 while test $# -ge 1
8956 case "$1" in
8957 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8958 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8959 esac
8960 shift
8961 done
8962 else
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8967 CC="$ac_save_CC"
8972 if test "$ac_cv_header_pthread_h" = "yes"
8973 then
8974 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8975 if test "x$ac_cv_func_pthread_create" = xyes; then :
8977 else
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8979 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8980 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 ac_check_lib_save_LIBS=$LIBS
8984 LIBS="-lpthread $LIBS"
8985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8986 /* end confdefs.h. */
8988 /* Override any GCC internal prototype to avoid an error.
8989 Use char because int might match the return type of a GCC
8990 builtin and then its argument prototype would still apply. */
8991 #ifdef __cplusplus
8992 extern "C"
8993 #endif
8994 char pthread_create ();
8996 main ()
8998 return pthread_create ();
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 ac_cv_lib_pthread_pthread_create=yes
9005 else
9006 ac_cv_lib_pthread_pthread_create=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS=$ac_check_lib_save_LIBS
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9013 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9014 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9015 PTHREAD_LIBS="-lpthread"
9022 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9023 case "x$with_pthread" in
9024 xno) ;;
9025 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9026 Wine cannot support threads without libpthread.
9027 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9028 esac
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9034 $as_echo_n "checking for X... " >&6; }
9037 # Check whether --with-x was given.
9038 if test "${with_x+set}" = set; then :
9039 withval=$with_x;
9042 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9043 if test "x$with_x" = xno; then
9044 # The user explicitly disabled X.
9045 have_x=disabled
9046 else
9047 case $x_includes,$x_libraries in #(
9048 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9049 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9050 $as_echo_n "(cached) " >&6
9051 else
9052 # One or both of the vars are not set, and there is no cached value.
9053 ac_x_includes=no ac_x_libraries=no
9054 rm -f -r conftest.dir
9055 if mkdir conftest.dir; then
9056 cd conftest.dir
9057 cat >Imakefile <<'_ACEOF'
9058 incroot:
9059 @echo incroot='${INCROOT}'
9060 usrlibdir:
9061 @echo usrlibdir='${USRLIBDIR}'
9062 libdir:
9063 @echo libdir='${LIBDIR}'
9064 _ACEOF
9065 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9066 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9067 for ac_var in incroot usrlibdir libdir; do
9068 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9069 done
9070 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9071 for ac_extension in a so sl dylib la dll; do
9072 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9073 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9074 ac_im_usrlibdir=$ac_im_libdir; break
9076 done
9077 # Screen out bogus values from the imake configuration. They are
9078 # bogus both because they are the default anyway, and because
9079 # using them would break gcc on systems where it needs fixed includes.
9080 case $ac_im_incroot in
9081 /usr/include) ac_x_includes= ;;
9082 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9083 esac
9084 case $ac_im_usrlibdir in
9085 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9086 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9087 esac
9089 cd ..
9090 rm -f -r conftest.dir
9093 # Standard set of common directories for X headers.
9094 # Check X11 before X11Rn because it is often a symlink to the current release.
9095 ac_x_header_dirs='
9096 /usr/X11/include
9097 /usr/X11R7/include
9098 /usr/X11R6/include
9099 /usr/X11R5/include
9100 /usr/X11R4/include
9102 /usr/include/X11
9103 /usr/include/X11R7
9104 /usr/include/X11R6
9105 /usr/include/X11R5
9106 /usr/include/X11R4
9108 /usr/local/X11/include
9109 /usr/local/X11R7/include
9110 /usr/local/X11R6/include
9111 /usr/local/X11R5/include
9112 /usr/local/X11R4/include
9114 /usr/local/include/X11
9115 /usr/local/include/X11R7
9116 /usr/local/include/X11R6
9117 /usr/local/include/X11R5
9118 /usr/local/include/X11R4
9120 /usr/X386/include
9121 /usr/x386/include
9122 /usr/XFree86/include/X11
9124 /usr/include
9125 /usr/local/include
9126 /usr/unsupported/include
9127 /usr/athena/include
9128 /usr/local/x11r5/include
9129 /usr/lpp/Xamples/include
9131 /usr/openwin/include
9132 /usr/openwin/share/include'
9134 if test "$ac_x_includes" = no; then
9135 # Guess where to find include files, by looking for Xlib.h.
9136 # First, try using that file with no special directory specified.
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <X11/Xlib.h>
9140 _ACEOF
9141 if ac_fn_c_try_cpp "$LINENO"; then :
9142 # We can compile using X headers with no special include directory.
9143 ac_x_includes=
9144 else
9145 for ac_dir in $ac_x_header_dirs; do
9146 if test -r "$ac_dir/X11/Xlib.h"; then
9147 ac_x_includes=$ac_dir
9148 break
9150 done
9152 rm -f conftest.err conftest.i conftest.$ac_ext
9153 fi # $ac_x_includes = no
9155 if test "$ac_x_libraries" = no; then
9156 # Check for the libraries.
9157 # See if we find them without any special options.
9158 # Don't add to $LIBS permanently.
9159 ac_save_LIBS=$LIBS
9160 LIBS="-lX11 $LIBS"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 #include <X11/Xlib.h>
9165 main ()
9167 XrmInitialize ()
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 LIBS=$ac_save_LIBS
9174 # We can link X programs with no special library path.
9175 ac_x_libraries=
9176 else
9177 LIBS=$ac_save_LIBS
9178 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9180 # Don't even attempt the hair of trying to link an X program!
9181 for ac_extension in a so sl dylib la dll; do
9182 if test -r "$ac_dir/libX11.$ac_extension"; then
9183 ac_x_libraries=$ac_dir
9184 break 2
9186 done
9187 done
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 fi # $ac_x_libraries = no
9193 case $ac_x_includes,$ac_x_libraries in #(
9194 no,* | *,no | *\'*)
9195 # Didn't find X, or a directory has "'" in its name.
9196 ac_cv_have_x="have_x=no";; #(
9198 # Record where we found X for the cache.
9199 ac_cv_have_x="have_x=yes\
9200 ac_x_includes='$ac_x_includes'\
9201 ac_x_libraries='$ac_x_libraries'"
9202 esac
9204 ;; #(
9205 *) have_x=yes;;
9206 esac
9207 eval "$ac_cv_have_x"
9208 fi # $with_x != no
9210 if test "$have_x" != yes; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9212 $as_echo "$have_x" >&6; }
9213 no_x=yes
9214 else
9215 # If each of the values was on the command line, it overrides each guess.
9216 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9217 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9218 # Update the cache value to reflect the command line values.
9219 ac_cv_have_x="have_x=yes\
9220 ac_x_includes='$x_includes'\
9221 ac_x_libraries='$x_libraries'"
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9223 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9226 if test "$no_x" = yes; then
9227 # Not all programs may use this symbol, but it does not hurt to define it.
9229 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9231 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9232 else
9233 if test -n "$x_includes"; then
9234 X_CFLAGS="$X_CFLAGS -I$x_includes"
9237 # It would also be nice to do this for all -L options, not just this one.
9238 if test -n "$x_libraries"; then
9239 X_LIBS="$X_LIBS -L$x_libraries"
9240 # For Solaris; some versions of Sun CC require a space after -R and
9241 # others require no space. Words are not sufficient . . . .
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9243 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9244 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9245 ac_xsave_c_werror_flag=$ac_c_werror_flag
9246 ac_c_werror_flag=yes
9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9251 main ()
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260 $as_echo "no" >&6; }
9261 X_LIBS="$X_LIBS -R$x_libraries"
9262 else
9263 LIBS="$ac_xsave_LIBS -R $x_libraries"
9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 /* end confdefs.h. */
9268 main ()
9272 return 0;
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9277 $as_echo "yes" >&6; }
9278 X_LIBS="$X_LIBS -R $x_libraries"
9279 else
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9281 $as_echo "neither works" >&6; }
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 ac_c_werror_flag=$ac_xsave_c_werror_flag
9289 LIBS=$ac_xsave_LIBS
9292 # Check for system-dependent libraries X programs must link with.
9293 # Do this before checking for the system-independent R6 libraries
9294 # (-lICE), since we may need -lsocket or whatever for X linking.
9296 if test "$ISC" = yes; then
9297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9298 else
9299 # Martyn Johnson says this is needed for Ultrix, if the X
9300 # libraries were built with DECnet support. And Karl Berry says
9301 # the Alpha needs dnet_stub (dnet does not exist).
9302 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 char XOpenDisplay ();
9314 main ()
9316 return XOpenDisplay ();
9318 return 0;
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9323 else
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9325 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9326 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_check_lib_save_LIBS=$LIBS
9330 LIBS="-ldnet $LIBS"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char dnet_ntoa ();
9342 main ()
9344 return dnet_ntoa ();
9346 return 0;
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_lib_dnet_dnet_ntoa=yes
9351 else
9352 ac_cv_lib_dnet_dnet_ntoa=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS=$ac_check_lib_save_LIBS
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9359 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9360 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9361 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9364 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9366 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9367 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-ldnet_stub $LIBS"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9378 #ifdef __cplusplus
9379 extern "C"
9380 #endif
9381 char dnet_ntoa ();
9383 main ()
9385 return dnet_ntoa ();
9387 return 0;
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9392 else
9393 ac_cv_lib_dnet_stub_dnet_ntoa=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9400 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9401 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS="$ac_xsave_LIBS"
9411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9412 # to get the SysV transport functions.
9413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9414 # needs -lnsl.
9415 # The nsl library prevents programs from opening the X display
9416 # on Irix 5.2, according to T.E. Dickey.
9417 # The functions gethostbyname, getservbyname, and inet_addr are
9418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9419 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9420 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9424 if test $ac_cv_func_gethostbyname = no; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9426 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9427 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9428 $as_echo_n "(cached) " >&6
9429 else
9430 ac_check_lib_save_LIBS=$LIBS
9431 LIBS="-lnsl $LIBS"
9432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 char gethostbyname ();
9443 main ()
9445 return gethostbyname ();
9447 return 0;
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 ac_cv_lib_nsl_gethostbyname=yes
9452 else
9453 ac_cv_lib_nsl_gethostbyname=no
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 LIBS=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9460 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9461 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9465 if test $ac_cv_lib_nsl_gethostbyname = no; then
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9467 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9468 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9469 $as_echo_n "(cached) " >&6
9470 else
9471 ac_check_lib_save_LIBS=$LIBS
9472 LIBS="-lbsd $LIBS"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9476 /* Override any GCC internal prototype to avoid an error.
9477 Use char because int might match the return type of a GCC
9478 builtin and then its argument prototype would still apply. */
9479 #ifdef __cplusplus
9480 extern "C"
9481 #endif
9482 char gethostbyname ();
9484 main ()
9486 return gethostbyname ();
9488 return 0;
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 ac_cv_lib_bsd_gethostbyname=yes
9493 else
9494 ac_cv_lib_bsd_gethostbyname=no
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 LIBS=$ac_check_lib_save_LIBS
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9501 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9502 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9503 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9509 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9510 # socket/setsockopt and other routines are undefined under SCO ODT
9511 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9512 # on later versions), says Simon Leinen: it contains gethostby*
9513 # variants that don't use the name server (or something). -lsocket
9514 # must be given before -lnsl if both are needed. We assume that
9515 # if connect needs -lnsl, so does gethostbyname.
9516 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9517 if test "x$ac_cv_func_connect" = xyes; then :
9521 if test $ac_cv_func_connect = no; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9523 $as_echo_n "checking for connect in -lsocket... " >&6; }
9524 if ${ac_cv_lib_socket_connect+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_check_lib_save_LIBS=$LIBS
9528 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char connect ();
9540 main ()
9542 return connect ();
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 ac_cv_lib_socket_connect=yes
9549 else
9550 ac_cv_lib_socket_connect=no
9552 rm -f core conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_lib_save_LIBS
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9557 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9558 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9559 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9564 # Guillermo Gomez says -lposix is necessary on A/UX.
9565 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9566 if test "x$ac_cv_func_remove" = xyes; then :
9570 if test $ac_cv_func_remove = no; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9572 $as_echo_n "checking for remove in -lposix... " >&6; }
9573 if ${ac_cv_lib_posix_remove+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_check_lib_save_LIBS=$LIBS
9577 LIBS="-lposix $LIBS"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9584 #ifdef __cplusplus
9585 extern "C"
9586 #endif
9587 char remove ();
9589 main ()
9591 return remove ();
9593 return 0;
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_lib_posix_remove=yes
9598 else
9599 ac_cv_lib_posix_remove=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 LIBS=$ac_check_lib_save_LIBS
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9606 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9607 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9613 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9614 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9615 if test "x$ac_cv_func_shmat" = xyes; then :
9619 if test $ac_cv_func_shmat = no; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9621 $as_echo_n "checking for shmat in -lipc... " >&6; }
9622 if ${ac_cv_lib_ipc_shmat+:} false; then :
9623 $as_echo_n "(cached) " >&6
9624 else
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-lipc $LIBS"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9630 /* Override any GCC internal prototype to avoid an error.
9631 Use char because int might match the return type of a GCC
9632 builtin and then its argument prototype would still apply. */
9633 #ifdef __cplusplus
9634 extern "C"
9635 #endif
9636 char shmat ();
9638 main ()
9640 return shmat ();
9642 return 0;
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_lib_ipc_shmat=yes
9647 else
9648 ac_cv_lib_ipc_shmat=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 LIBS=$ac_check_lib_save_LIBS
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9655 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9656 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9663 # Check for libraries that X11R6 Xt/Xaw programs need.
9664 ac_save_LDFLAGS=$LDFLAGS
9665 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9666 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9667 # check for ICE first), but we must link in the order -lSM -lICE or
9668 # we get undefined symbols. So assume we have SM if we have ICE.
9669 # These have to be linked with before -lX11, unlike the other
9670 # libraries we check for below, so use a different variable.
9671 # John Interrante, Karl Berry
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9673 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9674 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_lib_save_LIBS=$LIBS
9678 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char IceConnectionNumber ();
9690 main ()
9692 return IceConnectionNumber ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 ac_cv_lib_ICE_IceConnectionNumber=yes
9699 else
9700 ac_cv_lib_ICE_IceConnectionNumber=no
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9707 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9708 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9709 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9712 LDFLAGS=$ac_save_LDFLAGS
9717 if test "$have_x" = "yes"
9718 then
9719 ac_save_CPPFLAGS="$CPPFLAGS"
9720 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9723 $as_echo_n "checking for -lX11... " >&6; }
9724 if ${ac_cv_lib_soname_X11+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_check_soname_save_LIBS=$LIBS
9728 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XCreateWindow ();
9740 main ()
9742 return XCreateWindow ();
9744 return 0;
9746 _ACEOF
9747 if ac_fn_c_try_link "$LINENO"; then :
9748 case "$LIBEXT" in
9749 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9750 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'` ;;
9751 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9752 if ${ac_cv_lib_soname_X11:+false} :; then :
9753 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9754 fi ;;
9755 esac
9757 rm -f core conftest.err conftest.$ac_objext \
9758 conftest$ac_exeext conftest.$ac_ext
9759 LIBS=$ac_check_soname_save_LIBS
9761 if ${ac_cv_lib_soname_X11:+false} :; then :
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9763 $as_echo "not found" >&6; }
9765 else
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9767 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9769 cat >>confdefs.h <<_ACEOF
9770 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9771 _ACEOF
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9776 $as_echo_n "checking for -lXext... " >&6; }
9777 if ${ac_cv_lib_soname_Xext+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_soname_save_LIBS=$LIBS
9781 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char XextCreateExtension ();
9793 main ()
9795 return XextCreateExtension ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 case "$LIBEXT" in
9802 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9805 if ${ac_cv_lib_soname_Xext:+false} :; then :
9806 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9807 fi ;;
9808 esac
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 LIBS=$ac_check_soname_save_LIBS
9814 if ${ac_cv_lib_soname_Xext:+false} :; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9816 $as_echo "not found" >&6; }
9818 else
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9820 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9822 cat >>confdefs.h <<_ACEOF
9823 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9824 _ACEOF
9826 X_LIBS="$X_LIBS -lXext"
9828 X_LIBS="$X_LIBS -lX11"
9830 for ac_header in X11/Xlib.h \
9831 X11/XKBlib.h \
9832 X11/Xutil.h \
9833 X11/Xcursor/Xcursor.h \
9834 X11/extensions/shape.h \
9835 X11/extensions/XInput.h \
9836 X11/extensions/XInput2.h \
9837 X11/extensions/XShm.h \
9838 X11/extensions/Xcomposite.h \
9839 X11/extensions/Xinerama.h \
9840 X11/extensions/Xrandr.h \
9841 X11/extensions/Xrender.h \
9842 X11/extensions/xf86vmode.h \
9843 X11/extensions/xf86vmproto.h
9844 do :
9845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9847 # include <X11/Xlib.h>
9848 #endif
9849 #ifdef HAVE_X11_XUTIL_H
9850 # include <X11/Xutil.h>
9851 #endif
9853 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9854 cat >>confdefs.h <<_ACEOF
9855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9856 _ACEOF
9860 done
9863 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9864 then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9866 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9867 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_check_lib_save_LIBS=$LIBS
9871 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9875 /* Override any GCC internal prototype to avoid an error.
9876 Use char because int might match the return type of a GCC
9877 builtin and then its argument prototype would still apply. */
9878 #ifdef __cplusplus
9879 extern "C"
9880 #endif
9881 char XkbQueryExtension ();
9883 main ()
9885 return XkbQueryExtension ();
9887 return 0;
9889 _ACEOF
9890 if ac_fn_c_try_link "$LINENO"; then :
9891 ac_cv_lib_X11_XkbQueryExtension=yes
9892 else
9893 ac_cv_lib_X11_XkbQueryExtension=no
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 LIBS=$ac_check_lib_save_LIBS
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9900 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9901 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9903 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9909 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9910 then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9912 $as_echo_n "checking for -lXcursor... " >&6; }
9913 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_check_soname_save_LIBS=$LIBS
9917 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char XcursorImageLoadCursor ();
9929 main ()
9931 return XcursorImageLoadCursor ();
9933 return 0;
9935 _ACEOF
9936 if ac_fn_c_try_link "$LINENO"; then :
9937 case "$LIBEXT" in
9938 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9939 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'` ;;
9940 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9941 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9942 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9943 fi ;;
9944 esac
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 LIBS=$ac_check_soname_save_LIBS
9950 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9952 $as_echo "not found" >&6; }
9954 else
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9956 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9958 cat >>confdefs.h <<_ACEOF
9959 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9960 _ACEOF
9965 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9966 case "x$with_xcursor" in
9967 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9968 xno) ;;
9969 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9970 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9971 esac
9975 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9976 then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9978 $as_echo_n "checking for -lXi... " >&6; }
9979 if ${ac_cv_lib_soname_Xi+:} false; then :
9980 $as_echo_n "(cached) " >&6
9981 else
9982 ac_check_soname_save_LIBS=$LIBS
9983 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
9990 #ifdef __cplusplus
9991 extern "C"
9992 #endif
9993 char XOpenDevice ();
9995 main ()
9997 return XOpenDevice ();
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 case "$LIBEXT" in
10004 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10005 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'` ;;
10006 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10007 if ${ac_cv_lib_soname_Xi:+false} :; then :
10008 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10009 fi ;;
10010 esac
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_Xi:+false} :; then :
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 $as_echo "not found" >&6; }
10020 else
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10022 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10024 cat >>confdefs.h <<_ACEOF
10025 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10026 _ACEOF
10031 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10032 case "x$with_xinput" in
10033 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10036 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10037 esac
10041 if test "x$ac_cv_lib_soname_Xi" != x
10042 then
10043 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10044 case "x$with_xinput2" in
10045 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10046 xno) ;;
10047 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10048 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10049 esac
10054 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10055 then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10057 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10058 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_check_lib_save_LIBS=$LIBS
10062 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10069 #ifdef __cplusplus
10070 extern "C"
10071 #endif
10072 char XShmQueryExtension ();
10074 main ()
10076 return XShmQueryExtension ();
10078 return 0;
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_lib_Xext_XShmQueryExtension=yes
10083 else
10084 ac_cv_lib_Xext_XShmQueryExtension=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 LIBS=$ac_check_lib_save_LIBS
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10091 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10092 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10094 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10099 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10100 case "x$with_xshm" in
10101 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10102 xno) ;;
10103 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10104 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10105 esac
10109 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10110 then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10112 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10113 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XShapeQueryExtension ();
10129 main ()
10131 return XShapeQueryExtension ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_lib_Xext_XShapeQueryExtension=yes
10138 else
10139 ac_cv_lib_Xext_XShapeQueryExtension=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10146 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10147 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10149 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10154 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10155 case "x$with_xshape" in
10156 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10157 xno) ;;
10158 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10159 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10160 esac
10164 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10165 then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10167 $as_echo_n "checking for -lXxf86vm... " >&6; }
10168 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_check_soname_save_LIBS=$LIBS
10172 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10179 #ifdef __cplusplus
10180 extern "C"
10181 #endif
10182 char XF86VidModeQueryExtension ();
10184 main ()
10186 return XF86VidModeQueryExtension ();
10188 return 0;
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 case "$LIBEXT" in
10193 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10194 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'` ;;
10195 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10196 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10197 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10198 fi ;;
10199 esac
10201 rm -f core conftest.err conftest.$ac_objext \
10202 conftest$ac_exeext conftest.$ac_ext
10203 LIBS=$ac_check_soname_save_LIBS
10205 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10207 $as_echo "not found" >&6; }
10209 else
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10211 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10213 cat >>confdefs.h <<_ACEOF
10214 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10215 _ACEOF
10220 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10221 case "x$with_xxf86vm" in
10222 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10223 xno) ;;
10224 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10225 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10226 esac
10230 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10231 then
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10233 $as_echo_n "checking for -lXrender... " >&6; }
10234 if ${ac_cv_lib_soname_Xrender+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_check_soname_save_LIBS=$LIBS
10238 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 char XRenderQueryExtension ();
10250 main ()
10252 return XRenderQueryExtension ();
10254 return 0;
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 case "$LIBEXT" in
10259 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10260 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'` ;;
10261 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10262 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10263 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10264 fi ;;
10265 esac
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 LIBS=$ac_check_soname_save_LIBS
10271 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10273 $as_echo "not found" >&6; }
10275 else
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10277 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10279 cat >>confdefs.h <<_ACEOF
10280 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10281 _ACEOF
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10284 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10285 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_check_lib_save_LIBS=$LIBS
10289 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10293 /* Override any GCC internal prototype to avoid an error.
10294 Use char because int might match the return type of a GCC
10295 builtin and then its argument prototype would still apply. */
10296 #ifdef __cplusplus
10297 extern "C"
10298 #endif
10299 char XRenderSetPictureTransform ();
10301 main ()
10303 return XRenderSetPictureTransform ();
10305 return 0;
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10310 else
10311 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10318 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10319 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10321 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10326 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10327 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10328 $as_echo_n "(cached) " >&6
10329 else
10330 ac_check_lib_save_LIBS=$LIBS
10331 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10335 /* Override any GCC internal prototype to avoid an error.
10336 Use char because int might match the return type of a GCC
10337 builtin and then its argument prototype would still apply. */
10338 #ifdef __cplusplus
10339 extern "C"
10340 #endif
10341 char XRenderCreateLinearGradient ();
10343 main ()
10345 return XRenderCreateLinearGradient ();
10347 return 0;
10349 _ACEOF
10350 if ac_fn_c_try_link "$LINENO"; then :
10351 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10352 else
10353 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10355 rm -f core conftest.err conftest.$ac_objext \
10356 conftest$ac_exeext conftest.$ac_ext
10357 LIBS=$ac_check_lib_save_LIBS
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10360 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10361 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10363 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10370 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10371 case "x$with_xrender" in
10372 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10373 xno) ;;
10374 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10375 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10376 esac
10380 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10381 then
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10384 #include <X11/Xlib.h>
10385 #include <X11/extensions/Xrandr.h>
10387 main ()
10389 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10391 return 0;
10393 _ACEOF
10394 if ac_fn_c_try_compile "$LINENO"; then :
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10396 $as_echo_n "checking for -lXrandr... " >&6; }
10397 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_check_soname_save_LIBS=$LIBS
10401 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10405 /* Override any GCC internal prototype to avoid an error.
10406 Use char because int might match the return type of a GCC
10407 builtin and then its argument prototype would still apply. */
10408 #ifdef __cplusplus
10409 extern "C"
10410 #endif
10411 char XRRQueryExtension ();
10413 main ()
10415 return XRRQueryExtension ();
10417 return 0;
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 case "$LIBEXT" in
10422 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10425 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10426 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10427 fi ;;
10428 esac
10430 rm -f core conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10436 $as_echo "not found" >&6; }
10438 else
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10440 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10444 _ACEOF
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10448 #include <X11/Xlib.h>
10449 #include <X11/extensions/Xrandr.h>
10451 main ()
10453 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10455 return 0;
10457 _ACEOF
10458 if ac_fn_c_try_compile "$LINENO"; then :
10460 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10468 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10469 case "x$with_xrandr" in
10470 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10471 xno) ;;
10472 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10473 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10474 esac
10478 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10479 then
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10482 #include <X11/Xlib.h>
10483 #include <X11/extensions/Xinerama.h>
10485 main ()
10487 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_compile "$LINENO"; then :
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10494 $as_echo_n "checking for -lXinerama... " >&6; }
10495 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10496 $as_echo_n "(cached) " >&6
10497 else
10498 ac_check_soname_save_LIBS=$LIBS
10499 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10503 /* Override any GCC internal prototype to avoid an error.
10504 Use char because int might match the return type of a GCC
10505 builtin and then its argument prototype would still apply. */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 char XineramaQueryScreens ();
10511 main ()
10513 return XineramaQueryScreens ();
10515 return 0;
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 case "$LIBEXT" in
10520 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10521 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'` ;;
10522 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10523 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10524 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10525 fi ;;
10526 esac
10528 rm -f core conftest.err conftest.$ac_objext \
10529 conftest$ac_exeext conftest.$ac_ext
10530 LIBS=$ac_check_soname_save_LIBS
10532 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10534 $as_echo "not found" >&6; }
10536 else
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10538 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10540 cat >>confdefs.h <<_ACEOF
10541 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10542 _ACEOF
10547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10549 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10550 case "x$with_xinerama" in
10551 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10552 xno) ;;
10553 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10554 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10555 esac
10559 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10560 then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10562 $as_echo_n "checking for -lXcomposite... " >&6; }
10563 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_check_soname_save_LIBS=$LIBS
10567 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10574 #ifdef __cplusplus
10575 extern "C"
10576 #endif
10577 char XCompositeRedirectWindow ();
10579 main ()
10581 return XCompositeRedirectWindow ();
10583 return 0;
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 case "$LIBEXT" in
10588 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10591 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10592 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 fi ;;
10594 esac
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 LIBS=$ac_check_soname_save_LIBS
10600 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10602 $as_echo "not found" >&6; }
10604 else
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10606 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10608 cat >>confdefs.h <<_ACEOF
10609 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10610 _ACEOF
10615 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10616 case "x$with_xcomposite" in
10617 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10618 xno) ;;
10619 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10620 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10621 esac
10625 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10626 #include <X11/Xlib.h>
10627 #endif
10629 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10631 cat >>confdefs.h <<_ACEOF
10632 #define HAVE_XICCALLBACK_CALLBACK 1
10633 _ACEOF
10637 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10638 #include <X11/Xlib.h>
10639 #endif
10641 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10643 cat >>confdefs.h <<_ACEOF
10644 #define HAVE_XEVENT_XCOOKIE 1
10645 _ACEOF
10652 opengl_msg=""
10653 if test "x$with_opengl" != "xno"
10654 then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10656 $as_echo_n "checking for -lGL... " >&6; }
10657 if ${ac_cv_lib_soname_GL+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_soname_save_LIBS=$LIBS
10661 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char glXCreateContext ();
10673 main ()
10675 return glXCreateContext ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 case "$LIBEXT" in
10682 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10683 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'` ;;
10684 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10685 if ${ac_cv_lib_soname_GL:+false} :; then :
10686 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10687 fi ;;
10688 esac
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_soname_save_LIBS
10694 if ${ac_cv_lib_soname_GL:+false} :; then :
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10696 $as_echo "not found" >&6; }
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10698 $as_echo_n "checking for -lGL... " >&6; }
10699 if ${ac_cv_lib_soname_GL+:} false; then :
10700 $as_echo_n "(cached) " >&6
10701 else
10702 ac_check_soname_save_LIBS=$LIBS
10703 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"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10707 /* Override any GCC internal prototype to avoid an error.
10708 Use char because int might match the return type of a GCC
10709 builtin and then its argument prototype would still apply. */
10710 #ifdef __cplusplus
10711 extern "C"
10712 #endif
10713 char glXCreateContext ();
10715 main ()
10717 return glXCreateContext ();
10719 return 0;
10721 _ACEOF
10722 if ac_fn_c_try_link "$LINENO"; then :
10723 case "$LIBEXT" in
10724 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10725 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'` ;;
10726 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10727 if ${ac_cv_lib_soname_GL:+false} :; then :
10728 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10729 fi ;;
10730 esac
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_soname_save_LIBS
10736 if ${ac_cv_lib_soname_GL:+false} :; then :
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10738 $as_echo "not found" >&6; }
10739 if test -f /usr/X11R6/lib/libGL.a
10740 then
10741 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10742 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10743 else
10744 opengl_msg="No OpenGL library found on this system."
10746 else
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10748 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10750 cat >>confdefs.h <<_ACEOF
10751 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10752 _ACEOF
10754 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"
10756 else
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10758 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10760 cat >>confdefs.h <<_ACEOF
10761 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10762 _ACEOF
10764 OPENGL_LIBS="-lGL"
10766 if test "x$with_glu" != "xno"
10767 then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10769 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10770 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10771 $as_echo_n "(cached) " >&6
10772 else
10773 ac_check_lib_save_LIBS=$LIBS
10774 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10781 #ifdef __cplusplus
10782 extern "C"
10783 #endif
10784 char gluLookAt ();
10786 main ()
10788 return gluLookAt ();
10790 return 0;
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 ac_cv_lib_GLU_gluLookAt=yes
10795 else
10796 ac_cv_lib_GLU_gluLookAt=no
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_lib_save_LIBS
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10803 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10804 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10808 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10809 case "x$with_glu" in
10810 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10811 xno) ;;
10812 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10813 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10814 esac
10819 if test "x$with_osmesa" != "xno"
10820 then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10822 $as_echo_n "checking for -lOSMesa... " >&6; }
10823 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10824 $as_echo_n "(cached) " >&6
10825 else
10826 ac_check_soname_save_LIBS=$LIBS
10827 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10834 #ifdef __cplusplus
10835 extern "C"
10836 #endif
10837 char glAccum ();
10839 main ()
10841 return glAccum ();
10843 return 0;
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847 case "$LIBEXT" in
10848 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10849 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'` ;;
10850 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10851 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10852 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10853 fi ;;
10854 esac
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_soname_save_LIBS
10860 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10862 $as_echo "not found" >&6; }
10864 else
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10866 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10868 cat >>confdefs.h <<_ACEOF
10869 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10870 _ACEOF
10874 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10875 case "x$with_osmesa" in
10876 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10877 xno) ;;
10878 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10879 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10880 esac
10885 if test -n "$opengl_msg"; then :
10886 case "x$with_opengl" in
10887 x) as_fn_append wine_warnings "|$opengl_msg
10888 OpenGL and Direct3D won't be supported." ;;
10889 xno) ;;
10890 *) as_fn_error $? "$opengl_msg
10891 OpenGL and Direct3D won't be supported.
10892 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10893 esac
10897 CPPFLAGS="$ac_save_CPPFLAGS"
10898 else
10899 X_CFLAGS=""
10900 X_LIBS=""
10902 if test "x$X_LIBS" = "x"; then :
10903 case "x$with_x" in
10904 xno) ;;
10905 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10906 without X support, which probably isn't what you want. You will need
10907 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10908 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10909 esac
10910 enable_winex11_drv=${enable_winex11_drv:-no}
10913 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10915 if test "$ac_cv_header_CL_cl_h" = "yes"
10916 then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10918 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10919 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10920 $as_echo_n "(cached) " >&6
10921 else
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-lOpenCL $LIBS"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10930 #ifdef __cplusplus
10931 extern "C"
10932 #endif
10933 char clGetPlatformInfo ();
10935 main ()
10937 return clGetPlatformInfo ();
10939 return 0;
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"; then :
10943 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10944 else
10945 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10947 rm -f core conftest.err conftest.$ac_objext \
10948 conftest$ac_exeext conftest.$ac_ext
10949 LIBS=$ac_check_lib_save_LIBS
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10952 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10953 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10954 OPENCL_LIBS="-lOpenCL"
10959 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10960 case "x$with_opencl" in
10961 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10962 xno) ;;
10963 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10964 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10965 esac
10966 enable_opencl=${enable_opencl:-no}
10969 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10970 then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10972 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10973 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-lpcap $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char pcap_create ();
10989 main ()
10991 return pcap_create ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_pcap_pcap_create=yes
10998 else
10999 ac_cv_lib_pcap_pcap_create=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11006 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11007 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11008 PCAP_LIBS="-lpcap"
11013 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11014 case "x$with_pcap" in
11015 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11016 xno) ;;
11017 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11018 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11019 esac
11020 enable_wpcap=${enable_wpcap:-no}
11024 if test "x$with_xml" != "xno"
11025 then
11026 if ${XML2_CFLAGS:+false} :; then :
11027 if ${PKG_CONFIG+:} false; then :
11028 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11031 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11032 if ${XML2_LIBS:+false} :; then :
11033 if ${PKG_CONFIG+:} false; then :
11034 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11037 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11038 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11039 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11040 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11041 ac_save_CPPFLAGS=$CPPFLAGS
11042 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11043 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11044 do :
11045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11047 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11048 cat >>confdefs.h <<_ACEOF
11049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11050 _ACEOF
11054 done
11056 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"
11057 then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11059 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11060 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lxml2 $XML2_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char xmlParseMemory ();
11076 main ()
11078 return xmlParseMemory ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_xml2_xmlParseMemory=yes
11085 else
11086 ac_cv_lib_xml2_xmlParseMemory=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11093 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11094 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11096 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11098 else
11099 XML2_LIBS=""
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11103 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11104 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11105 $as_echo_n "(cached) " >&6
11106 else
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lxml2 $XML2_LIBS $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char xmlReadMemory ();
11120 main ()
11122 return xmlReadMemory ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_xml2_xmlReadMemory=yes
11129 else
11130 ac_cv_lib_xml2_xmlReadMemory=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11137 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11138 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11140 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11145 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11146 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11147 $as_echo_n "(cached) " >&6
11148 else
11149 ac_check_lib_save_LIBS=$LIBS
11150 LIBS="-lxml2 $XML2_LIBS $LIBS"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11157 #ifdef __cplusplus
11158 extern "C"
11159 #endif
11160 char xmlNewDocPI ();
11162 main ()
11164 return xmlNewDocPI ();
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 ac_cv_lib_xml2_xmlNewDocPI=yes
11171 else
11172 ac_cv_lib_xml2_xmlNewDocPI=no
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LIBS=$ac_check_lib_save_LIBS
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11179 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11180 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11182 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11187 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11188 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11189 $as_echo_n "(cached) " >&6
11190 else
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-lxml2 $XML2_LIBS $LIBS"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11199 #ifdef __cplusplus
11200 extern "C"
11201 #endif
11202 char xmlSchemaSetParserStructuredErrors ();
11204 main ()
11206 return xmlSchemaSetParserStructuredErrors ();
11208 return 0;
11210 _ACEOF
11211 if ac_fn_c_try_link "$LINENO"; then :
11212 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11213 else
11214 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11216 rm -f core conftest.err conftest.$ac_objext \
11217 conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11221 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11222 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11224 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11229 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11230 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lxml2 $XML2_LIBS $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char xmlSchemaSetValidStructuredErrors ();
11246 main ()
11248 return xmlSchemaSetValidStructuredErrors ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11255 else
11256 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11263 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11264 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11266 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11271 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11272 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lxml2 $XML2_LIBS $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char xmlFirstElementChild ();
11288 main ()
11290 return xmlFirstElementChild ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_xml2_xmlFirstElementChild=yes
11297 else
11298 ac_cv_lib_xml2_xmlFirstElementChild=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11305 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11306 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11308 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11312 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11314 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11316 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11320 else
11321 XML2_CFLAGS=""
11322 XML2_LIBS=""
11324 CPPFLAGS=$ac_save_CPPFLAGS
11325 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11326 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11329 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11330 case "x$with_xml" in
11331 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11332 xno) ;;
11333 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11334 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11335 esac
11339 if test "x$with_xslt" != "xno"
11340 then
11341 if ${XSLT_CFLAGS:+false} :; then :
11342 if ${PKG_CONFIG+:} false; then :
11343 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11346 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11347 if ${XSLT_LIBS:+false} :; then :
11348 if ${PKG_CONFIG+:} false; then :
11349 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11352 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11353 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11354 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11355 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11356 ac_save_CPPFLAGS=$CPPFLAGS
11357 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11358 for ac_header in libxslt/pattern.h libxslt/transform.h
11359 do :
11360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11361 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11362 # include <libxslt/pattern.h>
11363 #endif
11365 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11366 cat >>confdefs.h <<_ACEOF
11367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11368 _ACEOF
11372 done
11374 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11375 then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11377 $as_echo_n "checking for -lxslt... " >&6; }
11378 if ${ac_cv_lib_soname_xslt+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_soname_save_LIBS=$LIBS
11382 LIBS="-lxslt $XSLT_LIBS $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char xsltCompilePattern ();
11394 main ()
11396 return xsltCompilePattern ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 case "$LIBEXT" in
11403 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11404 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'` ;;
11405 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11406 if ${ac_cv_lib_soname_xslt:+false} :; then :
11407 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11408 fi ;;
11409 esac
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_soname_save_LIBS
11415 if ${ac_cv_lib_soname_xslt:+false} :; then :
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11417 $as_echo "not found" >&6; }
11419 else
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11421 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11423 cat >>confdefs.h <<_ACEOF
11424 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11425 _ACEOF
11429 else
11430 XSLT_CFLAGS=""
11432 CPPFLAGS=$ac_save_CPPFLAGS
11433 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11434 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11437 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11438 case "x$with_xslt" in
11439 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11440 xno) ;;
11441 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11442 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11443 esac
11447 if test "x$with_dbus" != "xno"
11448 then
11449 if ${DBUS_CFLAGS:+false} :; then :
11450 if ${PKG_CONFIG+:} false; then :
11451 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11455 if ${DBUS_LIBS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11462 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11463 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11464 ac_save_CPPFLAGS=$CPPFLAGS
11465 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11466 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11467 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11469 $as_echo_n "checking for -ldbus-1... " >&6; }
11470 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_soname_save_LIBS=$LIBS
11474 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char dbus_connection_close ();
11486 main ()
11488 return dbus_connection_close ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 case "$LIBEXT" in
11495 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) 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'`
11498 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11499 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11500 fi ;;
11501 esac
11503 rm -f core conftest.err conftest.$ac_objext \
11504 conftest$ac_exeext conftest.$ac_ext
11505 LIBS=$ac_check_soname_save_LIBS
11507 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11510 DBUS_CFLAGS=""
11511 else
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11513 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11515 cat >>confdefs.h <<_ACEOF
11516 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11517 _ACEOF
11521 else
11522 DBUS_CFLAGS=""
11526 CPPFLAGS=$ac_save_CPPFLAGS
11527 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11528 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11531 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11532 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11533 case "x$with_dbus" in
11534 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11535 xno) ;;
11536 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11537 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11538 esac
11542 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11543 then
11544 if ${HAL_CFLAGS:+false} :; then :
11545 if ${PKG_CONFIG+:} false; then :
11546 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11550 if ${HAL_LIBS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11556 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11557 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11558 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11559 ac_save_CPPFLAGS=$CPPFLAGS
11560 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11561 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11562 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11564 $as_echo_n "checking for -lhal... " >&6; }
11565 if ${ac_cv_lib_soname_hal+:} false; then :
11566 $as_echo_n "(cached) " >&6
11567 else
11568 ac_check_soname_save_LIBS=$LIBS
11569 LIBS="-lhal $HAL_LIBS $LIBS"
11570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char libhal_ctx_new ();
11581 main ()
11583 return libhal_ctx_new ();
11585 return 0;
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"; then :
11589 case "$LIBEXT" in
11590 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11591 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'` ;;
11592 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11593 if ${ac_cv_lib_soname_hal:+false} :; then :
11594 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11595 fi ;;
11596 esac
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_soname_save_LIBS
11602 if ${ac_cv_lib_soname_hal:+false} :; then :
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11604 $as_echo "not found" >&6; }
11605 HAL_CFLAGS=""
11606 else
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11608 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11610 cat >>confdefs.h <<_ACEOF
11611 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11612 _ACEOF
11616 else
11617 HAL_CFLAGS=""
11621 CPPFLAGS=$ac_save_CPPFLAGS
11622 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11623 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11625 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11626 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11627 case "x$with_hal" in
11628 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11629 xno) ;;
11630 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11631 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11632 esac
11637 if test "x$with_gnutls" != "xno"
11638 then
11639 if ${GNUTLS_CFLAGS:+false} :; then :
11640 if ${PKG_CONFIG+:} false; then :
11641 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11645 if ${GNUTLS_LIBS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11652 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11653 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11654 ac_save_CPPFLAGS=$CPPFLAGS
11655 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11656 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11657 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 #include <gnutls/gnutls.h>
11661 #include <gnutls/crypto.h>
11663 main ()
11665 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11667 return 0;
11669 _ACEOF
11670 if ac_fn_c_try_compile "$LINENO"; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11672 $as_echo_n "checking for -lgnutls... " >&6; }
11673 if ${ac_cv_lib_soname_gnutls+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_soname_save_LIBS=$LIBS
11677 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char gnutls_global_init ();
11689 main ()
11691 return gnutls_global_init ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 case "$LIBEXT" in
11698 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11699 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'` ;;
11700 *) 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'`
11701 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11702 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'`
11703 fi ;;
11704 esac
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_soname_save_LIBS
11710 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11712 $as_echo "not found" >&6; }
11713 GNUTLS_CFLAGS=""
11714 else
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11716 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11718 cat >>confdefs.h <<_ACEOF
11719 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11720 _ACEOF
11724 ac_wine_check_funcs_save_LIBS="$LIBS"
11725 LIBS="$LIBS $GNUTLS_LIBS"
11726 for ac_func in gnutls_hash
11727 do :
11728 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11729 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11730 cat >>confdefs.h <<_ACEOF
11731 #define HAVE_GNUTLS_HASH 1
11732 _ACEOF
11734 else
11735 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11737 done
11739 LIBS="$ac_wine_check_funcs_save_LIBS"
11741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11742 else
11743 GNUTLS_CFLAGS=""
11747 CPPFLAGS=$ac_save_CPPFLAGS
11748 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11749 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11752 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11753 case "x$with_gnutls" in
11754 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11755 xno) ;;
11756 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11757 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11758 esac
11762 CURSES_LIBS=""
11763 if test "$ac_cv_header_ncurses_h" = "yes"
11764 then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11766 $as_echo_n "checking for -lncurses... " >&6; }
11767 if ${ac_cv_lib_soname_ncurses+:} false; then :
11768 $as_echo_n "(cached) " >&6
11769 else
11770 ac_check_soname_save_LIBS=$LIBS
11771 LIBS="-lncurses $LIBS"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11778 #ifdef __cplusplus
11779 extern "C"
11780 #endif
11781 char waddch ();
11783 main ()
11785 return waddch ();
11787 return 0;
11789 _ACEOF
11790 if ac_fn_c_try_link "$LINENO"; then :
11791 case "$LIBEXT" in
11792 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11793 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'` ;;
11794 *) 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'`
11795 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11796 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11797 fi ;;
11798 esac
11800 rm -f core conftest.err conftest.$ac_objext \
11801 conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_soname_save_LIBS
11804 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11806 $as_echo "not found" >&6; }
11808 else
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11810 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11812 cat >>confdefs.h <<_ACEOF
11813 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11814 _ACEOF
11816 CURSES_LIBS="-lncurses"
11818 elif test "$ac_cv_header_curses_h" = "yes"
11819 then
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11821 $as_echo_n "checking for -lcurses... " >&6; }
11822 if ${ac_cv_lib_soname_curses+:} false; then :
11823 $as_echo_n "(cached) " >&6
11824 else
11825 ac_check_soname_save_LIBS=$LIBS
11826 LIBS="-lcurses $LIBS"
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11833 #ifdef __cplusplus
11834 extern "C"
11835 #endif
11836 char waddch ();
11838 main ()
11840 return waddch ();
11842 return 0;
11844 _ACEOF
11845 if ac_fn_c_try_link "$LINENO"; then :
11846 case "$LIBEXT" in
11847 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11848 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'` ;;
11849 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11850 if ${ac_cv_lib_soname_curses:+false} :; then :
11851 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11852 fi ;;
11853 esac
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_soname_save_LIBS
11859 if ${ac_cv_lib_soname_curses:+false} :; then :
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11861 $as_echo "not found" >&6; }
11863 else
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11865 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11867 cat >>confdefs.h <<_ACEOF
11868 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11869 _ACEOF
11871 CURSES_LIBS="-lcurses"
11874 ac_save_LIBS="$LIBS"
11875 LIBS="$LIBS $CURSES_LIBS"
11876 for ac_func in mousemask
11877 do :
11878 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11879 if test "x$ac_cv_func_mousemask" = xyes; then :
11880 cat >>confdefs.h <<_ACEOF
11881 #define HAVE_MOUSEMASK 1
11882 _ACEOF
11885 done
11887 LIBS="$ac_save_LIBS"
11888 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11889 case "x$with_curses" in
11890 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11891 xno) ;;
11892 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11893 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11894 esac
11898 if test "x$with_sane" != "xno"
11899 then
11900 if ${SANE_CFLAGS:+false} :; then :
11901 if ${PKG_CONFIG+:} false; then :
11902 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11905 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11906 if ${SANE_LIBS:+false} :; then :
11907 if ${PKG_CONFIG+:} false; then :
11908 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11911 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11913 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11914 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11915 ac_save_CPPFLAGS=$CPPFLAGS
11916 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11917 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11918 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11920 $as_echo_n "checking for -lsane... " >&6; }
11921 if ${ac_cv_lib_soname_sane+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_soname_save_LIBS=$LIBS
11925 LIBS="-lsane $SANE_LIBS $LIBS"
11926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char sane_init ();
11937 main ()
11939 return sane_init ();
11941 return 0;
11943 _ACEOF
11944 if ac_fn_c_try_link "$LINENO"; then :
11945 case "$LIBEXT" in
11946 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11947 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'` ;;
11948 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11949 if ${ac_cv_lib_soname_sane:+false} :; then :
11950 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11951 fi ;;
11952 esac
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_soname_save_LIBS
11958 if ${ac_cv_lib_soname_sane:+false} :; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11960 $as_echo "not found" >&6; }
11961 SANE_CFLAGS=""
11962 else
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11964 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11966 cat >>confdefs.h <<_ACEOF
11967 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11968 _ACEOF
11972 else
11973 SANE_CFLAGS=""
11977 CPPFLAGS=$ac_save_CPPFLAGS
11978 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11979 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11982 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11983 case "x$with_sane" in
11984 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11985 xno) ;;
11986 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11987 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11988 esac
11992 if test "x$with_v4l" != "xno"
11993 then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11995 $as_echo_n "checking for -lv4l1... " >&6; }
11996 if ${ac_cv_lib_soname_v4l1+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_soname_save_LIBS=$LIBS
12000 LIBS="-lv4l1 $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char v4l1_open ();
12012 main ()
12014 return v4l1_open ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 case "$LIBEXT" in
12021 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12022 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'` ;;
12023 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12024 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12025 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12026 fi ;;
12027 esac
12029 rm -f core conftest.err conftest.$ac_objext \
12030 conftest$ac_exeext conftest.$ac_ext
12031 LIBS=$ac_check_soname_save_LIBS
12033 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12035 $as_echo "not found" >&6; }
12037 else
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12039 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12041 cat >>confdefs.h <<_ACEOF
12042 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12043 _ACEOF
12048 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12049 case "x$with_v4l" in
12050 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12051 xno) ;;
12052 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12053 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12054 esac
12058 if test "x$with_gphoto" != "xno"
12059 then
12060 if ${GPHOTO2_CFLAGS:+false} :; then :
12061 if ${PKG_CONFIG+:} false; then :
12062 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12065 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12066 if ${GPHOTO2_LIBS:+false} :; then :
12067 if ${PKG_CONFIG+:} false; then :
12068 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12071 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12072 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12073 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12074 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12075 ac_save_CPPFLAGS=$CPPFLAGS
12076 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12077 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12078 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12080 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12081 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_lib_save_LIBS=$LIBS
12085 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char gp_camera_new ();
12097 main ()
12099 return gp_camera_new ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 ac_cv_lib_gphoto2_gp_camera_new=yes
12106 else
12107 ac_cv_lib_gphoto2_gp_camera_new=no
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12111 LIBS=$ac_check_lib_save_LIBS
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12114 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12115 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12117 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12119 else
12120 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12123 else
12124 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12128 CPPFLAGS=$ac_save_CPPFLAGS
12129 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12130 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12132 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12133 if ${PKG_CONFIG+:} false; then :
12134 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12137 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12138 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12139 if ${PKG_CONFIG+:} false; then :
12140 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12143 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12144 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12145 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12146 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12147 ac_save_CPPFLAGS=$CPPFLAGS
12148 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12149 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12150 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12152 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12153 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_lib_save_LIBS=$LIBS
12157 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char gp_port_info_list_new ();
12169 main ()
12171 return gp_port_info_list_new ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12178 else
12179 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12181 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext
12183 LIBS=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12186 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12187 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12189 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12191 else
12192 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12195 else
12196 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12200 CPPFLAGS=$ac_save_CPPFLAGS
12201 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12202 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12205 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12206 case "x$with_gphoto" in
12207 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12208 xno) ;;
12209 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12210 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12211 esac
12214 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12215 case "x$with_gphoto" in
12216 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12217 xno) ;;
12218 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12219 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12220 esac
12225 if test "$ac_cv_header_resolv_h" = "yes"
12226 then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12228 $as_echo_n "checking for resolver library... " >&6; }
12229 if ${ac_cv_have_resolv+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_save_LIBS="$LIBS"
12233 for lib in '' -lresolv
12235 LIBS="$lib $ac_save_LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12238 #ifdef HAVE_NETINET_IN_H
12239 #include <netinet/in.h>
12240 #endif
12241 #include <resolv.h>
12243 main ()
12245 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 ac_cv_have_resolv=${lib:-"none required"}
12252 else
12253 ac_cv_have_resolv="not found"
12255 rm -f core conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257 test "x$ac_cv_have_resolv" = "xnot found" || break
12258 done
12259 LIBS="$ac_save_LIBS"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12262 $as_echo "$ac_cv_have_resolv" >&6; }
12264 case "$ac_cv_have_resolv" in
12265 "not found") ;;
12266 "none required")
12268 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12271 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12273 RESOLV_LIBS=$ac_cv_have_resolv
12275 esac
12278 if test "x$with_cms" != "xno"
12279 then
12280 if ${LCMS2_CFLAGS:+false} :; then :
12281 if ${PKG_CONFIG+:} false; then :
12282 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12286 if ${LCMS2_LIBS:+false} :; then :
12287 if ${PKG_CONFIG+:} false; then :
12288 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12292 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12293 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12294 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12295 ac_save_CPPFLAGS=$CPPFLAGS
12296 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12297 for ac_header in lcms2.h
12298 do :
12299 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12300 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12301 cat >>confdefs.h <<_ACEOF
12302 #define HAVE_LCMS2_H 1
12303 _ACEOF
12307 done
12309 if test "$ac_cv_header_lcms2_h" = "yes"
12310 then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12312 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12313 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315 else
12316 ac_check_lib_save_LIBS=$LIBS
12317 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char cmsOpenProfileFromFile ();
12329 main ()
12331 return cmsOpenProfileFromFile ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"; then :
12337 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12338 else
12339 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12346 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12347 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12349 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12351 else
12352 LCMS2_LIBS=""
12355 else
12356 LCMS2_CFLAGS=""
12357 LCMS2_LIBS=""
12359 CPPFLAGS=$ac_save_CPPFLAGS
12360 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12361 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12364 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12365 case "x$with_cms" in
12366 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12367 xno) ;;
12368 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12369 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12370 esac
12374 if test "x$with_freetype" != "xno"
12375 then
12376 if ${FREETYPE_CFLAGS:+false} :; then :
12377 if ${PKG_CONFIG+:} false; then :
12378 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12381 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12382 if ${FREETYPE_LIBS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12387 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12388 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12389 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12391 ac_save_CPPFLAGS=$CPPFLAGS
12392 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12393 for ac_header in ft2build.h
12394 do :
12395 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12396 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12397 cat >>confdefs.h <<_ACEOF
12398 #define HAVE_FT2BUILD_H 1
12399 _ACEOF
12403 done
12405 if test "$ac_cv_header_ft2build_h" = "yes"
12406 then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12408 $as_echo_n "checking for -lfreetype... " >&6; }
12409 if ${ac_cv_lib_soname_freetype+:} false; then :
12410 $as_echo_n "(cached) " >&6
12411 else
12412 ac_check_soname_save_LIBS=$LIBS
12413 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 #ifdef __cplusplus
12421 extern "C"
12422 #endif
12423 char FT_Init_FreeType ();
12425 main ()
12427 return FT_Init_FreeType ();
12429 return 0;
12431 _ACEOF
12432 if ac_fn_c_try_link "$LINENO"; then :
12433 case "$LIBEXT" in
12434 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12435 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'` ;;
12436 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12437 if ${ac_cv_lib_soname_freetype:+false} :; then :
12438 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12439 fi ;;
12440 esac
12442 rm -f core conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12444 LIBS=$ac_check_soname_save_LIBS
12446 if ${ac_cv_lib_soname_freetype:+false} :; then :
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12448 $as_echo "not found" >&6; }
12449 FREETYPE_LIBS=""
12450 else
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12452 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12454 cat >>confdefs.h <<_ACEOF
12455 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12456 _ACEOF
12459 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12461 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12462 #include FT_MODULE_H
12464 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12466 cat >>confdefs.h <<_ACEOF
12467 #define HAVE_FT_TRUETYPEENGINETYPE 1
12468 _ACEOF
12474 else
12475 FREETYPE_CFLAGS=""
12476 FREETYPE_LIBS=""
12478 CPPFLAGS=$ac_save_CPPFLAGS
12479 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12480 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12483 if test "x$ac_cv_lib_soname_freetype" = x; then :
12484 case "x$with_freetype" in
12485 xno) ;;
12486 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12487 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12488 esac
12489 enable_fonts=${enable_fonts:-no}
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12493 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12494 if ${ac_cv_c_ppdev+:} false; then :
12495 $as_echo_n "(cached) " >&6
12496 else
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 #ifdef HAVE_SYS_IOCTL_H
12500 # include <sys/ioctl.h>
12501 #endif
12502 #include <linux/ppdev.h>
12504 main ()
12506 ioctl (1,PPCLAIM,0)
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_compile "$LINENO"; then :
12512 ac_cv_c_ppdev="yes"
12513 else
12514 ac_cv_c_ppdev="no"
12516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12519 $as_echo "$ac_cv_c_ppdev" >&6; }
12520 if test "$ac_cv_c_ppdev" = "yes"
12521 then
12523 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12527 ac_wine_check_funcs_save_LIBS="$LIBS"
12528 LIBS="$LIBS $PTHREAD_LIBS"
12529 for ac_func in \
12530 pthread_attr_get_np \
12531 pthread_getattr_np \
12532 pthread_getthreadid_np \
12533 pthread_get_stackaddr_np \
12534 pthread_get_stacksize_np
12535 do :
12536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12538 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12541 _ACEOF
12544 done
12546 LIBS="$ac_wine_check_funcs_save_LIBS"
12548 if test "$ac_cv_header_zlib_h" = "yes"
12549 then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12551 $as_echo_n "checking for inflate in -lz... " >&6; }
12552 if ${ac_cv_lib_z_inflate+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lz $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char inflate ();
12568 main ()
12570 return inflate ();
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 ac_cv_lib_z_inflate=yes
12577 else
12578 ac_cv_lib_z_inflate=no
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12585 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12586 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12588 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12590 Z_LIBS="-lz"
12595 if test "x$Z_LIBS" = "x"; then :
12596 case "x$with_zlib" in
12597 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12598 xno) ;;
12599 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12600 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12601 esac
12605 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12606 then
12607 if test "$ac_cv_header_gettext_po_h" = "yes"
12608 then
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12610 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12611 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_lib_save_LIBS=$LIBS
12615 LIBS="-lgettextpo $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char po_message_msgctxt ();
12627 main ()
12629 return po_message_msgctxt ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12636 else
12637 ac_cv_lib_gettextpo_po_message_msgctxt=no
12639 rm -f core conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12644 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12645 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12647 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12649 GETTEXTPO_LIBS="-lgettextpo"
12654 if test "x$GETTEXTPO_LIBS" = "x"; then :
12655 case "x$with_gettextpo" in
12656 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12657 xno) ;;
12658 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12659 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12660 esac
12663 if test "$srcdir" != .; then :
12664 case "x$with_gettextpo" in
12665 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12666 xno) ;;
12667 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12668 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12669 esac
12674 if test "x$with_pulse" != "xno";
12675 then
12676 if ${PULSE_CFLAGS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12682 if ${PULSE_LIBS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12689 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12691 ac_save_CPPFLAGS=$CPPFLAGS
12692 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12693 for ac_header in pulse/pulseaudio.h
12694 do :
12695 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12697 cat >>confdefs.h <<_ACEOF
12698 #define HAVE_PULSE_PULSEAUDIO_H 1
12699 _ACEOF
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12701 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12702 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12703 $as_echo_n "(cached) " >&6
12704 else
12705 ac_check_lib_save_LIBS=$LIBS
12706 LIBS="-lpulse $PULSE_LIBS $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12713 #ifdef __cplusplus
12714 extern "C"
12715 #endif
12716 char pa_stream_is_corked ();
12718 main ()
12720 return pa_stream_is_corked ();
12722 return 0;
12724 _ACEOF
12725 if ac_fn_c_try_link "$LINENO"; then :
12726 ac_cv_lib_pulse_pa_stream_is_corked=yes
12727 else
12728 ac_cv_lib_pulse_pa_stream_is_corked=no
12730 rm -f core conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_lib_save_LIBS
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12735 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12736 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12738 else
12739 PULSE_LIBS=""
12742 else
12743 PULSE_LIBS=""
12746 done
12748 CPPFLAGS=$ac_save_CPPFLAGS
12749 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test -z "$PULSE_LIBS"; then :
12754 case "x$with_pulse" in
12755 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12758 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12759 esac
12760 enable_winepulse_drv=${enable_winepulse_drv:-no}
12763 if test "x$with_gstreamer" != "xno"
12764 then
12765 if ${GSTREAMER_CFLAGS:+false} :; then :
12766 if ${PKG_CONFIG+:} false; then :
12767 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12771 if ${GSTREAMER_LIBS:+false} :; then :
12772 if ${PKG_CONFIG+:} false; then :
12773 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12778 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12779 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12780 ac_save_CPPFLAGS=$CPPFLAGS
12781 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12782 ac_gst_incl=""
12783 for i in $GSTREAMER_CFLAGS
12785 case "$i" in
12786 -I*) ac_gst_incl="$ac_gst_incl $i";;
12787 esac
12788 done
12789 GSTREAMER_CFLAGS=$ac_gst_incl
12790 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12791 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12792 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12794 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12797 #include <gst/gst.h>
12799 main ()
12801 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_compile "$LINENO"; then :
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12808 $as_echo "yes" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12810 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12811 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12812 $as_echo_n "(cached) " >&6
12813 else
12814 ac_check_lib_save_LIBS=$LIBS
12815 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char gst_pad_new ();
12827 main ()
12829 return gst_pad_new ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"; then :
12835 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12836 else
12837 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12839 rm -f core conftest.err conftest.$ac_objext \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_lib_save_LIBS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12844 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12845 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12849 else
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12851 $as_echo "no" >&6; }
12852 ac_glib2_broken=yes
12853 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12859 CPPFLAGS=$ac_save_CPPFLAGS
12860 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12861 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12864 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 :
12865 case "x$with_gstreamer" in
12866 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12867 xno) ;;
12868 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12869 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12870 esac
12873 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12875 ALSA_LIBS=""
12877 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12878 then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12880 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12881 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
12884 ac_check_lib_save_LIBS=$LIBS
12885 LIBS="-lasound $LIBS"
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 /* Override any GCC internal prototype to avoid an error.
12890 Use char because int might match the return type of a GCC
12891 builtin and then its argument prototype would still apply. */
12892 #ifdef __cplusplus
12893 extern "C"
12894 #endif
12895 char snd_pcm_hw_params_get_access_mask ();
12897 main ()
12899 return snd_pcm_hw_params_get_access_mask ();
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_link "$LINENO"; then :
12905 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12906 else
12907 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12909 rm -f core conftest.err conftest.$ac_objext \
12910 conftest$ac_exeext conftest.$ac_ext
12911 LIBS=$ac_check_lib_save_LIBS
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12914 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12915 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12918 #ifdef HAVE_ALSA_ASOUNDLIB_H
12919 #include <alsa/asoundlib.h>
12920 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12921 #include <sys/asoundlib.h>
12922 #endif
12924 main ()
12926 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12928 return 0;
12930 _ACEOF
12931 if ac_fn_c_try_compile "$LINENO"; then :
12932 ALSA_LIBS="-lasound"
12934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12938 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12940 if test "x$with_oss" != xno
12941 then
12942 ac_save_CPPFLAGS="$CPPFLAGS"
12943 if test -f /etc/oss.conf
12944 then
12945 . /etc/oss.conf
12947 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12948 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12949 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12951 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12953 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12955 cat >>confdefs.h <<_ACEOF
12956 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12957 _ACEOF
12959 OSS4_CFLAGS="$ac_oss_incl"
12966 CPPFLAGS="$ac_save_CPPFLAGS"
12968 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12969 case "x$with_oss" in
12970 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12971 xno) ;;
12972 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12973 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12974 esac
12975 enable_wineoss_drv=${enable_wineoss_drv:-no}
12978 if test "x$with_udev" != "xno"
12979 then
12980 if ${UDEV_CFLAGS:+false} :; then :
12981 if ${PKG_CONFIG+:} false; then :
12982 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12986 if ${UDEV_LIBS:+false} :; then :
12987 if ${PKG_CONFIG+:} false; then :
12988 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12992 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
12993 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12995 ac_save_CPPFLAGS=$CPPFLAGS
12996 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12997 for ac_header in libudev.h
12998 do :
12999 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_libudev_h" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_LIBUDEV_H 1
13003 _ACEOF
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13005 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13006 if ${ac_cv_lib_udev_udev_new+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_lib_save_LIBS=$LIBS
13010 LIBS="-ludev $UDEV_LIBS $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char udev_new ();
13022 main ()
13024 return udev_new ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 ac_cv_lib_udev_udev_new=yes
13031 else
13032 ac_cv_lib_udev_udev_new=no
13034 rm -f core conftest.err conftest.$ac_objext \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13039 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13040 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13042 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13044 else
13045 UDEV_LIBS=""
13048 else
13049 UDEV_LIBS=""
13052 done
13054 CPPFLAGS=$ac_save_CPPFLAGS
13055 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13056 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13059 if test "x$UDEV_LIBS" = "x"; then :
13060 case "x$with_udev" in
13061 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13062 xno) ;;
13063 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13064 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13065 esac
13069 if test "x$with_capi" != "xno"
13070 then
13071 if ${CAPI20_CFLAGS:+false} :; then :
13072 if ${PKG_CONFIG+:} false; then :
13073 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13077 if ${CAPI20_LIBS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13084 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13085 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13086 ac_save_CPPFLAGS=$CPPFLAGS
13087 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13088 for ac_header in capi20.h linux/capi.h
13089 do :
13090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13091 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13094 cat >>confdefs.h <<_ACEOF
13095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13096 _ACEOF
13100 done
13102 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13103 then
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13105 $as_echo_n "checking for -lcapi20... " >&6; }
13106 if ${ac_cv_lib_soname_capi20+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_soname_save_LIBS=$LIBS
13110 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char capi20_register ();
13122 main ()
13124 return capi20_register ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 case "$LIBEXT" in
13131 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13132 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'` ;;
13133 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13134 if ${ac_cv_lib_soname_capi20:+false} :; then :
13135 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13136 fi ;;
13137 esac
13139 rm -f core conftest.err conftest.$ac_objext \
13140 conftest$ac_exeext conftest.$ac_ext
13141 LIBS=$ac_check_soname_save_LIBS
13143 if ${ac_cv_lib_soname_capi20:+false} :; then :
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13145 $as_echo "not found" >&6; }
13147 else
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13149 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13151 cat >>confdefs.h <<_ACEOF
13152 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13153 _ACEOF
13158 CPPFLAGS=$ac_save_CPPFLAGS
13159 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13160 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13163 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13164 case "x$with_capi" in
13165 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13166 xno) ;;
13167 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13168 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13169 esac
13173 CUPS_CFLAGS=""
13175 if test "x$with_cups" != "xno"
13176 then
13177 ac_save_CPPFLAGS="$CPPFLAGS"
13178 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13179 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13180 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13181 for ac_header in cups/cups.h
13182 do :
13183 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13184 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13185 cat >>confdefs.h <<_ACEOF
13186 #define HAVE_CUPS_CUPS_H 1
13187 _ACEOF
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13189 $as_echo_n "checking for -lcups... " >&6; }
13190 if ${ac_cv_lib_soname_cups+:} false; then :
13191 $as_echo_n "(cached) " >&6
13192 else
13193 ac_check_soname_save_LIBS=$LIBS
13194 LIBS="-lcups $ac_cups_libs $LIBS"
13195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13201 #ifdef __cplusplus
13202 extern "C"
13203 #endif
13204 char cupsGetDefault ();
13206 main ()
13208 return cupsGetDefault ();
13210 return 0;
13212 _ACEOF
13213 if ac_fn_c_try_link "$LINENO"; then :
13214 case "$LIBEXT" in
13215 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13216 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'` ;;
13217 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13218 if ${ac_cv_lib_soname_cups:+false} :; then :
13219 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13220 fi ;;
13221 esac
13223 rm -f core conftest.err conftest.$ac_objext \
13224 conftest$ac_exeext conftest.$ac_ext
13225 LIBS=$ac_check_soname_save_LIBS
13227 if ${ac_cv_lib_soname_cups:+false} :; then :
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13229 $as_echo "not found" >&6; }
13231 else
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13233 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13235 cat >>confdefs.h <<_ACEOF
13236 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13237 _ACEOF
13239 CUPS_CFLAGS="$ac_cups_cflags"
13241 for ac_header in cups/ppd.h
13242 do :
13243 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13244 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13245 cat >>confdefs.h <<_ACEOF
13246 #define HAVE_CUPS_PPD_H 1
13247 _ACEOF
13251 done
13255 done
13257 CPPFLAGS="$ac_save_CPPFLAGS"
13259 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13260 case "x$with_cups" in
13261 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13262 xno) ;;
13263 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13264 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13265 esac
13269 if test "x$with_fontconfig" != "xno"
13270 then
13271 if ${FONTCONFIG_CFLAGS:+false} :; then :
13272 if ${PKG_CONFIG+:} false; then :
13273 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13276 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13277 if ${FONTCONFIG_LIBS:+false} :; then :
13278 if ${PKG_CONFIG+:} false; then :
13279 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13282 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13284 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13286 ac_save_CPPFLAGS=$CPPFLAGS
13287 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13288 for ac_header in fontconfig/fontconfig.h
13289 do :
13290 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13291 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13292 cat >>confdefs.h <<_ACEOF
13293 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13294 _ACEOF
13298 done
13300 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13301 then
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13303 $as_echo_n "checking for -lfontconfig... " >&6; }
13304 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13305 $as_echo_n "(cached) " >&6
13306 else
13307 ac_check_soname_save_LIBS=$LIBS
13308 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13312 /* Override any GCC internal prototype to avoid an error.
13313 Use char because int might match the return type of a GCC
13314 builtin and then its argument prototype would still apply. */
13315 #ifdef __cplusplus
13316 extern "C"
13317 #endif
13318 char FcInit ();
13320 main ()
13322 return FcInit ();
13324 return 0;
13326 _ACEOF
13327 if ac_fn_c_try_link "$LINENO"; then :
13328 case "$LIBEXT" in
13329 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13330 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'` ;;
13331 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13332 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13333 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13334 fi ;;
13335 esac
13337 rm -f core conftest.err conftest.$ac_objext \
13338 conftest$ac_exeext conftest.$ac_ext
13339 LIBS=$ac_check_soname_save_LIBS
13341 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13343 $as_echo "not found" >&6; }
13344 FONTCONFIG_CFLAGS=""
13345 else
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13347 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13349 cat >>confdefs.h <<_ACEOF
13350 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13351 _ACEOF
13355 else
13356 FONTCONFIG_CFLAGS=""
13358 CPPFLAGS=$ac_save_CPPFLAGS
13359 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13360 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13363 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13364 case "x$with_fontconfig" in
13365 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13366 xno) ;;
13367 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13368 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13369 esac
13373 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13374 then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13376 $as_echo_n "checking for -lgsm... " >&6; }
13377 if ${ac_cv_lib_soname_gsm+:} false; then :
13378 $as_echo_n "(cached) " >&6
13379 else
13380 ac_check_soname_save_LIBS=$LIBS
13381 LIBS="-lgsm $LIBS"
13382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 char gsm_create ();
13393 main ()
13395 return gsm_create ();
13397 return 0;
13399 _ACEOF
13400 if ac_fn_c_try_link "$LINENO"; then :
13401 case "$LIBEXT" in
13402 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13405 if ${ac_cv_lib_soname_gsm:+false} :; then :
13406 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13407 fi ;;
13408 esac
13410 rm -f core conftest.err conftest.$ac_objext \
13411 conftest$ac_exeext conftest.$ac_ext
13412 LIBS=$ac_check_soname_save_LIBS
13414 if ${ac_cv_lib_soname_gsm:+false} :; then :
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13416 $as_echo "not found" >&6; }
13418 else
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13420 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13422 cat >>confdefs.h <<_ACEOF
13423 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13424 _ACEOF
13429 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13430 case "x$with_gsm" in
13431 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13432 xno) ;;
13433 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13434 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13435 esac
13439 if test "x$with_jpeg" != "xno"
13440 then
13441 if ${JPEG_CFLAGS:+false} :; then :
13442 if ${PKG_CONFIG+:} false; then :
13443 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13447 if ${JPEG_LIBS:+false} :; then :
13448 if ${PKG_CONFIG+:} false; then :
13449 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13454 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13455 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13456 ac_save_CPPFLAGS=$CPPFLAGS
13457 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13458 for ac_header in jpeglib.h
13459 do :
13460 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13461 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13462 cat >>confdefs.h <<_ACEOF
13463 #define HAVE_JPEGLIB_H 1
13464 _ACEOF
13468 done
13470 if test "$ac_cv_header_jpeglib_h" = "yes"
13471 then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13473 $as_echo_n "checking for -ljpeg... " >&6; }
13474 if ${ac_cv_lib_soname_jpeg+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_soname_save_LIBS=$LIBS
13478 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char jpeg_start_decompress ();
13490 main ()
13492 return jpeg_start_decompress ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 case "$LIBEXT" in
13499 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13500 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'` ;;
13501 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13502 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13503 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 fi ;;
13505 esac
13507 rm -f core conftest.err conftest.$ac_objext \
13508 conftest$ac_exeext conftest.$ac_ext
13509 LIBS=$ac_check_soname_save_LIBS
13511 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13513 $as_echo "not found" >&6; }
13514 JPEG_CFLAGS=""
13515 else
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13517 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13519 cat >>confdefs.h <<_ACEOF
13520 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13521 _ACEOF
13525 else
13526 JPEG_CFLAGS=""
13528 CPPFLAGS=$ac_save_CPPFLAGS
13529 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13530 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13533 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13534 case "x$with_jpeg" in
13535 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13536 xno) ;;
13537 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13538 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13539 esac
13543 if test "x$with_png" != "xno"
13544 then
13545 if ${PNG_CFLAGS:+false} :; then :
13546 if ${PKG_CONFIG+:} false; then :
13547 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13550 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13551 if ${PNG_LIBS:+false} :; then :
13552 if ${PKG_CONFIG+:} false; then :
13553 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13556 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13558 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13559 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13560 ac_save_CPPFLAGS=$CPPFLAGS
13561 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13562 for ac_header in png.h
13563 do :
13564 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13565 if test "x$ac_cv_header_png_h" = xyes; then :
13566 cat >>confdefs.h <<_ACEOF
13567 #define HAVE_PNG_H 1
13568 _ACEOF
13572 done
13574 if test "$ac_cv_header_png_h" = "yes"
13575 then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13577 $as_echo_n "checking for -lpng... " >&6; }
13578 if ${ac_cv_lib_soname_png+:} false; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 ac_check_soname_save_LIBS=$LIBS
13582 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13586 /* Override any GCC internal prototype to avoid an error.
13587 Use char because int might match the return type of a GCC
13588 builtin and then its argument prototype would still apply. */
13589 #ifdef __cplusplus
13590 extern "C"
13591 #endif
13592 char png_create_read_struct ();
13594 main ()
13596 return png_create_read_struct ();
13598 return 0;
13600 _ACEOF
13601 if ac_fn_c_try_link "$LINENO"; then :
13602 case "$LIBEXT" in
13603 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13604 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'` ;;
13605 *) 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'`
13606 if ${ac_cv_lib_soname_png:+false} :; then :
13607 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13608 fi ;;
13609 esac
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_soname_save_LIBS
13615 if ${ac_cv_lib_soname_png:+false} :; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13617 $as_echo "not found" >&6; }
13618 PNG_CFLAGS=""
13619 else
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13621 $as_echo "$ac_cv_lib_soname_png" >&6; }
13623 cat >>confdefs.h <<_ACEOF
13624 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13625 _ACEOF
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13629 #include <png.h>
13631 main ()
13633 typeof(png_set_expand_gray_1_2_4_to_8) *p
13635 return 0;
13637 _ACEOF
13638 if ac_fn_c_try_compile "$LINENO"; then :
13640 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13645 else
13646 PNG_CFLAGS=""
13648 CPPFLAGS=$ac_save_CPPFLAGS
13649 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13650 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13653 if test "x$ac_cv_lib_soname_png" = "x"; then :
13654 case "x$with_png" in
13655 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13656 xno) ;;
13657 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13658 This is an error since --with-png was requested." "$LINENO" 5 ;;
13659 esac
13663 if test "x$with_tiff" != "xno"
13664 then
13665 if ${TIFF_CFLAGS:+false} :; then :
13666 if ${PKG_CONFIG+:} false; then :
13667 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13671 if ${TIFF_LIBS:+false} :; then :
13672 if ${PKG_CONFIG+:} false; then :
13673 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13678 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13679 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13680 ac_save_CPPFLAGS=$CPPFLAGS
13681 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13682 for ac_header in tiffio.h
13683 do :
13684 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13685 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13686 cat >>confdefs.h <<_ACEOF
13687 #define HAVE_TIFFIO_H 1
13688 _ACEOF
13692 done
13694 if test "$ac_cv_header_tiffio_h" = "yes"
13695 then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13697 $as_echo_n "checking for -ltiff... " >&6; }
13698 if ${ac_cv_lib_soname_tiff+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_check_soname_save_LIBS=$LIBS
13702 LIBS="-ltiff $TIFF_LIBS $LIBS"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13706 /* Override any GCC internal prototype to avoid an error.
13707 Use char because int might match the return type of a GCC
13708 builtin and then its argument prototype would still apply. */
13709 #ifdef __cplusplus
13710 extern "C"
13711 #endif
13712 char TIFFClientOpen ();
13714 main ()
13716 return TIFFClientOpen ();
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 case "$LIBEXT" in
13723 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13724 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'` ;;
13725 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13726 if ${ac_cv_lib_soname_tiff:+false} :; then :
13727 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13728 fi ;;
13729 esac
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 LIBS=$ac_check_soname_save_LIBS
13735 if ${ac_cv_lib_soname_tiff:+false} :; then :
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13737 $as_echo "not found" >&6; }
13739 else
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13741 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13743 cat >>confdefs.h <<_ACEOF
13744 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13745 _ACEOF
13750 CPPFLAGS=$ac_save_CPPFLAGS
13751 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13752 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13755 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13756 case "x$with_tiff" in
13757 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13758 xno) ;;
13759 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13760 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13761 esac
13765 if test "x$with_mpg123" != "xno"
13766 then
13767 if ${MPG123_CFLAGS:+false} :; then :
13768 if ${PKG_CONFIG+:} false; then :
13769 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13773 if ${MPG123_LIBS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13779 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13780 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13781 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13782 ac_save_CPPFLAGS=$CPPFLAGS
13783 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13784 for ac_header in mpg123.h
13785 do :
13786 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13787 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13788 cat >>confdefs.h <<_ACEOF
13789 #define HAVE_MPG123_H 1
13790 _ACEOF
13794 done
13796 if test "$ac_cv_header_mpg123_h" = "yes"
13797 then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13799 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13800 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_lib_save_LIBS=$LIBS
13804 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char mpg123_feed ();
13816 main ()
13818 return mpg123_feed ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 ac_cv_lib_mpg123_mpg123_feed=yes
13825 else
13826 ac_cv_lib_mpg123_mpg123_feed=no
13828 rm -f core conftest.err conftest.$ac_objext \
13829 conftest$ac_exeext conftest.$ac_ext
13830 LIBS=$ac_check_lib_save_LIBS
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13833 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13834 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13836 else
13837 MPG123_LIBS=""
13840 else
13841 MPG123_CFLAGS=""
13842 MPG123_LIBS=""
13844 CPPFLAGS=$ac_save_CPPFLAGS
13845 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13846 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13849 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13850 case "x$with_mpg123" in
13851 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13852 xno) ;;
13853 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13854 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13855 esac
13856 enable_winemp3_acm=${enable_winemp3_acm:-no}
13859 if test "$ac_cv_header_AL_al_h" = "yes"
13860 then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13862 $as_echo_n "checking for -lopenal... " >&6; }
13863 if ${ac_cv_lib_soname_openal+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_check_soname_save_LIBS=$LIBS
13867 LIBS="-lopenal $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char alGetSource3i ();
13879 main ()
13881 return alGetSource3i ();
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 case "$LIBEXT" in
13888 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13889 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'` ;;
13890 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13891 if ${ac_cv_lib_soname_openal:+false} :; then :
13892 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13893 fi ;;
13894 esac
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13898 LIBS=$ac_check_soname_save_LIBS
13900 if ${ac_cv_lib_soname_openal:+false} :; then :
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13902 $as_echo "not found" >&6; }
13904 else
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13906 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13908 cat >>confdefs.h <<_ACEOF
13909 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13910 _ACEOF
13912 OPENAL_LIBS="-lopenal"
13914 ac_cv_lib_openal=yes
13916 cat >>confdefs.h <<_ACEOF
13917 #define HAVE_OPENAL 1
13918 _ACEOF
13922 if test "x$ac_cv_lib_openal" != xyes; then :
13923 case "x$with_openal" in
13924 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13925 xno) ;;
13926 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13927 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13928 esac
13929 enable_openal32=${enable_openal32:-no}
13932 if test "x$ac_cv_lib_openal" = xyes
13933 then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13935 $as_echo_n "checking for openal-soft... " >&6; }
13936 if ${ac_cv_have_openalsoft+:} false; then :
13937 $as_echo_n "(cached) " >&6
13938 else
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13941 #include <AL/al.h>
13942 #include <AL/alc.h>
13943 #include <AL/alext.h>
13944 LPALCRENDERSAMPLESSOFT x;
13946 main ()
13950 return 0;
13952 _ACEOF
13953 if ac_fn_c_try_compile "$LINENO"; then :
13954 ac_cv_have_openalsoft=yes
13955 else
13956 ac_cv_have_openalsoft=no
13958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13961 $as_echo "$ac_cv_have_openalsoft" >&6; }
13963 if test "x$ac_cv_have_openalsoft" != xyes
13964 then
13965 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13966 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13967 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13968 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13969 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13970 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13971 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13972 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13973 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13974 enable_xapofx1_1=${enable_xapofx1_1:-no}
13975 enable_xapofx1_2=${enable_xapofx1_2:-no}
13976 enable_xapofx1_3=${enable_xapofx1_3:-no}
13977 enable_xapofx1_4=${enable_xapofx1_4:-no}
13978 enable_xapofx1_5=${enable_xapofx1_5:-no}
13979 enable_xaudio2_0=${enable_xaudio2_0:-no}
13980 enable_xaudio2_1=${enable_xaudio2_1:-no}
13981 enable_xaudio2_2=${enable_xaudio2_2:-no}
13982 enable_xaudio2_3=${enable_xaudio2_3:-no}
13983 enable_xaudio2_4=${enable_xaudio2_4:-no}
13984 enable_xaudio2_5=${enable_xaudio2_5:-no}
13985 enable_xaudio2_6=${enable_xaudio2_6:-no}
13986 enable_xaudio2_7=${enable_xaudio2_7:-no}
13987 enable_xaudio2_8=${enable_xaudio2_8:-no}
13988 enable_xaudio2_9=${enable_xaudio2_9:-no}
13991 if test "$ac_cv_header_kstat_h" = "yes"
13992 then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13994 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13995 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-lkstat $LIBS"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14003 /* Override any GCC internal prototype to avoid an error.
14004 Use char because int might match the return type of a GCC
14005 builtin and then its argument prototype would still apply. */
14006 #ifdef __cplusplus
14007 extern "C"
14008 #endif
14009 char kstat_open ();
14011 main ()
14013 return kstat_open ();
14015 return 0;
14017 _ACEOF
14018 if ac_fn_c_try_link "$LINENO"; then :
14019 ac_cv_lib_kstat_kstat_open=yes
14020 else
14021 ac_cv_lib_kstat_kstat_open=no
14023 rm -f core conftest.err conftest.$ac_objext \
14024 conftest$ac_exeext conftest.$ac_ext
14025 LIBS=$ac_check_lib_save_LIBS
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14028 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14029 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14031 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14033 KSTAT_LIBS="-lkstat"
14039 if test "$ac_cv_header_libprocstat_h" = "yes"
14040 then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14042 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14043 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 ac_check_lib_save_LIBS=$LIBS
14047 LIBS="-lprocstat $LIBS"
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14051 /* Override any GCC internal prototype to avoid an error.
14052 Use char because int might match the return type of a GCC
14053 builtin and then its argument prototype would still apply. */
14054 #ifdef __cplusplus
14055 extern "C"
14056 #endif
14057 char procstat_open_sysctl ();
14059 main ()
14061 return procstat_open_sysctl ();
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_link "$LINENO"; then :
14067 ac_cv_lib_procstat_procstat_open_sysctl=yes
14068 else
14069 ac_cv_lib_procstat_procstat_open_sysctl=no
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14073 LIBS=$ac_check_lib_save_LIBS
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14076 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14077 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14079 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14081 PROCSTAT_LIBS="-lprocstat"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14088 $as_echo_n "checking for -lodbc... " >&6; }
14089 if ${ac_cv_lib_soname_odbc+:} false; then :
14090 $as_echo_n "(cached) " >&6
14091 else
14092 ac_check_soname_save_LIBS=$LIBS
14093 LIBS="-lodbc $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14100 #ifdef __cplusplus
14101 extern "C"
14102 #endif
14103 char SQLConnect ();
14105 main ()
14107 return SQLConnect ();
14109 return 0;
14111 _ACEOF
14112 if ac_fn_c_try_link "$LINENO"; then :
14113 case "$LIBEXT" in
14114 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14115 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'` ;;
14116 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14117 if ${ac_cv_lib_soname_odbc:+false} :; then :
14118 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14119 fi ;;
14120 esac
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_soname_save_LIBS
14126 if ${ac_cv_lib_soname_odbc:+false} :; then :
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14128 $as_echo "not found" >&6; }
14129 cat >>confdefs.h <<_ACEOF
14130 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14131 _ACEOF
14133 else
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14135 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14137 cat >>confdefs.h <<_ACEOF
14138 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14139 _ACEOF
14144 if test "x$with_netapi" != "xno"
14145 then
14146 if ${NETAPI_CFLAGS:+false} :; then :
14147 if ${PKG_CONFIG+:} false; then :
14148 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14152 if ${NETAPI_LIBS:+false} :; then :
14153 if ${PKG_CONFIG+:} false; then :
14154 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14159 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14160 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14161 ac_save_CPPFLAGS=$CPPFLAGS
14162 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14164 $as_echo_n "checking for -lnetapi... " >&6; }
14165 if ${ac_cv_lib_soname_netapi+:} false; then :
14166 $as_echo_n "(cached) " >&6
14167 else
14168 ac_check_soname_save_LIBS=$LIBS
14169 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 #ifdef __cplusplus
14177 extern "C"
14178 #endif
14179 char libnetapi_init ();
14181 main ()
14183 return libnetapi_init ();
14185 return 0;
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 case "$LIBEXT" in
14190 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14191 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'` ;;
14192 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14193 if ${ac_cv_lib_soname_netapi:+false} :; then :
14194 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14195 fi ;;
14196 esac
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14200 LIBS=$ac_check_soname_save_LIBS
14202 if ${ac_cv_lib_soname_netapi:+false} :; then :
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14204 $as_echo "not found" >&6; }
14205 cat >>confdefs.h <<_ACEOF
14206 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14207 _ACEOF
14209 else
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14211 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14213 cat >>confdefs.h <<_ACEOF
14214 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14215 _ACEOF
14219 CPPFLAGS=$ac_save_CPPFLAGS
14220 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14221 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14225 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14226 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14227 then
14228 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14232 EXTRACFLAGS=""
14234 if test "x${GCC}" = "xyes"
14235 then
14236 EXTRACFLAGS="-Wall -pipe"
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14239 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14240 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 if test "$cross_compiling" = yes; then :
14244 ac_cv_c_gcc_strength_bug="no"
14245 else
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14248 int L[4] = {0,1,2,3};
14250 main ()
14252 static int Array[3];
14253 unsigned int B = 3;
14254 int i;
14255 for(i=0; i<B; i++) Array[i] = i - 3;
14256 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14257 L[i] = 4;
14258 return (Array[1] != -2 || L[2] != 3)
14260 return 0;
14262 _ACEOF
14263 if ac_fn_c_try_run "$LINENO"; then :
14264 ac_cv_c_gcc_strength_bug="no"
14265 else
14266 ac_cv_c_gcc_strength_bug="yes"
14268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14269 conftest.$ac_objext conftest.beam conftest.$ac_ext
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14274 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14275 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14276 then
14277 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14281 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14282 if ${ac_cv_cflags__fno_builtin+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 ac_wine_try_cflags_saved=$CFLAGS
14286 CFLAGS="$CFLAGS -fno-builtin"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_cflags__fno_builtin=yes
14293 else
14294 ac_cv_cflags__fno_builtin=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14301 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14302 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14303 BUILTINFLAG="-fno-builtin"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14307 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14308 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -fno-strict-aliasing"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__fno_strict_aliasing=yes
14319 else
14320 ac_cv_cflags__fno_strict_aliasing=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14327 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14328 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14329 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14332 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14333 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 ac_wine_try_cflags_saved=$CFLAGS
14337 CFLAGS="$CFLAGS -fexcess-precision=standard"
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 int main(int argc, char **argv) { return 0; }
14341 _ACEOF
14342 if ac_fn_c_try_link "$LINENO"; then :
14343 ac_cv_cflags__fexcess_precision_standard=yes
14344 else
14345 ac_cv_cflags__fexcess_precision_standard=no
14347 rm -f core conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 CFLAGS=$ac_wine_try_cflags_saved
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14352 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14353 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14354 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14357 saved_CFLAGS=$CFLAGS
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14359 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14360 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 ac_wine_try_cflags_saved=$CFLAGS
14364 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14367 int main(int argc, char **argv) { return 0; }
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 ac_cv_cflags__Werror_unknown_warning_option=yes
14371 else
14372 ac_cv_cflags__Werror_unknown_warning_option=no
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 CFLAGS=$ac_wine_try_cflags_saved
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14379 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14380 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14381 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14384 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14385 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_cflags__Wdeclaration_after_statement=yes
14396 else
14397 ac_cv_cflags__Wdeclaration_after_statement=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 CFLAGS=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14404 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14405 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14406 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14409 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14410 if ${ac_cv_cflags__Wempty_body+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 ac_wine_try_cflags_saved=$CFLAGS
14414 CFLAGS="$CFLAGS -Wempty-body"
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 int main(int argc, char **argv) { return 0; }
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"; then :
14420 ac_cv_cflags__Wempty_body=yes
14421 else
14422 ac_cv_cflags__Wempty_body=no
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 CFLAGS=$ac_wine_try_cflags_saved
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14429 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14430 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14431 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14434 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14435 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 ac_wine_try_cflags_saved=$CFLAGS
14439 CFLAGS="$CFLAGS -Wignored-qualifiers"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 int main(int argc, char **argv) { return 0; }
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_cflags__Wignored_qualifiers=yes
14446 else
14447 ac_cv_cflags__Wignored_qualifiers=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 CFLAGS=$ac_wine_try_cflags_saved
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14454 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14455 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14456 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14459 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14460 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_wine_try_cflags_saved=$CFLAGS
14464 CFLAGS="$CFLAGS -Wshift-overflow=2"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467 int main(int argc, char **argv) { return 0; }
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_cflags__Wshift_overflow_2=yes
14471 else
14472 ac_cv_cflags__Wshift_overflow_2=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 CFLAGS=$ac_wine_try_cflags_saved
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14479 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14480 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14481 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14484 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14485 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_wine_try_cflags_saved=$CFLAGS
14489 CFLAGS="$CFLAGS -Wstrict-prototypes"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 int main(int argc, char **argv) { return 0; }
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_cflags__Wstrict_prototypes=yes
14496 else
14497 ac_cv_cflags__Wstrict_prototypes=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 CFLAGS=$ac_wine_try_cflags_saved
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14504 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14505 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14506 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14509 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14510 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_wine_try_cflags_saved=$CFLAGS
14514 CFLAGS="$CFLAGS -Wtype-limits"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_cflags__Wtype_limits=yes
14521 else
14522 ac_cv_cflags__Wtype_limits=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14529 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14530 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14531 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14534 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14535 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"; then :
14545 ac_cv_cflags__Wunused_but_set_parameter=yes
14546 else
14547 ac_cv_cflags__Wunused_but_set_parameter=no
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 CFLAGS=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14554 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14555 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14556 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14559 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14560 if ${ac_cv_cflags__Wvla+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_wine_try_cflags_saved=$CFLAGS
14564 CFLAGS="$CFLAGS -Wvla"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14567 int main(int argc, char **argv) { return 0; }
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_cflags__Wvla=yes
14571 else
14572 ac_cv_cflags__Wvla=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 CFLAGS=$ac_wine_try_cflags_saved
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14579 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14580 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14581 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14584 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14585 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 ac_wine_try_cflags_saved=$CFLAGS
14589 CFLAGS="$CFLAGS -Wwrite-strings"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 int main(int argc, char **argv) { return 0; }
14593 _ACEOF
14594 if ac_fn_c_try_link "$LINENO"; then :
14595 ac_cv_cflags__Wwrite_strings=yes
14596 else
14597 ac_cv_cflags__Wwrite_strings=no
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 CFLAGS=$ac_wine_try_cflags_saved
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14604 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14605 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14606 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14610 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14611 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 ac_wine_try_cflags_saved=$CFLAGS
14615 CFLAGS="$CFLAGS -Wpointer-arith"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618 int main(int argc, char **argv) { return 0; }
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_cflags__Wpointer_arith=yes
14622 else
14623 ac_cv_cflags__Wpointer_arith=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 CFLAGS=$ac_wine_try_cflags_saved
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14630 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14631 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14632 saved_string_h_CFLAGS=$CFLAGS
14633 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14635 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14636 if ${ac_cv_c_string_h_warnings+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14641 #include <string.h>
14643 main ()
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_compile "$LINENO"; then :
14651 ac_cv_c_string_h_warnings=no
14652 else
14653 ac_cv_c_string_h_warnings=yes
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14658 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14659 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14660 CFLAGS=$saved_string_h_CFLAGS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14664 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14665 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14666 $as_echo_n "(cached) " >&6
14667 else
14668 ac_wine_try_cflags_saved=$CFLAGS
14669 CFLAGS="$CFLAGS -Wlogical-op"
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 int main(int argc, char **argv) { return 0; }
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_cflags__Wlogical_op=yes
14676 else
14677 ac_cv_cflags__Wlogical_op=no
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 CFLAGS=$ac_wine_try_cflags_saved
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14684 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14685 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14686 saved_string_h_CFLAGS=$CFLAGS
14687 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14689 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14690 if ${ac_cv_c_logicalop_noisy+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 #include <string.h>
14696 char*f(const char *h,char n) {return strchr(h,n);}
14698 main ()
14702 return 0;
14704 _ACEOF
14705 if ac_fn_c_try_compile "$LINENO"; then :
14706 ac_cv_c_logicalop_noisy=no
14707 else
14708 ac_cv_c_logicalop_noisy=yes
14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14713 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14714 CFLAGS=$saved_string_h_CFLAGS
14715 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14718 CFLAGS=$saved_CFLAGS
14720 for ac_flag in $CFLAGS; do
14721 case $ac_flag in
14722 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14723 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14724 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_wine_try_cflags_saved=$CFLAGS
14728 CFLAGS="$CFLAGS -gdwarf-2"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14731 int main(int argc, char **argv) { return 0; }
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_cflags__gdwarf_2=yes
14735 else
14736 ac_cv_cflags__gdwarf_2=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 CFLAGS=$ac_wine_try_cflags_saved
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14743 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14744 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14745 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14748 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14749 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14750 $as_echo_n "(cached) " >&6
14751 else
14752 ac_wine_try_cflags_saved=$CFLAGS
14753 CFLAGS="$CFLAGS -gstrict-dwarf"
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 int main(int argc, char **argv) { return 0; }
14757 _ACEOF
14758 if ac_fn_c_try_link "$LINENO"; then :
14759 ac_cv_cflags__gstrict_dwarf=yes
14760 else
14761 ac_cv_cflags__gstrict_dwarf=no
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext conftest.$ac_ext
14765 CFLAGS=$ac_wine_try_cflags_saved
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14768 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14769 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14770 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14771 fi ;;
14772 esac
14773 done
14775 case $host_cpu in
14776 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14777 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14778 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14779 $as_echo_n "(cached) " >&6
14780 else
14781 ac_wine_try_cflags_saved=$CFLAGS
14782 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 int main(int argc, char **argv) { return 0; }
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"; then :
14788 ac_cv_cflags__fno_omit_frame_pointer=yes
14789 else
14790 ac_cv_cflags__fno_omit_frame_pointer=no
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14794 CFLAGS=$ac_wine_try_cflags_saved
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14797 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14798 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14799 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14800 fi ;;
14801 esac
14803 case $host in
14804 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14805 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14806 if ${ac_cv_cflags__Wno_format+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_wine_try_cflags_saved=$CFLAGS
14810 CFLAGS="$CFLAGS -Wno-format"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14813 int main(int argc, char **argv) { return 0; }
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_cflags__Wno_format=yes
14817 else
14818 ac_cv_cflags__Wno_format=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 CFLAGS=$ac_wine_try_cflags_saved
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14825 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14826 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14827 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14828 fi ;;
14829 esac
14831 if test "x$enable_maintainer_mode" = "xyes"
14832 then
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14834 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14835 if ${ac_cv_cflags__Werror+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Werror"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Werror=yes
14846 else
14847 ac_cv_cflags__Werror=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14854 $as_echo "$ac_cv_cflags__Werror" >&6; }
14855 if test "x$ac_cv_cflags__Werror" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14860 saved_CFLAGS="$CFLAGS"
14861 CFLAGS="$CFLAGS -Werror"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14863 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14864 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14865 $as_echo_n "(cached) " >&6
14866 else
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14869 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14871 main ()
14875 return 0;
14877 _ACEOF
14878 if ac_fn_c_try_compile "$LINENO"; then :
14879 ac_cv_have_ms_hook_prologue="yes"
14880 else
14881 ac_cv_have_ms_hook_prologue="no"
14883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14886 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14887 CFLAGS="$saved_CFLAGS"
14888 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14889 then
14891 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14893 else
14894 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14901 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14902 if ${ac_cv_c_fortify_enabled+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 #include <string.h>
14909 main ()
14911 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14912 #error Fortify enabled
14913 #endif
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_compile "$LINENO"; then :
14919 ac_cv_c_fortify_enabled=no
14920 else
14921 ac_cv_c_fortify_enabled=yes
14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14926 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14927 if test "$ac_cv_c_fortify_enabled" = yes
14928 then
14929 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14934 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14935 if ${ac_cv_c_extern_prefix+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 extern int ac_test;
14942 main ()
14944 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14946 return 0;
14948 _ACEOF
14949 if ac_fn_c_try_link "$LINENO"; then :
14950 ac_cv_c_extern_prefix="yes"
14951 else
14952 ac_cv_c_extern_prefix="no"
14954 rm -f core conftest.err conftest.$ac_objext \
14955 conftest$ac_exeext conftest.$ac_ext
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14958 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14960 case $host_cpu in
14961 *i[3456789]86*)
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14963 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14964 if ${ac_cv_c_stdcall_suffix+:} false; then :
14965 $as_echo_n "(cached) " >&6
14966 else
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 #ifndef _MSC_VER
14970 #define __stdcall __attribute__((__stdcall__))
14971 #endif
14972 int __stdcall ac_test(int i) { return i; }
14974 main ()
14976 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_link "$LINENO"; then :
14982 ac_cv_c_stdcall_suffix="yes"
14983 else
14984 ac_cv_c_stdcall_suffix="no"
14986 rm -f core conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14990 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14991 *) ac_cv_c_stdcall_suffix="no" ;;
14992 esac
14995 if test "$ac_cv_c_extern_prefix" = "yes"
14996 then
14997 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14999 asm_name_prefix="_"
15000 else
15001 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15003 asm_name_prefix=""
15007 if test "$ac_cv_c_stdcall_suffix" = "yes"
15008 then
15009 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15011 else
15012 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15018 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15019 if ${ac_cv_asm_func_def+:} false; then :
15020 $as_echo_n "(cached) " >&6
15021 else
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15026 main ()
15028 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15030 return 0;
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_asm_func_def=".def"
15035 else
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15040 main ()
15042 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"; then :
15048 ac_cv_asm_func_def=".type @function"
15049 else
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15054 main ()
15056 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"; then :
15062 ac_cv_asm_func_def=".type 2"
15063 else
15064 ac_cv_asm_func_def="unknown"
15066 rm -f core conftest.err conftest.$ac_objext \
15067 conftest$ac_exeext conftest.$ac_ext
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15076 $as_echo "$ac_cv_asm_func_def" >&6; }
15079 case "$ac_cv_asm_func_def" in
15080 ".def")
15081 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15083 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15084 ".type @function")
15085 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15087 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15088 ".type 2")
15089 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15091 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15093 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15095 asm_func_header="" ;;
15096 esac
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15099 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15100 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 asm(".text\n\t.long 0");
15107 main ()
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"; then :
15115 ac_cv_c_asm_outside_funcs="yes"
15116 else
15117 ac_cv_c_asm_outside_funcs="no"
15119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15122 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15125 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15126 if ${ac_cv_c_dot_previous+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15133 main ()
15135 asm(".text\nac_test:\t.long 0\n\t.previous");
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 ac_cv_c_dot_previous="yes"
15142 else
15143 ac_cv_c_dot_previous="no"
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15149 $as_echo "$ac_cv_c_dot_previous" >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15152 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15153 if ${ac_cv_c_cfi_support+:} false; then :
15154 $as_echo_n "(cached) " >&6
15155 else
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15160 main ()
15164 return 0;
15166 _ACEOF
15167 if ac_fn_c_try_compile "$LINENO"; then :
15168 ac_cv_c_cfi_support="yes"
15169 else
15170 ac_cv_c_cfi_support="no"
15172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15175 $as_echo "$ac_cv_c_cfi_support" >&6; }
15177 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15178 asm_func_trailer=""
15179 if test "$ac_cv_c_dot_previous" = "yes"
15180 then
15181 asm_func_trailer="\\n\\t.previous"
15183 if test "$ac_cv_c_cfi_support" = "yes"
15184 then
15185 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15186 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15188 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15190 UNWINDFLAGS=-fasynchronous-unwind-tables
15192 else
15193 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15195 if test "x$enable_win64" = "xyes"
15196 then
15197 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15201 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15204 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15205 then
15206 cat >>confdefs.h <<_ACEOF
15207 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15208 _ACEOF
15210 else
15211 cat >>confdefs.h <<_ACEOF
15212 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15213 _ACEOF
15217 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15220 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15224 case $build_os in
15225 cygwin*|mingw32*) TOOLSEXT=".exe"
15227 esac
15229 case $host_os in
15230 linux-android*) ;;
15231 linux*)
15232 case $host_cpu in
15233 *i[3456789]86*|x86_64*)
15234 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15235 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15237 esac
15239 esac
15242 ac_save_CFLAGS="$CFLAGS"
15243 CFLAGS="$CFLAGS $BUILTINFLAG"
15244 for ac_func in \
15245 __res_get_state \
15246 __res_getservers \
15247 _finite \
15248 _isnan \
15249 _pclose \
15250 _popen \
15251 _snprintf \
15252 _spawnvp \
15253 _strdup \
15254 _stricmp \
15255 _strnicmp \
15256 _strtoi64 \
15257 _strtoui64 \
15258 _vsnprintf \
15259 asctime_r \
15260 chsize \
15261 dlopen \
15262 epoll_create \
15263 ffs \
15264 finitef \
15265 fnmatch \
15266 fork \
15267 fpclass \
15268 fstatfs \
15269 fstatvfs \
15270 ftruncate \
15271 futimens \
15272 futimes \
15273 futimesat \
15274 getattrlist \
15275 getopt_long_only \
15276 getpwuid \
15277 gettimeofday \
15278 getuid \
15279 if_nameindex \
15280 isnanf \
15281 kqueue \
15282 lstat \
15283 memmove \
15284 mmap \
15285 pclose \
15286 pipe2 \
15287 poll \
15288 popen \
15289 port_create \
15290 prctl \
15291 pread \
15292 proc_pidinfo \
15293 pwrite \
15294 readdir \
15295 readlink \
15296 sched_yield \
15297 select \
15298 setproctitle \
15299 setprogname \
15300 setrlimit \
15301 settimeofday \
15302 sigaltstack \
15303 sigprocmask \
15304 snprintf \
15305 statfs \
15306 statvfs \
15307 strcasecmp \
15308 strdup \
15309 strerror \
15310 strncasecmp \
15311 strtold \
15312 strtoll \
15313 strtoull \
15314 symlink \
15315 sysinfo \
15316 tcdrain \
15317 thr_kill2 \
15318 timegm \
15319 usleep \
15320 vsnprintf
15322 do :
15323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15325 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15326 cat >>confdefs.h <<_ACEOF
15327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15328 _ACEOF
15331 done
15333 CFLAGS="$ac_save_CFLAGS"
15335 if test "$ac_cv_func_dlopen" = no
15336 then
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15339 if ${ac_cv_lib_dl_dlopen+:} false; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342 ac_check_lib_save_LIBS=$LIBS
15343 LIBS="-ldl $LIBS"
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15347 /* Override any GCC internal prototype to avoid an error.
15348 Use char because int might match the return type of a GCC
15349 builtin and then its argument prototype would still apply. */
15350 #ifdef __cplusplus
15351 extern "C"
15352 #endif
15353 char dlopen ();
15355 main ()
15357 return dlopen ();
15359 return 0;
15361 _ACEOF
15362 if ac_fn_c_try_link "$LINENO"; then :
15363 ac_cv_lib_dl_dlopen=yes
15364 else
15365 ac_cv_lib_dl_dlopen=no
15367 rm -f core conftest.err conftest.$ac_objext \
15368 conftest$ac_exeext conftest.$ac_ext
15369 LIBS=$ac_check_lib_save_LIBS
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15373 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15374 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15375 DL_LIBS="-ldl"
15380 ac_wine_check_funcs_save_LIBS="$LIBS"
15381 LIBS="$LIBS $DL_LIBS"
15382 for ac_func in dladdr
15383 do :
15384 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15385 if test "x$ac_cv_func_dladdr" = xyes; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define HAVE_DLADDR 1
15388 _ACEOF
15391 done
15393 LIBS="$ac_wine_check_funcs_save_LIBS"
15395 if test "$ac_cv_func_poll" = no
15396 then
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15398 $as_echo_n "checking for poll in -lpoll... " >&6; }
15399 if ${ac_cv_lib_poll_poll+:} false; then :
15400 $as_echo_n "(cached) " >&6
15401 else
15402 ac_check_lib_save_LIBS=$LIBS
15403 LIBS="-lpoll $LIBS"
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 #ifdef __cplusplus
15411 extern "C"
15412 #endif
15413 char poll ();
15415 main ()
15417 return poll ();
15419 return 0;
15421 _ACEOF
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 ac_cv_lib_poll_poll=yes
15424 else
15425 ac_cv_lib_poll_poll=no
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_lib_save_LIBS
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15432 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15433 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15434 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15435 POLL_LIBS="-lpoll"
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15442 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15443 if ${ac_cv_search_gethostbyname+:} false; then :
15444 $as_echo_n "(cached) " >&6
15445 else
15446 ac_func_search_save_LIBS=$LIBS
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15450 /* Override any GCC internal prototype to avoid an error.
15451 Use char because int might match the return type of a GCC
15452 builtin and then its argument prototype would still apply. */
15453 #ifdef __cplusplus
15454 extern "C"
15455 #endif
15456 char gethostbyname ();
15458 main ()
15460 return gethostbyname ();
15462 return 0;
15464 _ACEOF
15465 for ac_lib in '' nsl; do
15466 if test -z "$ac_lib"; then
15467 ac_res="none required"
15468 else
15469 ac_res=-l$ac_lib
15470 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 ac_cv_search_gethostbyname=$ac_res
15475 rm -f core conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext
15477 if ${ac_cv_search_gethostbyname+:} false; then :
15478 break
15480 done
15481 if ${ac_cv_search_gethostbyname+:} false; then :
15483 else
15484 ac_cv_search_gethostbyname=no
15486 rm conftest.$ac_ext
15487 LIBS=$ac_func_search_save_LIBS
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15490 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15491 ac_res=$ac_cv_search_gethostbyname
15492 if test "$ac_res" != no; then :
15493 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15499 $as_echo_n "checking for library containing connect... " >&6; }
15500 if ${ac_cv_search_connect+:} false; then :
15501 $as_echo_n "(cached) " >&6
15502 else
15503 ac_func_search_save_LIBS=$LIBS
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15507 /* Override any GCC internal prototype to avoid an error.
15508 Use char because int might match the return type of a GCC
15509 builtin and then its argument prototype would still apply. */
15510 #ifdef __cplusplus
15511 extern "C"
15512 #endif
15513 char connect ();
15515 main ()
15517 return connect ();
15519 return 0;
15521 _ACEOF
15522 for ac_lib in '' socket; do
15523 if test -z "$ac_lib"; then
15524 ac_res="none required"
15525 else
15526 ac_res=-l$ac_lib
15527 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15529 if ac_fn_c_try_link "$LINENO"; then :
15530 ac_cv_search_connect=$ac_res
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext
15534 if ${ac_cv_search_connect+:} false; then :
15535 break
15537 done
15538 if ${ac_cv_search_connect+:} false; then :
15540 else
15541 ac_cv_search_connect=no
15543 rm conftest.$ac_ext
15544 LIBS=$ac_func_search_save_LIBS
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15547 $as_echo "$ac_cv_search_connect" >&6; }
15548 ac_res=$ac_cv_search_connect
15549 if test "$ac_res" != no; then :
15550 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15556 $as_echo_n "checking for library containing inet_aton... " >&6; }
15557 if ${ac_cv_search_inet_aton+:} false; then :
15558 $as_echo_n "(cached) " >&6
15559 else
15560 ac_func_search_save_LIBS=$LIBS
15561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15567 #ifdef __cplusplus
15568 extern "C"
15569 #endif
15570 char inet_aton ();
15572 main ()
15574 return inet_aton ();
15576 return 0;
15578 _ACEOF
15579 for ac_lib in '' resolv; do
15580 if test -z "$ac_lib"; then
15581 ac_res="none required"
15582 else
15583 ac_res=-l$ac_lib
15584 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_search_inet_aton=$ac_res
15589 rm -f core conftest.err conftest.$ac_objext \
15590 conftest$ac_exeext
15591 if ${ac_cv_search_inet_aton+:} false; then :
15592 break
15594 done
15595 if ${ac_cv_search_inet_aton+:} false; then :
15597 else
15598 ac_cv_search_inet_aton=no
15600 rm conftest.$ac_ext
15601 LIBS=$ac_func_search_save_LIBS
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15604 $as_echo "$ac_cv_search_inet_aton" >&6; }
15605 ac_res=$ac_cv_search_inet_aton
15606 if test "$ac_res" != no; then :
15607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15612 for ac_func in \
15613 getaddrinfo \
15614 getnameinfo \
15615 getnetbyname \
15616 getprotobyname \
15617 getprotobynumber \
15618 getservbyport \
15619 inet_addr \
15620 inet_network \
15621 inet_ntop \
15622 inet_pton \
15623 sendmsg \
15624 socketpair \
15626 do :
15627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15630 cat >>confdefs.h <<_ACEOF
15631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15632 _ACEOF
15635 done
15638 ac_save_LIBS=$LIBS
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15640 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15641 if ${ac_cv_search_clock_gettime+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_func_search_save_LIBS=$LIBS
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char clock_gettime ();
15656 main ()
15658 return clock_gettime ();
15660 return 0;
15662 _ACEOF
15663 for ac_lib in '' rt; do
15664 if test -z "$ac_lib"; then
15665 ac_res="none required"
15666 else
15667 ac_res=-l$ac_lib
15668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15670 if ac_fn_c_try_link "$LINENO"; then :
15671 ac_cv_search_clock_gettime=$ac_res
15673 rm -f core conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext
15675 if ${ac_cv_search_clock_gettime+:} false; then :
15676 break
15678 done
15679 if ${ac_cv_search_clock_gettime+:} false; then :
15681 else
15682 ac_cv_search_clock_gettime=no
15684 rm conftest.$ac_ext
15685 LIBS=$ac_func_search_save_LIBS
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15688 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15689 ac_res=$ac_cv_search_clock_gettime
15690 if test "$ac_res" != no; then :
15691 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15693 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15695 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15699 LIBS=$ac_save_LIBS
15701 LDAP_LIBS=""
15703 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15704 then
15705 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15707 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15709 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15710 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15711 $as_echo_n "(cached) " >&6
15712 else
15713 ac_check_lib_save_LIBS=$LIBS
15714 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15718 /* Override any GCC internal prototype to avoid an error.
15719 Use char because int might match the return type of a GCC
15720 builtin and then its argument prototype would still apply. */
15721 #ifdef __cplusplus
15722 extern "C"
15723 #endif
15724 char ldap_initialize ();
15726 main ()
15728 return ldap_initialize ();
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_link "$LINENO"; then :
15734 ac_cv_lib_ldap_r_ldap_initialize=yes
15735 else
15736 ac_cv_lib_ldap_r_ldap_initialize=no
15738 rm -f core conftest.err conftest.$ac_objext \
15739 conftest$ac_exeext conftest.$ac_ext
15740 LIBS=$ac_check_lib_save_LIBS
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15743 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15744 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15746 $as_echo_n "checking for ber_init in -llber... " >&6; }
15747 if ${ac_cv_lib_lber_ber_init+:} false; then :
15748 $as_echo_n "(cached) " >&6
15749 else
15750 ac_check_lib_save_LIBS=$LIBS
15751 LIBS="-llber $PTHREAD_LIBS $LIBS"
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15755 /* Override any GCC internal prototype to avoid an error.
15756 Use char because int might match the return type of a GCC
15757 builtin and then its argument prototype would still apply. */
15758 #ifdef __cplusplus
15759 extern "C"
15760 #endif
15761 char ber_init ();
15763 main ()
15765 return ber_init ();
15767 return 0;
15769 _ACEOF
15770 if ac_fn_c_try_link "$LINENO"; then :
15771 ac_cv_lib_lber_ber_init=yes
15772 else
15773 ac_cv_lib_lber_ber_init=no
15775 rm -f core conftest.err conftest.$ac_objext \
15776 conftest$ac_exeext conftest.$ac_ext
15777 LIBS=$ac_check_lib_save_LIBS
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15780 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15781 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15783 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15785 LDAP_LIBS="-lldap_r -llber"
15792 ac_wine_check_funcs_save_LIBS="$LIBS"
15793 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15794 for ac_func in \
15795 ldap_count_references \
15796 ldap_first_reference \
15797 ldap_next_reference \
15798 ldap_parse_reference \
15799 ldap_parse_sort_control \
15800 ldap_parse_sortresponse_control \
15801 ldap_parse_vlv_control \
15802 ldap_parse_vlvresponse_control
15803 do :
15804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15809 _ACEOF
15812 done
15814 LIBS="$ac_wine_check_funcs_save_LIBS"
15816 if test "x$LDAP_LIBS" = "x"; then :
15817 case "x$with_ldap" in
15818 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15819 xno) ;;
15820 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15821 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15822 esac
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15827 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15828 if ${wine_cv_one_arg_mkdir+:} false; then :
15829 $as_echo_n "(cached) " >&6
15830 else
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833 #include <sys/stat.h>
15835 main ()
15837 mkdir("foo");
15839 return 0;
15841 _ACEOF
15842 if ac_fn_c_try_compile "$LINENO"; then :
15843 wine_cv_one_arg_mkdir=yes
15844 else
15845 wine_cv_one_arg_mkdir=no
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15850 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15851 if test "$wine_cv_one_arg_mkdir" = "yes"
15852 then
15854 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15859 $as_echo_n "checking for sched_setaffinity... " >&6; }
15860 if ${wine_cv_have_sched_setaffinity+:} false; then :
15861 $as_echo_n "(cached) " >&6
15862 else
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 #define _GNU_SOURCE
15866 #include <sched.h>
15868 main ()
15870 sched_setaffinity(0, 0, 0);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_c_try_link "$LINENO"; then :
15876 wine_cv_have_sched_setaffinity=yes
15877 else
15878 wine_cv_have_sched_setaffinity=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15884 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15885 if test "$wine_cv_have_sched_setaffinity" = "yes"
15886 then
15888 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15893 $as_echo_n "checking for fallocate... " >&6; }
15894 if ${wine_cv_have_fallocate+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #define _GNU_SOURCE
15900 #include <fcntl.h>
15902 main ()
15904 fallocate(-1, 0, 0, 0);
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 wine_cv_have_fallocate=yes
15911 else
15912 wine_cv_have_fallocate=no
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext conftest.$ac_ext
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15918 $as_echo "$wine_cv_have_fallocate" >&6; }
15919 if test "$wine_cv_have_fallocate" = "yes"
15920 then
15922 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15928 $as_echo_n "checking for inline... " >&6; }
15929 if ${ac_cv_c_inline+:} false; then :
15930 $as_echo_n "(cached) " >&6
15931 else
15932 ac_cv_c_inline=no
15933 for ac_kw in inline __inline__ __inline; do
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936 #ifndef __cplusplus
15937 typedef int foo_t;
15938 static $ac_kw foo_t static_foo () {return 0; }
15939 $ac_kw foo_t foo () {return 0; }
15940 #endif
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15944 ac_cv_c_inline=$ac_kw
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947 test "$ac_cv_c_inline" != no && break
15948 done
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15952 $as_echo "$ac_cv_c_inline" >&6; }
15954 case $ac_cv_c_inline in
15955 inline | yes) ;;
15957 case $ac_cv_c_inline in
15958 no) ac_val=;;
15959 *) ac_val=$ac_cv_c_inline;;
15960 esac
15961 cat >>confdefs.h <<_ACEOF
15962 #ifndef __cplusplus
15963 #define inline $ac_val
15964 #endif
15965 _ACEOF
15967 esac
15969 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15970 if test "x$ac_cv_type_mode_t" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_MODE_T 1
15974 _ACEOF
15978 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15979 if test "x$ac_cv_type_off_t" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_OFF_T 1
15983 _ACEOF
15987 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15988 if test "x$ac_cv_type_pid_t" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_PID_T 1
15992 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_size_t" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_SIZE_T 1
16001 _ACEOF
16005 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16006 if test "x$ac_cv_type_ssize_t" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_SSIZE_T 1
16010 _ACEOF
16014 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16015 if test "x$ac_cv_type_long_long" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_LONG_LONG 1
16019 _ACEOF
16023 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16024 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_FSBLKCNT_T 1
16028 _ACEOF
16032 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16033 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_FSFILCNT_T 1
16037 _ACEOF
16042 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16043 #include <signal.h>
16045 if test "x$ac_cv_type_sigset_t" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_SIGSET_T 1
16049 _ACEOF
16054 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16056 if test "x$ac_cv_type_request_sense" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_REQUEST_SENSE 1
16060 _ACEOF
16066 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16067 #ifdef HAVE_SYS_SOCKET_H
16068 #include <sys/socket.h>
16069 #endif
16070 #ifdef HAVE_SYS_SOCKETVAR_H
16071 #include <sys/socketvar.h>
16072 #endif
16073 #ifdef HAVE_NET_ROUTE_H
16074 #include <net/route.h>
16075 #endif
16076 #ifdef HAVE_NETINET_IN_H
16077 #include <netinet/in.h>
16078 #endif
16079 #ifdef HAVE_NETINET_IN_SYSTM_H
16080 #include <netinet/in_systm.h>
16081 #endif
16082 #ifdef HAVE_NETINET_IP_H
16083 #include <netinet/ip.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IN_PCB_H
16086 #include <netinet/in_pcb.h>
16087 #endif
16089 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_XINPGEN 1
16093 _ACEOF
16099 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16100 #include <link.h>
16101 #endif
16102 #ifdef HAVE_SYS_LINK_H
16103 #include <sys/link.h>
16104 #endif
16106 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_R_DEBUG 1
16110 _ACEOF
16114 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16115 #include <link.h>
16116 #endif
16117 #ifdef HAVE_SYS_LINK_H
16118 #include <sys/link.h>
16119 #endif
16121 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_LINK_MAP 1
16125 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16132 #include <linux/input.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16139 _ACEOF
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16146 $as_echo_n "checking for sigaddset... " >&6; }
16147 if ${wine_cv_have_sigaddset+:} false; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151 /* end confdefs.h. */
16152 #include <signal.h>
16154 main ()
16156 sigset_t set; sigaddset(&set,SIGTERM);
16158 return 0;
16160 _ACEOF
16161 if ac_fn_c_try_link "$LINENO"; then :
16162 wine_cv_have_sigaddset=yes
16163 else
16164 wine_cv_have_sigaddset=no
16166 rm -f core conftest.err conftest.$ac_objext \
16167 conftest$ac_exeext conftest.$ac_ext
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16170 $as_echo "$wine_cv_have_sigaddset" >&6; }
16171 if test "$wine_cv_have_sigaddset" = "yes"
16172 then
16174 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16180 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16181 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16182 $as_echo_n "(cached) " >&6
16183 else
16184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16186 #include <netdb.h>
16188 main ()
16191 char *name=0;
16192 struct hostent he;
16193 struct hostent *result;
16194 char *buf=0;
16195 int bufsize=0;
16196 int errnr;
16197 char *addr=0;
16198 int addrlen=0;
16199 int addrtype=0;
16200 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16201 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_link "$LINENO"; then :
16208 wine_cv_linux_gethostbyname_r_6=yes
16209 else
16210 wine_cv_linux_gethostbyname_r_6=no
16213 rm -f core conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16218 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16219 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16220 then
16222 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16226 if test "$ac_cv_header_linux_joystick_h" = "yes"
16227 then
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16229 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16230 if ${wine_cv_linux_joystick_22_api+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16236 #include <sys/ioctl.h>
16237 #include <sys/types.h>
16238 #include <linux/joystick.h>
16240 struct js_event blub;
16241 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16242 #error "no 2.2 header"
16243 #endif
16246 main ()
16248 /*empty*/
16250 return 0;
16252 _ACEOF
16253 if ac_fn_c_try_compile "$LINENO"; then :
16254 wine_cv_linux_joystick_22_api=yes
16255 else
16256 wine_cv_linux_joystick_22_api=no
16258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16262 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16263 if test "$wine_cv_linux_joystick_22_api" = "yes"
16264 then
16266 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16272 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_PARAM_H
16274 # include <sys/param.h>
16275 #endif
16276 #ifdef HAVE_SYS_MOUNT_H
16277 # include <sys/mount.h>
16278 #endif
16279 #ifdef HAVE_SYS_VFS_H
16280 # include <sys/vfs.h>
16281 #endif
16282 #ifdef HAVE_SYS_STATFS_H
16283 # include <sys/statfs.h>
16284 #endif
16286 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_STATFS_F_BFREE 1
16290 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16295 #ifdef HAVE_SYS_PARAM_H
16296 # include <sys/param.h>
16297 #endif
16298 #ifdef HAVE_SYS_MOUNT_H
16299 # include <sys/mount.h>
16300 #endif
16301 #ifdef HAVE_SYS_VFS_H
16302 # include <sys/vfs.h>
16303 #endif
16304 #ifdef HAVE_SYS_STATFS_H
16305 # include <sys/statfs.h>
16306 #endif
16308 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16312 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_PARAM_H
16318 # include <sys/param.h>
16319 #endif
16320 #ifdef HAVE_SYS_MOUNT_H
16321 # include <sys/mount.h>
16322 #endif
16323 #ifdef HAVE_SYS_VFS_H
16324 # include <sys/vfs.h>
16325 #endif
16326 #ifdef HAVE_SYS_STATFS_H
16327 # include <sys/statfs.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16339 #ifdef HAVE_SYS_PARAM_H
16340 # include <sys/param.h>
16341 #endif
16342 #ifdef HAVE_SYS_MOUNT_H
16343 # include <sys/mount.h>
16344 #endif
16345 #ifdef HAVE_SYS_VFS_H
16346 # include <sys/vfs.h>
16347 #endif
16348 #ifdef HAVE_SYS_STATFS_H
16349 # include <sys/statfs.h>
16350 #endif
16352 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STATFS_F_FFREE 1
16356 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16361 #ifdef HAVE_SYS_PARAM_H
16362 # include <sys/param.h>
16363 #endif
16364 #ifdef HAVE_SYS_MOUNT_H
16365 # include <sys/mount.h>
16366 #endif
16367 #ifdef HAVE_SYS_VFS_H
16368 # include <sys/vfs.h>
16369 #endif
16370 #ifdef HAVE_SYS_STATFS_H
16371 # include <sys/statfs.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16378 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16383 #ifdef HAVE_SYS_PARAM_H
16384 # include <sys/param.h>
16385 #endif
16386 #ifdef HAVE_SYS_MOUNT_H
16387 # include <sys/mount.h>
16388 #endif
16389 #ifdef HAVE_SYS_VFS_H
16390 # include <sys/vfs.h>
16391 #endif
16392 #ifdef HAVE_SYS_STATFS_H
16393 # include <sys/statfs.h>
16394 #endif
16396 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16400 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16407 #include <sys/statvfs.h>
16408 #endif
16410 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16414 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16421 #include <dirent.h>
16422 #endif
16424 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16428 _ACEOF
16434 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16435 #ifdef HAVE_SYS_SOCKET_H
16436 # include <sys/socket.h>
16437 #endif
16438 #ifdef HAVE_SYS_UN_H
16439 # include <sys/un.h>
16440 #endif
16442 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16446 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16451 #ifdef HAVE_SYS_SOCKET_H
16452 # include <sys/socket.h>
16453 #endif
16454 #ifdef HAVE_SYS_UN_H
16455 # include <sys/un.h>
16456 #endif
16458 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16462 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16467 #ifdef HAVE_SYS_SOCKET_H
16468 # include <sys/socket.h>
16469 #endif
16470 #ifdef HAVE_SYS_UN_H
16471 # include <sys/un.h>
16472 #endif
16474 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16478 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16485 #ifdef HAVE_SCSI_SG_H
16486 #include <scsi/sg.h>
16487 #endif
16489 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_SCSIREQ_T_CMD 1
16493 _ACEOF
16497 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>
16498 #ifdef HAVE_SCSI_SG_H
16499 #include <scsi/sg.h>
16500 #endif
16502 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16506 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16514 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_SIGINFO_T_SI_FD 1
16518 _ACEOF
16524 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16525 #ifdef HAVE_SYS_MTIO_H
16526 #include <sys/mtio.h>
16527 #endif
16529 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16533 _ACEOF
16537 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16538 #ifdef HAVE_SYS_MTIO_H
16539 #include <sys/mtio.h>
16540 #endif
16542 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16546 _ACEOF
16550 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16551 #ifdef HAVE_SYS_MTIO_H
16552 #include <sys/mtio.h>
16553 #endif
16555 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16557 cat >>confdefs.h <<_ACEOF
16558 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16559 _ACEOF
16565 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16566 #include <getopt.h>
16567 #endif
16569 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16571 cat >>confdefs.h <<_ACEOF
16572 #define HAVE_STRUCT_OPTION_NAME 1
16573 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16580 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16584 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16589 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_STAT_ST_MTIM 1
16593 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16598 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16602 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16607 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_STRUCT_STAT_ST_CTIM 1
16611 _ACEOF
16615 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16616 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16620 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_ATIM 1
16629 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16638 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16661 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16665 _ACEOF
16669 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16670 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16674 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16679 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16683 _ACEOF
16689 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
16690 #include <sys/types.h>
16691 #endif
16692 #ifdef HAVE_NETINET_IN_H
16693 #include <netinet/in.h>
16694 #endif
16696 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16700 _ACEOF
16706 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16707 #include <resolv.h>
16708 #endif
16710 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16712 cat >>confdefs.h <<_ACEOF
16713 #define HAVE_STRUCT___RES_STATE 1
16714 _ACEOF
16720 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
16721 #include <resolv.h>
16722 #endif
16724 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16728 _ACEOF
16734 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16735 #include <sys/types.h>
16736 #endif
16737 #ifdef HAVE_NETINET_IN_H
16738 # include <netinet/in.h>
16739 #endif
16740 #ifdef HAVE_ARPA_NAMESER_H
16741 # include <arpa/nameser.h>
16742 #endif
16744 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16746 cat >>confdefs.h <<_ACEOF
16747 #define HAVE_NS_MSG__MSG_PTR 1
16748 _ACEOF
16754 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16755 #include <sys/types.h>
16756 #endif
16757 #ifdef HAVE_NETINET_IP_H
16758 #include <netinet/ip.h>
16759 #endif
16760 #ifdef HAVE_NETINET_IP_ICMP_H
16761 #include <netinet/ip_icmp.h>
16762 #endif
16763 #ifdef HAVE_NETINET_ICMP_VAR_H
16764 #include <netinet/icmp_var.h>
16765 #endif
16767 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16769 cat >>confdefs.h <<_ACEOF
16770 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16771 _ACEOF
16777 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16778 #include <sys/types.h>
16779 #endif
16780 #ifdef HAVE_ALIAS_H
16781 #include <alias.h>
16782 #endif
16783 #ifdef HAVE_SYS_SOCKET_H
16784 #include <sys/socket.h>
16785 #endif
16786 #ifdef HAVE_SYS_SOCKETVAR_H
16787 #include <sys/socketvar.h>
16788 #endif
16789 #ifdef HAVE_SYS_TIMEOUT_H
16790 #include <sys/timeout.h>
16791 #endif
16792 #ifdef HAVE_NETINET_IN_H
16793 #include <netinet/in.h>
16794 #endif
16795 #ifdef HAVE_NETINET_IN_SYSTM_H
16796 #include <netinet/in_systm.h>
16797 #endif
16798 #ifdef HAVE_NETINET_IP_H
16799 #include <netinet/ip.h>
16800 #endif
16801 #ifdef HAVE_NETINET_IP_VAR_H
16802 #include <netinet/ip_var.h>
16803 #endif
16804 #ifdef HAVE_NETINET_IP_ICMP_H
16805 #include <netinet/ip_icmp.h>
16806 #endif
16807 #ifdef HAVE_NETINET_ICMP_VAR_H
16808 #include <netinet/icmp_var.h>
16809 #endif
16811 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16813 cat >>confdefs.h <<_ACEOF
16814 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16815 _ACEOF
16821 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16822 #include <sys/types.h>
16823 #endif
16824 #ifdef HAVE_SYS_SOCKETVAR_H
16825 #include <sys/socketvar.h>
16826 #endif
16827 #ifdef HAVE_NETINET_IN_H
16828 #include <netinet/in.h>
16829 #endif
16830 #ifdef HAVE_NETINET_IP_VAR_H
16831 #include <netinet/ip_var.h>
16832 #endif
16834 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16838 _ACEOF
16844 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
16845 #include <netinet/ip_var.h>
16846 #endif
16848 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16852 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16859 #include <sys/types.h>
16860 #endif
16861 #ifdef HAVE_SYS_SOCKETVAR_H
16862 #include <sys/socketvar.h>
16863 #endif
16864 #ifdef HAVE_NETINET_IN_H
16865 #include <netinet/in.h>
16866 #endif
16867 #ifdef HAVE_NETINET_TCP_H
16868 #include <netinet/tcp.h>
16869 #endif
16870 #ifdef HAVE_NETINET_TCP_VAR_H
16871 #include <netinet/tcp_var.h>
16872 #endif
16874 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16878 _ACEOF
16884 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
16885 #include <netinet/tcp_var.h>
16886 #endif
16888 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16892 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16899 #include <sys/types.h>
16900 #endif
16901 #ifdef HAVE_NETINET_IN_H
16902 #include <netinet/in.h>
16903 #endif
16904 #ifdef HAVE_NETINET_IP_VAR_H
16905 #include <netinet/ip_var.h>
16906 #endif
16907 #ifdef HAVE_NETINET_UDP_H
16908 #include <netinet/udp.h>
16909 #endif
16910 #ifdef HAVE_NETINET_UDP_VAR_H
16911 #include <netinet/udp_var.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16918 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16925 #include <sys/types.h>
16926 #endif
16927 #ifdef HAVE_NET_IF_H
16928 # include <net/if.h>
16929 #endif
16931 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16935 _ACEOF
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16942 $as_echo_n "checking for timezone variable... " >&6; }
16943 if ${ac_cv_have_timezone+:} false; then :
16944 $as_echo_n "(cached) " >&6
16945 else
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #include <time.h>
16950 main ()
16952 timezone = 1
16954 return 0;
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_have_timezone="yes"
16959 else
16960 ac_cv_have_timezone="no"
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16966 $as_echo "$ac_cv_have_timezone" >&6; }
16967 if test "$ac_cv_have_timezone" = "yes"
16968 then
16970 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16974 $as_echo_n "checking for daylight variable... " >&6; }
16975 if ${ac_cv_have_daylight+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 #include <time.h>
16982 main ()
16984 daylight = 1
16986 return 0;
16988 _ACEOF
16989 if ac_fn_c_try_link "$LINENO"; then :
16990 ac_cv_have_daylight="yes"
16991 else
16992 ac_cv_have_daylight="no"
16994 rm -f core conftest.err conftest.$ac_objext \
16995 conftest$ac_exeext conftest.$ac_ext
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16998 $as_echo "$ac_cv_have_daylight" >&6; }
16999 if test "$ac_cv_have_daylight" = "yes"
17000 then
17002 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17006 ac_save_LIBS="$LIBS"
17007 LIBS="$LIBS -lm"
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17009 $as_echo_n "checking for isfinite... " >&6; }
17010 if ${ac_cv_have_isfinite+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 #define _GNU_SOURCE
17016 #include <math.h>
17018 main ()
17020 float f = 0.0; return isfinite(f)
17022 return 0;
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"; then :
17026 ac_cv_have_isfinite="yes"
17027 else
17028 ac_cv_have_isfinite="no"
17030 rm -f core conftest.err conftest.$ac_objext \
17031 conftest$ac_exeext conftest.$ac_ext
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17034 $as_echo "$ac_cv_have_isfinite" >&6; }
17035 if test "$ac_cv_have_isfinite" = "yes"
17036 then
17038 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17043 $as_echo_n "checking for isinf... " >&6; }
17044 if ${ac_cv_have_isinf+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #include <math.h>
17051 main ()
17053 float f = 0.0; return isinf(f)
17055 return 0;
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"; then :
17059 ac_cv_have_isinf="yes"
17060 else
17061 ac_cv_have_isinf="no"
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17067 $as_echo "$ac_cv_have_isinf" >&6; }
17068 if test "$ac_cv_have_isinf" = "yes"
17069 then
17071 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17076 $as_echo_n "checking for isnan... " >&6; }
17077 if ${ac_cv_have_isnan+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 #include <math.h>
17084 main ()
17086 float f = 0.0; return isnan(f)
17088 return 0;
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 ac_cv_have_isnan="yes"
17093 else
17094 ac_cv_have_isnan="no"
17096 rm -f core conftest.err conftest.$ac_objext \
17097 conftest$ac_exeext conftest.$ac_ext
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17100 $as_echo "$ac_cv_have_isnan" >&6; }
17101 if test "$ac_cv_have_isnan" = "yes"
17102 then
17104 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17108 for ac_func in \
17109 asinh \
17110 asinhf \
17111 cbrt \
17112 cbrtf \
17113 erf \
17114 erff \
17115 exp2 \
17116 exp2f \
17117 lgamma \
17118 lgammaf \
17119 llrint \
17120 llrintf \
17121 llround \
17122 llroundf \
17123 log2 \
17124 log2f \
17125 lrint \
17126 lrintf \
17127 lround \
17128 lroundf \
17129 powl \
17130 remainder \
17131 remainderf \
17132 rint \
17133 rintf \
17134 round \
17135 roundf \
17136 trunc \
17137 truncf
17139 do :
17140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17143 cat >>confdefs.h <<_ACEOF
17144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17145 _ACEOF
17148 done
17150 LIBS="$ac_save_LIBS"
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17153 $as_echo_n "checking for __builtin_clz... " >&6; }
17154 if ${ac_cv_have___builtin_clz+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17161 main ()
17163 return __builtin_clz(1)
17165 return 0;
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_have___builtin_clz="yes"
17170 else
17171 ac_cv_have___builtin_clz="no"
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17177 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17178 if test "$ac_cv_have___builtin_clz" = "yes"
17179 then
17181 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17186 $as_echo_n "checking for __builtin_popcount... " >&6; }
17187 if ${ac_cv_have___builtin_popcount+:} false; then :
17188 $as_echo_n "(cached) " >&6
17189 else
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17194 main ()
17196 return __builtin_popcount(1)
17198 return 0;
17200 _ACEOF
17201 if ac_fn_c_try_link "$LINENO"; then :
17202 ac_cv_have___builtin_popcount="yes"
17203 else
17204 ac_cv_have___builtin_popcount="no"
17206 rm -f core conftest.err conftest.$ac_objext \
17207 conftest$ac_exeext conftest.$ac_ext
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17210 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17211 if test "$ac_cv_have___builtin_popcount" = "yes"
17212 then
17214 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17219 case $host_cpu in
17220 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17221 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17222 if ${ac_cv_cpp_def___i386__+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17227 #ifndef __i386__
17229 #endif
17230 _ACEOF
17231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17232 $EGREP "yes" >/dev/null 2>&1; then :
17233 ac_cv_cpp_def___i386__=yes
17234 else
17235 ac_cv_cpp_def___i386__=no
17237 rm -f conftest*
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17241 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17242 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17243 CFLAGS="$CFLAGS -D__i386__"
17244 LINTFLAGS="$LINTFLAGS -D__i386__"
17245 fi ;;
17246 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17247 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17248 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #ifndef __x86_64__
17255 #endif
17256 _ACEOF
17257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17258 $EGREP "yes" >/dev/null 2>&1; then :
17259 ac_cv_cpp_def___x86_64__=yes
17260 else
17261 ac_cv_cpp_def___x86_64__=no
17263 rm -f conftest*
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17267 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17268 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17269 CFLAGS="$CFLAGS -D__x86_64__"
17270 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17271 fi ;;
17272 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17273 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17274 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 #ifndef __sparc64__
17281 #endif
17282 _ACEOF
17283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17284 $EGREP "yes" >/dev/null 2>&1; then :
17285 ac_cv_cpp_def___sparc64__=yes
17286 else
17287 ac_cv_cpp_def___sparc64__=no
17289 rm -f conftest*
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17293 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17294 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17295 CFLAGS="$CFLAGS -D__sparc64__"
17296 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17297 fi ;;
17298 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17299 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17300 if ${ac_cv_cpp_def___sparc__+:} false; then :
17301 $as_echo_n "(cached) " >&6
17302 else
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #ifndef __sparc__
17307 #endif
17308 _ACEOF
17309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17310 $EGREP "yes" >/dev/null 2>&1; then :
17311 ac_cv_cpp_def___sparc__=yes
17312 else
17313 ac_cv_cpp_def___sparc__=no
17315 rm -f conftest*
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17319 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17320 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17321 CFLAGS="$CFLAGS -D__sparc__"
17322 LINTFLAGS="$LINTFLAGS -D__sparc__"
17323 fi ;;
17324 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17325 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17326 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17327 $as_echo_n "(cached) " >&6
17328 else
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #ifndef __powerpc64__
17333 #endif
17334 _ACEOF
17335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17336 $EGREP "yes" >/dev/null 2>&1; then :
17337 ac_cv_cpp_def___powerpc64__=yes
17338 else
17339 ac_cv_cpp_def___powerpc64__=no
17341 rm -f conftest*
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17345 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17346 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17347 CFLAGS="$CFLAGS -D__powerpc64__"
17348 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17349 fi ;;
17350 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17351 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17352 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #ifndef __powerpc__
17359 #endif
17360 _ACEOF
17361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17362 $EGREP "yes" >/dev/null 2>&1; then :
17363 ac_cv_cpp_def___powerpc__=yes
17364 else
17365 ac_cv_cpp_def___powerpc__=no
17367 rm -f conftest*
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17371 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17372 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17373 CFLAGS="$CFLAGS -D__powerpc__"
17374 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17375 fi ;;
17376 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17377 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17378 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #ifndef __aarch64__
17385 #endif
17386 _ACEOF
17387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17388 $EGREP "yes" >/dev/null 2>&1; then :
17389 ac_cv_cpp_def___aarch64__=yes
17390 else
17391 ac_cv_cpp_def___aarch64__=no
17393 rm -f conftest*
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17397 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17398 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17399 CFLAGS="$CFLAGS -D__aarch64__"
17400 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17401 fi ;;
17402 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17403 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17404 if ${ac_cv_cpp_def___arm__+:} false; then :
17405 $as_echo_n "(cached) " >&6
17406 else
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #ifndef __arm__
17411 #endif
17412 _ACEOF
17413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17414 $EGREP "yes" >/dev/null 2>&1; then :
17415 ac_cv_cpp_def___arm__=yes
17416 else
17417 ac_cv_cpp_def___arm__=no
17419 rm -f conftest*
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17423 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17424 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17425 CFLAGS="$CFLAGS -D__arm__"
17426 LINTFLAGS="$LINTFLAGS -D__arm__"
17427 fi ;;
17428 esac
17430 case $host_vendor in
17431 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17432 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17433 if ${ac_cv_cpp_def___sun__+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #ifndef __sun__
17440 #endif
17441 _ACEOF
17442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17443 $EGREP "yes" >/dev/null 2>&1; then :
17444 ac_cv_cpp_def___sun__=yes
17445 else
17446 ac_cv_cpp_def___sun__=no
17448 rm -f conftest*
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17452 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17453 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17454 CFLAGS="$CFLAGS -D__sun__"
17455 LINTFLAGS="$LINTFLAGS -D__sun__"
17456 fi ;;
17457 esac
17463 ac_config_commands="$ac_config_commands include/stamp-h"
17465 $as_echo_n "creating Makefile rules..." >&6
17467 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17468 SOCKET_LIBS = $SOCKET_LIBS
17469 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17470 IOKIT_LIBS = $IOKIT_LIBS
17471 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17472 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17473 CORESERVICES_LIBS = $CORESERVICES_LIBS
17474 APPKIT_LIBS = $APPKIT_LIBS
17475 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17476 SECURITY_LIBS = $SECURITY_LIBS
17477 COREAUDIO_LIBS = $COREAUDIO_LIBS
17478 OPENAL_LIBS = $OPENAL_LIBS
17479 OPENCL_LIBS = $OPENCL_LIBS
17480 QUICKTIME_LIBS = $QUICKTIME_LIBS
17481 CARBON_LIBS = $CARBON_LIBS
17482 PTHREAD_LIBS = $PTHREAD_LIBS
17483 X_CFLAGS = $X_CFLAGS
17484 X_PRE_LIBS = $X_PRE_LIBS
17485 X_LIBS = $X_LIBS
17486 X_EXTRA_LIBS = $X_EXTRA_LIBS
17487 PCAP_LIBS = $PCAP_LIBS
17488 XML2_CFLAGS = $XML2_CFLAGS
17489 XML2_LIBS = $XML2_LIBS
17490 XSLT_CFLAGS = $XSLT_CFLAGS
17491 XSLT_LIBS = $XSLT_LIBS
17492 DBUS_CFLAGS = $DBUS_CFLAGS
17493 DBUS_LIBS = $DBUS_LIBS
17494 HAL_CFLAGS = $HAL_CFLAGS
17495 HAL_LIBS = $HAL_LIBS
17496 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17497 GNUTLS_LIBS = $GNUTLS_LIBS
17498 SANE_CFLAGS = $SANE_CFLAGS
17499 SANE_LIBS = $SANE_LIBS
17500 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17501 GPHOTO2_LIBS = $GPHOTO2_LIBS
17502 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17503 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17504 RESOLV_LIBS = $RESOLV_LIBS
17505 LCMS2_CFLAGS = $LCMS2_CFLAGS
17506 LCMS2_LIBS = $LCMS2_LIBS
17507 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17508 FREETYPE_LIBS = $FREETYPE_LIBS
17509 Z_LIBS = $Z_LIBS
17510 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17511 PULSE_CFLAGS = $PULSE_CFLAGS
17512 PULSE_LIBS = $PULSE_LIBS
17513 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17514 GSTREAMER_LIBS = $GSTREAMER_LIBS
17515 ALSA_LIBS = $ALSA_LIBS
17516 OSS4_CFLAGS = $OSS4_CFLAGS
17517 UDEV_CFLAGS = $UDEV_CFLAGS
17518 UDEV_LIBS = $UDEV_LIBS
17519 CAPI20_CFLAGS = $CAPI20_CFLAGS
17520 CAPI20_LIBS = $CAPI20_LIBS
17521 CUPS_CFLAGS = $CUPS_CFLAGS
17522 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17523 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17524 JPEG_CFLAGS = $JPEG_CFLAGS
17525 JPEG_LIBS = $JPEG_LIBS
17526 PNG_CFLAGS = $PNG_CFLAGS
17527 PNG_LIBS = $PNG_LIBS
17528 TIFF_CFLAGS = $TIFF_CFLAGS
17529 TIFF_LIBS = $TIFF_LIBS
17530 MPG123_CFLAGS = $MPG123_CFLAGS
17531 MPG123_LIBS = $MPG123_LIBS
17532 KSTAT_LIBS = $KSTAT_LIBS
17533 PROCSTAT_LIBS = $PROCSTAT_LIBS
17534 NETAPI_CFLAGS = $NETAPI_CFLAGS
17535 NETAPI_LIBS = $NETAPI_LIBS
17536 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17537 DL_LIBS = $DL_LIBS
17538 POLL_LIBS = $POLL_LIBS
17539 RT_LIBS = $RT_LIBS
17540 LDAP_LIBS = $LDAP_LIBS
17545 wine_fn_append_rule "
17546 # Rules automatically generated by configure
17548 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17550 .INIT: Makefile
17551 .MAKEFILEDEPS:
17552 all: Makefile
17553 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17554 @./config.status Make.tmp Makefile
17555 depend: \$(MAKEDEP) dummy
17556 \$(MAKEDEP)"
17558 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17559 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17561 if test "x$enable_fonts" != xno; then
17562 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17563 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17564 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17565 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17566 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17567 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17569 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17570 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17571 ac_config_links="$ac_config_links wine:tools/winewrapper"
17572 wine_fn_config_symlink wine
17573 if test "x$enable_win64" != xno; then
17574 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17575 wine_fn_config_symlink wine64
17578 wine_fn_config_dll acledit enable_acledit
17579 wine_fn_config_dll aclui enable_aclui implib
17580 wine_fn_config_dll activeds enable_activeds implib
17581 wine_fn_config_dll actxprxy enable_actxprxy clean
17582 wine_fn_config_lib adsiid
17583 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17584 wine_fn_config_test dlls/advapi32/tests advapi32_test
17585 wine_fn_config_dll advpack enable_advpack implib
17586 wine_fn_config_test dlls/advpack/tests advpack_test
17587 wine_fn_config_dll amstream enable_amstream clean
17588 wine_fn_config_test dlls/amstream/tests amstream_test
17589 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17592 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17600 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17604 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17608 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17609 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17614 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17615 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17616 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17626 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17631 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17632 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17633 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17635 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17636 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17637 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17639 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17643 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17644 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17653 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17656 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17664 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17669 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17675 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17676 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17678 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17689 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17690 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17694 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17696 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17703 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17705 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17709 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17710 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17711 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17712 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17713 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17714 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17715 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17716 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17717 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17718 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17719 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17720 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17721 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17722 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17723 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17724 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17725 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17726 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17727 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17728 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17729 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17730 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17731 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17732 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17733 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17734 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17735 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17736 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17737 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17738 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17739 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17740 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17741 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17742 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17743 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17744 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17745 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17746 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17747 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17748 wine_fn_config_dll apphelp enable_apphelp
17749 wine_fn_config_test dlls/apphelp/tests apphelp_test
17750 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17751 wine_fn_config_dll atl enable_atl clean,implib
17752 wine_fn_config_test dlls/atl/tests atl_test
17753 wine_fn_config_dll atl100 enable_atl100 clean,implib
17754 wine_fn_config_test dlls/atl100/tests atl100_test
17755 wine_fn_config_dll atl110 enable_atl110 clean
17756 wine_fn_config_dll atl80 enable_atl80 clean,implib
17757 wine_fn_config_test dlls/atl80/tests atl80_test
17758 wine_fn_config_dll atl90 enable_atl90 clean
17759 wine_fn_config_dll authz enable_authz
17760 wine_fn_config_dll avicap32 enable_avicap32 implib
17761 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17762 wine_fn_config_test dlls/avifil32/tests avifil32_test
17763 wine_fn_config_dll avifile.dll16 enable_win16
17764 wine_fn_config_dll avrt enable_avrt implib
17765 wine_fn_config_dll bcrypt enable_bcrypt implib
17766 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17767 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17768 wine_fn_config_dll browseui enable_browseui clean
17769 wine_fn_config_test dlls/browseui/tests browseui_test
17770 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17771 wine_fn_config_dll cabinet enable_cabinet implib
17772 wine_fn_config_test dlls/cabinet/tests cabinet_test
17773 wine_fn_config_dll capi2032 enable_capi2032 implib
17774 wine_fn_config_dll cards enable_cards implib
17775 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17776 wine_fn_config_dll clusapi enable_clusapi implib
17777 wine_fn_config_dll combase enable_combase
17778 wine_fn_config_test dlls/combase/tests combase_test
17779 wine_fn_config_dll comcat enable_comcat
17780 wine_fn_config_test dlls/comcat/tests comcat_test
17781 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17782 wine_fn_config_test dlls/comctl32/tests comctl32_test
17783 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17784 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17785 wine_fn_config_dll comm.drv16 enable_win16
17786 wine_fn_config_dll commdlg.dll16 enable_win16
17787 wine_fn_config_dll compobj.dll16 enable_win16
17788 wine_fn_config_dll compstui enable_compstui implib
17789 wine_fn_config_dll comsvcs enable_comsvcs implib
17790 wine_fn_config_dll concrt140 enable_concrt140
17791 wine_fn_config_dll connect enable_connect
17792 wine_fn_config_dll credui enable_credui clean,implib
17793 wine_fn_config_test dlls/credui/tests credui_test
17794 wine_fn_config_dll crtdll enable_crtdll
17795 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17796 wine_fn_config_test dlls/crypt32/tests crypt32_test
17797 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17798 wine_fn_config_dll cryptdll enable_cryptdll implib
17799 wine_fn_config_dll cryptext enable_cryptext
17800 wine_fn_config_dll cryptnet enable_cryptnet implib
17801 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17802 wine_fn_config_dll cryptui enable_cryptui clean,implib
17803 wine_fn_config_test dlls/cryptui/tests cryptui_test
17804 wine_fn_config_dll ctapi32 enable_ctapi32
17805 wine_fn_config_dll ctl3d.dll16 enable_win16
17806 wine_fn_config_dll ctl3d32 enable_ctl3d32
17807 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17808 wine_fn_config_dll d2d1 enable_d2d1 implib
17809 wine_fn_config_test dlls/d2d1/tests d2d1_test
17810 wine_fn_config_dll d3d10 enable_d3d10 implib
17811 wine_fn_config_test dlls/d3d10/tests d3d10_test
17812 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17813 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17814 wine_fn_config_dll d3d10core enable_d3d10core implib
17815 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17816 wine_fn_config_dll d3d11 enable_d3d11 implib
17817 wine_fn_config_test dlls/d3d11/tests d3d11_test
17818 wine_fn_config_dll d3d8 enable_d3d8 implib
17819 wine_fn_config_test dlls/d3d8/tests d3d8_test
17820 wine_fn_config_dll d3d9 enable_d3d9 implib
17821 wine_fn_config_test dlls/d3d9/tests d3d9_test
17822 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17823 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17824 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17825 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17826 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17827 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17828 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17829 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17830 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17831 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17832 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17833 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17834 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17835 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17836 wine_fn_config_dll d3dim enable_d3dim
17837 wine_fn_config_dll d3drm enable_d3drm implib
17838 wine_fn_config_test dlls/d3drm/tests d3drm_test
17839 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17840 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17841 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17842 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17843 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17844 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17845 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17846 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17847 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17848 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17849 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17850 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17851 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17852 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17853 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17854 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17855 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17856 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17857 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17858 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17859 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17860 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17861 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17862 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17863 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17864 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17865 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17866 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17867 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17868 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17869 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17870 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17871 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17872 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17873 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17874 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17875 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17876 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17877 wine_fn_config_dll davclnt enable_davclnt
17878 wine_fn_config_dll dbgeng enable_dbgeng implib
17879 wine_fn_config_dll dbghelp enable_dbghelp implib
17880 wine_fn_config_dll dciman32 enable_dciman32 implib
17881 wine_fn_config_dll ddeml.dll16 enable_win16
17882 wine_fn_config_dll ddraw enable_ddraw clean,implib
17883 wine_fn_config_test dlls/ddraw/tests ddraw_test
17884 wine_fn_config_dll ddrawex enable_ddrawex clean
17885 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17886 wine_fn_config_dll devenum enable_devenum clean
17887 wine_fn_config_test dlls/devenum/tests devenum_test
17888 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17889 wine_fn_config_dll difxapi enable_difxapi
17890 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17891 wine_fn_config_test dlls/dinput/tests dinput_test
17892 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17893 wine_fn_config_test dlls/dinput8/tests dinput8_test
17894 wine_fn_config_dll dispdib.dll16 enable_win16
17895 wine_fn_config_dll dispex enable_dispex clean
17896 wine_fn_config_test dlls/dispex/tests dispex_test
17897 wine_fn_config_dll display.drv16 enable_win16
17898 wine_fn_config_dll dmband enable_dmband clean
17899 wine_fn_config_test dlls/dmband/tests dmband_test
17900 wine_fn_config_dll dmcompos enable_dmcompos clean
17901 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17902 wine_fn_config_dll dmime enable_dmime clean
17903 wine_fn_config_test dlls/dmime/tests dmime_test
17904 wine_fn_config_dll dmloader enable_dmloader clean
17905 wine_fn_config_test dlls/dmloader/tests dmloader_test
17906 wine_fn_config_dll dmscript enable_dmscript clean
17907 wine_fn_config_test dlls/dmscript/tests dmscript_test
17908 wine_fn_config_dll dmstyle enable_dmstyle clean
17909 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17910 wine_fn_config_dll dmsynth enable_dmsynth clean
17911 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17912 wine_fn_config_dll dmusic enable_dmusic clean
17913 wine_fn_config_test dlls/dmusic/tests dmusic_test
17914 wine_fn_config_dll dmusic32 enable_dmusic32
17915 wine_fn_config_dll dnsapi enable_dnsapi implib
17916 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17917 wine_fn_config_dll dplay enable_dplay
17918 wine_fn_config_dll dplayx enable_dplayx clean,implib
17919 wine_fn_config_test dlls/dplayx/tests dplayx_test
17920 wine_fn_config_dll dpnaddr enable_dpnaddr
17921 wine_fn_config_dll dpnet enable_dpnet clean,implib
17922 wine_fn_config_test dlls/dpnet/tests dpnet_test
17923 wine_fn_config_dll dpnhpast enable_dpnhpast
17924 wine_fn_config_dll dpnlobby enable_dpnlobby
17925 wine_fn_config_dll dpvoice enable_dpvoice clean
17926 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17927 wine_fn_config_dll dpwsockx enable_dpwsockx
17928 wine_fn_config_dll drmclien enable_drmclien
17929 wine_fn_config_dll dsound enable_dsound clean,implib
17930 wine_fn_config_test dlls/dsound/tests dsound_test
17931 wine_fn_config_dll dssenh enable_dssenh
17932 wine_fn_config_test dlls/dssenh/tests dssenh_test
17933 wine_fn_config_dll dswave enable_dswave clean
17934 wine_fn_config_test dlls/dswave/tests dswave_test
17935 wine_fn_config_dll dwmapi enable_dwmapi implib
17936 wine_fn_config_dll dwrite enable_dwrite implib
17937 wine_fn_config_test dlls/dwrite/tests dwrite_test
17938 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17939 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17940 wine_fn_config_lib dxerr8
17941 wine_fn_config_lib dxerr9
17942 wine_fn_config_dll dxgi enable_dxgi implib
17943 wine_fn_config_test dlls/dxgi/tests dxgi_test
17944 wine_fn_config_lib dxguid
17945 wine_fn_config_dll dxva2 enable_dxva2
17946 wine_fn_config_dll esent enable_esent
17947 wine_fn_config_dll evr enable_evr
17948 wine_fn_config_dll explorerframe enable_explorerframe clean
17949 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17950 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17951 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17952 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17953 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17954 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17955 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17956 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17957 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17958 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17959 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17960 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17961 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17962 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17963 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
17964 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17965 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17966 wine_fn_config_dll faultrep enable_faultrep implib
17967 wine_fn_config_test dlls/faultrep/tests faultrep_test
17968 wine_fn_config_dll fltlib enable_fltlib
17969 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17970 wine_fn_config_dll fntcache enable_fntcache
17971 wine_fn_config_dll fontsub enable_fontsub
17972 wine_fn_config_dll fusion enable_fusion
17973 wine_fn_config_test dlls/fusion/tests fusion_test
17974 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17975 wine_fn_config_dll gameux enable_gameux clean
17976 wine_fn_config_test dlls/gameux/tests gameux_test
17977 wine_fn_config_dll gdi.exe16 enable_win16
17978 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17979 wine_fn_config_test dlls/gdi32/tests gdi32_test
17980 wine_fn_config_dll gdiplus enable_gdiplus implib
17981 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17982 wine_fn_config_dll glu32 enable_glu32 implib
17983 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17984 wine_fn_config_dll gpkcsp enable_gpkcsp
17985 wine_fn_config_dll hal enable_hal
17986 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17987 wine_fn_config_dll hid enable_hid implib
17988 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17989 wine_fn_config_dll hlink enable_hlink clean,implib
17990 wine_fn_config_test dlls/hlink/tests hlink_test
17991 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17992 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17993 wine_fn_config_dll httpapi enable_httpapi
17994 wine_fn_config_dll iccvid enable_iccvid clean
17995 wine_fn_config_dll icmp enable_icmp
17996 wine_fn_config_dll ieframe enable_ieframe clean,implib
17997 wine_fn_config_test dlls/ieframe/tests ieframe_test
17998 wine_fn_config_dll ifsmgr.vxd enable_win16
17999 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18000 wine_fn_config_dll imagehlp enable_imagehlp implib
18001 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18002 wine_fn_config_dll imm.dll16 enable_win16
18003 wine_fn_config_dll imm32 enable_imm32 implib
18004 wine_fn_config_test dlls/imm32/tests imm32_test
18005 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18006 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18007 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18008 wine_fn_config_dll inetmib1 enable_inetmib1
18009 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18010 wine_fn_config_dll infosoft enable_infosoft clean
18011 wine_fn_config_test dlls/infosoft/tests infosoft_test
18012 wine_fn_config_dll initpki enable_initpki
18013 wine_fn_config_dll inkobj enable_inkobj
18014 wine_fn_config_dll inseng enable_inseng clean
18015 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18016 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18017 wine_fn_config_dll iprop enable_iprop
18018 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18019 wine_fn_config_dll itircl enable_itircl
18020 wine_fn_config_dll itss enable_itss clean
18021 wine_fn_config_test dlls/itss/tests itss_test
18022 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18023 wine_fn_config_dll jscript enable_jscript clean
18024 wine_fn_config_test dlls/jscript/tests jscript_test
18025 wine_fn_config_dll jsproxy enable_jsproxy implib
18026 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18027 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18028 wine_fn_config_test dlls/kernel32/tests kernel32_test
18029 wine_fn_config_dll kernelbase enable_kernelbase
18030 wine_fn_config_dll keyboard.drv16 enable_win16
18031 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18032 wine_fn_config_dll ksuser enable_ksuser
18033 wine_fn_config_dll ktmw32 enable_ktmw32
18034 wine_fn_config_dll loadperf enable_loadperf implib
18035 wine_fn_config_dll localspl enable_localspl clean
18036 wine_fn_config_test dlls/localspl/tests localspl_test
18037 wine_fn_config_dll localui enable_localui clean
18038 wine_fn_config_test dlls/localui/tests localui_test
18039 wine_fn_config_dll lz32 enable_lz32 implib
18040 wine_fn_config_test dlls/lz32/tests lz32_test
18041 wine_fn_config_dll lzexpand.dll16 enable_win16
18042 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18043 wine_fn_config_test dlls/mapi32/tests mapi32_test
18044 wine_fn_config_dll mapistub enable_mapistub
18045 wine_fn_config_dll mciavi32 enable_mciavi32
18046 wine_fn_config_dll mcicda enable_mcicda
18047 wine_fn_config_dll mciqtz32 enable_mciqtz32
18048 wine_fn_config_dll mciseq enable_mciseq
18049 wine_fn_config_dll mciwave enable_mciwave
18050 wine_fn_config_dll mf enable_mf
18051 wine_fn_config_dll mfplat enable_mfplat
18052 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18053 wine_fn_config_dll mgmtapi enable_mgmtapi
18054 wine_fn_config_dll midimap enable_midimap
18055 wine_fn_config_dll mlang enable_mlang clean,implib
18056 wine_fn_config_test dlls/mlang/tests mlang_test
18057 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18058 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18059 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18060 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18061 wine_fn_config_dll mmdevldr.vxd enable_win16
18062 wine_fn_config_dll mmsystem.dll16 enable_win16
18063 wine_fn_config_dll monodebg.vxd enable_win16
18064 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18065 wine_fn_config_dll mouse.drv16 enable_win16
18066 wine_fn_config_dll mpr enable_mpr clean,implib
18067 wine_fn_config_test dlls/mpr/tests mpr_test
18068 wine_fn_config_dll mprapi enable_mprapi implib
18069 wine_fn_config_dll msacm.dll16 enable_win16
18070 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18071 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18072 wine_fn_config_test dlls/msacm32/tests msacm32_test
18073 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18074 wine_fn_config_dll msasn1 enable_msasn1 implib
18075 wine_fn_config_dll mscat32 enable_mscat32
18076 wine_fn_config_dll mscms enable_mscms implib
18077 wine_fn_config_test dlls/mscms/tests mscms_test
18078 wine_fn_config_dll mscoree enable_mscoree clean
18079 wine_fn_config_test dlls/mscoree/tests mscoree_test
18080 wine_fn_config_dll msctf enable_msctf clean
18081 wine_fn_config_test dlls/msctf/tests msctf_test
18082 wine_fn_config_dll msctfp enable_msctfp clean
18083 wine_fn_config_dll msdaps enable_msdaps clean
18084 wine_fn_config_dll msdelta enable_msdelta
18085 wine_fn_config_dll msdmo enable_msdmo implib
18086 wine_fn_config_test dlls/msdmo/tests msdmo_test
18087 wine_fn_config_dll msdrm enable_msdrm
18088 wine_fn_config_dll msftedit enable_msftedit
18089 wine_fn_config_dll msg711.acm enable_msg711_acm
18090 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18091 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18092 wine_fn_config_dll mshtml enable_mshtml clean,implib
18093 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18094 wine_fn_config_dll msi enable_msi clean,implib
18095 wine_fn_config_test dlls/msi/tests msi_test
18096 wine_fn_config_dll msident enable_msident clean
18097 wine_fn_config_dll msimg32 enable_msimg32 implib
18098 wine_fn_config_dll msimsg enable_msimsg
18099 wine_fn_config_dll msimtf enable_msimtf clean
18100 wine_fn_config_dll msisip enable_msisip
18101 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18102 wine_fn_config_dll msls31 enable_msls31
18103 wine_fn_config_dll msnet32 enable_msnet32
18104 wine_fn_config_dll mspatcha enable_mspatcha implib
18105 wine_fn_config_dll msports enable_msports
18106 wine_fn_config_dll msrle32 enable_msrle32 clean
18107 wine_fn_config_test dlls/msrle32/tests msrle32_test
18108 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18109 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18110 wine_fn_config_dll mssign32 enable_mssign32
18111 wine_fn_config_dll mssip32 enable_mssip32
18112 wine_fn_config_dll mstask enable_mstask clean
18113 wine_fn_config_test dlls/mstask/tests mstask_test
18114 wine_fn_config_dll msvcirt enable_msvcirt
18115 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18116 wine_fn_config_dll msvcm80 enable_msvcm80
18117 wine_fn_config_dll msvcm90 enable_msvcm90
18118 wine_fn_config_dll msvcp100 enable_msvcp100
18119 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18120 wine_fn_config_dll msvcp110 enable_msvcp110
18121 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18122 wine_fn_config_dll msvcp120 enable_msvcp120
18123 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18124 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18125 wine_fn_config_dll msvcp140 enable_msvcp140
18126 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18127 wine_fn_config_dll msvcp60 enable_msvcp60
18128 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18129 wine_fn_config_dll msvcp70 enable_msvcp70
18130 wine_fn_config_dll msvcp71 enable_msvcp71
18131 wine_fn_config_dll msvcp80 enable_msvcp80
18132 wine_fn_config_dll msvcp90 enable_msvcp90
18133 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18134 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18135 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18136 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18137 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18138 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18139 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18140 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18141 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18142 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18143 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18144 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18145 wine_fn_config_dll msvcrt enable_msvcrt implib
18146 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18147 wine_fn_config_dll msvcrt20 enable_msvcrt20
18148 wine_fn_config_dll msvcrt40 enable_msvcrt40
18149 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18150 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18151 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18152 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18153 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18154 wine_fn_config_dll msvideo.dll16 enable_win16
18155 wine_fn_config_dll mswsock enable_mswsock implib
18156 wine_fn_config_dll msxml enable_msxml clean
18157 wine_fn_config_dll msxml2 enable_msxml2 clean
18158 wine_fn_config_dll msxml3 enable_msxml3 clean
18159 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18160 wine_fn_config_dll msxml4 enable_msxml4 clean
18161 wine_fn_config_dll msxml6 enable_msxml6 clean
18162 wine_fn_config_dll ncrypt enable_ncrypt
18163 wine_fn_config_dll nddeapi enable_nddeapi implib
18164 wine_fn_config_dll ndis.sys enable_ndis_sys
18165 wine_fn_config_dll netapi32 enable_netapi32 implib
18166 wine_fn_config_test dlls/netapi32/tests netapi32_test
18167 wine_fn_config_dll netcfgx enable_netcfgx clean
18168 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18169 wine_fn_config_dll netprofm enable_netprofm clean
18170 wine_fn_config_test dlls/netprofm/tests netprofm_test
18171 wine_fn_config_dll newdev enable_newdev implib
18172 wine_fn_config_dll normaliz enable_normaliz implib
18173 wine_fn_config_dll npmshtml enable_npmshtml
18174 wine_fn_config_dll npptools enable_npptools
18175 wine_fn_config_dll ntdll enable_ntdll implib
18176 wine_fn_config_test dlls/ntdll/tests ntdll_test
18177 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18178 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18179 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18180 wine_fn_config_dll ntprint enable_ntprint
18181 wine_fn_config_test dlls/ntprint/tests ntprint_test
18182 wine_fn_config_dll objsel enable_objsel clean
18183 wine_fn_config_dll odbc32 enable_odbc32 implib
18184 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18185 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18186 wine_fn_config_dll odbccu32 enable_odbccu32
18187 wine_fn_config_dll ole2.dll16 enable_win16
18188 wine_fn_config_dll ole2conv.dll16 enable_win16
18189 wine_fn_config_dll ole2disp.dll16 enable_win16
18190 wine_fn_config_dll ole2nls.dll16 enable_win16
18191 wine_fn_config_dll ole2prox.dll16 enable_win16
18192 wine_fn_config_dll ole2thk.dll16 enable_win16
18193 wine_fn_config_dll ole32 enable_ole32 clean,implib
18194 wine_fn_config_test dlls/ole32/tests ole32_test
18195 wine_fn_config_dll oleacc enable_oleacc clean,implib
18196 wine_fn_config_test dlls/oleacc/tests oleacc_test
18197 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18198 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18199 wine_fn_config_dll olecli.dll16 enable_win16
18200 wine_fn_config_dll olecli32 enable_olecli32 implib
18201 wine_fn_config_dll oledb32 enable_oledb32 clean
18202 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18203 wine_fn_config_dll oledlg enable_oledlg clean,implib
18204 wine_fn_config_test dlls/oledlg/tests oledlg_test
18205 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18206 wine_fn_config_dll olesvr.dll16 enable_win16
18207 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18208 wine_fn_config_dll olethk32 enable_olethk32
18209 wine_fn_config_dll openal32 enable_openal32
18210 wine_fn_config_dll opencl enable_opencl
18211 wine_fn_config_dll opengl32 enable_opengl32 implib
18212 wine_fn_config_test dlls/opengl32/tests opengl32_test
18213 wine_fn_config_dll packager enable_packager clean
18214 wine_fn_config_test dlls/packager/tests packager_test
18215 wine_fn_config_dll pdh enable_pdh implib
18216 wine_fn_config_test dlls/pdh/tests pdh_test
18217 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18218 wine_fn_config_dll pidgen enable_pidgen
18219 wine_fn_config_dll powrprof enable_powrprof implib
18220 wine_fn_config_dll printui enable_printui
18221 wine_fn_config_dll prntvpt enable_prntvpt
18222 wine_fn_config_dll propsys enable_propsys clean,implib
18223 wine_fn_config_test dlls/propsys/tests propsys_test
18224 wine_fn_config_dll psapi enable_psapi implib
18225 wine_fn_config_test dlls/psapi/tests psapi_test
18226 wine_fn_config_dll pstorec enable_pstorec clean
18227 wine_fn_config_dll qcap enable_qcap
18228 wine_fn_config_test dlls/qcap/tests qcap_test
18229 wine_fn_config_dll qedit enable_qedit clean
18230 wine_fn_config_test dlls/qedit/tests qedit_test
18231 wine_fn_config_dll qmgr enable_qmgr clean
18232 wine_fn_config_test dlls/qmgr/tests qmgr_test
18233 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18234 wine_fn_config_dll quartz enable_quartz clean,implib
18235 wine_fn_config_test dlls/quartz/tests quartz_test clean
18236 wine_fn_config_dll query enable_query
18237 wine_fn_config_dll rasapi16.dll16 enable_win16
18238 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18239 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18240 wine_fn_config_dll rasdlg enable_rasdlg implib
18241 wine_fn_config_dll regapi enable_regapi
18242 wine_fn_config_dll resutils enable_resutils implib
18243 wine_fn_config_dll riched20 enable_riched20 clean,implib
18244 wine_fn_config_test dlls/riched20/tests riched20_test
18245 wine_fn_config_dll riched32 enable_riched32
18246 wine_fn_config_test dlls/riched32/tests riched32_test
18247 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18248 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18249 wine_fn_config_dll rsabase enable_rsabase
18250 wine_fn_config_dll rsaenh enable_rsaenh implib
18251 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18252 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18253 wine_fn_config_dll rtutils enable_rtutils implib
18254 wine_fn_config_dll samlib enable_samlib
18255 wine_fn_config_dll sane.ds enable_sane_ds clean
18256 wine_fn_config_dll scarddlg enable_scarddlg
18257 wine_fn_config_dll sccbase enable_sccbase
18258 wine_fn_config_dll schannel enable_schannel
18259 wine_fn_config_test dlls/schannel/tests schannel_test
18260 wine_fn_config_dll schedsvc enable_schedsvc clean
18261 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18262 wine_fn_config_dll scrrun enable_scrrun clean
18263 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18264 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18265 wine_fn_config_dll secur32 enable_secur32 implib
18266 wine_fn_config_test dlls/secur32/tests secur32_test
18267 wine_fn_config_dll security enable_security
18268 wine_fn_config_dll sensapi enable_sensapi implib
18269 wine_fn_config_dll serialui enable_serialui clean
18270 wine_fn_config_test dlls/serialui/tests serialui_test
18271 wine_fn_config_dll setupapi enable_setupapi clean,implib
18272 wine_fn_config_test dlls/setupapi/tests setupapi_test
18273 wine_fn_config_dll setupx.dll16 enable_win16
18274 wine_fn_config_dll sfc enable_sfc implib
18275 wine_fn_config_dll sfc_os enable_sfc_os implib
18276 wine_fn_config_dll shdoclc enable_shdoclc clean
18277 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18278 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18279 wine_fn_config_dll shell.dll16 enable_win16
18280 wine_fn_config_dll shell32 enable_shell32 clean,implib
18281 wine_fn_config_test dlls/shell32/tests shell32_test
18282 wine_fn_config_dll shfolder enable_shfolder implib
18283 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18284 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18285 wine_fn_config_dll slbcsp enable_slbcsp
18286 wine_fn_config_dll slc enable_slc implib
18287 wine_fn_config_test dlls/slc/tests slc_test
18288 wine_fn_config_dll snmpapi enable_snmpapi implib
18289 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18290 wine_fn_config_dll softpub enable_softpub
18291 wine_fn_config_dll sound.drv16 enable_win16
18292 wine_fn_config_dll spoolss enable_spoolss implib
18293 wine_fn_config_test dlls/spoolss/tests spoolss_test
18294 wine_fn_config_dll sspicli enable_sspicli
18295 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18296 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18297 wine_fn_config_dll sti enable_sti clean,implib
18298 wine_fn_config_test dlls/sti/tests sti_test
18299 wine_fn_config_dll storage.dll16 enable_win16
18300 wine_fn_config_dll stress.dll16 enable_win16
18301 wine_fn_config_lib strmbase
18302 wine_fn_config_lib strmiids
18303 wine_fn_config_dll svrapi enable_svrapi
18304 wine_fn_config_dll sxs enable_sxs implib
18305 wine_fn_config_test dlls/sxs/tests sxs_test
18306 wine_fn_config_dll system.drv16 enable_win16
18307 wine_fn_config_dll t2embed enable_t2embed implib
18308 wine_fn_config_test dlls/t2embed/tests t2embed_test
18309 wine_fn_config_dll tapi32 enable_tapi32 implib
18310 wine_fn_config_dll taskschd enable_taskschd clean
18311 wine_fn_config_test dlls/taskschd/tests taskschd_test
18312 wine_fn_config_dll tdi.sys enable_tdi_sys
18313 wine_fn_config_dll toolhelp.dll16 enable_win16
18314 wine_fn_config_dll traffic enable_traffic
18315 wine_fn_config_dll twain.dll16 enable_win16
18316 wine_fn_config_dll twain_32 enable_twain_32
18317 wine_fn_config_test dlls/twain_32/tests twain_32_test
18318 wine_fn_config_dll typelib.dll16 enable_win16
18319 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18320 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18321 wine_fn_config_dll unicows enable_unicows implib
18322 wine_fn_config_dll updspapi enable_updspapi
18323 wine_fn_config_dll url enable_url implib
18324 wine_fn_config_dll urlmon enable_urlmon clean,implib
18325 wine_fn_config_test dlls/urlmon/tests urlmon_test
18326 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18327 wine_fn_config_dll user.exe16 enable_win16
18328 wine_fn_config_dll user32 enable_user32 clean,implib
18329 wine_fn_config_test dlls/user32/tests user32_test
18330 wine_fn_config_dll userenv enable_userenv implib
18331 wine_fn_config_test dlls/userenv/tests userenv_test
18332 wine_fn_config_dll usp10 enable_usp10 implib
18333 wine_fn_config_test dlls/usp10/tests usp10_test
18334 wine_fn_config_lib uuid
18335 wine_fn_config_dll uxtheme enable_uxtheme implib
18336 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18337 wine_fn_config_dll vbscript enable_vbscript clean
18338 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18339 wine_fn_config_dll vcomp enable_vcomp
18340 wine_fn_config_test dlls/vcomp/tests vcomp_test
18341 wine_fn_config_dll vcomp100 enable_vcomp100
18342 wine_fn_config_dll vcomp110 enable_vcomp110
18343 wine_fn_config_dll vcomp120 enable_vcomp120
18344 wine_fn_config_dll vcomp140 enable_vcomp140
18345 wine_fn_config_dll vcomp90 enable_vcomp90
18346 wine_fn_config_dll vcruntime140 enable_vcruntime140
18347 wine_fn_config_dll vdhcp.vxd enable_win16
18348 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18349 wine_fn_config_dll ver.dll16 enable_win16
18350 wine_fn_config_dll version enable_version implib
18351 wine_fn_config_test dlls/version/tests version_test
18352 wine_fn_config_dll vmm.vxd enable_win16
18353 wine_fn_config_dll vnbt.vxd enable_win16
18354 wine_fn_config_dll vnetbios.vxd enable_win16
18355 wine_fn_config_dll vssapi enable_vssapi
18356 wine_fn_config_dll vtdapi.vxd enable_win16
18357 wine_fn_config_dll vwin32.vxd enable_win16
18358 wine_fn_config_dll w32skrnl enable_win16
18359 wine_fn_config_dll w32sys.dll16 enable_win16
18360 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18361 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18362 wine_fn_config_dll wbemprox enable_wbemprox clean
18363 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18364 wine_fn_config_dll webservices enable_webservices implib
18365 wine_fn_config_test dlls/webservices/tests webservices_test
18366 wine_fn_config_dll wer enable_wer implib
18367 wine_fn_config_test dlls/wer/tests wer_test
18368 wine_fn_config_dll wevtapi enable_wevtapi
18369 wine_fn_config_dll wiaservc enable_wiaservc clean
18370 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18371 wine_fn_config_dll wimgapi enable_wimgapi
18372 wine_fn_config_dll win32s16.dll16 enable_win16
18373 wine_fn_config_dll win87em.dll16 enable_win16
18374 wine_fn_config_dll winaspi.dll16 enable_win16
18375 wine_fn_config_dll windebug.dll16 enable_win16
18376 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18377 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18378 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18379 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18380 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18381 wine_fn_config_dll winebus.sys enable_winebus_sys
18382 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18383 wine_fn_config_lib winecrt0
18384 wine_fn_config_dll wined3d enable_wined3d implib
18385 wine_fn_config_dll winegstreamer enable_winegstreamer
18386 wine_fn_config_dll winehid.sys enable_winehid_sys
18387 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18388 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18389 wine_fn_config_dll winemapi enable_winemapi
18390 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18391 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18392 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18393 wine_fn_config_dll wineps16.drv16 enable_win16
18394 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18395 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18396 wine_fn_config_dll winex11.drv enable_winex11_drv
18397 wine_fn_config_dll wing.dll16 enable_win16
18398 wine_fn_config_dll wing32 enable_wing32
18399 wine_fn_config_dll winhttp enable_winhttp clean,implib
18400 wine_fn_config_test dlls/winhttp/tests winhttp_test
18401 wine_fn_config_dll wininet enable_wininet clean,implib
18402 wine_fn_config_test dlls/wininet/tests wininet_test
18403 wine_fn_config_dll winmm enable_winmm clean,implib
18404 wine_fn_config_test dlls/winmm/tests winmm_test
18405 wine_fn_config_dll winnls.dll16 enable_win16
18406 wine_fn_config_dll winnls32 enable_winnls32 implib
18407 wine_fn_config_dll winscard enable_winscard implib
18408 wine_fn_config_dll winsock.dll16 enable_win16
18409 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18410 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18411 wine_fn_config_dll winsta enable_winsta
18412 wine_fn_config_dll wintab.dll16 enable_win16
18413 wine_fn_config_dll wintab32 enable_wintab32 implib
18414 wine_fn_config_test dlls/wintab32/tests wintab32_test
18415 wine_fn_config_dll wintrust enable_wintrust implib
18416 wine_fn_config_test dlls/wintrust/tests wintrust_test
18417 wine_fn_config_dll wlanapi enable_wlanapi
18418 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18419 wine_fn_config_test dlls/wldap32/tests wldap32_test
18420 wine_fn_config_dll wmasf enable_wmasf
18421 wine_fn_config_dll wmi enable_wmi
18422 wine_fn_config_dll wmiutils enable_wmiutils clean
18423 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18424 wine_fn_config_dll wmp enable_wmp clean
18425 wine_fn_config_test dlls/wmp/tests wmp_test
18426 wine_fn_config_dll wmvcore enable_wmvcore
18427 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18428 wine_fn_config_dll wow32 enable_win16 implib
18429 wine_fn_config_dll wpc enable_wpc clean
18430 wine_fn_config_test dlls/wpc/tests wpc_test
18431 wine_fn_config_dll wpcap enable_wpcap
18432 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18433 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18434 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18435 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18436 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18437 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18438 wine_fn_config_dll wsock32 enable_wsock32 implib
18439 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18440 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18441 wine_fn_config_dll wuapi enable_wuapi clean
18442 wine_fn_config_dll wuaueng enable_wuaueng
18443 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18444 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18445 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18446 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18447 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18448 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18449 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18450 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18451 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18452 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18453 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18454 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18455 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18456 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18457 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18458 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18459 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18460 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18461 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18462 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18463 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18464 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18465 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18466 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18467 wine_fn_config_dll xinput1_1 enable_xinput1_1
18468 wine_fn_config_dll xinput1_2 enable_xinput1_2
18469 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18470 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18471 wine_fn_config_dll xinput1_4 enable_xinput1_4
18472 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18473 wine_fn_config_dll xmllite enable_xmllite implib
18474 wine_fn_config_test dlls/xmllite/tests xmllite_test
18475 wine_fn_config_dll xolehlp enable_xolehlp
18476 wine_fn_config_dll xpsprint enable_xpsprint
18477 wine_fn_config_dll xpssvcs enable_xpssvcs
18478 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18479 wine_fn_config_makefile include enable_include clean,install-dev
18480 wine_fn_config_makefile libs/port enable_libs_port
18481 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18482 wine_fn_config_makefile libs/wpp enable_libs_wpp
18483 wine_fn_config_makefile loader enable_loader clean,install-lib
18484 wine_fn_config_makefile po enable_po clean
18485 wine_fn_config_program arp enable_arp install
18486 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18487 wine_fn_config_program attrib enable_attrib clean,install
18488 wine_fn_config_program cabarc enable_cabarc install
18489 wine_fn_config_program cacls enable_cacls install
18490 wine_fn_config_program clock enable_clock clean,install
18491 wine_fn_config_program cmd enable_cmd clean,install
18492 wine_fn_config_test programs/cmd/tests cmd.exe_test
18493 wine_fn_config_program conhost enable_conhost install
18494 wine_fn_config_program control enable_control install
18495 wine_fn_config_program cscript enable_cscript clean,install
18496 wine_fn_config_program dpnsvr enable_dpnsvr install
18497 wine_fn_config_program dxdiag enable_dxdiag clean,install
18498 wine_fn_config_program eject enable_eject install
18499 wine_fn_config_program expand enable_expand install
18500 wine_fn_config_program explorer enable_explorer clean,install
18501 wine_fn_config_program extrac32 enable_extrac32 install
18502 wine_fn_config_program findstr enable_findstr install
18503 wine_fn_config_program fsutil enable_fsutil install
18504 wine_fn_config_program hh enable_hh install
18505 wine_fn_config_program hostname enable_hostname clean,install
18506 wine_fn_config_program icacls enable_icacls install
18507 wine_fn_config_program icinfo enable_icinfo install
18508 wine_fn_config_program iexplore enable_iexplore install
18509 wine_fn_config_program ipconfig enable_ipconfig clean,install
18510 wine_fn_config_program lodctr enable_lodctr install
18511 wine_fn_config_program mofcomp enable_mofcomp install
18512 wine_fn_config_program mshta enable_mshta install
18513 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18514 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18515 wine_fn_config_program net enable_net clean,install
18516 wine_fn_config_program netsh enable_netsh install
18517 wine_fn_config_program netstat enable_netstat clean,install
18518 wine_fn_config_program ngen enable_ngen install
18519 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18520 wine_fn_config_program oleview enable_oleview clean,install
18521 wine_fn_config_program ping enable_ping install
18522 wine_fn_config_program plugplay enable_plugplay install
18523 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18524 wine_fn_config_program progman enable_progman clean,install
18525 wine_fn_config_program reg enable_reg clean,install
18526 wine_fn_config_test programs/reg/tests reg.exe_test
18527 wine_fn_config_program regasm enable_regasm install
18528 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18529 wine_fn_config_test programs/regedit/tests regedit.exe_test
18530 wine_fn_config_program regsvcs enable_regsvcs install
18531 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18532 wine_fn_config_program rpcss enable_rpcss clean,install
18533 wine_fn_config_program rundll.exe16 enable_win16 install
18534 wine_fn_config_program rundll32 enable_rundll32 install
18535 wine_fn_config_program sc enable_sc install
18536 wine_fn_config_program schtasks enable_schtasks install
18537 wine_fn_config_program sdbinst enable_sdbinst install
18538 wine_fn_config_program secedit enable_secedit install
18539 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18540 wine_fn_config_program services enable_services clean,install
18541 wine_fn_config_test programs/services/tests services.exe_test
18542 wine_fn_config_program shutdown enable_shutdown install
18543 wine_fn_config_program spoolsv enable_spoolsv install
18544 wine_fn_config_program start enable_start clean,install
18545 wine_fn_config_program subst enable_subst install
18546 wine_fn_config_program svchost enable_svchost install
18547 wine_fn_config_program systeminfo enable_systeminfo install
18548 wine_fn_config_program taskkill enable_taskkill clean,install
18549 wine_fn_config_program tasklist enable_tasklist install
18550 wine_fn_config_program taskmgr enable_taskmgr clean,install
18551 wine_fn_config_program termsv enable_termsv install
18552 wine_fn_config_program uninstaller enable_uninstaller clean,install
18553 wine_fn_config_program unlodctr enable_unlodctr install
18554 wine_fn_config_program view enable_view clean,install
18555 wine_fn_config_program wevtutil enable_wevtutil install
18556 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18557 wine_fn_config_program winebrowser enable_winebrowser install
18558 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18559 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18560 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18561 wine_fn_config_program winedevice enable_winedevice install
18562 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18563 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18564 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18565 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18566 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18567 wine_fn_config_program winetest enable_winetest clean
18568 wine_fn_config_program winevdm enable_win16 install
18569 wine_fn_config_program winhelp.exe16 enable_win16 install
18570 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18571 wine_fn_config_program winoldap.mod16 enable_win16 install
18572 wine_fn_config_program winver enable_winver install
18573 wine_fn_config_program wmic enable_wmic clean,install
18574 wine_fn_config_program wmplayer enable_wmplayer install
18575 wine_fn_config_program wordpad enable_wordpad clean,install
18576 wine_fn_config_program write enable_write clean,install
18577 wine_fn_config_program wscript enable_wscript clean,install
18578 wine_fn_config_test programs/wscript/tests wscript.exe_test
18579 wine_fn_config_program wusa enable_wusa install
18580 wine_fn_config_program xcopy enable_xcopy clean,install
18581 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18582 wine_fn_config_makefile server enable_server clean,install-lib
18583 wine_fn_config_tool tools clean
18584 wine_fn_config_tool tools/sfnt2fon clean
18585 wine_fn_config_tool tools/widl clean,install-dev
18586 wine_fn_config_tool tools/winebuild clean,install-dev
18587 wine_fn_config_tool tools/winedump clean,install-dev
18588 wine_fn_config_tool tools/winegcc clean,install-dev
18589 wine_fn_config_tool tools/winemaker clean,install-dev
18590 wine_fn_config_tool tools/wmc clean,install-dev
18591 wine_fn_config_tool tools/wrc clean,install-dev
18594 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18595 wine_fn_append_file CONFIGURE_TARGETS "tags"
18596 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18597 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18598 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18599 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18600 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18601 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18603 if test "x$enable_tools" != xno
18604 then
18605 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18606 ac_config_commands="$ac_config_commands tools/makedep"
18610 ac_config_commands="$ac_config_commands Makefile"
18613 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18617 if test "x$enable_maintainer_mode" = xyes
18618 then
18619 wine_fn_append_rule "configure: configure.ac aclocal.m4
18620 autoconf --warnings=all
18621 include/config.h.in: include/stamp-h.in
18622 include/stamp-h.in: configure.ac aclocal.m4
18623 autoheader --warnings=all
18624 @echo timestamp > \$@"
18627 if test "x$enable_tools" != xno
18628 then
18629 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18630 @./config.status tools/makedep
18631 Makefile: tools/makedep$ac_exeext"
18632 else
18633 wine_fn_append_rule "\$(MAKEDEP):
18634 @echo \"You need to run make in $TOOLSDIR first\" && false"
18637 if test -n "$with_wine64"
18638 then
18639 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18640 fonts server:
18641 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18642 $with_wine64/loader/wine:
18643 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18644 $with_wine64/loader/wine-preloader:
18645 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18646 clean::
18647 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18648 else
18649 WINELOADER_INSTALL="wine.inf"
18651 wine_fn_append_rule "install install-lib::
18652 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18653 uninstall::
18654 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18655 case $host_os in
18656 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18657 *) wine_fn_append_rule "install install-lib::
18658 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18659 uninstall::
18660 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18661 esac
18664 $as_echo " done" >&6
18665 cat >confcache <<\_ACEOF
18666 # This file is a shell script that caches the results of configure
18667 # tests run on this system so they can be shared between configure
18668 # scripts and configure runs, see configure's option --config-cache.
18669 # It is not useful on other systems. If it contains results you don't
18670 # want to keep, you may remove or edit it.
18672 # config.status only pays attention to the cache file if you give it
18673 # the --recheck option to rerun configure.
18675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18677 # following values.
18679 _ACEOF
18681 # The following way of writing the cache mishandles newlines in values,
18682 # but we know of no workaround that is simple, portable, and efficient.
18683 # So, we kill variables containing newlines.
18684 # Ultrix sh set writes to stderr and can't be redirected directly,
18685 # and sets the high bit in the cache file unless we assign to the vars.
18687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18688 eval ac_val=\$$ac_var
18689 case $ac_val in #(
18690 *${as_nl}*)
18691 case $ac_var in #(
18692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18694 esac
18695 case $ac_var in #(
18696 _ | IFS | as_nl) ;; #(
18697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18698 *) { eval $ac_var=; unset $ac_var;} ;;
18699 esac ;;
18700 esac
18701 done
18703 (set) 2>&1 |
18704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18705 *${as_nl}ac_space=\ *)
18706 # `set' does not quote correctly, so add quotes: double-quote
18707 # substitution turns \\\\ into \\, and sed turns \\ into \.
18708 sed -n \
18709 "s/'/'\\\\''/g;
18710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18711 ;; #(
18713 # `set' quotes correctly as required by POSIX, so do not add quotes.
18714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18716 esac |
18717 sort
18719 sed '
18720 /^ac_cv_env_/b end
18721 t clear
18722 :clear
18723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18724 t end
18725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18726 :end' >>confcache
18727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18728 if test -w "$cache_file"; then
18729 if test "x$cache_file" != "x/dev/null"; then
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18731 $as_echo "$as_me: updating cache $cache_file" >&6;}
18732 if test ! -f "$cache_file" || test -h "$cache_file"; then
18733 cat confcache >"$cache_file"
18734 else
18735 case $cache_file in #(
18736 */* | ?:*)
18737 mv -f confcache "$cache_file"$$ &&
18738 mv -f "$cache_file"$$ "$cache_file" ;; #(
18740 mv -f confcache "$cache_file" ;;
18741 esac
18744 else
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18746 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18749 rm -f confcache
18751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18752 # Let make expand exec_prefix.
18753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18755 DEFS=-DHAVE_CONFIG_H
18757 ac_libobjs=
18758 ac_ltlibobjs=
18760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18761 # 1. Remove the extension, and $U if already installed.
18762 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18763 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18765 # will be set to the directory where LIBOBJS objects are built.
18766 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18767 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18768 done
18769 LIBOBJS=$ac_libobjs
18771 LTLIBOBJS=$ac_ltlibobjs
18775 : "${CONFIG_STATUS=./config.status}"
18776 ac_write_fail=0
18777 ac_clean_files_save=$ac_clean_files
18778 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18780 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18781 as_write_fail=0
18782 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18783 #! $SHELL
18784 # Generated by $as_me.
18785 # Run this file to recreate the current configuration.
18786 # Compiler output produced by configure, useful for debugging
18787 # configure, is in config.log if it exists.
18789 debug=false
18790 ac_cs_recheck=false
18791 ac_cs_silent=false
18793 SHELL=\${CONFIG_SHELL-$SHELL}
18794 export SHELL
18795 _ASEOF
18796 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18797 ## -------------------- ##
18798 ## M4sh Initialization. ##
18799 ## -------------------- ##
18801 # Be more Bourne compatible
18802 DUALCASE=1; export DUALCASE # for MKS sh
18803 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18804 emulate sh
18805 NULLCMD=:
18806 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18807 # is contrary to our usage. Disable this feature.
18808 alias -g '${1+"$@"}'='"$@"'
18809 setopt NO_GLOB_SUBST
18810 else
18811 case `(set -o) 2>/dev/null` in #(
18812 *posix*) :
18813 set -o posix ;; #(
18814 *) :
18816 esac
18820 as_nl='
18822 export as_nl
18823 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18824 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18825 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18826 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18827 # Prefer a ksh shell builtin over an external printf program on Solaris,
18828 # but without wasting forks for bash or zsh.
18829 if test -z "$BASH_VERSION$ZSH_VERSION" \
18830 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18831 as_echo='print -r --'
18832 as_echo_n='print -rn --'
18833 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18834 as_echo='printf %s\n'
18835 as_echo_n='printf %s'
18836 else
18837 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18838 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18839 as_echo_n='/usr/ucb/echo -n'
18840 else
18841 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18842 as_echo_n_body='eval
18843 arg=$1;
18844 case $arg in #(
18845 *"$as_nl"*)
18846 expr "X$arg" : "X\\(.*\\)$as_nl";
18847 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18848 esac;
18849 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18851 export as_echo_n_body
18852 as_echo_n='sh -c $as_echo_n_body as_echo'
18854 export as_echo_body
18855 as_echo='sh -c $as_echo_body as_echo'
18858 # The user is always right.
18859 if test "${PATH_SEPARATOR+set}" != set; then
18860 PATH_SEPARATOR=:
18861 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18862 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18863 PATH_SEPARATOR=';'
18868 # IFS
18869 # We need space, tab and new line, in precisely that order. Quoting is
18870 # there to prevent editors from complaining about space-tab.
18871 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18872 # splitting by setting IFS to empty value.)
18873 IFS=" "" $as_nl"
18875 # Find who we are. Look in the path if we contain no directory separator.
18876 as_myself=
18877 case $0 in #((
18878 *[\\/]* ) as_myself=$0 ;;
18879 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18880 for as_dir in $PATH
18882 IFS=$as_save_IFS
18883 test -z "$as_dir" && as_dir=.
18884 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18885 done
18886 IFS=$as_save_IFS
18889 esac
18890 # We did not find ourselves, most probably we were run as `sh COMMAND'
18891 # in which case we are not to be found in the path.
18892 if test "x$as_myself" = x; then
18893 as_myself=$0
18895 if test ! -f "$as_myself"; then
18896 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18897 exit 1
18900 # Unset variables that we do not need and which cause bugs (e.g. in
18901 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18902 # suppresses any "Segmentation fault" message there. '((' could
18903 # trigger a bug in pdksh 5.2.14.
18904 for as_var in BASH_ENV ENV MAIL MAILPATH
18905 do eval test x\${$as_var+set} = xset \
18906 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18907 done
18908 PS1='$ '
18909 PS2='> '
18910 PS4='+ '
18912 # NLS nuisances.
18913 LC_ALL=C
18914 export LC_ALL
18915 LANGUAGE=C
18916 export LANGUAGE
18918 # CDPATH.
18919 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18922 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18923 # ----------------------------------------
18924 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18925 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18926 # script with STATUS, using 1 if that was 0.
18927 as_fn_error ()
18929 as_status=$1; test $as_status -eq 0 && as_status=1
18930 if test "$4"; then
18931 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18932 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18934 $as_echo "$as_me: error: $2" >&2
18935 as_fn_exit $as_status
18936 } # as_fn_error
18939 # as_fn_set_status STATUS
18940 # -----------------------
18941 # Set $? to STATUS, without forking.
18942 as_fn_set_status ()
18944 return $1
18945 } # as_fn_set_status
18947 # as_fn_exit STATUS
18948 # -----------------
18949 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18950 as_fn_exit ()
18952 set +e
18953 as_fn_set_status $1
18954 exit $1
18955 } # as_fn_exit
18957 # as_fn_unset VAR
18958 # ---------------
18959 # Portably unset VAR.
18960 as_fn_unset ()
18962 { eval $1=; unset $1;}
18964 as_unset=as_fn_unset
18965 # as_fn_append VAR VALUE
18966 # ----------------------
18967 # Append the text in VALUE to the end of the definition contained in VAR. Take
18968 # advantage of any shell optimizations that allow amortized linear growth over
18969 # repeated appends, instead of the typical quadratic growth present in naive
18970 # implementations.
18971 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18972 eval 'as_fn_append ()
18974 eval $1+=\$2
18976 else
18977 as_fn_append ()
18979 eval $1=\$$1\$2
18981 fi # as_fn_append
18983 # as_fn_arith ARG...
18984 # ------------------
18985 # Perform arithmetic evaluation on the ARGs, and store the result in the
18986 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18987 # must be portable across $(()) and expr.
18988 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18989 eval 'as_fn_arith ()
18991 as_val=$(( $* ))
18993 else
18994 as_fn_arith ()
18996 as_val=`expr "$@" || test $? -eq 1`
18998 fi # as_fn_arith
19001 if expr a : '\(a\)' >/dev/null 2>&1 &&
19002 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19003 as_expr=expr
19004 else
19005 as_expr=false
19008 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19009 as_basename=basename
19010 else
19011 as_basename=false
19014 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19015 as_dirname=dirname
19016 else
19017 as_dirname=false
19020 as_me=`$as_basename -- "$0" ||
19021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19022 X"$0" : 'X\(//\)$' \| \
19023 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19024 $as_echo X/"$0" |
19025 sed '/^.*\/\([^/][^/]*\)\/*$/{
19026 s//\1/
19029 /^X\/\(\/\/\)$/{
19030 s//\1/
19033 /^X\/\(\/\).*/{
19034 s//\1/
19037 s/.*/./; q'`
19039 # Avoid depending upon Character Ranges.
19040 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19041 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19042 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19043 as_cr_digits='0123456789'
19044 as_cr_alnum=$as_cr_Letters$as_cr_digits
19046 ECHO_C= ECHO_N= ECHO_T=
19047 case `echo -n x` in #(((((
19048 -n*)
19049 case `echo 'xy\c'` in
19050 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19051 xy) ECHO_C='\c';;
19052 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19053 ECHO_T=' ';;
19054 esac;;
19056 ECHO_N='-n';;
19057 esac
19059 rm -f conf$$ conf$$.exe conf$$.file
19060 if test -d conf$$.dir; then
19061 rm -f conf$$.dir/conf$$.file
19062 else
19063 rm -f conf$$.dir
19064 mkdir conf$$.dir 2>/dev/null
19066 if (echo >conf$$.file) 2>/dev/null; then
19067 if ln -s conf$$.file conf$$ 2>/dev/null; then
19068 as_ln_s='ln -s'
19069 # ... but there are two gotchas:
19070 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19071 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19072 # In both cases, we have to default to `cp -pR'.
19073 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19074 as_ln_s='cp -pR'
19075 elif ln conf$$.file conf$$ 2>/dev/null; then
19076 as_ln_s=ln
19077 else
19078 as_ln_s='cp -pR'
19080 else
19081 as_ln_s='cp -pR'
19083 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19084 rmdir conf$$.dir 2>/dev/null
19087 # as_fn_mkdir_p
19088 # -------------
19089 # Create "$as_dir" as a directory, including parents if necessary.
19090 as_fn_mkdir_p ()
19093 case $as_dir in #(
19094 -*) as_dir=./$as_dir;;
19095 esac
19096 test -d "$as_dir" || eval $as_mkdir_p || {
19097 as_dirs=
19098 while :; do
19099 case $as_dir in #(
19100 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19101 *) as_qdir=$as_dir;;
19102 esac
19103 as_dirs="'$as_qdir' $as_dirs"
19104 as_dir=`$as_dirname -- "$as_dir" ||
19105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19106 X"$as_dir" : 'X\(//\)[^/]' \| \
19107 X"$as_dir" : 'X\(//\)$' \| \
19108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19109 $as_echo X"$as_dir" |
19110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19111 s//\1/
19114 /^X\(\/\/\)[^/].*/{
19115 s//\1/
19118 /^X\(\/\/\)$/{
19119 s//\1/
19122 /^X\(\/\).*/{
19123 s//\1/
19126 s/.*/./; q'`
19127 test -d "$as_dir" && break
19128 done
19129 test -z "$as_dirs" || eval "mkdir $as_dirs"
19130 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19133 } # as_fn_mkdir_p
19134 if mkdir -p . 2>/dev/null; then
19135 as_mkdir_p='mkdir -p "$as_dir"'
19136 else
19137 test -d ./-p && rmdir ./-p
19138 as_mkdir_p=false
19142 # as_fn_executable_p FILE
19143 # -----------------------
19144 # Test if FILE is an executable regular file.
19145 as_fn_executable_p ()
19147 test -f "$1" && test -x "$1"
19148 } # as_fn_executable_p
19149 as_test_x='test -x'
19150 as_executable_p=as_fn_executable_p
19152 # Sed expression to map a string onto a valid CPP name.
19153 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19155 # Sed expression to map a string onto a valid variable name.
19156 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19159 exec 6>&1
19160 ## ----------------------------------- ##
19161 ## Main body of $CONFIG_STATUS script. ##
19162 ## ----------------------------------- ##
19163 _ASEOF
19164 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19167 # Save the log message, to keep $0 and so on meaningful, and to
19168 # report actual input values of CONFIG_FILES etc. instead of their
19169 # values after options handling.
19170 ac_log="
19171 This file was extended by Wine $as_me 1.9.23, which was
19172 generated by GNU Autoconf 2.69. Invocation command line was
19174 CONFIG_FILES = $CONFIG_FILES
19175 CONFIG_HEADERS = $CONFIG_HEADERS
19176 CONFIG_LINKS = $CONFIG_LINKS
19177 CONFIG_COMMANDS = $CONFIG_COMMANDS
19178 $ $0 $@
19180 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19183 _ACEOF
19185 case $ac_config_files in *"
19186 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19187 esac
19189 case $ac_config_headers in *"
19190 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19191 esac
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 # Files that config.status was made for.
19196 config_files="$ac_config_files"
19197 config_headers="$ac_config_headers"
19198 config_links="$ac_config_links"
19199 config_commands="$ac_config_commands"
19201 _ACEOF
19203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19204 ac_cs_usage="\
19205 \`$as_me' instantiates files and other configuration actions
19206 from templates according to the current configuration. Unless the files
19207 and actions are specified as TAGs, all are instantiated by default.
19209 Usage: $0 [OPTION]... [TAG]...
19211 -h, --help print this help, then exit
19212 -V, --version print version number and configuration settings, then exit
19213 --config print configuration, then exit
19214 -q, --quiet, --silent
19215 do not print progress messages
19216 -d, --debug don't remove temporary files
19217 --recheck update $as_me by reconfiguring in the same conditions
19218 --file=FILE[:TEMPLATE]
19219 instantiate the configuration file FILE
19220 --header=FILE[:TEMPLATE]
19221 instantiate the configuration header FILE
19223 Configuration files:
19224 $config_files
19226 Configuration headers:
19227 $config_headers
19229 Configuration links:
19230 $config_links
19232 Configuration commands:
19233 $config_commands
19235 Report bugs to <wine-devel@winehq.org>.
19236 Wine home page: <http://www.winehq.org>."
19238 _ACEOF
19239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19240 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19241 ac_cs_version="\\
19242 Wine config.status 1.9.23
19243 configured by $0, generated by GNU Autoconf 2.69,
19244 with options \\"\$ac_cs_config\\"
19246 Copyright (C) 2012 Free Software Foundation, Inc.
19247 This config.status script is free software; the Free Software Foundation
19248 gives unlimited permission to copy, distribute and modify it."
19250 ac_pwd='$ac_pwd'
19251 srcdir='$srcdir'
19252 test -n "\$AWK" || AWK=awk
19253 _ACEOF
19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19256 # The default lists apply if the user does not specify any file.
19257 ac_need_defaults=:
19258 while test $# != 0
19260 case $1 in
19261 --*=?*)
19262 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19263 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19264 ac_shift=:
19266 --*=)
19267 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19268 ac_optarg=
19269 ac_shift=:
19272 ac_option=$1
19273 ac_optarg=$2
19274 ac_shift=shift
19276 esac
19278 case $ac_option in
19279 # Handling of the options.
19280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19281 ac_cs_recheck=: ;;
19282 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19283 $as_echo "$ac_cs_version"; exit ;;
19284 --config | --confi | --conf | --con | --co | --c )
19285 $as_echo "$ac_cs_config"; exit ;;
19286 --debug | --debu | --deb | --de | --d | -d )
19287 debug=: ;;
19288 --file | --fil | --fi | --f )
19289 $ac_shift
19290 case $ac_optarg in
19291 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19292 '') as_fn_error $? "missing file argument" ;;
19293 esac
19294 as_fn_append CONFIG_FILES " '$ac_optarg'"
19295 ac_need_defaults=false;;
19296 --header | --heade | --head | --hea )
19297 $ac_shift
19298 case $ac_optarg in
19299 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19300 esac
19301 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19302 ac_need_defaults=false;;
19303 --he | --h)
19304 # Conflict between --help and --header
19305 as_fn_error $? "ambiguous option: \`$1'
19306 Try \`$0 --help' for more information.";;
19307 --help | --hel | -h )
19308 $as_echo "$ac_cs_usage"; exit ;;
19309 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19310 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19311 ac_cs_silent=: ;;
19313 # This is an error.
19314 -*) as_fn_error $? "unrecognized option: \`$1'
19315 Try \`$0 --help' for more information." ;;
19317 *) as_fn_append ac_config_targets " $1"
19318 ac_need_defaults=false ;;
19320 esac
19321 shift
19322 done
19324 ac_configure_extra_args=
19326 if $ac_cs_silent; then
19327 exec 6>/dev/null
19328 ac_configure_extra_args="$ac_configure_extra_args --silent"
19331 _ACEOF
19332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19333 if \$ac_cs_recheck; then
19334 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19335 shift
19336 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19337 CONFIG_SHELL='$SHELL'
19338 export CONFIG_SHELL
19339 exec "\$@"
19342 _ACEOF
19343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19344 exec 5>>config.log
19346 echo
19347 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19348 ## Running $as_me. ##
19349 _ASBOX
19350 $as_echo "$ac_log"
19351 } >&5
19353 _ACEOF
19354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19356 # INIT-COMMANDS
19358 wine_fn_output_makedep ()
19360 as_dir=tools; as_fn_mkdir_p
19361 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19363 wine_fn_output_makefile ()
19365 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19366 `cat $wine_rules_file`
19367 _WINE_EOF
19368 as_fn_error $? "could not create Makefile" "$LINENO" 5
19371 _ACEOF
19373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19375 # Handling of arguments.
19376 for ac_config_target in $ac_config_targets
19378 case $ac_config_target in
19379 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19380 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19381 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19382 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19383 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19384 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19385 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19386 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19387 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19388 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19389 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19390 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19391 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19393 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19394 esac
19395 done
19398 # If the user did not use the arguments to specify the items to instantiate,
19399 # then the envvar interface is used. Set only those that are not.
19400 # We use the long form for the default assignment because of an extremely
19401 # bizarre bug on SunOS 4.1.3.
19402 if $ac_need_defaults; then
19403 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19404 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19405 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19409 # Have a temporary directory for convenience. Make it in the build tree
19410 # simply because there is no reason against having it here, and in addition,
19411 # creating and moving files from /tmp can sometimes cause problems.
19412 # Hook for its removal unless debugging.
19413 # Note that there is a small window in which the directory will not be cleaned:
19414 # after its creation but before its name has been assigned to `$tmp'.
19415 $debug ||
19417 tmp= ac_tmp=
19418 trap 'exit_status=$?
19419 : "${ac_tmp:=$tmp}"
19420 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19422 trap 'as_fn_exit 1' 1 2 13 15
19424 # Create a (secure) tmp directory for tmp files.
19427 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19428 test -d "$tmp"
19429 } ||
19431 tmp=./conf$$-$RANDOM
19432 (umask 077 && mkdir "$tmp")
19433 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19434 ac_tmp=$tmp
19436 # Set up the scripts for CONFIG_FILES section.
19437 # No need to generate them if there are no CONFIG_FILES.
19438 # This happens for instance with `./config.status config.h'.
19439 if test -n "$CONFIG_FILES"; then
19442 ac_cr=`echo X | tr X '\015'`
19443 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19444 # But we know of no other shell where ac_cr would be empty at this
19445 # point, so we can use a bashism as a fallback.
19446 if test "x$ac_cr" = x; then
19447 eval ac_cr=\$\'\\r\'
19449 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19450 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19451 ac_cs_awk_cr='\\r'
19452 else
19453 ac_cs_awk_cr=$ac_cr
19456 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19457 _ACEOF
19461 echo "cat >conf$$subs.awk <<_ACEOF" &&
19462 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19463 echo "_ACEOF"
19464 } >conf$$subs.sh ||
19465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19466 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19467 ac_delim='%!_!# '
19468 for ac_last_try in false false false false false :; do
19469 . ./conf$$subs.sh ||
19470 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19472 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19473 if test $ac_delim_n = $ac_delim_num; then
19474 break
19475 elif $ac_last_try; then
19476 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19477 else
19478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19480 done
19481 rm -f conf$$subs.sh
19483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19484 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19485 _ACEOF
19486 sed -n '
19488 s/^/S["/; s/!.*/"]=/
19491 s/^[^!]*!//
19492 :repl
19493 t repl
19494 s/'"$ac_delim"'$//
19495 t delim
19498 s/\(.\{148\}\)..*/\1/
19499 t more1
19500 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19503 b repl
19504 :more1
19505 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19508 s/.\{148\}//
19509 t nl
19510 :delim
19512 s/\(.\{148\}\)..*/\1/
19513 t more2
19514 s/["\\]/\\&/g; s/^/"/; s/$/"/
19517 :more2
19518 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19521 s/.\{148\}//
19522 t delim
19523 ' <conf$$subs.awk | sed '
19524 /^[^""]/{
19526 s/\n//
19528 ' >>$CONFIG_STATUS || ac_write_fail=1
19529 rm -f conf$$subs.awk
19530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19531 _ACAWK
19532 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19533 for (key in S) S_is_set[key] = 1
19534 FS = "\a"
19538 line = $ 0
19539 nfields = split(line, field, "@")
19540 substed = 0
19541 len = length(field[1])
19542 for (i = 2; i < nfields; i++) {
19543 key = field[i]
19544 keylen = length(key)
19545 if (S_is_set[key]) {
19546 value = S[key]
19547 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19548 len += length(value) + length(field[++i])
19549 substed = 1
19550 } else
19551 len += 1 + keylen
19554 print line
19557 _ACAWK
19558 _ACEOF
19559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19560 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19561 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19562 else
19564 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19565 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19566 _ACEOF
19568 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19569 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19570 # trailing colons and then remove the whole line if VPATH becomes empty
19571 # (actually we leave an empty line to preserve line numbers).
19572 if test "x$srcdir" = x.; then
19573 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19575 s///
19576 s/^/:/
19577 s/[ ]*$/:/
19578 s/:\$(srcdir):/:/g
19579 s/:\${srcdir}:/:/g
19580 s/:@srcdir@:/:/g
19581 s/^:*//
19582 s/:*$//
19584 s/\(=[ ]*\).*/\1/
19586 s/\n//
19587 s/^[^=]*=[ ]*$//
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19592 fi # test -n "$CONFIG_FILES"
19594 # Set up the scripts for CONFIG_HEADERS section.
19595 # No need to generate them if there are no CONFIG_HEADERS.
19596 # This happens for instance with `./config.status Makefile'.
19597 if test -n "$CONFIG_HEADERS"; then
19598 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19599 BEGIN {
19600 _ACEOF
19602 # Transform confdefs.h into an awk script `defines.awk', embedded as
19603 # here-document in config.status, that substitutes the proper values into
19604 # config.h.in to produce config.h.
19606 # Create a delimiter string that does not exist in confdefs.h, to ease
19607 # handling of long lines.
19608 ac_delim='%!_!# '
19609 for ac_last_try in false false :; do
19610 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19611 if test -z "$ac_tt"; then
19612 break
19613 elif $ac_last_try; then
19614 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19615 else
19616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19618 done
19620 # For the awk script, D is an array of macro values keyed by name,
19621 # likewise P contains macro parameters if any. Preserve backslash
19622 # newline sequences.
19624 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19625 sed -n '
19626 s/.\{148\}/&'"$ac_delim"'/g
19627 t rset
19628 :rset
19629 s/^[ ]*#[ ]*define[ ][ ]*/ /
19630 t def
19632 :def
19633 s/\\$//
19634 t bsnl
19635 s/["\\]/\\&/g
19636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19637 D["\1"]=" \3"/p
19638 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19640 :bsnl
19641 s/["\\]/\\&/g
19642 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19643 D["\1"]=" \3\\\\\\n"\\/p
19644 t cont
19645 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19646 t cont
19648 :cont
19650 s/.\{148\}/&'"$ac_delim"'/g
19651 t clear
19652 :clear
19653 s/\\$//
19654 t bsnlc
19655 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19657 :bsnlc
19658 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19659 b cont
19660 ' <confdefs.h | sed '
19661 s/'"$ac_delim"'/"\\\
19662 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19665 for (key in D) D_is_set[key] = 1
19666 FS = "\a"
19668 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19669 line = \$ 0
19670 split(line, arg, " ")
19671 if (arg[1] == "#") {
19672 defundef = arg[2]
19673 mac1 = arg[3]
19674 } else {
19675 defundef = substr(arg[1], 2)
19676 mac1 = arg[2]
19678 split(mac1, mac2, "(") #)
19679 macro = mac2[1]
19680 prefix = substr(line, 1, index(line, defundef) - 1)
19681 if (D_is_set[macro]) {
19682 # Preserve the white space surrounding the "#".
19683 print prefix "define", macro P[macro] D[macro]
19684 next
19685 } else {
19686 # Replace #undef with comments. This is necessary, for example,
19687 # in the case of _POSIX_SOURCE, which is predefined and required
19688 # on some systems where configure will not decide to define it.
19689 if (defundef == "undef") {
19690 print "/*", prefix defundef, macro, "*/"
19691 next
19695 { print }
19696 _ACAWK
19697 _ACEOF
19698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19699 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19700 fi # test -n "$CONFIG_HEADERS"
19703 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19704 shift
19705 for ac_tag
19707 case $ac_tag in
19708 :[FHLC]) ac_mode=$ac_tag; continue;;
19709 esac
19710 case $ac_mode$ac_tag in
19711 :[FHL]*:*);;
19712 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19713 :[FH]-) ac_tag=-:-;;
19714 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19715 esac
19716 ac_save_IFS=$IFS
19717 IFS=:
19718 set x $ac_tag
19719 IFS=$ac_save_IFS
19720 shift
19721 ac_file=$1
19722 shift
19724 case $ac_mode in
19725 :L) ac_source=$1;;
19726 :[FH])
19727 ac_file_inputs=
19728 for ac_f
19730 case $ac_f in
19731 -) ac_f="$ac_tmp/stdin";;
19732 *) # Look for the file first in the build tree, then in the source tree
19733 # (if the path is not absolute). The absolute path cannot be DOS-style,
19734 # because $ac_f cannot contain `:'.
19735 test -f "$ac_f" ||
19736 case $ac_f in
19737 [\\/$]*) false;;
19738 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19739 esac ||
19740 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19741 esac
19742 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19743 as_fn_append ac_file_inputs " '$ac_f'"
19744 done
19746 # Let's still pretend it is `configure' which instantiates (i.e., don't
19747 # use $as_me), people would be surprised to read:
19748 # /* config.h. Generated by config.status. */
19749 configure_input='Generated from '`
19750 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19751 `' by configure.'
19752 if test x"$ac_file" != x-; then
19753 configure_input="$ac_file. $configure_input"
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19755 $as_echo "$as_me: creating $ac_file" >&6;}
19757 # Neutralize special characters interpreted by sed in replacement strings.
19758 case $configure_input in #(
19759 *\&* | *\|* | *\\* )
19760 ac_sed_conf_input=`$as_echo "$configure_input" |
19761 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19762 *) ac_sed_conf_input=$configure_input;;
19763 esac
19765 case $ac_tag in
19766 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19767 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19768 esac
19770 esac
19772 ac_dir=`$as_dirname -- "$ac_file" ||
19773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19774 X"$ac_file" : 'X\(//\)[^/]' \| \
19775 X"$ac_file" : 'X\(//\)$' \| \
19776 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19777 $as_echo X"$ac_file" |
19778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19779 s//\1/
19782 /^X\(\/\/\)[^/].*/{
19783 s//\1/
19786 /^X\(\/\/\)$/{
19787 s//\1/
19790 /^X\(\/\).*/{
19791 s//\1/
19794 s/.*/./; q'`
19795 as_dir="$ac_dir"; as_fn_mkdir_p
19796 ac_builddir=.
19798 case "$ac_dir" in
19799 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19802 # A ".." for each directory in $ac_dir_suffix.
19803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19804 case $ac_top_builddir_sub in
19805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19807 esac ;;
19808 esac
19809 ac_abs_top_builddir=$ac_pwd
19810 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19811 # for backward compatibility:
19812 ac_top_builddir=$ac_top_build_prefix
19814 case $srcdir in
19815 .) # We are building in place.
19816 ac_srcdir=.
19817 ac_top_srcdir=$ac_top_builddir_sub
19818 ac_abs_top_srcdir=$ac_pwd ;;
19819 [\\/]* | ?:[\\/]* ) # Absolute name.
19820 ac_srcdir=$srcdir$ac_dir_suffix;
19821 ac_top_srcdir=$srcdir
19822 ac_abs_top_srcdir=$srcdir ;;
19823 *) # Relative name.
19824 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19825 ac_top_srcdir=$ac_top_build_prefix$srcdir
19826 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19827 esac
19828 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19831 case $ac_mode in
19834 # CONFIG_FILE
19837 _ACEOF
19839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19840 # If the template does not know about datarootdir, expand it.
19841 # FIXME: This hack should be removed a few years after 2.60.
19842 ac_datarootdir_hack=; ac_datarootdir_seen=
19843 ac_sed_dataroot='
19844 /datarootdir/ {
19848 /@datadir@/p
19849 /@docdir@/p
19850 /@infodir@/p
19851 /@localedir@/p
19852 /@mandir@/p'
19853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19854 *datarootdir*) ac_datarootdir_seen=yes;;
19855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19858 _ACEOF
19859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19860 ac_datarootdir_hack='
19861 s&@datadir@&$datadir&g
19862 s&@docdir@&$docdir&g
19863 s&@infodir@&$infodir&g
19864 s&@localedir@&$localedir&g
19865 s&@mandir@&$mandir&g
19866 s&\\\${datarootdir}&$datarootdir&g' ;;
19867 esac
19868 _ACEOF
19870 # Neutralize VPATH when `$srcdir' = `.'.
19871 # Shell code in configure.ac might set extrasub.
19872 # FIXME: do we really want to maintain this feature?
19873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19874 ac_sed_extra="$ac_vpsub
19875 $extrasub
19876 _ACEOF
19877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19880 s|@configure_input@|$ac_sed_conf_input|;t t
19881 s&@top_builddir@&$ac_top_builddir_sub&;t t
19882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19883 s&@srcdir@&$ac_srcdir&;t t
19884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19885 s&@top_srcdir@&$ac_top_srcdir&;t t
19886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19887 s&@builddir@&$ac_builddir&;t t
19888 s&@abs_builddir@&$ac_abs_builddir&;t t
19889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19890 $ac_datarootdir_hack
19892 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19893 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19896 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19897 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19898 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19900 which seems to be undefined. Please make sure it is defined" >&5
19901 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19902 which seems to be undefined. Please make sure it is defined" >&2;}
19904 rm -f "$ac_tmp/stdin"
19905 case $ac_file in
19906 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19907 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19908 esac \
19909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19913 # CONFIG_HEADER
19915 if test x"$ac_file" != x-; then
19917 $as_echo "/* $configure_input */" \
19918 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19919 } >"$ac_tmp/config.h" \
19920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19921 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19923 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19924 else
19925 rm -f "$ac_file"
19926 mv "$ac_tmp/config.h" "$ac_file" \
19927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19929 else
19930 $as_echo "/* $configure_input */" \
19931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19932 || as_fn_error $? "could not create -" "$LINENO" 5
19937 # CONFIG_LINK
19940 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19942 else
19943 # Prefer the file from the source tree if names are identical.
19944 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19945 ac_source=$srcdir/$ac_source
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19949 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19951 if test ! -r "$ac_source"; then
19952 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19954 rm -f "$ac_file"
19956 # Try a relative symlink, then a hard link, then a copy.
19957 case $ac_source in
19958 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19959 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19960 esac
19961 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19962 ln "$ac_source" "$ac_file" 2>/dev/null ||
19963 cp -p "$ac_source" "$ac_file" ||
19964 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19967 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19968 $as_echo "$as_me: executing $ac_file commands" >&6;}
19970 esac
19973 case $ac_file$ac_mode in
19974 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19975 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19976 "Makefile":C) wine_fn_output_makefile Makefile ;;
19978 esac
19979 done # for ac_tag
19982 as_fn_exit 0
19983 _ACEOF
19984 ac_clean_files=$ac_clean_files_save
19986 test $ac_write_fail = 0 ||
19987 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19990 # configure is writing to config.log, and then calls config.status.
19991 # config.status does its own redirection, appending to config.log.
19992 # Unfortunately, on DOS this fails, as config.log is still kept open
19993 # by configure, so config.status won't be able to write to it; its
19994 # output is simply discarded. So we exec the FD to /dev/null,
19995 # effectively closing config.log, so it can be properly (re)opened and
19996 # appended to by config.status. When coming back to configure, we
19997 # need to make the FD available again.
19998 if test "$no_create" != yes; then
19999 ac_cs_success=:
20000 ac_config_status_args=
20001 test "$silent" = yes &&
20002 ac_config_status_args="$ac_config_status_args --quiet"
20003 exec 5>/dev/null
20004 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20005 exec 5>>config.log
20006 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20007 # would make configure fail if this is the last instruction.
20008 $ac_cs_success || as_fn_exit 1
20010 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20012 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20016 if test "$no_create" = "yes"
20017 then
20018 exit 0
20021 ac_save_IFS="$IFS"
20022 if test "x$wine_notices" != x; then
20023 echo >&6
20024 IFS="|"
20025 for msg in $wine_notices; do
20026 IFS="$ac_save_IFS"
20027 if ${msg:+false} :; then :
20029 else
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20031 $as_echo "$as_me: $msg" >&6;}
20033 done
20035 IFS="|"
20036 for msg in $wine_warnings; do
20037 IFS="$ac_save_IFS"
20038 if ${msg:+false} :; then :
20040 else
20041 echo >&2
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20043 $as_echo "$as_me: WARNING: $msg" >&2;}
20045 done
20046 IFS="$ac_save_IFS"
20048 $as_echo "
20049 $as_me: Finished. Do '${ac_make}' to compile Wine.
20050 " >&6