winebus.sys: Reports for iohid.
[wine.git] / configure
blob3e183c2bba6f41ee660596f4e0bf2c04571a2814
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.22.
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.22'
584 PACKAGE_STRING='Wine 1.9.22'
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_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_psapi_obsolete_l1_1_0
946 enable_api_ms_win_core_realtime_l1_1_0
947 enable_api_ms_win_core_registry_l1_1_0
948 enable_api_ms_win_core_registryuserspecific_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_2_0
951 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
952 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
953 enable_api_ms_win_core_sidebyside_l1_1_0
954 enable_api_ms_win_core_string_l1_1_0
955 enable_api_ms_win_core_string_l2_1_0
956 enable_api_ms_win_core_string_obsolete_l1_1_0
957 enable_api_ms_win_core_stringansi_l1_1_0
958 enable_api_ms_win_core_synch_l1_1_0
959 enable_api_ms_win_core_synch_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_1_0
961 enable_api_ms_win_core_sysinfo_l1_2_0
962 enable_api_ms_win_core_sysinfo_l1_2_1
963 enable_api_ms_win_core_threadpool_l1_1_0
964 enable_api_ms_win_core_threadpool_l1_2_0
965 enable_api_ms_win_core_threadpool_legacy_l1_1_0
966 enable_api_ms_win_core_timezone_l1_1_0
967 enable_api_ms_win_core_toolhelp_l1_1_0
968 enable_api_ms_win_core_url_l1_1_0
969 enable_api_ms_win_core_util_l1_1_0
970 enable_api_ms_win_core_version_l1_1_0
971 enable_api_ms_win_core_version_private_l1_1_0
972 enable_api_ms_win_core_versionansi_l1_1_0
973 enable_api_ms_win_core_windowserrorreporting_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_1
976 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
977 enable_api_ms_win_core_winrt_l1_1_0
978 enable_api_ms_win_core_winrt_registration_l1_1_0
979 enable_api_ms_win_core_winrt_string_l1_1_0
980 enable_api_ms_win_core_wow64_l1_1_0
981 enable_api_ms_win_core_xstate_l1_1_0
982 enable_api_ms_win_core_xstate_l2_1_0
983 enable_api_ms_win_crt_conio_l1_1_0
984 enable_api_ms_win_crt_convert_l1_1_0
985 enable_api_ms_win_crt_environment_l1_1_0
986 enable_api_ms_win_crt_filesystem_l1_1_0
987 enable_api_ms_win_crt_heap_l1_1_0
988 enable_api_ms_win_crt_locale_l1_1_0
989 enable_api_ms_win_crt_math_l1_1_0
990 enable_api_ms_win_crt_multibyte_l1_1_0
991 enable_api_ms_win_crt_private_l1_1_0
992 enable_api_ms_win_crt_process_l1_1_0
993 enable_api_ms_win_crt_runtime_l1_1_0
994 enable_api_ms_win_crt_stdio_l1_1_0
995 enable_api_ms_win_crt_string_l1_1_0
996 enable_api_ms_win_crt_time_l1_1_0
997 enable_api_ms_win_crt_utility_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l2_1_0
1000 enable_api_ms_win_downlevel_normaliz_l1_1_0
1001 enable_api_ms_win_downlevel_ole32_l1_1_0
1002 enable_api_ms_win_downlevel_shell32_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1005 enable_api_ms_win_downlevel_user32_l1_1_0
1006 enable_api_ms_win_downlevel_version_l1_1_0
1007 enable_api_ms_win_dx_d3dkmt_l1_1_0
1008 enable_api_ms_win_eventing_classicprovider_l1_1_0
1009 enable_api_ms_win_eventing_consumer_l1_1_0
1010 enable_api_ms_win_eventing_controller_l1_1_0
1011 enable_api_ms_win_eventing_provider_l1_1_0
1012 enable_api_ms_win_eventlog_legacy_l1_1_0
1013 enable_api_ms_win_ntuser_dc_access_l1_1_0
1014 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1015 enable_api_ms_win_security_audit_l1_1_1
1016 enable_api_ms_win_security_base_l1_1_0
1017 enable_api_ms_win_security_base_l1_2_0
1018 enable_api_ms_win_security_base_private_l1_1_1
1019 enable_api_ms_win_security_lsalookup_l1_1_0
1020 enable_api_ms_win_security_lsalookup_l1_1_1
1021 enable_api_ms_win_security_sddl_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_0
1023 enable_api_ms_win_service_core_l1_1_1
1024 enable_api_ms_win_service_management_l1_1_0
1025 enable_api_ms_win_service_management_l2_1_0
1026 enable_api_ms_win_service_private_l1_1_1
1027 enable_api_ms_win_service_winsvc_l1_1_0
1028 enable_api_ms_win_service_winsvc_l1_2_0
1029 enable_api_ms_win_shell_shellcom_l1_1_0
1030 enable_api_ms_win_shell_shellfolders_l1_1_0
1031 enable_apphelp
1032 enable_appwiz_cpl
1033 enable_atl
1034 enable_atl100
1035 enable_atl110
1036 enable_atl80
1037 enable_atl90
1038 enable_authz
1039 enable_avicap32
1040 enable_avifil32
1041 enable_avrt
1042 enable_bcrypt
1043 enable_bluetoothapis
1044 enable_browseui
1045 enable_bthprops_cpl
1046 enable_cabinet
1047 enable_capi2032
1048 enable_cards
1049 enable_cfgmgr32
1050 enable_clusapi
1051 enable_combase
1052 enable_comcat
1053 enable_comctl32
1054 enable_comdlg32
1055 enable_compstui
1056 enable_comsvcs
1057 enable_concrt140
1058 enable_connect
1059 enable_credui
1060 enable_crtdll
1061 enable_crypt32
1062 enable_cryptdlg
1063 enable_cryptdll
1064 enable_cryptext
1065 enable_cryptnet
1066 enable_cryptui
1067 enable_ctapi32
1068 enable_ctl3d32
1069 enable_d2d1
1070 enable_d3d10
1071 enable_d3d10_1
1072 enable_d3d10core
1073 enable_d3d11
1074 enable_d3d8
1075 enable_d3d9
1076 enable_d3dcompiler_33
1077 enable_d3dcompiler_34
1078 enable_d3dcompiler_35
1079 enable_d3dcompiler_36
1080 enable_d3dcompiler_37
1081 enable_d3dcompiler_38
1082 enable_d3dcompiler_39
1083 enable_d3dcompiler_40
1084 enable_d3dcompiler_41
1085 enable_d3dcompiler_42
1086 enable_d3dcompiler_43
1087 enable_d3dcompiler_46
1088 enable_d3dcompiler_47
1089 enable_d3dim
1090 enable_d3drm
1091 enable_d3dx10_33
1092 enable_d3dx10_34
1093 enable_d3dx10_35
1094 enable_d3dx10_36
1095 enable_d3dx10_37
1096 enable_d3dx10_38
1097 enable_d3dx10_39
1098 enable_d3dx10_40
1099 enable_d3dx10_41
1100 enable_d3dx10_42
1101 enable_d3dx10_43
1102 enable_d3dx11_42
1103 enable_d3dx11_43
1104 enable_d3dx9_24
1105 enable_d3dx9_25
1106 enable_d3dx9_26
1107 enable_d3dx9_27
1108 enable_d3dx9_28
1109 enable_d3dx9_29
1110 enable_d3dx9_30
1111 enable_d3dx9_31
1112 enable_d3dx9_32
1113 enable_d3dx9_33
1114 enable_d3dx9_34
1115 enable_d3dx9_35
1116 enable_d3dx9_36
1117 enable_d3dx9_37
1118 enable_d3dx9_38
1119 enable_d3dx9_39
1120 enable_d3dx9_40
1121 enable_d3dx9_41
1122 enable_d3dx9_42
1123 enable_d3dx9_43
1124 enable_d3dxof
1125 enable_davclnt
1126 enable_dbgeng
1127 enable_dbghelp
1128 enable_dciman32
1129 enable_ddraw
1130 enable_ddrawex
1131 enable_devenum
1132 enable_dhcpcsvc
1133 enable_difxapi
1134 enable_dinput
1135 enable_dinput8
1136 enable_dispex
1137 enable_dmband
1138 enable_dmcompos
1139 enable_dmime
1140 enable_dmloader
1141 enable_dmscript
1142 enable_dmstyle
1143 enable_dmsynth
1144 enable_dmusic
1145 enable_dmusic32
1146 enable_dnsapi
1147 enable_dplay
1148 enable_dplayx
1149 enable_dpnaddr
1150 enable_dpnet
1151 enable_dpnhpast
1152 enable_dpnlobby
1153 enable_dpvoice
1154 enable_dpwsockx
1155 enable_drmclien
1156 enable_dsound
1157 enable_dssenh
1158 enable_dswave
1159 enable_dwmapi
1160 enable_dwrite
1161 enable_dxdiagn
1162 enable_dxgi
1163 enable_dxva2
1164 enable_esent
1165 enable_evr
1166 enable_explorerframe
1167 enable_ext_ms_win_gdi_dc_create_l1_1_1
1168 enable_ext_ms_win_gdi_dc_l1_2_0
1169 enable_ext_ms_win_gdi_devcaps_l1_1_0
1170 enable_ext_ms_win_gdi_draw_l1_1_1
1171 enable_ext_ms_win_gdi_render_l1_1_0
1172 enable_ext_ms_win_kernel32_package_current_l1_1_0
1173 enable_ext_ms_win_ntuser_message_l1_1_1
1174 enable_ext_ms_win_ntuser_private_l1_1_1
1175 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1176 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1177 enable_ext_ms_win_ntuser_window_l1_1_1
1178 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1179 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1180 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1181 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1182 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1183 enable_faultrep
1184 enable_fltlib
1185 enable_fltmgr_sys
1186 enable_fntcache
1187 enable_fontsub
1188 enable_fusion
1189 enable_fwpuclnt
1190 enable_gameux
1191 enable_gdi32
1192 enable_gdiplus
1193 enable_glu32
1194 enable_gphoto2_ds
1195 enable_gpkcsp
1196 enable_hal
1197 enable_hhctrl_ocx
1198 enable_hid
1199 enable_hidclass_sys
1200 enable_hlink
1201 enable_hnetcfg
1202 enable_httpapi
1203 enable_iccvid
1204 enable_icmp
1205 enable_ieframe
1206 enable_imaadp32_acm
1207 enable_imagehlp
1208 enable_imm32
1209 enable_inetcomm
1210 enable_inetcpl_cpl
1211 enable_inetmib1
1212 enable_infosoft
1213 enable_initpki
1214 enable_inkobj
1215 enable_inseng
1216 enable_iphlpapi
1217 enable_iprop
1218 enable_irprops_cpl
1219 enable_itircl
1220 enable_itss
1221 enable_joy_cpl
1222 enable_jscript
1223 enable_jsproxy
1224 enable_kernel32
1225 enable_kernelbase
1226 enable_ksuser
1227 enable_ktmw32
1228 enable_loadperf
1229 enable_localspl
1230 enable_localui
1231 enable_lz32
1232 enable_mapi32
1233 enable_mapistub
1234 enable_mciavi32
1235 enable_mcicda
1236 enable_mciqtz32
1237 enable_mciseq
1238 enable_mciwave
1239 enable_mf
1240 enable_mfplat
1241 enable_mfreadwrite
1242 enable_mgmtapi
1243 enable_midimap
1244 enable_mlang
1245 enable_mmcndmgr
1246 enable_mmdevapi
1247 enable_mountmgr_sys
1248 enable_mpr
1249 enable_mprapi
1250 enable_msacm32_drv
1251 enable_msacm32
1252 enable_msadp32_acm
1253 enable_msasn1
1254 enable_mscat32
1255 enable_mscms
1256 enable_mscoree
1257 enable_msctf
1258 enable_msctfp
1259 enable_msdaps
1260 enable_msdelta
1261 enable_msdmo
1262 enable_msdrm
1263 enable_msftedit
1264 enable_msg711_acm
1265 enable_msgsm32_acm
1266 enable_mshtml_tlb
1267 enable_mshtml
1268 enable_msi
1269 enable_msident
1270 enable_msimg32
1271 enable_msimsg
1272 enable_msimtf
1273 enable_msisip
1274 enable_msisys_ocx
1275 enable_msls31
1276 enable_msnet32
1277 enable_mspatcha
1278 enable_msports
1279 enable_msrle32
1280 enable_msscript_ocx
1281 enable_mssign32
1282 enable_mssip32
1283 enable_mstask
1284 enable_msvcirt
1285 enable_msvcm80
1286 enable_msvcm90
1287 enable_msvcp100
1288 enable_msvcp110
1289 enable_msvcp120
1290 enable_msvcp120_app
1291 enable_msvcp140
1292 enable_msvcp60
1293 enable_msvcp70
1294 enable_msvcp71
1295 enable_msvcp80
1296 enable_msvcp90
1297 enable_msvcr100
1298 enable_msvcr110
1299 enable_msvcr120
1300 enable_msvcr120_app
1301 enable_msvcr70
1302 enable_msvcr71
1303 enable_msvcr80
1304 enable_msvcr90
1305 enable_msvcrt
1306 enable_msvcrt20
1307 enable_msvcrt40
1308 enable_msvcrtd
1309 enable_msvfw32
1310 enable_msvidc32
1311 enable_mswsock
1312 enable_msxml
1313 enable_msxml2
1314 enable_msxml3
1315 enable_msxml4
1316 enable_msxml6
1317 enable_ncrypt
1318 enable_nddeapi
1319 enable_ndis_sys
1320 enable_netapi32
1321 enable_netcfgx
1322 enable_netprofm
1323 enable_newdev
1324 enable_normaliz
1325 enable_npmshtml
1326 enable_npptools
1327 enable_ntdll
1328 enable_ntdsapi
1329 enable_ntoskrnl_exe
1330 enable_ntprint
1331 enable_objsel
1332 enable_odbc32
1333 enable_odbccp32
1334 enable_odbccu32
1335 enable_ole32
1336 enable_oleacc
1337 enable_oleaut32
1338 enable_olecli32
1339 enable_oledb32
1340 enable_oledlg
1341 enable_olepro32
1342 enable_olesvr32
1343 enable_olethk32
1344 enable_openal32
1345 enable_opencl
1346 enable_opengl32
1347 enable_packager
1348 enable_pdh
1349 enable_photometadatahandler
1350 enable_pidgen
1351 enable_powrprof
1352 enable_printui
1353 enable_prntvpt
1354 enable_propsys
1355 enable_psapi
1356 enable_pstorec
1357 enable_qcap
1358 enable_qedit
1359 enable_qmgr
1360 enable_qmgrprxy
1361 enable_quartz
1362 enable_query
1363 enable_rasapi32
1364 enable_rasdlg
1365 enable_regapi
1366 enable_resutils
1367 enable_riched20
1368 enable_riched32
1369 enable_rpcrt4
1370 enable_rsabase
1371 enable_rsaenh
1372 enable_rstrtmgr
1373 enable_rtutils
1374 enable_samlib
1375 enable_sane_ds
1376 enable_scarddlg
1377 enable_sccbase
1378 enable_schannel
1379 enable_schedsvc
1380 enable_scrrun
1381 enable_scsiport_sys
1382 enable_secur32
1383 enable_security
1384 enable_sensapi
1385 enable_serialui
1386 enable_setupapi
1387 enable_sfc
1388 enable_sfc_os
1389 enable_shdoclc
1390 enable_shdocvw
1391 enable_shell32
1392 enable_shfolder
1393 enable_shlwapi
1394 enable_slbcsp
1395 enable_slc
1396 enable_snmpapi
1397 enable_softpub
1398 enable_spoolss
1399 enable_sspicli
1400 enable_stdole2_tlb
1401 enable_stdole32_tlb
1402 enable_sti
1403 enable_svrapi
1404 enable_sxs
1405 enable_t2embed
1406 enable_tapi32
1407 enable_taskschd
1408 enable_tdi_sys
1409 enable_traffic
1410 enable_twain_32
1411 enable_ucrtbase
1412 enable_unicows
1413 enable_updspapi
1414 enable_url
1415 enable_urlmon
1416 enable_usbd_sys
1417 enable_user32
1418 enable_userenv
1419 enable_usp10
1420 enable_uxtheme
1421 enable_vbscript
1422 enable_vcomp
1423 enable_vcomp100
1424 enable_vcomp110
1425 enable_vcomp120
1426 enable_vcomp140
1427 enable_vcomp90
1428 enable_vcruntime140
1429 enable_vdmdbg
1430 enable_version
1431 enable_vssapi
1432 enable_wbemdisp
1433 enable_wbemprox
1434 enable_webservices
1435 enable_wer
1436 enable_wevtapi
1437 enable_wiaservc
1438 enable_wimgapi
1439 enable_windowscodecs
1440 enable_windowscodecsext
1441 enable_winealsa_drv
1442 enable_winebus_sys
1443 enable_winecoreaudio_drv
1444 enable_wined3d
1445 enable_winegstreamer
1446 enable_winehid_sys
1447 enable_winejoystick_drv
1448 enable_winemac_drv
1449 enable_winemapi
1450 enable_winemp3_acm
1451 enable_wineoss_drv
1452 enable_wineps_drv
1453 enable_winepulse_drv
1454 enable_wineqtdecoder
1455 enable_winex11_drv
1456 enable_wing32
1457 enable_winhttp
1458 enable_wininet
1459 enable_winmm
1460 enable_winnls32
1461 enable_winscard
1462 enable_winspool_drv
1463 enable_winsta
1464 enable_wintab32
1465 enable_wintrust
1466 enable_wlanapi
1467 enable_wldap32
1468 enable_wmasf
1469 enable_wmi
1470 enable_wmiutils
1471 enable_wmp
1472 enable_wmvcore
1473 enable_wnaspi32
1474 enable_wpc
1475 enable_wpcap
1476 enable_ws2_32
1477 enable_wshom_ocx
1478 enable_wsnmp32
1479 enable_wsock32
1480 enable_wtsapi32
1481 enable_wuapi
1482 enable_wuaueng
1483 enable_x3daudio1_0
1484 enable_x3daudio1_1
1485 enable_x3daudio1_2
1486 enable_x3daudio1_3
1487 enable_x3daudio1_4
1488 enable_x3daudio1_5
1489 enable_x3daudio1_6
1490 enable_x3daudio1_7
1491 enable_xapofx1_1
1492 enable_xapofx1_2
1493 enable_xapofx1_3
1494 enable_xapofx1_4
1495 enable_xapofx1_5
1496 enable_xaudio2_0
1497 enable_xaudio2_1
1498 enable_xaudio2_2
1499 enable_xaudio2_3
1500 enable_xaudio2_4
1501 enable_xaudio2_5
1502 enable_xaudio2_6
1503 enable_xaudio2_7
1504 enable_xaudio2_8
1505 enable_xaudio2_9
1506 enable_xinput1_1
1507 enable_xinput1_2
1508 enable_xinput1_3
1509 enable_xinput1_4
1510 enable_xinput9_1_0
1511 enable_xmllite
1512 enable_xolehlp
1513 enable_xpsprint
1514 enable_xpssvcs
1515 enable_fonts
1516 enable_include
1517 enable_libs_port
1518 enable_libs_wine
1519 enable_libs_wpp
1520 enable_loader
1521 enable_po
1522 enable_arp
1523 enable_aspnet_regiis
1524 enable_attrib
1525 enable_cabarc
1526 enable_cacls
1527 enable_clock
1528 enable_cmd
1529 enable_conhost
1530 enable_control
1531 enable_cscript
1532 enable_dpnsvr
1533 enable_dxdiag
1534 enable_eject
1535 enable_expand
1536 enable_explorer
1537 enable_extrac32
1538 enable_findstr
1539 enable_fsutil
1540 enable_hh
1541 enable_hostname
1542 enable_icacls
1543 enable_icinfo
1544 enable_iexplore
1545 enable_ipconfig
1546 enable_lodctr
1547 enable_mofcomp
1548 enable_mshta
1549 enable_msiexec
1550 enable_msinfo32
1551 enable_net
1552 enable_netsh
1553 enable_netstat
1554 enable_ngen
1555 enable_notepad
1556 enable_oleview
1557 enable_ping
1558 enable_plugplay
1559 enable_presentationfontcache
1560 enable_progman
1561 enable_reg
1562 enable_regasm
1563 enable_regedit
1564 enable_regsvcs
1565 enable_regsvr32
1566 enable_rpcss
1567 enable_rundll32
1568 enable_sc
1569 enable_schtasks
1570 enable_sdbinst
1571 enable_secedit
1572 enable_servicemodelreg
1573 enable_services
1574 enable_shutdown
1575 enable_spoolsv
1576 enable_start
1577 enable_subst
1578 enable_svchost
1579 enable_systeminfo
1580 enable_taskkill
1581 enable_tasklist
1582 enable_taskmgr
1583 enable_termsv
1584 enable_uninstaller
1585 enable_unlodctr
1586 enable_view
1587 enable_wevtutil
1588 enable_wineboot
1589 enable_winebrowser
1590 enable_winecfg
1591 enable_wineconsole
1592 enable_winedbg
1593 enable_winedevice
1594 enable_winefile
1595 enable_winemenubuilder
1596 enable_winemine
1597 enable_winemsibuilder
1598 enable_winepath
1599 enable_winetest
1600 enable_winhlp32
1601 enable_winver
1602 enable_wmic
1603 enable_wmplayer
1604 enable_wordpad
1605 enable_write
1606 enable_wscript
1607 enable_wusa
1608 enable_xcopy
1609 enable_server
1610 enable_tools
1612 ac_precious_vars='build_alias
1613 host_alias
1614 target_alias
1616 CFLAGS
1617 LDFLAGS
1618 LIBS
1619 CPPFLAGS
1621 CXXFLAGS
1624 XMKMF
1625 XML2_CFLAGS
1626 XML2_LIBS
1627 XSLT_CFLAGS
1628 XSLT_LIBS
1629 DBUS_CFLAGS
1630 DBUS_LIBS
1631 HAL_CFLAGS
1632 HAL_LIBS
1633 GNUTLS_CFLAGS
1634 GNUTLS_LIBS
1635 SANE_CFLAGS
1636 SANE_LIBS
1637 GPHOTO2_CFLAGS
1638 GPHOTO2_LIBS
1639 GPHOTO2_PORT_CFLAGS
1640 GPHOTO2_PORT_LIBS
1641 LCMS2_CFLAGS
1642 LCMS2_LIBS
1643 FREETYPE_CFLAGS
1644 FREETYPE_LIBS
1645 PULSE_CFLAGS
1646 PULSE_LIBS
1647 GSTREAMER_CFLAGS
1648 GSTREAMER_LIBS
1649 UDEV_CFLAGS
1650 UDEV_LIBS
1651 CAPI20_CFLAGS
1652 CAPI20_LIBS
1653 FONTCONFIG_CFLAGS
1654 FONTCONFIG_LIBS
1655 JPEG_CFLAGS
1656 JPEG_LIBS
1657 PNG_CFLAGS
1658 PNG_LIBS
1659 TIFF_CFLAGS
1660 TIFF_LIBS
1661 MPG123_CFLAGS
1662 MPG123_LIBS
1663 NETAPI_CFLAGS
1664 NETAPI_LIBS'
1667 # Initialize some variables set by options.
1668 ac_init_help=
1669 ac_init_version=false
1670 ac_unrecognized_opts=
1671 ac_unrecognized_sep=
1672 # The variables have the same names as the options, with
1673 # dashes changed to underlines.
1674 cache_file=/dev/null
1675 exec_prefix=NONE
1676 no_create=
1677 no_recursion=
1678 prefix=NONE
1679 program_prefix=NONE
1680 program_suffix=NONE
1681 program_transform_name=s,x,x,
1682 silent=
1683 site=
1684 srcdir=
1685 verbose=
1686 x_includes=NONE
1687 x_libraries=NONE
1689 # Installation directory options.
1690 # These are left unexpanded so users can "make install exec_prefix=/foo"
1691 # and all the variables that are supposed to be based on exec_prefix
1692 # by default will actually change.
1693 # Use braces instead of parens because sh, perl, etc. also accept them.
1694 # (The list follows the same order as the GNU Coding Standards.)
1695 bindir='${exec_prefix}/bin'
1696 sbindir='${exec_prefix}/sbin'
1697 libexecdir='${exec_prefix}/libexec'
1698 datarootdir='${prefix}/share'
1699 datadir='${datarootdir}'
1700 sysconfdir='${prefix}/etc'
1701 sharedstatedir='${prefix}/com'
1702 localstatedir='${prefix}/var'
1703 runstatedir='${localstatedir}/run'
1704 includedir='${prefix}/include'
1705 oldincludedir='/usr/include'
1706 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1707 infodir='${datarootdir}/info'
1708 htmldir='${docdir}'
1709 dvidir='${docdir}'
1710 pdfdir='${docdir}'
1711 psdir='${docdir}'
1712 libdir='${exec_prefix}/lib'
1713 localedir='${datarootdir}/locale'
1714 mandir='${datarootdir}/man'
1716 ac_prev=
1717 ac_dashdash=
1718 for ac_option
1720 # If the previous option needs an argument, assign it.
1721 if test -n "$ac_prev"; then
1722 eval $ac_prev=\$ac_option
1723 ac_prev=
1724 continue
1727 case $ac_option in
1728 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1729 *=) ac_optarg= ;;
1730 *) ac_optarg=yes ;;
1731 esac
1733 # Accept the important Cygnus configure options, so we can diagnose typos.
1735 case $ac_dashdash$ac_option in
1737 ac_dashdash=yes ;;
1739 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1740 ac_prev=bindir ;;
1741 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1742 bindir=$ac_optarg ;;
1744 -build | --build | --buil | --bui | --bu)
1745 ac_prev=build_alias ;;
1746 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1747 build_alias=$ac_optarg ;;
1749 -cache-file | --cache-file | --cache-fil | --cache-fi \
1750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1751 ac_prev=cache_file ;;
1752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1754 cache_file=$ac_optarg ;;
1756 --config-cache | -C)
1757 cache_file=config.cache ;;
1759 -datadir | --datadir | --datadi | --datad)
1760 ac_prev=datadir ;;
1761 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1762 datadir=$ac_optarg ;;
1764 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1765 | --dataroo | --dataro | --datar)
1766 ac_prev=datarootdir ;;
1767 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1768 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1769 datarootdir=$ac_optarg ;;
1771 -disable-* | --disable-*)
1772 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1773 # Reject names that are not valid shell variable names.
1774 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1775 as_fn_error $? "invalid feature name: $ac_useropt"
1776 ac_useropt_orig=$ac_useropt
1777 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1778 case $ac_user_opts in
1780 "enable_$ac_useropt"
1781 "*) ;;
1782 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1783 ac_unrecognized_sep=', ';;
1784 esac
1785 eval enable_$ac_useropt=no ;;
1787 -docdir | --docdir | --docdi | --doc | --do)
1788 ac_prev=docdir ;;
1789 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1790 docdir=$ac_optarg ;;
1792 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1793 ac_prev=dvidir ;;
1794 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1795 dvidir=$ac_optarg ;;
1797 -enable-* | --enable-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid feature name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "enable_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval enable_$ac_useropt=\$ac_optarg ;;
1813 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1814 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1815 | --exec | --exe | --ex)
1816 ac_prev=exec_prefix ;;
1817 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1818 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1819 | --exec=* | --exe=* | --ex=*)
1820 exec_prefix=$ac_optarg ;;
1822 -gas | --gas | --ga | --g)
1823 # Obsolete; use --with-gas.
1824 with_gas=yes ;;
1826 -help | --help | --hel | --he | -h)
1827 ac_init_help=long ;;
1828 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1829 ac_init_help=recursive ;;
1830 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1831 ac_init_help=short ;;
1833 -host | --host | --hos | --ho)
1834 ac_prev=host_alias ;;
1835 -host=* | --host=* | --hos=* | --ho=*)
1836 host_alias=$ac_optarg ;;
1838 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1839 ac_prev=htmldir ;;
1840 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1841 | --ht=*)
1842 htmldir=$ac_optarg ;;
1844 -includedir | --includedir | --includedi | --included | --include \
1845 | --includ | --inclu | --incl | --inc)
1846 ac_prev=includedir ;;
1847 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1848 | --includ=* | --inclu=* | --incl=* | --inc=*)
1849 includedir=$ac_optarg ;;
1851 -infodir | --infodir | --infodi | --infod | --info | --inf)
1852 ac_prev=infodir ;;
1853 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1854 infodir=$ac_optarg ;;
1856 -libdir | --libdir | --libdi | --libd)
1857 ac_prev=libdir ;;
1858 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1859 libdir=$ac_optarg ;;
1861 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1862 | --libexe | --libex | --libe)
1863 ac_prev=libexecdir ;;
1864 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1865 | --libexe=* | --libex=* | --libe=*)
1866 libexecdir=$ac_optarg ;;
1868 -localedir | --localedir | --localedi | --localed | --locale)
1869 ac_prev=localedir ;;
1870 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1871 localedir=$ac_optarg ;;
1873 -localstatedir | --localstatedir | --localstatedi | --localstated \
1874 | --localstate | --localstat | --localsta | --localst | --locals)
1875 ac_prev=localstatedir ;;
1876 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1877 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1878 localstatedir=$ac_optarg ;;
1880 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1881 ac_prev=mandir ;;
1882 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1883 mandir=$ac_optarg ;;
1885 -nfp | --nfp | --nf)
1886 # Obsolete; use --without-fp.
1887 with_fp=no ;;
1889 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1890 | --no-cr | --no-c | -n)
1891 no_create=yes ;;
1893 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1894 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1895 no_recursion=yes ;;
1897 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1898 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1899 | --oldin | --oldi | --old | --ol | --o)
1900 ac_prev=oldincludedir ;;
1901 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1902 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1903 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1904 oldincludedir=$ac_optarg ;;
1906 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1907 ac_prev=prefix ;;
1908 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1909 prefix=$ac_optarg ;;
1911 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1912 | --program-pre | --program-pr | --program-p)
1913 ac_prev=program_prefix ;;
1914 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1915 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1916 program_prefix=$ac_optarg ;;
1918 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1919 | --program-suf | --program-su | --program-s)
1920 ac_prev=program_suffix ;;
1921 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1922 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1923 program_suffix=$ac_optarg ;;
1925 -program-transform-name | --program-transform-name \
1926 | --program-transform-nam | --program-transform-na \
1927 | --program-transform-n | --program-transform- \
1928 | --program-transform | --program-transfor \
1929 | --program-transfo | --program-transf \
1930 | --program-trans | --program-tran \
1931 | --progr-tra | --program-tr | --program-t)
1932 ac_prev=program_transform_name ;;
1933 -program-transform-name=* | --program-transform-name=* \
1934 | --program-transform-nam=* | --program-transform-na=* \
1935 | --program-transform-n=* | --program-transform-=* \
1936 | --program-transform=* | --program-transfor=* \
1937 | --program-transfo=* | --program-transf=* \
1938 | --program-trans=* | --program-tran=* \
1939 | --progr-tra=* | --program-tr=* | --program-t=*)
1940 program_transform_name=$ac_optarg ;;
1942 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1943 ac_prev=pdfdir ;;
1944 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1945 pdfdir=$ac_optarg ;;
1947 -psdir | --psdir | --psdi | --psd | --ps)
1948 ac_prev=psdir ;;
1949 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1950 psdir=$ac_optarg ;;
1952 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1953 | -silent | --silent | --silen | --sile | --sil)
1954 silent=yes ;;
1956 -runstatedir | --runstatedir | --runstatedi | --runstated \
1957 | --runstate | --runstat | --runsta | --runst | --runs \
1958 | --run | --ru | --r)
1959 ac_prev=runstatedir ;;
1960 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1961 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1962 | --run=* | --ru=* | --r=*)
1963 runstatedir=$ac_optarg ;;
1965 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1966 ac_prev=sbindir ;;
1967 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1968 | --sbi=* | --sb=*)
1969 sbindir=$ac_optarg ;;
1971 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1972 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1973 | --sharedst | --shareds | --shared | --share | --shar \
1974 | --sha | --sh)
1975 ac_prev=sharedstatedir ;;
1976 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1977 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1978 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1979 | --sha=* | --sh=*)
1980 sharedstatedir=$ac_optarg ;;
1982 -site | --site | --sit)
1983 ac_prev=site ;;
1984 -site=* | --site=* | --sit=*)
1985 site=$ac_optarg ;;
1987 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1988 ac_prev=srcdir ;;
1989 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1990 srcdir=$ac_optarg ;;
1992 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1993 | --syscon | --sysco | --sysc | --sys | --sy)
1994 ac_prev=sysconfdir ;;
1995 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1996 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1997 sysconfdir=$ac_optarg ;;
1999 -target | --target | --targe | --targ | --tar | --ta | --t)
2000 ac_prev=target_alias ;;
2001 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2002 target_alias=$ac_optarg ;;
2004 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2005 verbose=yes ;;
2007 -version | --version | --versio | --versi | --vers | -V)
2008 ac_init_version=: ;;
2010 -with-* | --with-*)
2011 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2012 # Reject names that are not valid shell variable names.
2013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2014 as_fn_error $? "invalid package name: $ac_useropt"
2015 ac_useropt_orig=$ac_useropt
2016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2017 case $ac_user_opts in
2019 "with_$ac_useropt"
2020 "*) ;;
2021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2022 ac_unrecognized_sep=', ';;
2023 esac
2024 eval with_$ac_useropt=\$ac_optarg ;;
2026 -without-* | --without-*)
2027 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2028 # Reject names that are not valid shell variable names.
2029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2030 as_fn_error $? "invalid package name: $ac_useropt"
2031 ac_useropt_orig=$ac_useropt
2032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2033 case $ac_user_opts in
2035 "with_$ac_useropt"
2036 "*) ;;
2037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2038 ac_unrecognized_sep=', ';;
2039 esac
2040 eval with_$ac_useropt=no ;;
2042 --x)
2043 # Obsolete; use --with-x.
2044 with_x=yes ;;
2046 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2047 | --x-incl | --x-inc | --x-in | --x-i)
2048 ac_prev=x_includes ;;
2049 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2050 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2051 x_includes=$ac_optarg ;;
2053 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2054 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2055 ac_prev=x_libraries ;;
2056 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2057 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2058 x_libraries=$ac_optarg ;;
2060 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2061 Try \`$0 --help' for more information"
2064 *=*)
2065 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2066 # Reject names that are not valid shell variable names.
2067 case $ac_envvar in #(
2068 '' | [0-9]* | *[!_$as_cr_alnum]* )
2069 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2070 esac
2071 eval $ac_envvar=\$ac_optarg
2072 export $ac_envvar ;;
2075 # FIXME: should be removed in autoconf 3.0.
2076 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2078 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2079 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2082 esac
2083 done
2085 if test -n "$ac_prev"; then
2086 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2087 as_fn_error $? "missing argument to $ac_option"
2090 if test -n "$ac_unrecognized_opts"; then
2091 case $enable_option_checking in
2092 no) ;;
2093 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2094 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2095 esac
2098 # Check all directory arguments for consistency.
2099 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2100 datadir sysconfdir sharedstatedir localstatedir includedir \
2101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2102 libdir localedir mandir runstatedir
2104 eval ac_val=\$$ac_var
2105 # Remove trailing slashes.
2106 case $ac_val in
2107 */ )
2108 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2109 eval $ac_var=\$ac_val;;
2110 esac
2111 # Be sure to have absolute directory names.
2112 case $ac_val in
2113 [\\/$]* | ?:[\\/]* ) continue;;
2114 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2115 esac
2116 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2117 done
2119 # There might be people who depend on the old broken behavior: `$host'
2120 # used to hold the argument of --host etc.
2121 # FIXME: To remove some day.
2122 build=$build_alias
2123 host=$host_alias
2124 target=$target_alias
2126 # FIXME: To remove some day.
2127 if test "x$host_alias" != x; then
2128 if test "x$build_alias" = x; then
2129 cross_compiling=maybe
2130 elif test "x$build_alias" != "x$host_alias"; then
2131 cross_compiling=yes
2135 ac_tool_prefix=
2136 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2138 test "$silent" = yes && exec 6>/dev/null
2141 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2142 ac_ls_di=`ls -di .` &&
2143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2144 as_fn_error $? "working directory cannot be determined"
2145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2146 as_fn_error $? "pwd does not report name of working directory"
2149 # Find the source files, if location was not specified.
2150 if test -z "$srcdir"; then
2151 ac_srcdir_defaulted=yes
2152 # Try the directory containing this script, then the parent directory.
2153 ac_confdir=`$as_dirname -- "$as_myself" ||
2154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2155 X"$as_myself" : 'X\(//\)[^/]' \| \
2156 X"$as_myself" : 'X\(//\)$' \| \
2157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2158 $as_echo X"$as_myself" |
2159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2160 s//\1/
2163 /^X\(\/\/\)[^/].*/{
2164 s//\1/
2167 /^X\(\/\/\)$/{
2168 s//\1/
2171 /^X\(\/\).*/{
2172 s//\1/
2175 s/.*/./; q'`
2176 srcdir=$ac_confdir
2177 if test ! -r "$srcdir/$ac_unique_file"; then
2178 srcdir=..
2180 else
2181 ac_srcdir_defaulted=no
2183 if test ! -r "$srcdir/$ac_unique_file"; then
2184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2185 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2187 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2188 ac_abs_confdir=`(
2189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2190 pwd)`
2191 # When building in place, set srcdir=.
2192 if test "$ac_abs_confdir" = "$ac_pwd"; then
2193 srcdir=.
2195 # Remove unnecessary trailing slashes from srcdir.
2196 # Double slashes in file names in object file debugging info
2197 # mess up M-x gdb in Emacs.
2198 case $srcdir in
2199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2200 esac
2201 for ac_var in $ac_precious_vars; do
2202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2203 eval ac_env_${ac_var}_value=\$${ac_var}
2204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2206 done
2209 # Report the --help message.
2211 if test "$ac_init_help" = "long"; then
2212 # Omit some internal or obsolete options to make the list less imposing.
2213 # This message is too long to be a string in the A/UX 3.1 sh.
2214 cat <<_ACEOF
2215 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2217 Usage: $0 [OPTION]... [VAR=VALUE]...
2219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2220 VAR=VALUE. See below for descriptions of some of the useful variables.
2222 Defaults for the options are specified in brackets.
2224 Configuration:
2225 -h, --help display this help and exit
2226 --help=short display options specific to this package
2227 --help=recursive display the short help of all the included packages
2228 -V, --version display version information and exit
2229 -q, --quiet, --silent do not print \`checking ...' messages
2230 --cache-file=FILE cache test results in FILE [disabled]
2231 -C, --config-cache alias for \`--cache-file=config.cache'
2232 -n, --no-create do not create output files
2233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2235 Installation directories:
2236 --prefix=PREFIX install architecture-independent files in PREFIX
2237 [$ac_default_prefix]
2238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2239 [PREFIX]
2241 By default, \`make install' will install all the files in
2242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2244 for instance \`--prefix=\$HOME'.
2246 For better control, use the options below.
2248 Fine tuning of the installation directories:
2249 --bindir=DIR user executables [EPREFIX/bin]
2250 --sbindir=DIR system admin executables [EPREFIX/sbin]
2251 --libexecdir=DIR program executables [EPREFIX/libexec]
2252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2255 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2256 --libdir=DIR object code libraries [EPREFIX/lib]
2257 --includedir=DIR C header files [PREFIX/include]
2258 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2259 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2260 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2261 --infodir=DIR info documentation [DATAROOTDIR/info]
2262 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2263 --mandir=DIR man documentation [DATAROOTDIR/man]
2264 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2265 --htmldir=DIR html documentation [DOCDIR]
2266 --dvidir=DIR dvi documentation [DOCDIR]
2267 --pdfdir=DIR pdf documentation [DOCDIR]
2268 --psdir=DIR ps documentation [DOCDIR]
2269 _ACEOF
2271 cat <<\_ACEOF
2273 X features:
2274 --x-includes=DIR X include files are in DIR
2275 --x-libraries=DIR X library files are in DIR
2277 System types:
2278 --build=BUILD configure for building on BUILD [guessed]
2279 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2280 _ACEOF
2283 if test -n "$ac_init_help"; then
2284 case $ac_init_help in
2285 short | recursive ) echo "Configuration of Wine 1.9.22:";;
2286 esac
2287 cat <<\_ACEOF
2289 Optional Features:
2290 --disable-option-checking ignore unrecognized --enable/--with options
2291 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2292 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2293 --disable-win16 do not include Win16 support
2294 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2295 binaries)
2296 --disable-tests do not build the regression tests
2297 --enable-maintainer-mode
2298 enable maintainer-specific build rules
2299 --disable-largefile omit support for large files
2301 Optional Packages:
2302 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2303 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2304 --without-alsa do not use the Alsa sound support
2305 --without-capi do not use CAPI (ISDN support)
2306 --without-cms do not use CMS (color management support)
2307 --without-coreaudio do not use the CoreAudio sound support
2308 --without-cups do not use CUPS
2309 --without-curses do not use (n)curses
2310 --without-dbus do not use DBus (dynamic device support)
2311 --without-fontconfig do not use fontconfig
2312 --without-freetype do not use the FreeType library
2313 --without-gettext do not use gettext
2314 --with-gettextpo use the GetTextPO library to rebuild po files
2315 --without-gphoto do not use gphoto (Digital Camera support)
2316 --without-glu do not use the GLU library
2317 --without-gnutls do not use GnuTLS (schannel support)
2318 --without-gsm do not use libgsm (GSM 06.10 codec support)
2319 --without-gstreamer do not use GStreamer (codecs support)
2320 --without-hal do not use HAL (dynamic device support)
2321 --without-jpeg do not use JPEG
2322 --without-ldap do not use LDAP
2323 --without-mpg123 do not use the mpg123 library
2324 --without-netapi do not use the Samba NetAPI library
2325 --without-openal do not use OpenAL
2326 --without-opencl do not use OpenCL
2327 --without-opengl do not use OpenGL
2328 --without-osmesa do not use the OSMesa library
2329 --without-oss do not use the OSS sound support
2330 --without-pcap do not use the Packet Capture library
2331 --without-png do not use PNG
2332 --without-pthread do not use the pthread library
2333 --without-pulse do not use PulseAudio sound support
2334 --without-sane do not use SANE (scanner support)
2335 --without-tiff do not use TIFF
2336 --without-udev do not use udev (plug and play support)
2337 --without-v4l do not use v4l1 (v4l support)
2338 --without-xcomposite do not use the Xcomposite extension
2339 --without-xcursor do not use the Xcursor extension
2340 --without-xinerama do not use Xinerama (multi-monitor support)
2341 --without-xinput do not use the Xinput extension
2342 --without-xinput2 do not use the Xinput 2 extension
2343 --without-xml do not use XML
2344 --without-xrandr do not use Xrandr (resolution changes)
2345 --without-xrender do not use the Xrender extension
2346 --without-xshape do not use the Xshape extension
2347 --without-xshm do not use XShm (shared memory extension)
2348 --without-xslt do not use XSLT
2349 --without-xxf86vm do not use XFree video mode extension
2350 --without-zlib do not use Zlib (data compression)
2351 --with-wine-tools=DIR use Wine tools from directory DIR
2352 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2353 --with-x use the X Window System
2355 Some influential environment variables:
2356 CC C compiler command
2357 CFLAGS C compiler flags
2358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2359 nonstandard directory <lib dir>
2360 LIBS libraries to pass to the linker, e.g. -l<library>
2361 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2362 you have headers in a nonstandard directory <include dir>
2363 CXX C++ compiler command
2364 CXXFLAGS C++ compiler flags
2365 CPP C preprocessor
2366 XMKMF Path to xmkmf, Makefile generator for X Window System
2367 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2368 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2369 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2370 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2371 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2372 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2373 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2374 HAL_LIBS Linker flags for hal, overriding pkg-config
2375 GNUTLS_CFLAGS
2376 C compiler flags for gnutls, overriding pkg-config
2377 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2378 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2379 SANE_LIBS Linker flags for libsane, overriding pkg-config
2380 GPHOTO2_CFLAGS
2381 C compiler flags for libgphoto2, overriding pkg-config
2382 GPHOTO2_LIBS
2383 Linker flags for libgphoto2, overriding pkg-config
2384 GPHOTO2_PORT_CFLAGS
2385 C compiler flags for libgphoto2_port, overriding pkg-config
2386 GPHOTO2_PORT_LIBS
2387 Linker flags for libgphoto2_port, overriding pkg-config
2388 LCMS2_CFLAGS
2389 C compiler flags for lcms2, overriding pkg-config
2390 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2391 FREETYPE_CFLAGS
2392 C compiler flags for freetype2, overriding pkg-config
2393 FREETYPE_LIBS
2394 Linker flags for freetype2, overriding pkg-config
2395 PULSE_CFLAGS
2396 C compiler flags for libpulse, overriding pkg-config
2397 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2398 GSTREAMER_CFLAGS
2399 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2400 gstreamer-audio-1.0, overriding pkg-config
2401 GSTREAMER_LIBS
2402 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2403 gstreamer-audio-1.0, overriding pkg-config
2404 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2405 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2406 CAPI20_CFLAGS
2407 C compiler flags for capi20, overriding pkg-config
2408 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2409 FONTCONFIG_CFLAGS
2410 C compiler flags for fontconfig, overriding pkg-config
2411 FONTCONFIG_LIBS
2412 Linker flags for fontconfig, overriding pkg-config
2413 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2414 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2415 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2416 PNG_LIBS Linker flags for libpng, overriding pkg-config
2417 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2418 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2419 MPG123_CFLAGS
2420 C compiler flags for libmpg123, overriding pkg-config
2421 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2422 NETAPI_CFLAGS
2423 C compiler flags for netapi, overriding pkg-config
2424 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2426 Use these variables to override the choices made by `configure' or to help
2427 it to find libraries and programs with nonstandard names/locations.
2429 Report bugs to <wine-devel@winehq.org>.
2430 Wine home page: <http://www.winehq.org>.
2431 _ACEOF
2432 ac_status=$?
2435 if test "$ac_init_help" = "recursive"; then
2436 # If there are subdirs, report their specific --help.
2437 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2438 test -d "$ac_dir" ||
2439 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2440 continue
2441 ac_builddir=.
2443 case "$ac_dir" in
2444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2446 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2447 # A ".." for each directory in $ac_dir_suffix.
2448 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2449 case $ac_top_builddir_sub in
2450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2452 esac ;;
2453 esac
2454 ac_abs_top_builddir=$ac_pwd
2455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2456 # for backward compatibility:
2457 ac_top_builddir=$ac_top_build_prefix
2459 case $srcdir in
2460 .) # We are building in place.
2461 ac_srcdir=.
2462 ac_top_srcdir=$ac_top_builddir_sub
2463 ac_abs_top_srcdir=$ac_pwd ;;
2464 [\\/]* | ?:[\\/]* ) # Absolute name.
2465 ac_srcdir=$srcdir$ac_dir_suffix;
2466 ac_top_srcdir=$srcdir
2467 ac_abs_top_srcdir=$srcdir ;;
2468 *) # Relative name.
2469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2470 ac_top_srcdir=$ac_top_build_prefix$srcdir
2471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2472 esac
2473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2475 cd "$ac_dir" || { ac_status=$?; continue; }
2476 # Check for guested configure.
2477 if test -f "$ac_srcdir/configure.gnu"; then
2478 echo &&
2479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2480 elif test -f "$ac_srcdir/configure"; then
2481 echo &&
2482 $SHELL "$ac_srcdir/configure" --help=recursive
2483 else
2484 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2485 fi || ac_status=$?
2486 cd "$ac_pwd" || { ac_status=$?; break; }
2487 done
2490 test -n "$ac_init_help" && exit $ac_status
2491 if $ac_init_version; then
2492 cat <<\_ACEOF
2493 Wine configure 1.9.22
2494 generated by GNU Autoconf 2.69
2496 Copyright (C) 2012 Free Software Foundation, Inc.
2497 This configure script is free software; the Free Software Foundation
2498 gives unlimited permission to copy, distribute and modify it.
2499 _ACEOF
2500 exit
2503 ## ------------------------ ##
2504 ## Autoconf initialization. ##
2505 ## ------------------------ ##
2507 # ac_fn_c_try_compile LINENO
2508 # --------------------------
2509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2510 ac_fn_c_try_compile ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 rm -f conftest.$ac_objext
2514 if { { ac_try="$ac_compile"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>conftest.err
2522 ac_status=$?
2523 if test -s conftest.err; then
2524 grep -v '^ *+' conftest.err >conftest.er1
2525 cat conftest.er1 >&5
2526 mv -f conftest.er1 conftest.err
2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && {
2530 test -z "$ac_c_werror_flag" ||
2531 test ! -s conftest.err
2532 } && test -s conftest.$ac_objext; then :
2533 ac_retval=0
2534 else
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.$ac_ext >&5
2538 ac_retval=1
2540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 as_fn_set_status $ac_retval
2543 } # ac_fn_c_try_compile
2545 # ac_fn_cxx_try_compile LINENO
2546 # ----------------------------
2547 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2548 ac_fn_cxx_try_compile ()
2550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2551 rm -f conftest.$ac_objext
2552 if { { ac_try="$ac_compile"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_compile") 2>conftest.err
2560 ac_status=$?
2561 if test -s conftest.err; then
2562 grep -v '^ *+' conftest.err >conftest.er1
2563 cat conftest.er1 >&5
2564 mv -f conftest.er1 conftest.err
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && {
2568 test -z "$ac_cxx_werror_flag" ||
2569 test ! -s conftest.err
2570 } && test -s conftest.$ac_objext; then :
2571 ac_retval=0
2572 else
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2576 ac_retval=1
2578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2579 as_fn_set_status $ac_retval
2581 } # ac_fn_cxx_try_compile
2583 # ac_fn_c_try_link LINENO
2584 # -----------------------
2585 # Try to link conftest.$ac_ext, and return whether this succeeded.
2586 ac_fn_c_try_link ()
2588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2589 rm -f conftest.$ac_objext conftest$ac_exeext
2590 if { { ac_try="$ac_link"
2591 case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2594 esac
2595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596 $as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_link") 2>conftest.err
2598 ac_status=$?
2599 if test -s conftest.err; then
2600 grep -v '^ *+' conftest.err >conftest.er1
2601 cat conftest.er1 >&5
2602 mv -f conftest.er1 conftest.err
2604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2605 test $ac_status = 0; } && {
2606 test -z "$ac_c_werror_flag" ||
2607 test ! -s conftest.err
2608 } && test -s conftest$ac_exeext && {
2609 test "$cross_compiling" = yes ||
2610 test -x conftest$ac_exeext
2611 }; then :
2612 ac_retval=0
2613 else
2614 $as_echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 ac_retval=1
2619 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2620 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2621 # interfere with the next link command; also delete a directory that is
2622 # left behind by Apple's compiler. We do this before executing the actions.
2623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 as_fn_set_status $ac_retval
2627 } # ac_fn_c_try_link
2629 # ac_fn_c_try_cpp LINENO
2630 # ----------------------
2631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2632 ac_fn_c_try_cpp ()
2634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2635 if { { ac_try="$ac_cpp conftest.$ac_ext"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2643 ac_status=$?
2644 if test -s conftest.err; then
2645 grep -v '^ *+' conftest.err >conftest.er1
2646 cat conftest.er1 >&5
2647 mv -f conftest.er1 conftest.err
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; } > conftest.i && {
2651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2652 test ! -s conftest.err
2653 }; then :
2654 ac_retval=0
2655 else
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2659 ac_retval=1
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 as_fn_set_status $ac_retval
2664 } # ac_fn_c_try_cpp
2666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2667 # -------------------------------------------------------
2668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2669 # the include files in INCLUDES and setting the cache variable VAR
2670 # accordingly.
2671 ac_fn_c_check_header_mongrel ()
2673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674 if eval \${$3+:} false; then :
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2676 $as_echo_n "checking for $2... " >&6; }
2677 if eval \${$3+:} false; then :
2678 $as_echo_n "(cached) " >&6
2680 eval ac_res=\$$3
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2683 else
2684 # Is the header compilable?
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2686 $as_echo_n "checking $2 usability... " >&6; }
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2690 #include <$2>
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 ac_header_compiler=yes
2694 else
2695 ac_header_compiler=no
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2699 $as_echo "$ac_header_compiler" >&6; }
2701 # Is the header present?
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2703 $as_echo_n "checking $2 presence... " >&6; }
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2706 #include <$2>
2707 _ACEOF
2708 if ac_fn_c_try_cpp "$LINENO"; then :
2709 ac_header_preproc=yes
2710 else
2711 ac_header_preproc=no
2713 rm -f conftest.err conftest.i conftest.$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2715 $as_echo "$ac_header_preproc" >&6; }
2717 # So? What about this header?
2718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2719 yes:no: )
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2725 no:yes:* )
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2736 ( $as_echo "## ------------------------------------ ##
2737 ## Report this to wine-devel@winehq.org ##
2738 ## ------------------------------------ ##"
2739 ) | sed "s/^/$as_me: WARNING: /" >&2
2741 esac
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743 $as_echo_n "checking for $2... " >&6; }
2744 if eval \${$3+:} false; then :
2745 $as_echo_n "(cached) " >&6
2746 else
2747 eval "$3=\$ac_header_compiler"
2749 eval ac_res=\$$3
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 } # ac_fn_c_check_header_mongrel
2757 # ac_fn_c_try_run LINENO
2758 # ----------------------
2759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2760 # that executables *can* be run.
2761 ac_fn_c_try_run ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 if { { ac_try="$ac_link"
2765 case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2768 esac
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 $as_echo "$ac_try_echo"; } >&5
2771 (eval "$ac_link") 2>&5
2772 ac_status=$?
2773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2775 { { case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 $as_echo "$ac_try_echo"; } >&5
2781 (eval "$ac_try") 2>&5
2782 ac_status=$?
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; }; }; then :
2785 ac_retval=0
2786 else
2787 $as_echo "$as_me: program exited with status $ac_status" >&5
2788 $as_echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 ac_retval=$ac_status
2793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 as_fn_set_status $ac_retval
2797 } # ac_fn_c_try_run
2799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2800 # -------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_c_check_header_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 $as_echo_n "checking for $2... " >&6; }
2808 if eval \${$3+:} false; then :
2809 $as_echo_n "(cached) " >&6
2810 else
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2814 #include <$2>
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 eval "$3=yes"
2818 else
2819 eval "$3=no"
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 eval ac_res=\$$3
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 $as_echo "$ac_res" >&6; }
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 } # ac_fn_c_check_header_compile
2830 # ac_fn_c_check_func LINENO FUNC VAR
2831 # ----------------------------------
2832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2833 ac_fn_c_check_func ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2837 $as_echo_n "checking for $2... " >&6; }
2838 if eval \${$3+:} false; then :
2839 $as_echo_n "(cached) " >&6
2840 else
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2845 #define $2 innocuous_$2
2847 /* System header to define __stub macros and hopefully few prototypes,
2848 which can conflict with char $2 (); below.
2849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2850 <limits.h> exists even on freestanding compilers. */
2852 #ifdef __STDC__
2853 # include <limits.h>
2854 #else
2855 # include <assert.h>
2856 #endif
2858 #undef $2
2860 /* Override any GCC internal prototype to avoid an error.
2861 Use char because int might match the return type of a GCC
2862 builtin and then its argument prototype would still apply. */
2863 #ifdef __cplusplus
2864 extern "C"
2865 #endif
2866 char $2 ();
2867 /* The GNU C library defines this for functions which it implements
2868 to always fail with ENOSYS. Some functions are actually named
2869 something starting with __ and the normal name is an alias. */
2870 #if defined __stub_$2 || defined __stub___$2
2871 choke me
2872 #endif
2875 main ()
2877 return $2 ();
2879 return 0;
2881 _ACEOF
2882 if ac_fn_c_try_link "$LINENO"; then :
2883 eval "$3=yes"
2884 else
2885 eval "$3=no"
2887 rm -f core conftest.err conftest.$ac_objext \
2888 conftest$ac_exeext conftest.$ac_ext
2890 eval ac_res=\$$3
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2892 $as_echo "$ac_res" >&6; }
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2895 } # ac_fn_c_check_func
2897 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2898 # ----------------------------------------------------
2899 # Tries to find if the field MEMBER exists in type AGGR, after including
2900 # INCLUDES, setting cache variable VAR accordingly.
2901 ac_fn_c_check_member ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2905 $as_echo_n "checking for $2.$3... " >&6; }
2906 if eval \${$4+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2913 main ()
2915 static $2 ac_aggr;
2916 if (ac_aggr.$3)
2917 return 0;
2919 return 0;
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 eval "$4=yes"
2924 else
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2929 main ()
2931 static $2 ac_aggr;
2932 if (sizeof ac_aggr.$3)
2933 return 0;
2935 return 0;
2937 _ACEOF
2938 if ac_fn_c_try_compile "$LINENO"; then :
2939 eval "$4=yes"
2940 else
2941 eval "$4=no"
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 eval ac_res=\$$4
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 $as_echo "$ac_res" >&6; }
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2952 } # ac_fn_c_check_member
2954 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2955 # -------------------------------------------
2956 # Tests whether TYPE exists after having included INCLUDES, setting cache
2957 # variable VAR accordingly.
2958 ac_fn_c_check_type ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2962 $as_echo_n "checking for $2... " >&6; }
2963 if eval \${$3+:} false; then :
2964 $as_echo_n "(cached) " >&6
2965 else
2966 eval "$3=no"
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2971 main ()
2973 if (sizeof ($2))
2974 return 0;
2976 return 0;
2978 _ACEOF
2979 if ac_fn_c_try_compile "$LINENO"; then :
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2984 main ()
2986 if (sizeof (($2)))
2987 return 0;
2989 return 0;
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2994 else
2995 eval "$3=yes"
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 eval ac_res=\$$3
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3003 $as_echo "$ac_res" >&6; }
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 } # ac_fn_c_check_type
3007 cat >config.log <<_ACEOF
3008 This file contains any messages produced by compilers while
3009 running configure, to aid debugging if configure makes a mistake.
3011 It was created by Wine $as_me 1.9.22, which was
3012 generated by GNU Autoconf 2.69. Invocation command line was
3014 $ $0 $@
3016 _ACEOF
3017 exec 5>>config.log
3019 cat <<_ASUNAME
3020 ## --------- ##
3021 ## Platform. ##
3022 ## --------- ##
3024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3041 _ASUNAME
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3046 IFS=$as_save_IFS
3047 test -z "$as_dir" && as_dir=.
3048 $as_echo "PATH: $as_dir"
3049 done
3050 IFS=$as_save_IFS
3052 } >&5
3054 cat >&5 <<_ACEOF
3057 ## ----------- ##
3058 ## Core tests. ##
3059 ## ----------- ##
3061 _ACEOF
3064 # Keep a trace of the command line.
3065 # Strip out --no-create and --no-recursion so they do not pile up.
3066 # Strip out --silent because we don't want to record it for future runs.
3067 # Also quote any args containing shell meta-characters.
3068 # Make two passes to allow for proper duplicate-argument suppression.
3069 ac_configure_args=
3070 ac_configure_args0=
3071 ac_configure_args1=
3072 ac_must_keep_next=false
3073 for ac_pass in 1 2
3075 for ac_arg
3077 case $ac_arg in
3078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3080 | -silent | --silent | --silen | --sile | --sil)
3081 continue ;;
3082 *\'*)
3083 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3084 esac
3085 case $ac_pass in
3086 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3088 as_fn_append ac_configure_args1 " '$ac_arg'"
3089 if test $ac_must_keep_next = true; then
3090 ac_must_keep_next=false # Got value, back to normal.
3091 else
3092 case $ac_arg in
3093 *=* | --config-cache | -C | -disable-* | --disable-* \
3094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3096 | -with-* | --with-* | -without-* | --without-* | --x)
3097 case "$ac_configure_args0 " in
3098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3099 esac
3101 -* ) ac_must_keep_next=true ;;
3102 esac
3104 as_fn_append ac_configure_args " '$ac_arg'"
3106 esac
3107 done
3108 done
3109 { ac_configure_args0=; unset ac_configure_args0;}
3110 { ac_configure_args1=; unset ac_configure_args1;}
3112 # When interrupted or exit'd, cleanup temporary files, and complete
3113 # config.log. We remove comments because anyway the quotes in there
3114 # would cause problems or look ugly.
3115 # WARNING: Use '\'' to represent an apostrophe within the trap.
3116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3117 trap 'exit_status=$?
3118 # Save into config.log some information that might help in debugging.
3120 echo
3122 $as_echo "## ---------------- ##
3123 ## Cache variables. ##
3124 ## ---------------- ##"
3125 echo
3126 # The following way of writing the cache mishandles newlines in values,
3128 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3129 eval ac_val=\$$ac_var
3130 case $ac_val in #(
3131 *${as_nl}*)
3132 case $ac_var in #(
3133 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3135 esac
3136 case $ac_var in #(
3137 _ | IFS | as_nl) ;; #(
3138 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3139 *) { eval $ac_var=; unset $ac_var;} ;;
3140 esac ;;
3141 esac
3142 done
3143 (set) 2>&1 |
3144 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3145 *${as_nl}ac_space=\ *)
3146 sed -n \
3147 "s/'\''/'\''\\\\'\'''\''/g;
3148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3149 ;; #(
3151 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3153 esac |
3154 sort
3156 echo
3158 $as_echo "## ----------------- ##
3159 ## Output variables. ##
3160 ## ----------------- ##"
3161 echo
3162 for ac_var in $ac_subst_vars
3164 eval ac_val=\$$ac_var
3165 case $ac_val in
3166 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3167 esac
3168 $as_echo "$ac_var='\''$ac_val'\''"
3169 done | sort
3170 echo
3172 if test -n "$ac_subst_files"; then
3173 $as_echo "## ------------------- ##
3174 ## File substitutions. ##
3175 ## ------------------- ##"
3176 echo
3177 for ac_var in $ac_subst_files
3179 eval ac_val=\$$ac_var
3180 case $ac_val in
3181 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3182 esac
3183 $as_echo "$ac_var='\''$ac_val'\''"
3184 done | sort
3185 echo
3188 if test -s confdefs.h; then
3189 $as_echo "## ----------- ##
3190 ## confdefs.h. ##
3191 ## ----------- ##"
3192 echo
3193 cat confdefs.h
3194 echo
3196 test "$ac_signal" != 0 &&
3197 $as_echo "$as_me: caught signal $ac_signal"
3198 $as_echo "$as_me: exit $exit_status"
3199 } >&5
3200 rm -f core *.core core.conftest.* &&
3201 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3202 exit $exit_status
3204 for ac_signal in 1 2 13 15; do
3205 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3206 done
3207 ac_signal=0
3209 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3210 rm -f -r conftest* confdefs.h
3212 $as_echo "/* confdefs.h */" > confdefs.h
3214 # Predefined preprocessor variables.
3216 cat >>confdefs.h <<_ACEOF
3217 #define PACKAGE_NAME "$PACKAGE_NAME"
3218 _ACEOF
3220 cat >>confdefs.h <<_ACEOF
3221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3222 _ACEOF
3224 cat >>confdefs.h <<_ACEOF
3225 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3226 _ACEOF
3228 cat >>confdefs.h <<_ACEOF
3229 #define PACKAGE_STRING "$PACKAGE_STRING"
3230 _ACEOF
3232 cat >>confdefs.h <<_ACEOF
3233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3234 _ACEOF
3236 cat >>confdefs.h <<_ACEOF
3237 #define PACKAGE_URL "$PACKAGE_URL"
3238 _ACEOF
3241 # Let the site file select an alternate cache file if it wants to.
3242 # Prefer an explicitly selected file to automatically selected ones.
3243 ac_site_file1=NONE
3244 ac_site_file2=NONE
3245 if test -n "$CONFIG_SITE"; then
3246 # We do not want a PATH search for config.site.
3247 case $CONFIG_SITE in #((
3248 -*) ac_site_file1=./$CONFIG_SITE;;
3249 */*) ac_site_file1=$CONFIG_SITE;;
3250 *) ac_site_file1=./$CONFIG_SITE;;
3251 esac
3252 elif test "x$prefix" != xNONE; then
3253 ac_site_file1=$prefix/share/config.site
3254 ac_site_file2=$prefix/etc/config.site
3255 else
3256 ac_site_file1=$ac_default_prefix/share/config.site
3257 ac_site_file2=$ac_default_prefix/etc/config.site
3259 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3261 test "x$ac_site_file" = xNONE && continue
3262 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3264 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3265 sed 's/^/| /' "$ac_site_file" >&5
3266 . "$ac_site_file" \
3267 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 as_fn_error $? "failed to load site script $ac_site_file
3270 See \`config.log' for more details" "$LINENO" 5; }
3272 done
3274 if test -r "$cache_file"; then
3275 # Some versions of bash will fail to source /dev/null (special files
3276 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3277 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3279 $as_echo "$as_me: loading cache $cache_file" >&6;}
3280 case $cache_file in
3281 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3282 *) . "./$cache_file";;
3283 esac
3285 else
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3287 $as_echo "$as_me: creating cache $cache_file" >&6;}
3288 >$cache_file
3291 # Check that the precious variables saved in the cache have kept the same
3292 # value.
3293 ac_cache_corrupted=false
3294 for ac_var in $ac_precious_vars; do
3295 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3296 eval ac_new_set=\$ac_env_${ac_var}_set
3297 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3298 eval ac_new_val=\$ac_env_${ac_var}_value
3299 case $ac_old_set,$ac_new_set in
3300 set,)
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3302 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3303 ac_cache_corrupted=: ;;
3304 ,set)
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3306 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3307 ac_cache_corrupted=: ;;
3308 ,);;
3310 if test "x$ac_old_val" != "x$ac_new_val"; then
3311 # differences in whitespace do not lead to failure.
3312 ac_old_val_w=`echo x $ac_old_val`
3313 ac_new_val_w=`echo x $ac_new_val`
3314 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3316 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3317 ac_cache_corrupted=:
3318 else
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3320 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3321 eval $ac_var=\$ac_old_val
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3324 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3326 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3327 fi;;
3328 esac
3329 # Pass precious variables to config.status.
3330 if test "$ac_new_set" = set; then
3331 case $ac_new_val in
3332 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3333 *) ac_arg=$ac_var=$ac_new_val ;;
3334 esac
3335 case " $ac_configure_args " in
3336 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3337 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3338 esac
3340 done
3341 if $ac_cache_corrupted; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3345 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3346 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3348 ## -------------------- ##
3349 ## Main body of script. ##
3350 ## -------------------- ##
3352 ac_ext=c
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360 ac_config_headers="$ac_config_headers include/config.h"
3362 ac_aux_dir=
3363 for ac_dir in tools "$srcdir"/tools; do
3364 if test -f "$ac_dir/install-sh"; then
3365 ac_aux_dir=$ac_dir
3366 ac_install_sh="$ac_aux_dir/install-sh -c"
3367 break
3368 elif test -f "$ac_dir/install.sh"; then
3369 ac_aux_dir=$ac_dir
3370 ac_install_sh="$ac_aux_dir/install.sh -c"
3371 break
3372 elif test -f "$ac_dir/shtool"; then
3373 ac_aux_dir=$ac_dir
3374 ac_install_sh="$ac_aux_dir/shtool install -c"
3375 break
3377 done
3378 if test -z "$ac_aux_dir"; then
3379 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3382 # These three variables are undocumented and unsupported,
3383 # and are intended to be withdrawn in a future Autoconf release.
3384 # They can cause serious problems if a builder's source tree is in a directory
3385 # whose full name contains unusual characters.
3386 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3387 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3388 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3392 libwine_version="1.0"
3396 # Check whether --enable-win16 was given.
3397 if test "${enable_win16+set}" = set; then :
3398 enableval=$enable_win16;
3401 # Check whether --enable-win64 was given.
3402 if test "${enable_win64+set}" = set; then :
3403 enableval=$enable_win64;
3406 # Check whether --enable-tests was given.
3407 if test "${enable_tests+set}" = set; then :
3408 enableval=$enable_tests;
3411 # Check whether --enable-maintainer-mode was given.
3412 if test "${enable_maintainer_mode+set}" = set; then :
3413 enableval=$enable_maintainer_mode;
3418 # Check whether --with-alsa was given.
3419 if test "${with_alsa+set}" = set; then :
3420 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3424 # Check whether --with-capi was given.
3425 if test "${with_capi+set}" = set; then :
3426 withval=$with_capi;
3430 # Check whether --with-cms was given.
3431 if test "${with_cms+set}" = set; then :
3432 withval=$with_cms;
3436 # Check whether --with-coreaudio was given.
3437 if test "${with_coreaudio+set}" = set; then :
3438 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3442 # Check whether --with-cups was given.
3443 if test "${with_cups+set}" = set; then :
3444 withval=$with_cups;
3448 # Check whether --with-curses was given.
3449 if test "${with_curses+set}" = set; then :
3450 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3454 # Check whether --with-dbus was given.
3455 if test "${with_dbus+set}" = set; then :
3456 withval=$with_dbus;
3460 # Check whether --with-fontconfig was given.
3461 if test "${with_fontconfig+set}" = set; then :
3462 withval=$with_fontconfig;
3466 # Check whether --with-freetype was given.
3467 if test "${with_freetype+set}" = set; then :
3468 withval=$with_freetype;
3472 # Check whether --with-gettext was given.
3473 if test "${with_gettext+set}" = set; then :
3474 withval=$with_gettext;
3478 # Check whether --with-gettextpo was given.
3479 if test "${with_gettextpo+set}" = set; then :
3480 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3484 # Check whether --with-gphoto was given.
3485 if test "${with_gphoto+set}" = set; then :
3486 withval=$with_gphoto;
3490 # Check whether --with-glu was given.
3491 if test "${with_glu+set}" = set; then :
3492 withval=$with_glu;
3496 # Check whether --with-gnutls was given.
3497 if test "${with_gnutls+set}" = set; then :
3498 withval=$with_gnutls;
3502 # Check whether --with-gsm was given.
3503 if test "${with_gsm+set}" = set; then :
3504 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3508 # Check whether --with-gstreamer was given.
3509 if test "${with_gstreamer+set}" = set; then :
3510 withval=$with_gstreamer;
3514 # Check whether --with-hal was given.
3515 if test "${with_hal+set}" = set; then :
3516 withval=$with_hal;
3520 # Check whether --with-jpeg was given.
3521 if test "${with_jpeg+set}" = set; then :
3522 withval=$with_jpeg;
3526 # Check whether --with-ldap was given.
3527 if test "${with_ldap+set}" = set; then :
3528 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3532 # Check whether --with-mpg123 was given.
3533 if test "${with_mpg123+set}" = set; then :
3534 withval=$with_mpg123;
3538 # Check whether --with-netapi was given.
3539 if test "${with_netapi+set}" = set; then :
3540 withval=$with_netapi;
3544 # Check whether --with-openal was given.
3545 if test "${with_openal+set}" = set; then :
3546 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3550 # Check whether --with-opencl was given.
3551 if test "${with_opencl+set}" = set; then :
3552 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3556 # Check whether --with-opengl was given.
3557 if test "${with_opengl+set}" = set; then :
3558 withval=$with_opengl;
3562 # Check whether --with-osmesa was given.
3563 if test "${with_osmesa+set}" = set; then :
3564 withval=$with_osmesa;
3568 # Check whether --with-oss was given.
3569 if test "${with_oss+set}" = set; then :
3570 withval=$with_oss;
3574 # Check whether --with-pcap was given.
3575 if test "${with_pcap+set}" = set; then :
3576 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3580 # Check whether --with-png was given.
3581 if test "${with_png+set}" = set; then :
3582 withval=$with_png;
3586 # Check whether --with-pthread was given.
3587 if test "${with_pthread+set}" = set; then :
3588 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3592 # Check whether --with-pulse was given.
3593 if test "${with_pulse+set}" = set; then :
3594 withval=$with_pulse;
3598 # Check whether --with-sane was given.
3599 if test "${with_sane+set}" = set; then :
3600 withval=$with_sane;
3604 # Check whether --with-tiff was given.
3605 if test "${with_tiff+set}" = set; then :
3606 withval=$with_tiff;
3610 # Check whether --with-udev was given.
3611 if test "${with_udev+set}" = set; then :
3612 withval=$with_udev;
3616 # Check whether --with-v4l was given.
3617 if test "${with_v4l+set}" = set; then :
3618 withval=$with_v4l;
3622 # Check whether --with-xcomposite was given.
3623 if test "${with_xcomposite+set}" = set; then :
3624 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3628 # Check whether --with-xcursor was given.
3629 if test "${with_xcursor+set}" = set; then :
3630 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3634 # Check whether --with-xinerama was given.
3635 if test "${with_xinerama+set}" = set; then :
3636 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3640 # Check whether --with-xinput was given.
3641 if test "${with_xinput+set}" = set; then :
3642 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3646 # Check whether --with-xinput2 was given.
3647 if test "${with_xinput2+set}" = set; then :
3648 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3652 # Check whether --with-xml was given.
3653 if test "${with_xml+set}" = set; then :
3654 withval=$with_xml;
3658 # Check whether --with-xrandr was given.
3659 if test "${with_xrandr+set}" = set; then :
3660 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3664 # Check whether --with-xrender was given.
3665 if test "${with_xrender+set}" = set; then :
3666 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3670 # Check whether --with-xshape was given.
3671 if test "${with_xshape+set}" = set; then :
3672 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3676 # Check whether --with-xshm was given.
3677 if test "${with_xshm+set}" = set; then :
3678 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3682 # Check whether --with-xslt was given.
3683 if test "${with_xslt+set}" = set; then :
3684 withval=$with_xslt;
3688 # Check whether --with-xxf86vm was given.
3689 if test "${with_xxf86vm+set}" = set; then :
3690 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
3694 # Check whether --with-zlib was given.
3695 if test "${with_zlib+set}" = set; then :
3696 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3701 # Check whether --with-wine-tools was given.
3702 if test "${with_wine_tools+set}" = set; then :
3703 withval=$with_wine_tools;
3707 # Check whether --with-wine64 was given.
3708 if test "${with_wine64+set}" = set; then :
3709 withval=$with_wine64;
3713 # Make sure we can run config.sub.
3714 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3715 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3718 $as_echo_n "checking build system type... " >&6; }
3719 if ${ac_cv_build+:} false; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 ac_build_alias=$build_alias
3723 test "x$ac_build_alias" = x &&
3724 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3725 test "x$ac_build_alias" = x &&
3726 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3727 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3728 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3732 $as_echo "$ac_cv_build" >&6; }
3733 case $ac_cv_build in
3734 *-*-*) ;;
3735 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3736 esac
3737 build=$ac_cv_build
3738 ac_save_IFS=$IFS; IFS='-'
3739 set x $ac_cv_build
3740 shift
3741 build_cpu=$1
3742 build_vendor=$2
3743 shift; shift
3744 # Remember, the first character of IFS is used to create $*,
3745 # except with old shells:
3746 build_os=$*
3747 IFS=$ac_save_IFS
3748 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3752 $as_echo_n "checking host system type... " >&6; }
3753 if ${ac_cv_host+:} false; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test "x$host_alias" = x; then
3757 ac_cv_host=$ac_cv_build
3758 else
3759 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3760 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3765 $as_echo "$ac_cv_host" >&6; }
3766 case $ac_cv_host in
3767 *-*-*) ;;
3768 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3769 esac
3770 host=$ac_cv_host
3771 ac_save_IFS=$IFS; IFS='-'
3772 set x $ac_cv_host
3773 shift
3774 host_cpu=$1
3775 host_vendor=$2
3776 shift; shift
3777 # Remember, the first character of IFS is used to create $*,
3778 # except with old shells:
3779 host_os=$*
3780 IFS=$ac_save_IFS
3781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3785 case "$srcdir" in
3786 .) ;;
3787 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3788 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3789 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3790 fi ;;
3791 esac
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3795 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3796 set x ${MAKE-make}
3797 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3798 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 cat >conftest.make <<\_ACEOF
3802 SHELL = /bin/sh
3803 all:
3804 @echo '@@@%%%=$(MAKE)=@@@%%%'
3805 _ACEOF
3806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3807 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3808 *@@@%%%=?*=@@@%%%*)
3809 eval ac_cv_prog_make_${ac_make}_set=yes;;
3811 eval ac_cv_prog_make_${ac_make}_set=no;;
3812 esac
3813 rm -f conftest.make
3815 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3817 $as_echo "yes" >&6; }
3818 SET_MAKE=
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3822 SET_MAKE="MAKE=${MAKE-make}"
3825 ac_ext=c
3826 ac_cpp='$CPP $CPPFLAGS'
3827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830 if test -n "$ac_tool_prefix"; then
3831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3832 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3844 IFS=$as_save_IFS
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3852 done
3853 done
3854 IFS=$as_save_IFS
3858 CC=$ac_cv_prog_CC
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3862 else
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3869 if test -z "$ac_cv_prog_CC"; then
3870 ac_ct_CC=$CC
3871 # Extract the first word of "gcc", so it can be a program name with args.
3872 set dummy gcc; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_ac_ct_CC="gcc"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3907 if test "x$ac_ct_CC" = x; then
3908 CC=""
3909 else
3910 case $cross_compiling:$ac_tool_warned in
3911 yes:)
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3914 ac_tool_warned=yes ;;
3915 esac
3916 CC=$ac_ct_CC
3918 else
3919 CC="$ac_cv_prog_CC"
3922 if test -z "$CC"; then
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}cc; ac_word=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_CC+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 if test -n "$CC"; then
3932 ac_cv_prog_CC="$CC" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_CC="${ac_tool_prefix}cc"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3947 IFS=$as_save_IFS
3951 CC=$ac_cv_prog_CC
3952 if test -n "$CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954 $as_echo "$CC" >&6; }
3955 else
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3963 if test -z "$CC"; then
3964 # Extract the first word of "cc", so it can be a program name with args.
3965 set dummy cc; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_CC+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$CC"; then
3972 ac_cv_prog_CC="$CC" # Let the user override the test.
3973 else
3974 ac_prog_rejected=no
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3983 ac_prog_rejected=yes
3984 continue
3986 ac_cv_prog_CC="cc"
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 break 2
3990 done
3991 done
3992 IFS=$as_save_IFS
3994 if test $ac_prog_rejected = yes; then
3995 # We found a bogon in the path, so make sure we never use it.
3996 set dummy $ac_cv_prog_CC
3997 shift
3998 if test $# != 0; then
3999 # We chose a different compiler from the bogus one.
4000 # However, it has the same basename, so the bogon will be chosen
4001 # first if we set CC to just the basename; use the full file name.
4002 shift
4003 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4008 CC=$ac_cv_prog_CC
4009 if test -n "$CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011 $as_echo "$CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test -z "$CC"; then
4020 if test -n "$ac_tool_prefix"; then
4021 for ac_prog in cl.exe
4023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4060 test -n "$CC" && break
4061 done
4063 if test -z "$CC"; then
4064 ac_ct_CC=$CC
4065 for ac_prog in cl.exe
4067 # Extract the first word of "$ac_prog", so it can be a program name with args.
4068 set dummy $ac_prog; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 if test -n "$ac_ct_CC"; then
4075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076 else
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4080 IFS=$as_save_IFS
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_ac_ct_CC="$ac_prog"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 break 2
4088 done
4089 done
4090 IFS=$as_save_IFS
4094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4095 if test -n "$ac_ct_CC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4097 $as_echo "$ac_ct_CC" >&6; }
4098 else
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4104 test -n "$ac_ct_CC" && break
4105 done
4107 if test "x$ac_ct_CC" = x; then
4108 CC=""
4109 else
4110 case $cross_compiling:$ac_tool_warned in
4111 yes:)
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114 ac_tool_warned=yes ;;
4115 esac
4116 CC=$ac_ct_CC
4123 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $? "no acceptable C compiler found in \$PATH
4126 See \`config.log' for more details" "$LINENO" 5; }
4128 # Provide some information about the compiler.
4129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4130 set X $ac_compile
4131 ac_compiler=$2
4132 for ac_option in --version -v -V -qversion; do
4133 { { ac_try="$ac_compiler $ac_option >&5"
4134 case "(($ac_try" in
4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4136 *) ac_try_echo=$ac_try;;
4137 esac
4138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4139 $as_echo "$ac_try_echo"; } >&5
4140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4141 ac_status=$?
4142 if test -s conftest.err; then
4143 sed '10a\
4144 ... rest of stderr output deleted ...
4145 10q' conftest.err >conftest.er1
4146 cat conftest.er1 >&5
4148 rm -f conftest.er1 conftest.err
4149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150 test $ac_status = 0; }
4151 done
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 ac_clean_files_save=$ac_clean_files
4165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4166 # Try to create an executable without -o first, disregard a.out.
4167 # It will help us diagnose broken compilers, and finding out an intuition
4168 # of exeext.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4170 $as_echo_n "checking whether the C compiler works... " >&6; }
4171 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4173 # The possible output files:
4174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4176 ac_rmfiles=
4177 for ac_file in $ac_files
4179 case $ac_file in
4180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4182 esac
4183 done
4184 rm -f $ac_rmfiles
4186 if { { ac_try="$ac_link_default"
4187 case "(($ac_try" in
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4190 esac
4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_link_default") 2>&5
4194 ac_status=$?
4195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196 test $ac_status = 0; }; then :
4197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4200 # so that the user can short-circuit this test for compilers unknown to
4201 # Autoconf.
4202 for ac_file in $ac_files ''
4204 test -f "$ac_file" || continue
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4208 [ab].out )
4209 # We found the default executable, but exeext='' is most
4210 # certainly right.
4211 break;;
4212 *.* )
4213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4214 then :; else
4215 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4217 # We set ac_cv_exeext here because the later test for it is not
4218 # safe: cross compilers may not add the suffix if given an `-o'
4219 # argument, so we may need to know it at that point already.
4220 # Even if this section looks crufty: it has the advantage of
4221 # actually working.
4222 break;;
4224 break;;
4225 esac
4226 done
4227 test "$ac_cv_exeext" = no && ac_cv_exeext=
4229 else
4230 ac_file=''
4232 if test -z "$ac_file"; then :
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error 77 "C compiler cannot create executables
4241 See \`config.log' for more details" "$LINENO" 5; }
4242 else
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244 $as_echo "yes" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4247 $as_echo_n "checking for C compiler default output file name... " >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4249 $as_echo "$ac_file" >&6; }
4250 ac_exeext=$ac_cv_exeext
4252 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4253 ac_clean_files=$ac_clean_files_save
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4255 $as_echo_n "checking for suffix of executables... " >&6; }
4256 if { { ac_try="$ac_link"
4257 case "(($ac_try" in
4258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259 *) ac_try_echo=$ac_try;;
4260 esac
4261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4262 $as_echo "$ac_try_echo"; } >&5
4263 (eval "$ac_link") 2>&5
4264 ac_status=$?
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }; then :
4267 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4268 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4269 # work properly (i.e., refer to `conftest.exe'), while it won't with
4270 # `rm'.
4271 for ac_file in conftest.exe conftest conftest.*; do
4272 test -f "$ac_file" || continue
4273 case $ac_file in
4274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4275 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4276 break;;
4277 * ) break;;
4278 esac
4279 done
4280 else
4281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4284 See \`config.log' for more details" "$LINENO" 5; }
4286 rm -f conftest conftest$ac_cv_exeext
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4288 $as_echo "$ac_cv_exeext" >&6; }
4290 rm -f conftest.$ac_ext
4291 EXEEXT=$ac_cv_exeext
4292 ac_exeext=$EXEEXT
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4295 #include <stdio.h>
4297 main ()
4299 FILE *f = fopen ("conftest.out", "w");
4300 return ferror (f) || fclose (f) != 0;
4303 return 0;
4305 _ACEOF
4306 ac_clean_files="$ac_clean_files conftest.out"
4307 # Check that the compiler produces executables we can run. If not, either
4308 # the compiler is broken, or we cross compile.
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4310 $as_echo_n "checking whether we are cross compiling... " >&6; }
4311 if test "$cross_compiling" != yes; then
4312 { { ac_try="$ac_link"
4313 case "(($ac_try" in
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4316 esac
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_link") 2>&5
4320 ac_status=$?
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }
4323 if { ac_try='./conftest$ac_cv_exeext'
4324 { { case "(($ac_try" in
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4327 esac
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_try") 2>&5
4331 ac_status=$?
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }; }; then
4334 cross_compiling=no
4335 else
4336 if test "$cross_compiling" = maybe; then
4337 cross_compiling=yes
4338 else
4339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4341 as_fn_error $? "cannot run C compiled programs.
4342 If you meant to cross compile, use \`--host'.
4343 See \`config.log' for more details" "$LINENO" 5; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4348 $as_echo "$cross_compiling" >&6; }
4350 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4351 ac_clean_files=$ac_clean_files_save
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4353 $as_echo_n "checking for suffix of object files... " >&6; }
4354 if ${ac_cv_objext+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4361 main ()
4365 return 0;
4367 _ACEOF
4368 rm -f conftest.o conftest.obj
4369 if { { ac_try="$ac_compile"
4370 case "(($ac_try" in
4371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4373 esac
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376 (eval "$ac_compile") 2>&5
4377 ac_status=$?
4378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4379 test $ac_status = 0; }; then :
4380 for ac_file in conftest.o conftest.obj conftest.*; do
4381 test -f "$ac_file" || continue;
4382 case $ac_file in
4383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4384 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4385 break;;
4386 esac
4387 done
4388 else
4389 $as_echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4394 as_fn_error $? "cannot compute suffix of object files: cannot compile
4395 See \`config.log' for more details" "$LINENO" 5; }
4397 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4400 $as_echo "$ac_cv_objext" >&6; }
4401 OBJEXT=$ac_cv_objext
4402 ac_objext=$OBJEXT
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4405 if ${ac_cv_c_compiler_gnu+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4412 main ()
4414 #ifndef __GNUC__
4415 choke me
4416 #endif
4419 return 0;
4421 _ACEOF
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 ac_compiler_gnu=yes
4424 else
4425 ac_compiler_gnu=no
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4433 if test $ac_compiler_gnu = yes; then
4434 GCC=yes
4435 else
4436 GCC=
4438 ac_test_CFLAGS=${CFLAGS+set}
4439 ac_save_CFLAGS=$CFLAGS
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4442 if ${ac_cv_prog_cc_g+:} false; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 ac_save_c_werror_flag=$ac_c_werror_flag
4446 ac_c_werror_flag=yes
4447 ac_cv_prog_cc_g=no
4448 CFLAGS="-g"
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4453 main ()
4457 return 0;
4459 _ACEOF
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461 ac_cv_prog_cc_g=yes
4462 else
4463 CFLAGS=""
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4468 main ()
4472 return 0;
4474 _ACEOF
4475 if ac_fn_c_try_compile "$LINENO"; then :
4477 else
4478 ac_c_werror_flag=$ac_save_c_werror_flag
4479 CFLAGS="-g"
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4484 main ()
4488 return 0;
4490 _ACEOF
4491 if ac_fn_c_try_compile "$LINENO"; then :
4492 ac_cv_prog_cc_g=yes
4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_c_werror_flag=$ac_save_c_werror_flag
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4502 $as_echo "$ac_cv_prog_cc_g" >&6; }
4503 if test "$ac_test_CFLAGS" = set; then
4504 CFLAGS=$ac_save_CFLAGS
4505 elif test $ac_cv_prog_cc_g = yes; then
4506 if test "$GCC" = yes; then
4507 CFLAGS="-g -O2"
4508 else
4509 CFLAGS="-g"
4511 else
4512 if test "$GCC" = yes; then
4513 CFLAGS="-O2"
4514 else
4515 CFLAGS=
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4519 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4520 if ${ac_cv_prog_cc_c89+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_cv_prog_cc_c89=no
4524 ac_save_CC=$CC
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4527 #include <stdarg.h>
4528 #include <stdio.h>
4529 struct stat;
4530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4531 struct buf { int x; };
4532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4533 static char *e (p, i)
4534 char **p;
4535 int i;
4537 return p[i];
4539 static char *f (char * (*g) (char **, int), char **p, ...)
4541 char *s;
4542 va_list v;
4543 va_start (v,p);
4544 s = g (p, va_arg (v,int));
4545 va_end (v);
4546 return s;
4549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4550 function prototypes and stuff, but not '\xHH' hex character constants.
4551 These don't provoke an error unfortunately, instead are silently treated
4552 as 'x'. The following induces an error, until -std is added to get
4553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4554 array size at least. It's necessary to write '\x00'==0 to get something
4555 that's true only with -std. */
4556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4559 inside strings and character constants. */
4560 #define FOO(x) 'x'
4561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4563 int test (int i, double x);
4564 struct s1 {int (*f) (int a);};
4565 struct s2 {int (*f) (double a);};
4566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4567 int argc;
4568 char **argv;
4570 main ()
4572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4574 return 0;
4576 _ACEOF
4577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4580 CC="$ac_save_CC $ac_arg"
4581 if ac_fn_c_try_compile "$LINENO"; then :
4582 ac_cv_prog_cc_c89=$ac_arg
4584 rm -f core conftest.err conftest.$ac_objext
4585 test "x$ac_cv_prog_cc_c89" != "xno" && break
4586 done
4587 rm -f conftest.$ac_ext
4588 CC=$ac_save_CC
4591 # AC_CACHE_VAL
4592 case "x$ac_cv_prog_cc_c89" in
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4595 $as_echo "none needed" >&6; } ;;
4596 xno)
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4598 $as_echo "unsupported" >&6; } ;;
4600 CC="$CC $ac_cv_prog_cc_c89"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4602 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4603 esac
4604 if test "x$ac_cv_prog_cc_c89" != xno; then :
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614 ac_ext=cpp
4615 ac_cpp='$CXXCPP $CPPFLAGS'
4616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4619 if test -z "$CXX"; then
4620 if test -n "$CCC"; then
4621 CXX=$CCC
4622 else
4623 if test -n "$ac_tool_prefix"; then
4624 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4626 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4627 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_CXX+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 if test -n "$CXX"; then
4634 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4635 else
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH
4639 IFS=$as_save_IFS
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 break 2
4647 done
4648 done
4649 IFS=$as_save_IFS
4653 CXX=$ac_cv_prog_CXX
4654 if test -n "$CXX"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4656 $as_echo "$CXX" >&6; }
4657 else
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$CXX" && break
4664 done
4666 if test -z "$CXX"; then
4667 ac_ct_CXX=$CXX
4668 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4670 # Extract the first word of "$ac_prog", so it can be a program name with args.
4671 set dummy $ac_prog; ac_word=$2
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673 $as_echo_n "checking for $ac_word... " >&6; }
4674 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4675 $as_echo_n "(cached) " >&6
4676 else
4677 if test -n "$ac_ct_CXX"; then
4678 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4679 else
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH
4683 IFS=$as_save_IFS
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_prog"
4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 break 2
4691 done
4692 done
4693 IFS=$as_save_IFS
4697 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4698 if test -n "$ac_ct_CXX"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4700 $as_echo "$ac_ct_CXX" >&6; }
4701 else
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4707 test -n "$ac_ct_CXX" && break
4708 done
4710 if test "x$ac_ct_CXX" = x; then
4711 CXX="g++"
4712 else
4713 case $cross_compiling:$ac_tool_warned in
4714 yes:)
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4717 ac_tool_warned=yes ;;
4718 esac
4719 CXX=$ac_ct_CXX
4725 # Provide some information about the compiler.
4726 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4727 set X $ac_compile
4728 ac_compiler=$2
4729 for ac_option in --version -v -V -qversion; do
4730 { { ac_try="$ac_compiler $ac_option >&5"
4731 case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4738 ac_status=$?
4739 if test -s conftest.err; then
4740 sed '10a\
4741 ... rest of stderr output deleted ...
4742 10q' conftest.err >conftest.er1
4743 cat conftest.er1 >&5
4745 rm -f conftest.er1 conftest.err
4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4747 test $ac_status = 0; }
4748 done
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4751 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4752 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4753 $as_echo_n "(cached) " >&6
4754 else
4755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4759 main ()
4761 #ifndef __GNUC__
4762 choke me
4763 #endif
4766 return 0;
4768 _ACEOF
4769 if ac_fn_cxx_try_compile "$LINENO"; then :
4770 ac_compiler_gnu=yes
4771 else
4772 ac_compiler_gnu=no
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4779 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4780 if test $ac_compiler_gnu = yes; then
4781 GXX=yes
4782 else
4783 GXX=
4785 ac_test_CXXFLAGS=${CXXFLAGS+set}
4786 ac_save_CXXFLAGS=$CXXFLAGS
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4788 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4789 if ${ac_cv_prog_cxx_g+:} false; then :
4790 $as_echo_n "(cached) " >&6
4791 else
4792 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4793 ac_cxx_werror_flag=yes
4794 ac_cv_prog_cxx_g=no
4795 CXXFLAGS="-g"
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 main ()
4804 return 0;
4806 _ACEOF
4807 if ac_fn_cxx_try_compile "$LINENO"; then :
4808 ac_cv_prog_cxx_g=yes
4809 else
4810 CXXFLAGS=""
4811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4815 main ()
4819 return 0;
4821 _ACEOF
4822 if ac_fn_cxx_try_compile "$LINENO"; then :
4824 else
4825 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4826 CXXFLAGS="-g"
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828 /* end confdefs.h. */
4831 main ()
4835 return 0;
4837 _ACEOF
4838 if ac_fn_cxx_try_compile "$LINENO"; then :
4839 ac_cv_prog_cxx_g=yes
4841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4849 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4850 if test "$ac_test_CXXFLAGS" = set; then
4851 CXXFLAGS=$ac_save_CXXFLAGS
4852 elif test $ac_cv_prog_cxx_g = yes; then
4853 if test "$GXX" = yes; then
4854 CXXFLAGS="-g -O2"
4855 else
4856 CXXFLAGS="-g"
4858 else
4859 if test "$GXX" = yes; then
4860 CXXFLAGS="-O2"
4861 else
4862 CXXFLAGS=
4865 ac_ext=c
4866 ac_cpp='$CPP $CPPFLAGS'
4867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4871 if test -n "$ac_tool_prefix"; then
4872 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4873 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_CPPBIN+:} false; then :
4877 $as_echo_n "(cached) " >&6
4878 else
4879 if test -n "$CPPBIN"; then
4880 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4881 else
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 for as_dir in $PATH
4885 IFS=$as_save_IFS
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 CPPBIN=$ac_cv_prog_CPPBIN
4900 if test -n "$CPPBIN"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4902 $as_echo "$CPPBIN" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4910 if test -z "$ac_cv_prog_CPPBIN"; then
4911 ac_ct_CPPBIN=$CPPBIN
4912 # Extract the first word of "cpp", so it can be a program name with args.
4913 set dummy cpp; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4917 $as_echo_n "(cached) " >&6
4918 else
4919 if test -n "$ac_ct_CPPBIN"; then
4920 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4921 else
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 for as_dir in $PATH
4925 IFS=$as_save_IFS
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_CPPBIN="cpp"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 break 2
4933 done
4934 done
4935 IFS=$as_save_IFS
4939 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4940 if test -n "$ac_ct_CPPBIN"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4942 $as_echo "$ac_ct_CPPBIN" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4948 if test "x$ac_ct_CPPBIN" = x; then
4949 CPPBIN="cpp"
4950 else
4951 case $cross_compiling:$ac_tool_warned in
4952 yes:)
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4955 ac_tool_warned=yes ;;
4956 esac
4957 CPPBIN=$ac_ct_CPPBIN
4959 else
4960 CPPBIN="$ac_cv_prog_CPPBIN"
4964 cat >>confdefs.h <<_ACEOF
4965 #define EXEEXT "$ac_exeext"
4966 _ACEOF
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}ld; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_LD+:} false; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$LD"; then
4977 ac_cv_prog_LD="$LD" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_LD="${ac_tool_prefix}ld"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 LD=$ac_cv_prog_LD
4997 if test -n "$LD"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4999 $as_echo "$LD" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_LD"; then
5008 ac_ct_LD=$LD
5009 # Extract the first word of "ld", so it can be a program name with args.
5010 set dummy ld; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$ac_ct_LD"; then
5017 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_LD="ld"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5030 done
5031 done
5032 IFS=$as_save_IFS
5036 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5037 if test -n "$ac_ct_LD"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5039 $as_echo "$ac_ct_LD" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_LD" = x; then
5046 LD=""
5047 else
5048 case $cross_compiling:$ac_tool_warned in
5049 yes:)
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned=yes ;;
5053 esac
5054 LD=$ac_ct_LD
5056 else
5057 LD="$ac_cv_prog_LD"
5061 case $host in
5062 *-darwin*)
5063 with_fontconfig=${with_fontconfig:-no}
5065 *-mingw32*|*-cygwin*)
5066 enable_win16=${enable_win16:-no}
5067 CFLAGS="$CFLAGS -D_WIN32"
5069 esac
5071 case $host in
5072 x86_64*|amd64*)
5073 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5074 then
5075 CC="$CC -m32"
5076 CXX="$CXX -m32"
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5078 $as_echo_n "checking whether $CC works... " >&6; }
5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5084 main ()
5088 return 0;
5090 _ACEOF
5091 if ac_fn_c_try_link "$LINENO"; then :
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5093 $as_echo "yes" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5097 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5099 rm -f core conftest.err conftest.$ac_objext \
5100 conftest$ac_exeext conftest.$ac_ext
5101 host_cpu="i386"
5102 notice_platform="32-bit "
5103 TARGETFLAGS="-m32"
5105 enable_win16=${enable_win16:-yes}
5106 else
5107 if test "x${GCC}" = "xyes"
5108 then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5110 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #include <stdarg.h>
5115 main ()
5117 void func(__builtin_ms_va_list *args);
5119 return 0;
5121 _ACEOF
5122 if ac_fn_c_try_compile "$LINENO"; then :
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5124 $as_echo "yes" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5132 CC="$CC -m64"
5133 CXX="$CXX -m64"
5134 host_cpu="x86_64"
5135 notice_platform="64-bit "
5136 TARGETFLAGS="-m64"
5140 arm*)
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5142 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5144 /* end confdefs.h. */
5145 int ac_test(int i) { return i; }
5147 main ()
5149 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5151 return 0;
5153 _ACEOF
5154 if ac_fn_c_try_link "$LINENO"; then :
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5156 $as_echo "yes" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5160 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5162 rm -f core conftest.err conftest.$ac_objext \
5163 conftest$ac_exeext conftest.$ac_ext
5164 CFLAGS="$CFLAGS -marm"
5165 TARGETFLAGS="-marm"
5168 i[3456789]86*)
5169 enable_win16=${enable_win16:-yes}
5171 esac
5173 enable_win16=${enable_win16:-no}
5174 enable_win64=${enable_win64:-no}
5176 enable_winetest=${enable_winetest:-$enable_tests}
5178 if test -n "$with_wine64"
5179 then
5180 if test "x$enable_win64" = "xyes"
5181 then
5182 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5183 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5185 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5186 You should create a separate build directory and run configure from there." "$LINENO" 5
5187 enable_fonts=${enable_fonts:-no}
5188 enable_server=${enable_server:-no}
5189 elif test "x$enable_win64" = "xyes"
5190 then
5191 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5195 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5196 if ${wine_cv_toolsdir+:} false; then :
5197 $as_echo_n "(cached) " >&6
5198 else
5199 wine_cv_toolsdir="$with_wine_tools"
5200 if test -z "$with_wine_tools"; then
5201 if test "$cross_compiling" = "yes"; then
5202 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5203 elif test -n "$with_wine64"; then
5204 wine_cv_toolsdir="$with_wine64"
5207 if test -z "$wine_cv_toolsdir"; then
5208 wine_makedep=tools/makedep
5209 wine_cv_toolsdir="\$(top_builddir)"
5210 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5211 wine_makedep=$wine_cv_toolsdir/tools/makedep
5212 case "$wine_cv_toolsdir" in
5213 /*) ;;
5214 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5215 esac
5216 enable_tools=${enable_tools:-no}
5217 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5218 else
5219 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5223 $as_echo "$wine_cv_toolsdir" >&6; }
5224 TOOLSDIR=$wine_cv_toolsdir
5226 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5227 then
5228 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5232 for ac_prog in flex
5234 # Extract the first word of "$ac_prog", so it can be a program name with args.
5235 set dummy $ac_prog; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_FLEX+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -n "$FLEX"; then
5242 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_FLEX="$ac_prog"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5255 done
5256 done
5257 IFS=$as_save_IFS
5261 FLEX=$ac_cv_prog_FLEX
5262 if test -n "$FLEX"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5264 $as_echo "$FLEX" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 test -n "$FLEX" && break
5272 done
5273 test -n "$FLEX" || FLEX="none"
5275 if test "$FLEX" = "none"
5276 then
5277 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5280 $as_echo_n "checking whether flex is recent enough... " >&6; }
5281 cat >conftest.l <<EOF
5282 %top{
5283 #include "prediluvian.h"
5287 if $FLEX -t conftest.l >/dev/null 2>&5
5288 then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5290 $as_echo "yes" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5294 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5297 for ac_prog in bison
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy $ac_prog; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_BISON+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -n "$BISON"; then
5307 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_BISON="$ac_prog"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 BISON=$ac_cv_prog_BISON
5327 if test -n "$BISON"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5329 $as_echo "$BISON" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$BISON" && break
5337 done
5338 test -n "$BISON" || BISON="none"
5340 if test "$BISON" = "none"
5341 then
5342 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5345 if test -n "$ac_tool_prefix"; then
5346 for ac_prog in ar gar
5348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_AR+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if test -n "$AR"; then
5356 ac_cv_prog_AR="$AR" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5371 IFS=$as_save_IFS
5375 AR=$ac_cv_prog_AR
5376 if test -n "$AR"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5378 $as_echo "$AR" >&6; }
5379 else
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$AR" && break
5386 done
5388 if test -z "$AR"; then
5389 ac_ct_AR=$AR
5390 for ac_prog in ar gar
5392 # Extract the first word of "$ac_prog", so it can be a program name with args.
5393 set dummy $ac_prog; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_AR"; then
5400 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_AR="$ac_prog"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5420 if test -n "$ac_ct_AR"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5422 $as_echo "$ac_ct_AR" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5429 test -n "$ac_ct_AR" && break
5430 done
5432 if test "x$ac_ct_AR" = x; then
5433 AR="ar"
5434 else
5435 case $cross_compiling:$ac_tool_warned in
5436 yes:)
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5439 ac_tool_warned=yes ;;
5440 esac
5441 AR=$ac_ct_AR
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}strip; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_STRIP+:} false; then :
5451 $as_echo_n "(cached) " >&6
5452 else
5453 if test -n "$STRIP"; then
5454 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5455 else
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH
5459 IFS=$as_save_IFS
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5463 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 break 2
5467 done
5468 done
5469 IFS=$as_save_IFS
5473 STRIP=$ac_cv_prog_STRIP
5474 if test -n "$STRIP"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5476 $as_echo "$STRIP" >&6; }
5477 else
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_STRIP"; then
5485 ac_ct_STRIP=$STRIP
5486 # Extract the first word of "strip", so it can be a program name with args.
5487 set dummy strip; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5491 $as_echo_n "(cached) " >&6
5492 else
5493 if test -n "$ac_ct_STRIP"; then
5494 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5503 ac_cv_prog_ac_ct_STRIP="strip"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 break 2
5507 done
5508 done
5509 IFS=$as_save_IFS
5513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5514 if test -n "$ac_ct_STRIP"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5516 $as_echo "$ac_ct_STRIP" >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_STRIP" = x; then
5523 STRIP="strip"
5524 else
5525 case $cross_compiling:$ac_tool_warned in
5526 yes:)
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5530 esac
5531 STRIP=$ac_ct_STRIP
5533 else
5534 STRIP="$ac_cv_prog_STRIP"
5537 ARFLAGS=rc
5539 if test -n "$ac_tool_prefix"; then
5540 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5541 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_RANLIB+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$RANLIB"; then
5548 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5561 done
5562 done
5563 IFS=$as_save_IFS
5567 RANLIB=$ac_cv_prog_RANLIB
5568 if test -n "$RANLIB"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5570 $as_echo "$RANLIB" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5578 if test -z "$ac_cv_prog_RANLIB"; then
5579 ac_ct_RANLIB=$RANLIB
5580 # Extract the first word of "ranlib", so it can be a program name with args.
5581 set dummy ranlib; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 if test -n "$ac_ct_RANLIB"; then
5588 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5593 IFS=$as_save_IFS
5594 test -z "$as_dir" && as_dir=.
5595 for ac_exec_ext in '' $ac_executable_extensions; do
5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5597 ac_cv_prog_ac_ct_RANLIB="ranlib"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 break 2
5601 done
5602 done
5603 IFS=$as_save_IFS
5607 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5608 if test -n "$ac_ct_RANLIB"; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5610 $as_echo "$ac_ct_RANLIB" >&6; }
5611 else
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5616 if test "x$ac_ct_RANLIB" = x; then
5617 RANLIB=":"
5618 else
5619 case $cross_compiling:$ac_tool_warned in
5620 yes:)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625 RANLIB=$ac_ct_RANLIB
5627 else
5628 RANLIB="$ac_cv_prog_RANLIB"
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5632 $as_echo_n "checking whether ln -s works... " >&6; }
5633 LN_S=$as_ln_s
5634 if test "$LN_S" = "ln -s"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5636 $as_echo "yes" >&6; }
5637 else
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5639 $as_echo "no, using $LN_S" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5643 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5644 if ${ac_cv_path_GREP+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -z "$GREP"; then
5648 ac_path_GREP_found=false
5649 # Loop through the user's path and test for each of PROGNAME-LIST
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_prog in grep ggrep; do
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5658 as_fn_executable_p "$ac_path_GREP" || continue
5659 # Check for GNU ac_path_GREP and select it if it is found.
5660 # Check for GNU $ac_path_GREP
5661 case `"$ac_path_GREP" --version 2>&1` in
5662 *GNU*)
5663 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5665 ac_count=0
5666 $as_echo_n 0123456789 >"conftest.in"
5667 while :
5669 cat "conftest.in" "conftest.in" >"conftest.tmp"
5670 mv "conftest.tmp" "conftest.in"
5671 cp "conftest.in" "conftest.nl"
5672 $as_echo 'GREP' >> "conftest.nl"
5673 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5675 as_fn_arith $ac_count + 1 && ac_count=$as_val
5676 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5677 # Best one so far, save it but keep looking for a better one
5678 ac_cv_path_GREP="$ac_path_GREP"
5679 ac_path_GREP_max=$ac_count
5681 # 10*(2^10) chars as input seems more than enough
5682 test $ac_count -gt 10 && break
5683 done
5684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5685 esac
5687 $ac_path_GREP_found && break 3
5688 done
5689 done
5690 done
5691 IFS=$as_save_IFS
5692 if test -z "$ac_cv_path_GREP"; then
5693 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5695 else
5696 ac_cv_path_GREP=$GREP
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5701 $as_echo "$ac_cv_path_GREP" >&6; }
5702 GREP="$ac_cv_path_GREP"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5706 $as_echo_n "checking for egrep... " >&6; }
5707 if ${ac_cv_path_EGREP+:} false; then :
5708 $as_echo_n "(cached) " >&6
5709 else
5710 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5711 then ac_cv_path_EGREP="$GREP -E"
5712 else
5713 if test -z "$EGREP"; then
5714 ac_path_EGREP_found=false
5715 # Loop through the user's path and test for each of PROGNAME-LIST
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_prog in egrep; do
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5724 as_fn_executable_p "$ac_path_EGREP" || continue
5725 # Check for GNU ac_path_EGREP and select it if it is found.
5726 # Check for GNU $ac_path_EGREP
5727 case `"$ac_path_EGREP" --version 2>&1` in
5728 *GNU*)
5729 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5731 ac_count=0
5732 $as_echo_n 0123456789 >"conftest.in"
5733 while :
5735 cat "conftest.in" "conftest.in" >"conftest.tmp"
5736 mv "conftest.tmp" "conftest.in"
5737 cp "conftest.in" "conftest.nl"
5738 $as_echo 'EGREP' >> "conftest.nl"
5739 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5740 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5741 as_fn_arith $ac_count + 1 && ac_count=$as_val
5742 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5743 # Best one so far, save it but keep looking for a better one
5744 ac_cv_path_EGREP="$ac_path_EGREP"
5745 ac_path_EGREP_max=$ac_count
5747 # 10*(2^10) chars as input seems more than enough
5748 test $ac_count -gt 10 && break
5749 done
5750 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5751 esac
5753 $ac_path_EGREP_found && break 3
5754 done
5755 done
5756 done
5757 IFS=$as_save_IFS
5758 if test -z "$ac_cv_path_EGREP"; then
5759 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5761 else
5762 ac_cv_path_EGREP=$EGREP
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5768 $as_echo "$ac_cv_path_EGREP" >&6; }
5769 EGREP="$ac_cv_path_EGREP"
5772 # Extract the first word of "ldconfig", so it can be a program name with args.
5773 set dummy ldconfig; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_path_LDCONFIG+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 case $LDCONFIG in
5780 [\\/]* | ?:[\\/]*)
5781 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 for as_dir in /sbin /usr/sbin $PATH
5787 IFS=$as_save_IFS
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 break 2
5795 done
5796 done
5797 IFS=$as_save_IFS
5799 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5801 esac
5803 LDCONFIG=$ac_cv_path_LDCONFIG
5804 if test -n "$LDCONFIG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5806 $as_echo "$LDCONFIG" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 for ac_prog in msgfmt
5815 # Extract the first word of "$ac_prog", so it can be a program name with args.
5816 set dummy $ac_prog; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_MSGFMT+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$MSGFMT"; then
5823 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_MSGFMT="$ac_prog"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 MSGFMT=$ac_cv_prog_MSGFMT
5843 if test -n "$MSGFMT"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5845 $as_echo "$MSGFMT" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5852 test -n "$MSGFMT" && break
5853 done
5854 test -n "$MSGFMT" || MSGFMT="false"
5856 if ${ac_tool_prefix+:} false; then :
5857 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5858 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$PKG_CONFIG"; then
5865 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5885 if test -n "$PKG_CONFIG"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5887 $as_echo "$PKG_CONFIG" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5895 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5896 if test "x$cross_compiling" = xyes; then :
5898 else
5899 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5900 # Extract the first word of "pkg-config", so it can be a program name with args.
5901 set dummy pkg-config; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$PKG_CONFIG"; then
5908 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_PKG_CONFIG="pkg-config"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5928 if test -n "$PKG_CONFIG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5930 $as_echo "$PKG_CONFIG" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5938 else
5939 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5942 if test "x$enable_maintainer_mode" != "xyes"
5943 then
5944 FONTFORGE=""
5945 RSVG=""
5946 CONVERT=""
5947 ICOTOOL=""
5948 else
5949 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5950 for ac_prog in fontforge
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_FONTFORGE+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$FONTFORGE"; then
5960 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_FONTFORGE="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 FONTFORGE=$ac_cv_prog_FONTFORGE
5980 if test -n "$FONTFORGE"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5982 $as_echo "$FONTFORGE" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$FONTFORGE" && break
5990 done
5991 test -n "$FONTFORGE" || FONTFORGE="false"
5993 for ac_prog in rsvg-convert rsvg
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_RSVG+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$RSVG"; then
6003 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_RSVG="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 RSVG=$ac_cv_prog_RSVG
6023 if test -n "$RSVG"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6025 $as_echo "$RSVG" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$RSVG" && break
6033 done
6034 test -n "$RSVG" || RSVG="false"
6036 for ac_prog in convert
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy $ac_prog; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_CONVERT+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 if test -n "$CONVERT"; then
6046 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6047 else
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_CONVERT="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 CONVERT=$ac_cv_prog_CONVERT
6066 if test -n "$CONVERT"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6068 $as_echo "$CONVERT" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$CONVERT" && break
6076 done
6077 test -n "$CONVERT" || CONVERT="false"
6079 for ac_prog in icotool
6081 # Extract the first word of "$ac_prog", so it can be a program name with args.
6082 set dummy $ac_prog; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if ${ac_cv_prog_ICOTOOL+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 if test -n "$ICOTOOL"; then
6089 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_ICOTOOL="$ac_prog"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 ICOTOOL=$ac_cv_prog_ICOTOOL
6109 if test -n "$ICOTOOL"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6111 $as_echo "$ICOTOOL" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 test -n "$ICOTOOL" && break
6119 done
6120 test -n "$ICOTOOL" || ICOTOOL="false"
6122 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6123 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6125 if test "$CONVERT" = false
6126 then
6127 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6130 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6131 convert_version=`convert --version | head -n1`
6132 if test "x$convert_version" != "x"
6133 then
6134 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6135 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6136 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6137 then
6138 CONVERT=false
6141 if test "$CONVERT" = false
6142 then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6144 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6145 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6146 else
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6148 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6152 if test "$ICOTOOL" = false
6153 then
6154 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6157 $as_echo_n "checking for recent enough icotool... " >&6; }
6158 icotool_version=`icotool --version | head -n1`
6159 if test "x$icotool_version" != "x"
6160 then
6161 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6162 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6163 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6164 then
6165 ICOTOOL=false
6166 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6169 if test "$ICOTOOL" = false
6170 then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6172 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6173 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6174 else
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6176 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6180 with_gettext=yes
6181 with_gettextpo=yes
6182 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6185 test "x$with_gettext" != xno || MSGFMT=false
6186 if test "$MSGFMT" != "false"
6187 then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6189 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6190 cat >conftest.po <<EOF
6191 # comment
6192 msgctxt "ctxt"
6193 msgid "id"
6194 msgstr "str"
6196 if $MSGFMT -o /dev/null conftest.po 2>&5
6197 then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6199 $as_echo "yes" >&6; }
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6203 MSGFMT=false
6206 if test "$MSGFMT" = false; then :
6207 case "x$with_gettext" in
6208 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6209 xno) ;;
6210 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6211 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6212 esac
6213 enable_po=${enable_po:-no}
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6218 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6219 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6220 $as_echo_n "(cached) " >&6
6221 else
6222 ac_check_lib_save_LIBS=$LIBS
6223 LIBS="-li386 $LIBS"
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6227 /* Override any GCC internal prototype to avoid an error.
6228 Use char because int might match the return type of a GCC
6229 builtin and then its argument prototype would still apply. */
6230 #ifdef __cplusplus
6231 extern "C"
6232 #endif
6233 char i386_set_ldt ();
6235 main ()
6237 return i386_set_ldt ();
6239 return 0;
6241 _ACEOF
6242 if ac_fn_c_try_link "$LINENO"; then :
6243 ac_cv_lib_i386_i386_set_ldt=yes
6244 else
6245 ac_cv_lib_i386_i386_set_ldt=no
6247 rm -f core conftest.err conftest.$ac_objext \
6248 conftest$ac_exeext conftest.$ac_ext
6249 LIBS=$ac_check_lib_save_LIBS
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6252 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6253 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6254 cat >>confdefs.h <<_ACEOF
6255 #define HAVE_LIBI386 1
6256 _ACEOF
6258 LIBS="-li386 $LIBS"
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6263 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6264 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6265 $as_echo_n "(cached) " >&6
6266 else
6267 ac_check_lib_save_LIBS=$LIBS
6268 LIBS="-lossaudio $LIBS"
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6272 /* Override any GCC internal prototype to avoid an error.
6273 Use char because int might match the return type of a GCC
6274 builtin and then its argument prototype would still apply. */
6275 #ifdef __cplusplus
6276 extern "C"
6277 #endif
6278 char _oss_ioctl ();
6280 main ()
6282 return _oss_ioctl ();
6284 return 0;
6286 _ACEOF
6287 if ac_fn_c_try_link "$LINENO"; then :
6288 ac_cv_lib_ossaudio__oss_ioctl=yes
6289 else
6290 ac_cv_lib_ossaudio__oss_ioctl=no
6292 rm -f core conftest.err conftest.$ac_objext \
6293 conftest$ac_exeext conftest.$ac_ext
6294 LIBS=$ac_check_lib_save_LIBS
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6297 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6298 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6299 cat >>confdefs.h <<_ACEOF
6300 #define HAVE_LIBOSSAUDIO 1
6301 _ACEOF
6303 LIBS="-lossaudio $LIBS"
6308 OPENGL_LIBS=""
6312 # Check whether --enable-largefile was given.
6313 if test "${enable_largefile+set}" = set; then :
6314 enableval=$enable_largefile;
6317 if test "$enable_largefile" != no; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6320 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6321 if ${ac_cv_sys_largefile_CC+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 ac_cv_sys_largefile_CC=no
6325 if test "$GCC" != yes; then
6326 ac_save_CC=$CC
6327 while :; do
6328 # IRIX 6.2 and later do not support large files by default,
6329 # so use the C compiler's -n32 option if that helps.
6330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6331 /* end confdefs.h. */
6332 #include <sys/types.h>
6333 /* Check that off_t can represent 2**63 - 1 correctly.
6334 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6335 since some C++ compilers masquerading as C compilers
6336 incorrectly reject 9223372036854775807. */
6337 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6338 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6339 && LARGE_OFF_T % 2147483647 == 1)
6340 ? 1 : -1];
6342 main ()
6346 return 0;
6348 _ACEOF
6349 if ac_fn_c_try_compile "$LINENO"; then :
6350 break
6352 rm -f core conftest.err conftest.$ac_objext
6353 CC="$CC -n32"
6354 if ac_fn_c_try_compile "$LINENO"; then :
6355 ac_cv_sys_largefile_CC=' -n32'; break
6357 rm -f core conftest.err conftest.$ac_objext
6358 break
6359 done
6360 CC=$ac_save_CC
6361 rm -f conftest.$ac_ext
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6365 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6366 if test "$ac_cv_sys_largefile_CC" != no; then
6367 CC=$CC$ac_cv_sys_largefile_CC
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6371 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6372 if ${ac_cv_sys_file_offset_bits+:} false; then :
6373 $as_echo_n "(cached) " >&6
6374 else
6375 while :; do
6376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 #include <sys/types.h>
6379 /* Check that off_t can represent 2**63 - 1 correctly.
6380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6381 since some C++ compilers masquerading as C compilers
6382 incorrectly reject 9223372036854775807. */
6383 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6385 && LARGE_OFF_T % 2147483647 == 1)
6386 ? 1 : -1];
6388 main ()
6392 return 0;
6394 _ACEOF
6395 if ac_fn_c_try_compile "$LINENO"; then :
6396 ac_cv_sys_file_offset_bits=no; break
6398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #define _FILE_OFFSET_BITS 64
6402 #include <sys/types.h>
6403 /* Check that off_t can represent 2**63 - 1 correctly.
6404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6405 since some C++ compilers masquerading as C compilers
6406 incorrectly reject 9223372036854775807. */
6407 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6409 && LARGE_OFF_T % 2147483647 == 1)
6410 ? 1 : -1];
6412 main ()
6416 return 0;
6418 _ACEOF
6419 if ac_fn_c_try_compile "$LINENO"; then :
6420 ac_cv_sys_file_offset_bits=64; break
6422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6423 ac_cv_sys_file_offset_bits=unknown
6424 break
6425 done
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6428 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6429 case $ac_cv_sys_file_offset_bits in #(
6430 no | unknown) ;;
6432 cat >>confdefs.h <<_ACEOF
6433 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6434 _ACEOF
6436 esac
6437 rm -rf conftest*
6438 if test $ac_cv_sys_file_offset_bits = unknown; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6440 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6441 if ${ac_cv_sys_large_files+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 while :; do
6445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6446 /* end confdefs.h. */
6447 #include <sys/types.h>
6448 /* Check that off_t can represent 2**63 - 1 correctly.
6449 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6450 since some C++ compilers masquerading as C compilers
6451 incorrectly reject 9223372036854775807. */
6452 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6453 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6454 && LARGE_OFF_T % 2147483647 == 1)
6455 ? 1 : -1];
6457 main ()
6461 return 0;
6463 _ACEOF
6464 if ac_fn_c_try_compile "$LINENO"; then :
6465 ac_cv_sys_large_files=no; break
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #define _LARGE_FILES 1
6471 #include <sys/types.h>
6472 /* Check that off_t can represent 2**63 - 1 correctly.
6473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6474 since some C++ compilers masquerading as C compilers
6475 incorrectly reject 9223372036854775807. */
6476 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6478 && LARGE_OFF_T % 2147483647 == 1)
6479 ? 1 : -1];
6481 main ()
6485 return 0;
6487 _ACEOF
6488 if ac_fn_c_try_compile "$LINENO"; then :
6489 ac_cv_sys_large_files=1; break
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6492 ac_cv_sys_large_files=unknown
6493 break
6494 done
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6497 $as_echo "$ac_cv_sys_large_files" >&6; }
6498 case $ac_cv_sys_large_files in #(
6499 no | unknown) ;;
6501 cat >>confdefs.h <<_ACEOF
6502 #define _LARGE_FILES $ac_cv_sys_large_files
6503 _ACEOF
6505 esac
6506 rm -rf conftest*
6513 ac_ext=c
6514 ac_cpp='$CPP $CPPFLAGS'
6515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6520 # On Suns, sometimes $CPP names a directory.
6521 if test -n "$CPP" && test -d "$CPP"; then
6522 CPP=
6524 if test -z "$CPP"; then
6525 if ${ac_cv_prog_CPP+:} false; then :
6526 $as_echo_n "(cached) " >&6
6527 else
6528 # Double quotes because CPP needs to be expanded
6529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6531 ac_preproc_ok=false
6532 for ac_c_preproc_warn_flag in '' yes
6534 # Use a header file that comes with gcc, so configuring glibc
6535 # with a fresh cross-compiler works.
6536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6537 # <limits.h> exists even on freestanding compilers.
6538 # On the NeXT, cc -E runs the code through the compiler's parser,
6539 # not just through cpp. "Syntax error" is here to catch this case.
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 #ifdef __STDC__
6543 # include <limits.h>
6544 #else
6545 # include <assert.h>
6546 #endif
6547 Syntax error
6548 _ACEOF
6549 if ac_fn_c_try_cpp "$LINENO"; then :
6551 else
6552 # Broken: fails on valid input.
6553 continue
6555 rm -f conftest.err conftest.i conftest.$ac_ext
6557 # OK, works on sane cases. Now check whether nonexistent headers
6558 # can be detected and how.
6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6561 #include <ac_nonexistent.h>
6562 _ACEOF
6563 if ac_fn_c_try_cpp "$LINENO"; then :
6564 # Broken: success on invalid input.
6565 continue
6566 else
6567 # Passes both tests.
6568 ac_preproc_ok=:
6569 break
6571 rm -f conftest.err conftest.i conftest.$ac_ext
6573 done
6574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6575 rm -f conftest.i conftest.err conftest.$ac_ext
6576 if $ac_preproc_ok; then :
6577 break
6580 done
6581 ac_cv_prog_CPP=$CPP
6584 CPP=$ac_cv_prog_CPP
6585 else
6586 ac_cv_prog_CPP=$CPP
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6589 $as_echo "$CPP" >&6; }
6590 ac_preproc_ok=false
6591 for ac_c_preproc_warn_flag in '' yes
6593 # Use a header file that comes with gcc, so configuring glibc
6594 # with a fresh cross-compiler works.
6595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6596 # <limits.h> exists even on freestanding compilers.
6597 # On the NeXT, cc -E runs the code through the compiler's parser,
6598 # not just through cpp. "Syntax error" is here to catch this case.
6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #ifdef __STDC__
6602 # include <limits.h>
6603 #else
6604 # include <assert.h>
6605 #endif
6606 Syntax error
6607 _ACEOF
6608 if ac_fn_c_try_cpp "$LINENO"; then :
6610 else
6611 # Broken: fails on valid input.
6612 continue
6614 rm -f conftest.err conftest.i conftest.$ac_ext
6616 # OK, works on sane cases. Now check whether nonexistent headers
6617 # can be detected and how.
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6620 #include <ac_nonexistent.h>
6621 _ACEOF
6622 if ac_fn_c_try_cpp "$LINENO"; then :
6623 # Broken: success on invalid input.
6624 continue
6625 else
6626 # Passes both tests.
6627 ac_preproc_ok=:
6628 break
6630 rm -f conftest.err conftest.i conftest.$ac_ext
6632 done
6633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6634 rm -f conftest.i conftest.err conftest.$ac_ext
6635 if $ac_preproc_ok; then :
6637 else
6638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6641 See \`config.log' for more details" "$LINENO" 5; }
6644 ac_ext=c
6645 ac_cpp='$CPP $CPPFLAGS'
6646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6652 $as_echo_n "checking for ANSI C header files... " >&6; }
6653 if ${ac_cv_header_stdc+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 #include <stdlib.h>
6659 #include <stdarg.h>
6660 #include <string.h>
6661 #include <float.h>
6664 main ()
6668 return 0;
6670 _ACEOF
6671 if ac_fn_c_try_compile "$LINENO"; then :
6672 ac_cv_header_stdc=yes
6673 else
6674 ac_cv_header_stdc=no
6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6678 if test $ac_cv_header_stdc = yes; then
6679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <string.h>
6684 _ACEOF
6685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6686 $EGREP "memchr" >/dev/null 2>&1; then :
6688 else
6689 ac_cv_header_stdc=no
6691 rm -f conftest*
6695 if test $ac_cv_header_stdc = yes; then
6696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <stdlib.h>
6701 _ACEOF
6702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6703 $EGREP "free" >/dev/null 2>&1; then :
6705 else
6706 ac_cv_header_stdc=no
6708 rm -f conftest*
6712 if test $ac_cv_header_stdc = yes; then
6713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6714 if test "$cross_compiling" = yes; then :
6716 else
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <ctype.h>
6720 #include <stdlib.h>
6721 #if ((' ' & 0x0FF) == 0x020)
6722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6724 #else
6725 # define ISLOWER(c) \
6726 (('a' <= (c) && (c) <= 'i') \
6727 || ('j' <= (c) && (c) <= 'r') \
6728 || ('s' <= (c) && (c) <= 'z'))
6729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6730 #endif
6732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6734 main ()
6736 int i;
6737 for (i = 0; i < 256; i++)
6738 if (XOR (islower (i), ISLOWER (i))
6739 || toupper (i) != TOUPPER (i))
6740 return 2;
6741 return 0;
6743 _ACEOF
6744 if ac_fn_c_try_run "$LINENO"; then :
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6750 conftest.$ac_objext conftest.beam conftest.$ac_ext
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6756 $as_echo "$ac_cv_header_stdc" >&6; }
6757 if test $ac_cv_header_stdc = yes; then
6759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6765 inttypes.h stdint.h unistd.h
6766 do :
6767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6771 cat >>confdefs.h <<_ACEOF
6772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 _ACEOF
6777 done
6780 for ac_header in \
6781 AL/al.h \
6782 ApplicationServices/ApplicationServices.h \
6783 AudioToolbox/AudioConverter.h \
6784 AudioUnit/AudioUnit.h \
6785 AudioUnit/AudioComponent.h \
6786 CL/cl.h \
6787 Carbon/Carbon.h \
6788 CommonCrypto/CommonDigest.h \
6789 CoreAudio/CoreAudio.h \
6790 CoreServices/CoreServices.h \
6791 DiskArbitration/DiskArbitration.h \
6792 IOKit/IOKitLib.h \
6793 IOKit/hid/IOHIDLib.h \
6794 OpenAL/al.h \
6795 OpenCL/opencl.h \
6796 QuickTime/ImageCompression.h \
6797 Security/Security.h \
6798 alias.h \
6799 alsa/asoundlib.h \
6800 arpa/inet.h \
6801 arpa/nameser.h \
6802 asm/types.h \
6803 asm/user.h \
6804 curses.h \
6805 direct.h \
6806 dirent.h \
6807 dlfcn.h \
6808 elf.h \
6809 float.h \
6810 fnmatch.h \
6811 getopt.h \
6812 gettext-po.h \
6813 grp.h \
6814 gsm.h \
6815 gsm/gsm.h \
6816 ieeefp.h \
6817 inet/mib2.h \
6818 io.h \
6819 kstat.h \
6820 lber.h \
6821 ldap.h \
6822 libproc.h \
6823 link.h \
6824 linux/cdrom.h \
6825 linux/compiler.h \
6826 linux/filter.h \
6827 linux/hdreg.h \
6828 linux/hidraw.h \
6829 linux/input.h \
6830 linux/ioctl.h \
6831 linux/joystick.h \
6832 linux/major.h \
6833 linux/param.h \
6834 linux/serial.h \
6835 linux/types.h \
6836 linux/ucdrom.h \
6837 lwp.h \
6838 mach-o/nlist.h \
6839 mach-o/loader.h \
6840 mach/mach.h \
6841 mach/machine.h \
6842 machine/cpu.h \
6843 machine/limits.h \
6844 machine/sysarch.h \
6845 mntent.h \
6846 ncurses.h \
6847 netdb.h \
6848 netinet/in.h \
6849 netinet/in_systm.h \
6850 netinet/tcp.h \
6851 netinet/tcp_fsm.h \
6852 pcap/pcap.h \
6853 poll.h \
6854 port.h \
6855 process.h \
6856 pthread.h \
6857 pwd.h \
6858 sched.h \
6859 scsi/scsi.h \
6860 scsi/scsi_ioctl.h \
6861 scsi/sg.h \
6862 stdbool.h \
6863 stdint.h \
6864 stropts.h \
6865 sys/asoundlib.h \
6866 sys/attr.h \
6867 sys/cdio.h \
6868 sys/elf32.h \
6869 sys/epoll.h \
6870 sys/event.h \
6871 sys/exec_elf.h \
6872 sys/filio.h \
6873 sys/inotify.h \
6874 sys/ioctl.h \
6875 sys/ipc.h \
6876 sys/limits.h \
6877 sys/link.h \
6878 sys/mman.h \
6879 sys/modem.h \
6880 sys/msg.h \
6881 sys/mtio.h \
6882 sys/param.h \
6883 sys/poll.h \
6884 sys/prctl.h \
6885 sys/protosw.h \
6886 sys/ptrace.h \
6887 sys/queue.h \
6888 sys/resource.h \
6889 sys/scsiio.h \
6890 sys/shm.h \
6891 sys/signal.h \
6892 sys/socket.h \
6893 sys/socketvar.h \
6894 sys/sockio.h \
6895 sys/statvfs.h \
6896 sys/strtio.h \
6897 sys/syscall.h \
6898 sys/sysinfo.h \
6899 sys/tihdr.h \
6900 sys/time.h \
6901 sys/timeout.h \
6902 sys/times.h \
6903 sys/uio.h \
6904 sys/user.h \
6905 sys/utsname.h \
6906 sys/vm86.h \
6907 sys/vnode.h \
6908 sys/wait.h \
6909 syscall.h \
6910 termios.h \
6911 unistd.h \
6912 utime.h \
6913 valgrind/memcheck.h \
6914 valgrind/valgrind.h \
6915 zlib.h
6917 do :
6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6921 cat >>confdefs.h <<_ACEOF
6922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6923 _ACEOF
6927 done
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6930 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6931 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6938 main ()
6940 return makedev(0, 0);
6942 return 0;
6944 _ACEOF
6945 if ac_fn_c_try_link "$LINENO"; then :
6946 ac_cv_header_sys_types_h_makedev=yes
6947 else
6948 ac_cv_header_sys_types_h_makedev=no
6950 rm -f core conftest.err conftest.$ac_objext \
6951 conftest$ac_exeext conftest.$ac_ext
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6955 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6957 if test $ac_cv_header_sys_types_h_makedev = no; then
6958 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6959 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6961 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6967 if test $ac_cv_header_sys_mkdev_h = no; then
6968 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6969 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6971 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6980 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6981 if ${ac_cv_header_stat_broken+:} false; then :
6982 $as_echo_n "(cached) " >&6
6983 else
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #include <sys/types.h>
6987 #include <sys/stat.h>
6989 #if defined S_ISBLK && defined S_IFDIR
6990 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6991 #endif
6993 #if defined S_ISBLK && defined S_IFCHR
6994 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6995 #endif
6997 #if defined S_ISLNK && defined S_IFREG
6998 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6999 #endif
7001 #if defined S_ISSOCK && defined S_IFREG
7002 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7003 #endif
7005 _ACEOF
7006 if ac_fn_c_try_compile "$LINENO"; then :
7007 ac_cv_header_stat_broken=no
7008 else
7009 ac_cv_header_stat_broken=yes
7011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7014 $as_echo "$ac_cv_header_stat_broken" >&6; }
7015 if test $ac_cv_header_stat_broken = yes; then
7017 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7023 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7024 do :
7025 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7026 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7027 #ifdef HAVE_SYS_PARAM_H
7028 # include <sys/param.h>
7029 #endif
7031 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7032 cat >>confdefs.h <<_ACEOF
7033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7034 _ACEOF
7038 done
7041 for ac_header in \
7042 netinet/ip.h \
7043 net/if.h \
7044 net/if_arp.h \
7045 net/if_dl.h \
7046 net/if_types.h \
7047 net/route.h \
7048 netinet/if_ether.h \
7049 netinet/if_inarp.h \
7050 netinet/in_pcb.h \
7051 netinet/ip_icmp.h \
7052 netinet/ip_var.h \
7053 netinet/udp.h \
7054 netipx/ipx.h \
7055 sys/un.h \
7057 do :
7058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7060 #ifdef HAVE_SYS_SOCKET_H
7061 # include <sys/socket.h>
7062 #endif
7063 #ifdef HAVE_SYS_SOCKETVAR_H
7064 # include <sys/socketvar.h>
7065 #endif
7066 #ifdef HAVE_NET_ROUTE_H
7067 # include <net/route.h>
7068 #endif
7069 #ifdef HAVE_NETINET_IN_H
7070 # include <netinet/in.h>
7071 #endif
7072 #ifdef HAVE_NETINET_IN_SYSTM_H
7073 # include <netinet/in_systm.h>
7074 #endif
7075 #ifdef HAVE_NET_IF_H
7076 # include <net/if.h>
7077 #endif
7078 #ifdef HAVE_NETINET_IP_H
7079 # include <netinet/ip.h>
7080 #endif
7082 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7083 cat >>confdefs.h <<_ACEOF
7084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7085 _ACEOF
7089 done
7092 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7093 do :
7094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7095 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7096 #ifdef HAVE_ALIAS_H
7097 # include <alias.h>
7098 #endif
7099 #ifdef HAVE_SYS_SOCKET_H
7100 # include <sys/socket.h>
7101 #endif
7102 #ifdef HAVE_SYS_SOCKETVAR_H
7103 # include <sys/socketvar.h>
7104 #endif
7105 #ifdef HAVE_SYS_TIMEOUT_H
7106 # include <sys/timeout.h>
7107 #endif
7108 #ifdef HAVE_NETINET_IN_H
7109 # include <netinet/in.h>
7110 #endif
7111 #ifdef HAVE_NETINET_IN_SYSTM_H
7112 # include <netinet/in_systm.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IP_H
7115 # include <netinet/ip.h>
7116 #endif
7117 #ifdef HAVE_NETINET_IP_VAR_H
7118 # include <netinet/ip_var.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IP_ICMP_H
7121 # include <netinet/ip_icmp.h>
7122 #endif
7123 #ifdef HAVE_NETINET_UDP_H
7124 # include <netinet/udp.h>
7125 #endif
7126 #ifdef HAVE_NETINET_TCP_H
7127 # include <netinet/tcp.h>
7128 #endif
7129 #ifdef HAVE_NETINET_TCP_TIMER_H
7130 #include <netinet/tcp_timer.h>
7131 #endif
7133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7134 cat >>confdefs.h <<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7143 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7144 do :
7145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7147 #ifdef HAVE_ASM_TYPES_H
7148 # include <asm/types.h>
7149 #endif
7150 #ifdef HAVE_SYS_SOCKET_H
7151 # include <sys/socket.h>
7152 #endif
7153 #ifdef HAVE_LINUX_TYPES_H
7154 # include <linux/types.h>
7155 #endif
7157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7158 cat >>confdefs.h <<_ACEOF
7159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7160 _ACEOF
7164 done
7167 for ac_header in mach-o/dyld_images.h
7168 do :
7169 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7170 # include <stdbool.h>
7171 #endif
7172 #ifdef HAVE_STDINT_H
7173 # include <stdint.h>
7174 #endif
7176 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7177 cat >>confdefs.h <<_ACEOF
7178 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7179 _ACEOF
7183 done
7186 for ac_header in resolv.h
7187 do :
7188 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7189 #ifdef HAVE_SYS_SOCKET_H
7190 # include <sys/socket.h>
7191 #endif
7192 #ifdef HAVE_NETINET_IN_H
7193 # include <netinet/in.h>
7194 #endif
7195 #ifdef HAVE_ARPA_NAMESER_H
7196 # include <arpa/nameser.h>
7197 #endif
7199 if test "x$ac_cv_header_resolv_h" = xyes; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_RESOLV_H 1
7202 _ACEOF
7206 done
7209 for ac_header in ifaddrs.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7213 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7214 cat >>confdefs.h <<_ACEOF
7215 #define HAVE_IFADDRS_H 1
7216 _ACEOF
7220 done
7223 for ac_header in sys/ucontext.h
7224 do :
7225 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7227 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7228 cat >>confdefs.h <<_ACEOF
7229 #define HAVE_SYS_UCONTEXT_H 1
7230 _ACEOF
7234 done
7237 for ac_header in sys/thr.h
7238 do :
7239 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7240 #ifdef HAVE_SYS_UCONTEXT_H
7241 #include <sys/ucontext.h>
7242 #endif
7244 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define HAVE_SYS_THR_H 1
7247 _ACEOF
7251 done
7254 for ac_header in pthread_np.h
7255 do :
7256 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7257 #include <pthread.h>
7258 #endif
7260 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7261 cat >>confdefs.h <<_ACEOF
7262 #define HAVE_PTHREAD_NP_H 1
7263 _ACEOF
7267 done
7270 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7271 do :
7272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7274 #include <sys/time.h>
7275 #endif
7276 #include <sys/types.h>
7277 #ifdef HAVE_ASM_TYPES_H
7278 #include <asm/types.h>
7279 #endif
7281 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7284 _ACEOF
7288 done
7291 for ac_header in libprocstat.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7294 #include <sys/param.h>
7295 #endif
7296 #ifdef HAVE_SYS_QUEUE_H
7297 #include <sys/queue.h>
7298 #endif
7299 #ifdef HAVE_SYS_SOCKET_H
7300 #include <sys/socket.h>
7301 #endif
7303 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7304 cat >>confdefs.h <<_ACEOF
7305 #define HAVE_LIBPROCSTAT_H 1
7306 _ACEOF
7310 done
7314 dlldir="\${libdir}/wine"
7316 DLLFLAGS="-D_REENTRANT"
7318 LDRPATH_INSTALL=""
7320 LDRPATH_LOCAL=""
7322 LDEXECFLAGS=""
7324 LIBEXT="so"
7325 DLLEXT=".so"
7326 IMPLIBEXT="def"
7327 # Extract the first word of "ldd", so it can be a program name with args.
7328 set dummy ldd; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_path_LDD+:} false; then :
7332 $as_echo_n "(cached) " >&6
7333 else
7334 case $LDD in
7335 [\\/]* | ?:[\\/]*)
7336 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 as_dummy="/sbin:/usr/sbin:$PATH"
7341 for as_dir in $as_dummy
7343 IFS=$as_save_IFS
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 break 2
7351 done
7352 done
7353 IFS=$as_save_IFS
7355 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7357 esac
7359 LDD=$ac_cv_path_LDD
7360 if test -n "$LDD"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7362 $as_echo "$LDD" >&6; }
7363 else
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7369 if test -n "$ac_tool_prefix"; then
7370 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7371 set dummy ${ac_tool_prefix}otool; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_prog_OTOOL+:} false; then :
7375 $as_echo_n "(cached) " >&6
7376 else
7377 if test -n "$OTOOL"; then
7378 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7379 else
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 for as_dir in $PATH
7383 IFS=$as_save_IFS
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389 break 2
7391 done
7392 done
7393 IFS=$as_save_IFS
7397 OTOOL=$ac_cv_prog_OTOOL
7398 if test -n "$OTOOL"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7400 $as_echo "$OTOOL" >&6; }
7401 else
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7408 if test -z "$ac_cv_prog_OTOOL"; then
7409 ac_ct_OTOOL=$OTOOL
7410 # Extract the first word of "otool", so it can be a program name with args.
7411 set dummy otool; ac_word=$2
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 $as_echo_n "checking for $ac_word... " >&6; }
7414 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7415 $as_echo_n "(cached) " >&6
7416 else
7417 if test -n "$ac_ct_OTOOL"; then
7418 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7419 else
7420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 for as_dir in $PATH
7423 IFS=$as_save_IFS
7424 test -z "$as_dir" && as_dir=.
7425 for ac_exec_ext in '' $ac_executable_extensions; do
7426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7427 ac_cv_prog_ac_ct_OTOOL="otool"
7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429 break 2
7431 done
7432 done
7433 IFS=$as_save_IFS
7437 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7438 if test -n "$ac_ct_OTOOL"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7440 $as_echo "$ac_ct_OTOOL" >&6; }
7441 else
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 if test "x$ac_ct_OTOOL" = x; then
7447 OTOOL="otool"
7448 else
7449 case $cross_compiling:$ac_tool_warned in
7450 yes:)
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7453 ac_tool_warned=yes ;;
7454 esac
7455 OTOOL=$ac_ct_OTOOL
7457 else
7458 OTOOL="$ac_cv_prog_OTOOL"
7461 if test -n "$ac_tool_prefix"; then
7462 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7463 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_prog_READELF+:} false; then :
7467 $as_echo_n "(cached) " >&6
7468 else
7469 if test -n "$READELF"; then
7470 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7475 IFS=$as_save_IFS
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7481 break 2
7483 done
7484 done
7485 IFS=$as_save_IFS
7489 READELF=$ac_cv_prog_READELF
7490 if test -n "$READELF"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7492 $as_echo "$READELF" >&6; }
7493 else
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7500 if test -z "$ac_cv_prog_READELF"; then
7501 ac_ct_READELF=$READELF
7502 # Extract the first word of "readelf", so it can be a program name with args.
7503 set dummy readelf; ac_word=$2
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505 $as_echo_n "checking for $ac_word... " >&6; }
7506 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7507 $as_echo_n "(cached) " >&6
7508 else
7509 if test -n "$ac_ct_READELF"; then
7510 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7511 else
7512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7513 for as_dir in $PATH
7515 IFS=$as_save_IFS
7516 test -z "$as_dir" && as_dir=.
7517 for ac_exec_ext in '' $ac_executable_extensions; do
7518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7519 ac_cv_prog_ac_ct_READELF="readelf"
7520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7521 break 2
7523 done
7524 done
7525 IFS=$as_save_IFS
7529 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7530 if test -n "$ac_ct_READELF"; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7532 $as_echo "$ac_ct_READELF" >&6; }
7533 else
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 $as_echo "no" >&6; }
7538 if test "x$ac_ct_READELF" = x; then
7539 READELF="true"
7540 else
7541 case $cross_compiling:$ac_tool_warned in
7542 yes:)
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7545 ac_tool_warned=yes ;;
7546 esac
7547 READELF=$ac_ct_READELF
7549 else
7550 READELF="$ac_cv_prog_READELF"
7553 wine_rules_file=conf$$rules.make
7554 rm -f $wine_rules_file
7555 SUBDIRS=""
7557 DISABLED_SUBDIRS=""
7559 CONFIGURE_TARGETS=""
7561 ALL_TEST_RESOURCES=""
7564 wine_fn_append_file ()
7566 as_fn_append $1 " \\$as_nl $2"
7569 wine_fn_append_rule ()
7571 $as_echo "$1" >>$wine_rules_file
7574 wine_fn_has_flag ()
7576 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7579 wine_fn_all_rules ()
7581 wine_fn_append_file SUBDIRS $ac_dir
7582 wine_fn_append_rule \
7583 "all: $ac_dir
7584 .PHONY: $ac_dir
7585 $ac_dir: dummy
7586 @cd $ac_dir && \$(MAKE)"
7589 wine_fn_install_rules ()
7591 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7593 wine_fn_append_rule \
7594 ".PHONY: $ac_dir/install $ac_dir/uninstall
7595 $ac_dir/install:: $ac_dir
7596 @cd $ac_dir && \$(MAKE) install
7597 $ac_dir/uninstall::
7598 @cd $ac_dir && \$(MAKE) uninstall
7599 install:: $ac_dir/install
7600 __uninstall__: $ac_dir/uninstall"
7602 if wine_fn_has_flag install-lib
7603 then
7604 wine_fn_append_rule \
7605 ".PHONY: $ac_dir/install-lib
7606 $ac_dir/install-lib:: $ac_dir
7607 @cd $ac_dir && \$(MAKE) install-lib
7608 install-lib:: $ac_dir/install-lib"
7611 if wine_fn_has_flag install-dev
7612 then
7613 wine_fn_append_rule \
7614 ".PHONY: $ac_dir/install-dev
7615 $ac_dir/install-dev:: $ac_dir
7616 @cd $ac_dir && \$(MAKE) install-dev
7617 install-dev:: $ac_dir/install-dev"
7621 wine_fn_clean_rules ()
7623 ac_clean=$@
7625 if wine_fn_has_flag clean
7626 then
7627 wine_fn_append_rule \
7628 "$ac_dir/clean: dummy
7629 @cd $ac_dir && \$(MAKE) clean"
7630 else
7631 wine_fn_append_rule \
7632 "$ac_dir/clean: dummy
7633 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7635 wine_fn_append_rule \
7636 "__clean__: $ac_dir/clean
7637 .PHONY: $ac_dir/clean"
7640 wine_fn_disabled_rules ()
7642 ac_clean=$@
7644 wine_fn_append_file SUBDIRS $ac_dir
7645 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7646 wine_fn_append_rule \
7647 "__clean__: $ac_dir/clean
7648 .PHONY: $ac_dir/clean
7649 $ac_dir/clean: dummy
7650 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7653 wine_fn_config_makefile ()
7655 ac_dir=$1
7656 ac_enable=$2
7657 ac_flags=$3
7659 case $ac_dir in
7660 fonts|server) test -z "$with_wine64" || return ;;
7661 esac
7662 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7663 wine_fn_disabled_rules; return
7665 wine_fn_all_rules
7666 wine_fn_install_rules
7667 wine_fn_clean_rules
7670 wine_fn_config_lib ()
7672 ac_name=$1
7673 ac_flags=$2
7674 ac_dir=dlls/$ac_name
7675 ac_deps="include"
7677 if test "x$enable_tools" = xno; then :
7679 else
7680 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7682 wine_fn_all_rules
7683 wine_fn_clean_rules
7685 wine_fn_append_rule \
7686 ".PHONY: $ac_dir/install $ac_dir/uninstall
7687 $ac_dir/install:: $ac_dir
7688 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7689 $ac_dir/uninstall::
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7691 install install-dev:: $ac_dir/install
7692 __uninstall__: $ac_dir/uninstall
7693 __builddeps__: $ac_dir
7694 $ac_dir: $ac_deps"
7697 wine_fn_config_dll ()
7699 ac_name=$1
7700 ac_dir=dlls/$ac_name
7701 ac_enable=$2
7702 ac_flags=$3
7703 ac_implib=${4:-$ac_name}
7704 ac_file=$ac_dir/lib$ac_implib
7705 ac_dll=$ac_name
7706 ac_deps="include"
7707 ac_implibflags=""
7709 if test "x$enable_tools" = xno; then :
7711 else
7712 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7714 case $ac_name in
7715 *16) ac_implibflags=" -m16" ;;
7716 *.*) ;;
7717 *) ac_dll=$ac_dll.dll ;;
7718 esac
7720 ac_clean=
7721 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7722 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7724 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7725 if test "$ac_enable" != enable_win16
7726 then
7727 wine_fn_clean_rules $ac_clean
7728 wine_fn_append_file SUBDIRS $ac_dir
7729 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7730 else
7731 wine_fn_disabled_rules $ac_clean
7732 return
7734 else
7735 wine_fn_all_rules
7736 wine_fn_clean_rules $ac_clean
7737 wine_fn_append_rule \
7738 "$ac_dir: __builddeps__
7739 manpages htmlpages sgmlpages xmlpages::
7740 @cd $ac_dir && \$(MAKE) \$@
7741 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7742 install install-lib:: $ac_dir/install-lib
7743 __uninstall__: $ac_dir/uninstall"
7744 if test -n "$DLLEXT"
7745 then
7746 wine_fn_append_rule \
7747 "$ac_dir/install-lib:: $ac_dir
7748 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7749 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7750 $ac_dir/uninstall::
7751 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7752 else
7753 wine_fn_append_rule \
7754 "$ac_dir/install-lib:: $ac_dir
7755 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7756 $ac_dir/uninstall::
7757 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7761 if wine_fn_has_flag staticimplib
7762 then
7763 wine_fn_append_rule \
7764 "__builddeps__: $ac_file.a
7765 $ac_file.a $ac_file.cross.a: $ac_deps
7766 $ac_file.a: dummy
7767 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7768 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7769 $ac_dir/install-dev:: $ac_file.a
7770 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7771 $ac_dir/uninstall::
7772 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7773 install install-dev:: $ac_dir/install-dev
7774 __uninstall__: $ac_dir/uninstall"
7776 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7777 then
7778 wine_fn_append_rule \
7779 "__builddeps__: $ac_file.cross.a
7780 $ac_file.cross.a: dummy
7781 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7784 elif wine_fn_has_flag implib
7785 then
7786 wine_fn_append_rule \
7787 "__builddeps__: $ac_file.$IMPLIBEXT
7788 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7789 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7790 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7791 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7792 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7793 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7794 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7795 $ac_dir/uninstall::
7796 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7797 install install-dev:: $ac_dir/install-dev
7798 __uninstall__: $ac_dir/uninstall"
7799 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7800 then
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.cross.a
7803 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7804 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7809 wine_fn_config_program ()
7811 ac_name=$1
7812 ac_dir=programs/$ac_name
7813 ac_enable=$2
7814 ac_flags=$3
7815 ac_program=$ac_name
7817 case $ac_name in
7818 *.*) ;;
7819 *) ac_program=$ac_program.exe ;;
7820 esac
7822 ac_clean=
7823 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7824 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7826 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7827 wine_fn_disabled_rules $ac_clean; return
7830 wine_fn_all_rules
7831 wine_fn_clean_rules $ac_clean
7832 wine_fn_append_rule "$ac_dir: __builddeps__"
7834 wine_fn_has_flag install || return
7835 wine_fn_append_rule \
7836 ".PHONY: $ac_dir/install $ac_dir/uninstall
7837 install install-lib:: $ac_dir/install
7838 __uninstall__: $ac_dir/uninstall"
7840 if test -n "$DLLEXT"
7841 then
7842 wine_fn_append_rule \
7843 "$ac_dir/install:: $ac_dir
7844 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7845 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7846 $ac_dir/uninstall::
7847 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7849 if test -z "$with_wine64" && wine_fn_has_flag installbin
7850 then
7851 wine_fn_append_rule \
7852 "$ac_dir/install:: __tooldeps__
7853 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7854 $ac_dir/uninstall::
7855 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7857 else
7858 wine_fn_append_rule \
7859 "$ac_dir/install:: $ac_dir
7860 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7861 $ac_dir/uninstall::
7862 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7865 if test -z "$with_wine64" && wine_fn_has_flag manpage
7866 then
7867 wine_fn_append_rule \
7868 "$ac_dir/install:: $ac_dir
7869 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7870 $ac_dir/uninstall::
7871 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7875 wine_fn_config_test ()
7877 ac_dir=$1
7878 ac_name=$2
7879 ac_flags=$3
7881 ac_clean=
7882 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7883 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7885 if test "x$enable_tests" = xno; then :
7886 wine_fn_disabled_rules $ac_clean; return
7889 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7890 wine_fn_all_rules
7891 wine_fn_clean_rules $ac_clean
7893 wine_fn_append_rule \
7894 "$ac_dir: __builddeps__
7895 programs/winetest: $ac_dir
7896 check test: $ac_dir/test
7897 .PHONY: $ac_dir/test
7898 $ac_dir/test: dummy
7899 @cd $ac_dir && \$(MAKE) test
7900 testclean::
7901 \$(RM) $ac_dir/*.ok"
7903 if test -n "$CROSSTARGET"
7904 then
7905 wine_fn_append_rule \
7906 "crosstest: $ac_dir/crosstest
7907 .PHONY: $ac_dir/crosstest
7908 $ac_dir/crosstest: __builddeps__ dummy
7909 @cd $ac_dir && \$(MAKE) crosstest"
7913 wine_fn_config_tool ()
7915 ac_dir=$1
7916 ac_flags=$2
7917 if test "x$enable_tools" = xno; then :
7918 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7921 wine_fn_all_rules
7922 wine_fn_install_rules
7923 wine_fn_clean_rules
7925 wine_fn_append_rule "__tooldeps__: $ac_dir"
7926 wine_fn_append_rule "$ac_dir: libs/port"
7927 case $ac_dir in
7928 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7929 esac
7932 wine_fn_config_symlink ()
7934 ac_linkdir=
7935 if test "x$1" = "x-d"
7936 then
7937 ac_linkdir=$2
7938 shift; shift
7940 ac_links=$@
7941 wine_fn_append_rule \
7942 "$ac_links:
7943 @./config.status \$@"
7944 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7945 test -n "$ac_linkdir" || return
7946 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7949 wine_binary="wine"
7950 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7951 WINELOADER_PROGRAMS="$wine_binary"
7953 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7955 case $host_os in
7956 cygwin*|mingw32*)
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7959 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961 $as_echo_n "checking for $ac_word... " >&6; }
7962 if ${ac_cv_prog_DLLTOOL+:} false; then :
7963 $as_echo_n "(cached) " >&6
7964 else
7965 if test -n "$DLLTOOL"; then
7966 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7967 else
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 for as_dir in $PATH
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7985 DLLTOOL=$ac_cv_prog_DLLTOOL
7986 if test -n "$DLLTOOL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7988 $as_echo "$DLLTOOL" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7996 if test -z "$ac_cv_prog_DLLTOOL"; then
7997 ac_ct_DLLTOOL=$DLLTOOL
7998 # Extract the first word of "dlltool", so it can be a program name with args.
7999 set dummy dlltool; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 if test -n "$ac_ct_DLLTOOL"; then
8006 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8007 else
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 for as_dir in $PATH
8011 IFS=$as_save_IFS
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 break 2
8019 done
8020 done
8021 IFS=$as_save_IFS
8025 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8026 if test -n "$ac_ct_DLLTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8028 $as_echo "$ac_ct_DLLTOOL" >&6; }
8029 else
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8034 if test "x$ac_ct_DLLTOOL" = x; then
8035 DLLTOOL="false"
8036 else
8037 case $cross_compiling:$ac_tool_warned in
8038 yes:)
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8041 ac_tool_warned=yes ;;
8042 esac
8043 DLLTOOL=$ac_ct_DLLTOOL
8045 else
8046 DLLTOOL="$ac_cv_prog_DLLTOOL"
8049 LIBEXT="dll"
8050 DLLEXT=""
8051 IMPLIBEXT="a"
8052 enable_iphlpapi=${enable_iphlpapi:-no}
8053 enable_kernel32=${enable_kernel32:-no}
8054 enable_msvcrt=${enable_msvcrt:-no}
8055 enable_ntdll=${enable_ntdll:-no}
8056 enable_ws2_32=${enable_ws2_32:-no}
8057 enable_loader=${enable_loader:-no}
8058 enable_server=${enable_server:-no}
8059 with_x=${with_x:-no}
8060 with_pthread=${with_pthread:-no}
8062 crtlibs=""
8063 case $host_os in
8064 mingw32*)
8065 crtlibs="-lmsvcrt"
8066 SOCKET_LIBS="-lws2_32"
8068 esac
8070 LIBWINE_SHAREDLIB="libwine.dll"
8072 LIBWINE_IMPORTLIB="libwine.a"
8074 LIBWINE_INSTALL_LIB="libwine.dll"
8076 LIBWINE_INSTALL_DEV="libwine.a"
8078 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8080 LIBWINE_DEPENDS="wine.def"
8084 darwin*|macosx*)
8085 for ac_header in libunwind.h
8086 do :
8087 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8089 cat >>confdefs.h <<_ACEOF
8090 #define HAVE_LIBUNWIND_H 1
8091 _ACEOF
8095 done
8097 LIBEXT="dylib"
8098 DLLFLAGS="$DLLFLAGS -fPIC"
8099 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8100 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8101 COREFOUNDATION_LIBS="-framework CoreFoundation"
8103 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8105 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8107 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8109 CORESERVICES_LIBS="-framework CoreServices"
8111 APPKIT_LIBS="-framework AppKit"
8113 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8115 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8116 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 ac_wine_try_cflags_saved=$CFLAGS
8120 CFLAGS="$CFLAGS -Wl,-no_pie"
8121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 ac_cv_cflags__Wl__no_pie=yes
8127 else
8128 ac_cv_cflags__Wl__no_pie=no
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 CFLAGS=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8135 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8136 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8137 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8139 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8140 then
8141 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8144 if test "$ac_cv_header_Security_Security_h" = "yes"
8145 then
8146 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8148 ac_save_LIBS="$LIBS"
8149 LIBS="$LIBS $SECURITY_LIBS"
8150 for ac_func in SSLCopyPeerCertificates
8151 do :
8152 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8153 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8154 cat >>confdefs.h <<_ACEOF
8155 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8156 _ACEOF
8159 done
8161 LIBS="$ac_save_LIBS"
8162 with_gnutls=${with_gnutls:-no}
8164 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8165 then
8166 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8167 then
8168 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8170 else
8171 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8174 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8175 ac_save_LIBS="$LIBS"
8176 LIBS="$LIBS $COREAUDIO_LIBS"
8177 for ac_func in AUGraphAddNode
8178 do :
8179 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8180 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8181 cat >>confdefs.h <<_ACEOF
8182 #define HAVE_AUGRAPHADDNODE 1
8183 _ACEOF
8186 done
8188 LIBS="$ac_save_LIBS"
8190 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8191 then
8192 OPENAL_LIBS="-framework OpenAL"
8195 cat >>confdefs.h <<_ACEOF
8196 #define HAVE_OPENAL 1
8197 _ACEOF
8199 ac_cv_lib_openal=yes
8201 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8202 then
8203 OPENCL_LIBS="-framework OpenCL"
8205 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8207 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8208 then
8209 ac_save_LIBS="$LIBS"
8210 LIBS="$LIBS $IOKIT_LIBS"
8211 for ac_func in IOHIDManagerCreate
8212 do :
8213 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8214 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8215 cat >>confdefs.h <<_ACEOF
8216 #define HAVE_IOHIDMANAGERCREATE 1
8217 _ACEOF
8220 done
8222 LIBS="$ac_save_LIBS"
8224 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8225 then
8226 ac_save_LIBS="$LIBS"
8227 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8229 $as_echo_n "checking for the QuickTime framework... " >&6; }
8230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231 /* end confdefs.h. */
8232 #include <QuickTime/ImageCompression.h>
8234 main ()
8236 CodecManagerVersion(NULL);
8238 return 0;
8240 _ACEOF
8241 if ac_fn_c_try_link "$LINENO"; then :
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8243 $as_echo "yes" >&6; }
8244 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8246 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8247 else
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249 $as_echo "no" >&6; }
8250 ac_cv_header_QuickTime_ImageCompression_h=no
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 LIBS="$ac_save_LIBS"
8256 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8257 then
8258 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8260 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8261 then
8262 CARBON_LIBS="-framework Carbon"
8266 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8267 then
8268 ac_save_LIBS="$LIBS"
8269 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8270 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8271 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8272 enable_winemac_drv=${enable_winemac_drv:-yes}
8275 LIBS="$ac_save_LIBS"
8278 if test "x$enable_win16" = "xyes"
8279 then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8281 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8282 if test "$cross_compiling" = yes; then :
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8284 $as_echo "cross-compiling, assuming yes" >&6; }
8285 else
8286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 /* end confdefs.h. */
8288 asm(".text\n"
8289 "bad:\tnop;nop\n"
8290 "good:\tnop;nop\n\t"
8291 ".globl _testfunc\n"
8292 "_testfunc:\tcallw good");
8293 extern void testfunc();
8295 main ()
8297 unsigned short *p = (unsigned short *)testfunc;
8298 return p[0] != 0xe866 || p[1] != 0xfffa
8300 return 0;
8302 _ACEOF
8303 if ac_fn_c_try_run "$LINENO"; then :
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8305 $as_echo "yes" >&6; }
8306 else
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8308 $as_echo "no" >&6; }
8309 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
8311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8312 conftest.$ac_objext conftest.beam conftest.$ac_ext
8317 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8319 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8321 LIBWINE_INSTALL_DEV="libwine.dylib"
8323 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8325 WINELOADER_DEPENDS="wine_info.plist"
8329 linux-android*)
8330 DLLFLAGS="$DLLFLAGS -fPIC"
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8332 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8333 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_wine_try_cflags_saved=$CFLAGS
8337 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8341 _ACEOF
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8344 else
8345 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 CFLAGS=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8352 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8353 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8354 LDEXECFLAGS="-Wl,--export-dynamic"
8356 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8359 if eval \${$as_ac_var+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 eval "$as_ac_var=yes"
8370 else
8371 eval "$as_ac_var=no"
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 eval ac_res=\$$as_ac_var
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8379 $as_echo "$ac_res" >&6; }
8380 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8381 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8382 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8383 else
8384 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8387 if eval \${$as_ac_var+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 ac_wine_try_cflags_saved=$CFLAGS
8391 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8395 _ACEOF
8396 if ac_fn_c_try_link "$LINENO"; then :
8397 eval "$as_ac_var=yes"
8398 else
8399 eval "$as_ac_var=no"
8401 rm -f core conftest.err conftest.$ac_objext \
8402 conftest$ac_exeext conftest.$ac_ext
8403 CFLAGS=$ac_wine_try_cflags_saved
8405 eval ac_res=\$$as_ac_var
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8407 $as_echo "$ac_res" >&6; }
8408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8409 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8410 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8415 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8416 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__Wl___enable_new_dtags=yes
8427 else
8428 ac_cv_cflags__Wl___enable_new_dtags=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8435 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8436 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8437 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8440 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8441 if ${ac_cv_cflags__Wl__pie+:} false; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 ac_wine_try_cflags_saved=$CFLAGS
8445 CFLAGS="$CFLAGS -Wl,-pie"
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8447 /* end confdefs.h. */
8448 int main(int argc, char **argv) { return 0; }
8449 _ACEOF
8450 if ac_fn_c_try_link "$LINENO"; then :
8451 ac_cv_cflags__Wl__pie=yes
8452 else
8453 ac_cv_cflags__Wl__pie=no
8455 rm -f core conftest.err conftest.$ac_objext \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8460 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8461 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8462 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8465 LIBWINE_SHAREDLIB="libwine.so"
8467 LIBWINE_INSTALL_LIB="libwine.so"
8469 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8474 DLLFLAGS="$DLLFLAGS -fPIC"
8475 LDEXECFLAGS=""
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8477 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8478 if ${ac_cv_c_dll_gnuelf+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 void myfunc() {}
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_c_dll_gnuelf="yes"
8489 else
8490 ac_cv_c_dll_gnuelf="no"
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8497 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8498 if test "$ac_cv_c_dll_gnuelf" = "yes"
8499 then
8500 LIBWINE_LDFLAGS="-shared"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8514 else
8515 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8524 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8525 else
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8528 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8539 else
8540 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8547 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8548 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8549 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8553 echo '{ global: *; };' >conftest.map
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8556 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8567 else
8568 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8575 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8576 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8577 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8579 rm -f conftest.map
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8583 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8594 else
8595 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8602 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8603 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8604 LDEXECFLAGS="-Wl,--export-dynamic"
8607 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8609 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8610 if eval \${$as_ac_var+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 eval "$as_ac_var=yes"
8621 else
8622 eval "$as_ac_var=no"
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 eval ac_res=\$$as_ac_var
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8630 $as_echo "$ac_res" >&6; }
8631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8632 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8634 else
8635 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8637 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8638 if eval \${$as_ac_var+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 eval "$as_ac_var=yes"
8649 else
8650 eval "$as_ac_var=no"
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 eval ac_res=\$$as_ac_var
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8658 $as_echo "$ac_res" >&6; }
8659 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8660 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8661 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8666 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8667 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__Wl___enable_new_dtags=yes
8678 else
8679 ac_cv_cflags__Wl___enable_new_dtags=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8686 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8687 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8688 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8691 case $host_cpu in
8692 *i[3456789]86* | x86_64)
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8695 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8706 else
8707 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8714 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8715 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8716 case $host_os in
8717 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8718 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8719 esac
8720 else
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8722 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8723 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 int main(int argc, char **argv) { return 0; }
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8734 else
8735 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 CFLAGS=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8742 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8743 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8744 case $host_os in
8745 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8746 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8747 esac
8749 # Extract the first word of "prelink", so it can be a program name with args.
8750 set dummy prelink; ac_word=$2
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8752 $as_echo_n "checking for $ac_word... " >&6; }
8753 if ${ac_cv_path_PRELINK+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 case $PRELINK in
8757 [\\/]* | ?:[\\/]*)
8758 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 for as_dir in /sbin /usr/sbin $PATH
8764 IFS=$as_save_IFS
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8768 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8770 break 2
8772 done
8773 done
8774 IFS=$as_save_IFS
8776 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8778 esac
8780 PRELINK=$ac_cv_path_PRELINK
8781 if test -n "$PRELINK"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8783 $as_echo "$PRELINK" >&6; }
8784 else
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8790 if test "x$PRELINK" = xfalse
8791 then
8792 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8797 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8808 else
8809 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8816 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8817 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8818 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8821 esac
8823 else
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8825 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8826 if ${ac_cv_c_dll_unixware+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8833 void myfunc() {}
8834 _ACEOF
8835 if ac_fn_c_try_link "$LINENO"; then :
8836 ac_cv_c_dll_unixware="yes"
8837 else
8838 ac_cv_c_dll_unixware="no"
8840 rm -f core conftest.err conftest.$ac_objext \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8845 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8846 if test "$ac_cv_c_dll_unixware" = "yes"
8847 then
8848 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8851 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8853 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8855 LIBWINE_INSTALL_DEV="libwine.so"
8857 LIBWINE_DEPENDS="wine.map"
8860 esac
8862 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8863 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8864 enable_winemac_drv=${enable_winemac_drv:-no}
8865 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8867 CROSSTARGET=""
8869 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8870 then
8871 case "$host_cpu" in
8872 arm*)
8873 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8874 i[3456789]86*)
8875 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
8876 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8877 mingw32-gcc" ;;
8878 x86_64)
8879 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
8880 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8882 ac_prefix_list="" ;;
8883 esac
8884 for ac_prog in $ac_prefix_list
8886 # Extract the first word of "$ac_prog", so it can be a program name with args.
8887 set dummy $ac_prog; ac_word=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if ${ac_cv_prog_CROSSCC+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 if test -n "$CROSSCC"; then
8894 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8895 else
8896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 for as_dir in $PATH
8899 IFS=$as_save_IFS
8900 test -z "$as_dir" && as_dir=.
8901 for ac_exec_ext in '' $ac_executable_extensions; do
8902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8903 ac_cv_prog_CROSSCC="$ac_prog"
8904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8905 break 2
8907 done
8908 done
8909 IFS=$as_save_IFS
8913 CROSSCC=$ac_cv_prog_CROSSCC
8914 if test -n "$CROSSCC"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8916 $as_echo "$CROSSCC" >&6; }
8917 else
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8923 test -n "$CROSSCC" && break
8924 done
8925 test -n "$CROSSCC" || CROSSCC="false"
8927 if test "$CROSSCC" != "false"
8928 then
8929 ac_save_CC="$CC"
8930 CC="$CROSSCC"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8932 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8934 /* end confdefs.h. */
8937 main ()
8941 return 0;
8943 _ACEOF
8944 if ac_fn_c_try_compile "$LINENO"; then :
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8946 $as_echo "yes" >&6; }
8947 set x $CROSSCC
8948 shift
8949 while test $# -ge 1
8951 case "$1" in
8952 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8953 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8954 esac
8955 shift
8956 done
8957 else
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8962 CC="$ac_save_CC"
8967 if test "$ac_cv_header_pthread_h" = "yes"
8968 then
8969 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8970 if test "x$ac_cv_func_pthread_create" = xyes; then :
8972 else
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8974 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8975 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 ac_check_lib_save_LIBS=$LIBS
8979 LIBS="-lpthread $LIBS"
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8983 /* Override any GCC internal prototype to avoid an error.
8984 Use char because int might match the return type of a GCC
8985 builtin and then its argument prototype would still apply. */
8986 #ifdef __cplusplus
8987 extern "C"
8988 #endif
8989 char pthread_create ();
8991 main ()
8993 return pthread_create ();
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_link "$LINENO"; then :
8999 ac_cv_lib_pthread_pthread_create=yes
9000 else
9001 ac_cv_lib_pthread_pthread_create=no
9003 rm -f core conftest.err conftest.$ac_objext \
9004 conftest$ac_exeext conftest.$ac_ext
9005 LIBS=$ac_check_lib_save_LIBS
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9008 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9009 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9010 PTHREAD_LIBS="-lpthread"
9017 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9018 case "x$with_pthread" in
9019 xno) ;;
9020 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9021 Wine cannot support threads without libpthread.
9022 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9023 esac
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9029 $as_echo_n "checking for X... " >&6; }
9032 # Check whether --with-x was given.
9033 if test "${with_x+set}" = set; then :
9034 withval=$with_x;
9037 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9038 if test "x$with_x" = xno; then
9039 # The user explicitly disabled X.
9040 have_x=disabled
9041 else
9042 case $x_includes,$x_libraries in #(
9043 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9044 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9045 $as_echo_n "(cached) " >&6
9046 else
9047 # One or both of the vars are not set, and there is no cached value.
9048 ac_x_includes=no ac_x_libraries=no
9049 rm -f -r conftest.dir
9050 if mkdir conftest.dir; then
9051 cd conftest.dir
9052 cat >Imakefile <<'_ACEOF'
9053 incroot:
9054 @echo incroot='${INCROOT}'
9055 usrlibdir:
9056 @echo usrlibdir='${USRLIBDIR}'
9057 libdir:
9058 @echo libdir='${LIBDIR}'
9059 _ACEOF
9060 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9061 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9062 for ac_var in incroot usrlibdir libdir; do
9063 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9064 done
9065 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9066 for ac_extension in a so sl dylib la dll; do
9067 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9068 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9069 ac_im_usrlibdir=$ac_im_libdir; break
9071 done
9072 # Screen out bogus values from the imake configuration. They are
9073 # bogus both because they are the default anyway, and because
9074 # using them would break gcc on systems where it needs fixed includes.
9075 case $ac_im_incroot in
9076 /usr/include) ac_x_includes= ;;
9077 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9078 esac
9079 case $ac_im_usrlibdir in
9080 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9081 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9082 esac
9084 cd ..
9085 rm -f -r conftest.dir
9088 # Standard set of common directories for X headers.
9089 # Check X11 before X11Rn because it is often a symlink to the current release.
9090 ac_x_header_dirs='
9091 /usr/X11/include
9092 /usr/X11R7/include
9093 /usr/X11R6/include
9094 /usr/X11R5/include
9095 /usr/X11R4/include
9097 /usr/include/X11
9098 /usr/include/X11R7
9099 /usr/include/X11R6
9100 /usr/include/X11R5
9101 /usr/include/X11R4
9103 /usr/local/X11/include
9104 /usr/local/X11R7/include
9105 /usr/local/X11R6/include
9106 /usr/local/X11R5/include
9107 /usr/local/X11R4/include
9109 /usr/local/include/X11
9110 /usr/local/include/X11R7
9111 /usr/local/include/X11R6
9112 /usr/local/include/X11R5
9113 /usr/local/include/X11R4
9115 /usr/X386/include
9116 /usr/x386/include
9117 /usr/XFree86/include/X11
9119 /usr/include
9120 /usr/local/include
9121 /usr/unsupported/include
9122 /usr/athena/include
9123 /usr/local/x11r5/include
9124 /usr/lpp/Xamples/include
9126 /usr/openwin/include
9127 /usr/openwin/share/include'
9129 if test "$ac_x_includes" = no; then
9130 # Guess where to find include files, by looking for Xlib.h.
9131 # First, try using that file with no special directory specified.
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 #include <X11/Xlib.h>
9135 _ACEOF
9136 if ac_fn_c_try_cpp "$LINENO"; then :
9137 # We can compile using X headers with no special include directory.
9138 ac_x_includes=
9139 else
9140 for ac_dir in $ac_x_header_dirs; do
9141 if test -r "$ac_dir/X11/Xlib.h"; then
9142 ac_x_includes=$ac_dir
9143 break
9145 done
9147 rm -f conftest.err conftest.i conftest.$ac_ext
9148 fi # $ac_x_includes = no
9150 if test "$ac_x_libraries" = no; then
9151 # Check for the libraries.
9152 # See if we find them without any special options.
9153 # Don't add to $LIBS permanently.
9154 ac_save_LIBS=$LIBS
9155 LIBS="-lX11 $LIBS"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 #include <X11/Xlib.h>
9160 main ()
9162 XrmInitialize ()
9164 return 0;
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 LIBS=$ac_save_LIBS
9169 # We can link X programs with no special library path.
9170 ac_x_libraries=
9171 else
9172 LIBS=$ac_save_LIBS
9173 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9175 # Don't even attempt the hair of trying to link an X program!
9176 for ac_extension in a so sl dylib la dll; do
9177 if test -r "$ac_dir/libX11.$ac_extension"; then
9178 ac_x_libraries=$ac_dir
9179 break 2
9181 done
9182 done
9184 rm -f core conftest.err conftest.$ac_objext \
9185 conftest$ac_exeext conftest.$ac_ext
9186 fi # $ac_x_libraries = no
9188 case $ac_x_includes,$ac_x_libraries in #(
9189 no,* | *,no | *\'*)
9190 # Didn't find X, or a directory has "'" in its name.
9191 ac_cv_have_x="have_x=no";; #(
9193 # Record where we found X for the cache.
9194 ac_cv_have_x="have_x=yes\
9195 ac_x_includes='$ac_x_includes'\
9196 ac_x_libraries='$ac_x_libraries'"
9197 esac
9199 ;; #(
9200 *) have_x=yes;;
9201 esac
9202 eval "$ac_cv_have_x"
9203 fi # $with_x != no
9205 if test "$have_x" != yes; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9207 $as_echo "$have_x" >&6; }
9208 no_x=yes
9209 else
9210 # If each of the values was on the command line, it overrides each guess.
9211 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9212 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9213 # Update the cache value to reflect the command line values.
9214 ac_cv_have_x="have_x=yes\
9215 ac_x_includes='$x_includes'\
9216 ac_x_libraries='$x_libraries'"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9218 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9221 if test "$no_x" = yes; then
9222 # Not all programs may use this symbol, but it does not hurt to define it.
9224 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9226 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9227 else
9228 if test -n "$x_includes"; then
9229 X_CFLAGS="$X_CFLAGS -I$x_includes"
9232 # It would also be nice to do this for all -L options, not just this one.
9233 if test -n "$x_libraries"; then
9234 X_LIBS="$X_LIBS -L$x_libraries"
9235 # For Solaris; some versions of Sun CC require a space after -R and
9236 # others require no space. Words are not sufficient . . . .
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9238 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9239 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9240 ac_xsave_c_werror_flag=$ac_c_werror_flag
9241 ac_c_werror_flag=yes
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9246 main ()
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9256 X_LIBS="$X_LIBS -R$x_libraries"
9257 else
9258 LIBS="$ac_xsave_LIBS -R $x_libraries"
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9263 main ()
9267 return 0;
9269 _ACEOF
9270 if ac_fn_c_try_link "$LINENO"; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9272 $as_echo "yes" >&6; }
9273 X_LIBS="$X_LIBS -R $x_libraries"
9274 else
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9276 $as_echo "neither works" >&6; }
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 ac_c_werror_flag=$ac_xsave_c_werror_flag
9284 LIBS=$ac_xsave_LIBS
9287 # Check for system-dependent libraries X programs must link with.
9288 # Do this before checking for the system-independent R6 libraries
9289 # (-lICE), since we may need -lsocket or whatever for X linking.
9291 if test "$ISC" = yes; then
9292 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9293 else
9294 # Martyn Johnson says this is needed for Ultrix, if the X
9295 # libraries were built with DECnet support. And Karl Berry says
9296 # the Alpha needs dnet_stub (dnet does not exist).
9297 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char XOpenDisplay ();
9309 main ()
9311 return XOpenDisplay ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9318 else
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9320 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9321 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_check_lib_save_LIBS=$LIBS
9325 LIBS="-ldnet $LIBS"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9332 #ifdef __cplusplus
9333 extern "C"
9334 #endif
9335 char dnet_ntoa ();
9337 main ()
9339 return dnet_ntoa ();
9341 return 0;
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345 ac_cv_lib_dnet_dnet_ntoa=yes
9346 else
9347 ac_cv_lib_dnet_dnet_ntoa=no
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_lib_save_LIBS
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9354 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9355 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9356 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9359 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9361 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9362 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_check_lib_save_LIBS=$LIBS
9366 LIBS="-ldnet_stub $LIBS"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9370 /* Override any GCC internal prototype to avoid an error.
9371 Use char because int might match the return type of a GCC
9372 builtin and then its argument prototype would still apply. */
9373 #ifdef __cplusplus
9374 extern "C"
9375 #endif
9376 char dnet_ntoa ();
9378 main ()
9380 return dnet_ntoa ();
9382 return 0;
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9387 else
9388 ac_cv_lib_dnet_stub_dnet_ntoa=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 LIBS=$ac_check_lib_save_LIBS
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9395 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9396 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9397 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS="$ac_xsave_LIBS"
9406 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9407 # to get the SysV transport functions.
9408 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9409 # needs -lnsl.
9410 # The nsl library prevents programs from opening the X display
9411 # on Irix 5.2, according to T.E. Dickey.
9412 # The functions gethostbyname, getservbyname, and inet_addr are
9413 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9414 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9415 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9419 if test $ac_cv_func_gethostbyname = no; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9421 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9422 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_check_lib_save_LIBS=$LIBS
9426 LIBS="-lnsl $LIBS"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9433 #ifdef __cplusplus
9434 extern "C"
9435 #endif
9436 char gethostbyname ();
9438 main ()
9440 return gethostbyname ();
9442 return 0;
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_lib_nsl_gethostbyname=yes
9447 else
9448 ac_cv_lib_nsl_gethostbyname=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9455 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9456 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9460 if test $ac_cv_lib_nsl_gethostbyname = no; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9462 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9463 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lbsd $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char gethostbyname ();
9479 main ()
9481 return gethostbyname ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_bsd_gethostbyname=yes
9488 else
9489 ac_cv_lib_bsd_gethostbyname=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9496 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9497 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9498 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9504 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9505 # socket/setsockopt and other routines are undefined under SCO ODT
9506 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9507 # on later versions), says Simon Leinen: it contains gethostby*
9508 # variants that don't use the name server (or something). -lsocket
9509 # must be given before -lnsl if both are needed. We assume that
9510 # if connect needs -lnsl, so does gethostbyname.
9511 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9512 if test "x$ac_cv_func_connect" = xyes; then :
9516 if test $ac_cv_func_connect = no; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9518 $as_echo_n "checking for connect in -lsocket... " >&6; }
9519 if ${ac_cv_lib_socket_connect+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char connect ();
9535 main ()
9537 return connect ();
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 ac_cv_lib_socket_connect=yes
9544 else
9545 ac_cv_lib_socket_connect=no
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS=$ac_check_lib_save_LIBS
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9552 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9553 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9554 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9559 # Guillermo Gomez says -lposix is necessary on A/UX.
9560 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9561 if test "x$ac_cv_func_remove" = xyes; then :
9565 if test $ac_cv_func_remove = no; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9567 $as_echo_n "checking for remove in -lposix... " >&6; }
9568 if ${ac_cv_lib_posix_remove+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_check_lib_save_LIBS=$LIBS
9572 LIBS="-lposix $LIBS"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9576 /* Override any GCC internal prototype to avoid an error.
9577 Use char because int might match the return type of a GCC
9578 builtin and then its argument prototype would still apply. */
9579 #ifdef __cplusplus
9580 extern "C"
9581 #endif
9582 char remove ();
9584 main ()
9586 return remove ();
9588 return 0;
9590 _ACEOF
9591 if ac_fn_c_try_link "$LINENO"; then :
9592 ac_cv_lib_posix_remove=yes
9593 else
9594 ac_cv_lib_posix_remove=no
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 LIBS=$ac_check_lib_save_LIBS
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9601 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9602 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9603 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9608 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9609 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9610 if test "x$ac_cv_func_shmat" = xyes; then :
9614 if test $ac_cv_func_shmat = no; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9616 $as_echo_n "checking for shmat in -lipc... " >&6; }
9617 if ${ac_cv_lib_ipc_shmat+:} false; then :
9618 $as_echo_n "(cached) " >&6
9619 else
9620 ac_check_lib_save_LIBS=$LIBS
9621 LIBS="-lipc $LIBS"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9628 #ifdef __cplusplus
9629 extern "C"
9630 #endif
9631 char shmat ();
9633 main ()
9635 return shmat ();
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9641 ac_cv_lib_ipc_shmat=yes
9642 else
9643 ac_cv_lib_ipc_shmat=no
9645 rm -f core conftest.err conftest.$ac_objext \
9646 conftest$ac_exeext conftest.$ac_ext
9647 LIBS=$ac_check_lib_save_LIBS
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9650 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9651 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9658 # Check for libraries that X11R6 Xt/Xaw programs need.
9659 ac_save_LDFLAGS=$LDFLAGS
9660 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9661 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9662 # check for ICE first), but we must link in the order -lSM -lICE or
9663 # we get undefined symbols. So assume we have SM if we have ICE.
9664 # These have to be linked with before -lX11, unlike the other
9665 # libraries we check for below, so use a different variable.
9666 # John Interrante, Karl Berry
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9668 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9669 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9670 $as_echo_n "(cached) " >&6
9671 else
9672 ac_check_lib_save_LIBS=$LIBS
9673 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9680 #ifdef __cplusplus
9681 extern "C"
9682 #endif
9683 char IceConnectionNumber ();
9685 main ()
9687 return IceConnectionNumber ();
9689 return 0;
9691 _ACEOF
9692 if ac_fn_c_try_link "$LINENO"; then :
9693 ac_cv_lib_ICE_IceConnectionNumber=yes
9694 else
9695 ac_cv_lib_ICE_IceConnectionNumber=no
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 LIBS=$ac_check_lib_save_LIBS
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9702 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9703 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9704 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9707 LDFLAGS=$ac_save_LDFLAGS
9712 if test "$have_x" = "yes"
9713 then
9714 ac_save_CPPFLAGS="$CPPFLAGS"
9715 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9718 $as_echo_n "checking for -lX11... " >&6; }
9719 if ${ac_cv_lib_soname_X11+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_soname_save_LIBS=$LIBS
9723 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XCreateWindow ();
9735 main ()
9737 return XCreateWindow ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 case "$LIBEXT" in
9744 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_X11:+false} :; then :
9748 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 fi ;;
9750 esac
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_X11:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9760 else
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9762 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9764 cat >>confdefs.h <<_ACEOF
9765 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9766 _ACEOF
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9771 $as_echo_n "checking for -lXext... " >&6; }
9772 if ${ac_cv_lib_soname_Xext+:} false; then :
9773 $as_echo_n "(cached) " >&6
9774 else
9775 ac_check_soname_save_LIBS=$LIBS
9776 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9780 /* Override any GCC internal prototype to avoid an error.
9781 Use char because int might match the return type of a GCC
9782 builtin and then its argument prototype would still apply. */
9783 #ifdef __cplusplus
9784 extern "C"
9785 #endif
9786 char XextCreateExtension ();
9788 main ()
9790 return XextCreateExtension ();
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_link "$LINENO"; then :
9796 case "$LIBEXT" in
9797 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9798 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'` ;;
9799 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9800 if ${ac_cv_lib_soname_Xext:+false} :; then :
9801 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9802 fi ;;
9803 esac
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_soname_save_LIBS
9809 if ${ac_cv_lib_soname_Xext:+false} :; then :
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9811 $as_echo "not found" >&6; }
9813 else
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9815 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9817 cat >>confdefs.h <<_ACEOF
9818 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9819 _ACEOF
9821 X_LIBS="$X_LIBS -lXext"
9823 X_LIBS="$X_LIBS -lX11"
9825 for ac_header in X11/Xlib.h \
9826 X11/XKBlib.h \
9827 X11/Xutil.h \
9828 X11/Xcursor/Xcursor.h \
9829 X11/extensions/shape.h \
9830 X11/extensions/XInput.h \
9831 X11/extensions/XInput2.h \
9832 X11/extensions/XShm.h \
9833 X11/extensions/Xcomposite.h \
9834 X11/extensions/Xinerama.h \
9835 X11/extensions/Xrandr.h \
9836 X11/extensions/Xrender.h \
9837 X11/extensions/xf86vmode.h \
9838 X11/extensions/xf86vmproto.h
9839 do :
9840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9841 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9842 # include <X11/Xlib.h>
9843 #endif
9844 #ifdef HAVE_X11_XUTIL_H
9845 # include <X11/Xutil.h>
9846 #endif
9848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9849 cat >>confdefs.h <<_ACEOF
9850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9851 _ACEOF
9855 done
9858 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9859 then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9861 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9862 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9873 #ifdef __cplusplus
9874 extern "C"
9875 #endif
9876 char XkbQueryExtension ();
9878 main ()
9880 return XkbQueryExtension ();
9882 return 0;
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_lib_X11_XkbQueryExtension=yes
9887 else
9888 ac_cv_lib_X11_XkbQueryExtension=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9895 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9896 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9898 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9904 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9905 then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9907 $as_echo_n "checking for -lXcursor... " >&6; }
9908 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_soname_save_LIBS=$LIBS
9912 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char XcursorImageLoadCursor ();
9924 main ()
9926 return XcursorImageLoadCursor ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 case "$LIBEXT" in
9933 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9937 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9938 fi ;;
9939 esac
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9949 else
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9951 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9953 cat >>confdefs.h <<_ACEOF
9954 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9955 _ACEOF
9960 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9961 case "x$with_xcursor" in
9962 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9963 xno) ;;
9964 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9965 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9966 esac
9970 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9971 then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9973 $as_echo_n "checking for -lXi... " >&6; }
9974 if ${ac_cv_lib_soname_Xi+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_check_soname_save_LIBS=$LIBS
9978 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 #ifdef __cplusplus
9986 extern "C"
9987 #endif
9988 char XOpenDevice ();
9990 main ()
9992 return XOpenDevice ();
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"; then :
9998 case "$LIBEXT" in
9999 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10000 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'` ;;
10001 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10002 if ${ac_cv_lib_soname_Xi:+false} :; then :
10003 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10004 fi ;;
10005 esac
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 LIBS=$ac_check_soname_save_LIBS
10011 if ${ac_cv_lib_soname_Xi:+false} :; then :
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10013 $as_echo "not found" >&6; }
10015 else
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10017 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10019 cat >>confdefs.h <<_ACEOF
10020 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10021 _ACEOF
10026 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10027 case "x$with_xinput" in
10028 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10029 xno) ;;
10030 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10031 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10032 esac
10036 if test "x$ac_cv_lib_soname_Xi" != x
10037 then
10038 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10039 case "x$with_xinput2" in
10040 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10041 xno) ;;
10042 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10043 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10044 esac
10049 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10050 then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10052 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10053 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_check_lib_save_LIBS=$LIBS
10057 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10064 #ifdef __cplusplus
10065 extern "C"
10066 #endif
10067 char XShmQueryExtension ();
10069 main ()
10071 return XShmQueryExtension ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_lib_Xext_XShmQueryExtension=yes
10078 else
10079 ac_cv_lib_Xext_XShmQueryExtension=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10086 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10087 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10089 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10094 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10095 case "x$with_xshm" in
10096 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10097 xno) ;;
10098 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10099 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10100 esac
10104 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10105 then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10107 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10108 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XShapeQueryExtension ();
10124 main ()
10126 return XShapeQueryExtension ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_lib_Xext_XShapeQueryExtension=yes
10133 else
10134 ac_cv_lib_Xext_XShapeQueryExtension=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10141 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10142 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10144 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10149 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10150 case "x$with_xshape" in
10151 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10152 xno) ;;
10153 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10154 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10155 esac
10159 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10160 then
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10162 $as_echo_n "checking for -lXxf86vm... " >&6; }
10163 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_check_soname_save_LIBS=$LIBS
10167 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 /* Override any GCC internal prototype to avoid an error.
10172 Use char because int might match the return type of a GCC
10173 builtin and then its argument prototype would still apply. */
10174 #ifdef __cplusplus
10175 extern "C"
10176 #endif
10177 char XF86VidModeQueryExtension ();
10179 main ()
10181 return XF86VidModeQueryExtension ();
10183 return 0;
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 case "$LIBEXT" in
10188 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10191 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10192 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10193 fi ;;
10194 esac
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10202 $as_echo "not found" >&6; }
10204 else
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10206 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10208 cat >>confdefs.h <<_ACEOF
10209 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10210 _ACEOF
10215 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10216 case "x$with_xxf86vm" in
10217 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10218 xno) ;;
10219 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10220 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10221 esac
10225 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10226 then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10228 $as_echo_n "checking for -lXrender... " >&6; }
10229 if ${ac_cv_lib_soname_Xrender+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_check_soname_save_LIBS=$LIBS
10233 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10237 /* Override any GCC internal prototype to avoid an error.
10238 Use char because int might match the return type of a GCC
10239 builtin and then its argument prototype would still apply. */
10240 #ifdef __cplusplus
10241 extern "C"
10242 #endif
10243 char XRenderQueryExtension ();
10245 main ()
10247 return XRenderQueryExtension ();
10249 return 0;
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 case "$LIBEXT" in
10254 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10255 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'` ;;
10256 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10257 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10258 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10259 fi ;;
10260 esac
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10268 $as_echo "not found" >&6; }
10270 else
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10272 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10274 cat >>confdefs.h <<_ACEOF
10275 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10276 _ACEOF
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10279 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10280 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10281 $as_echo_n "(cached) " >&6
10282 else
10283 ac_check_lib_save_LIBS=$LIBS
10284 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10291 #ifdef __cplusplus
10292 extern "C"
10293 #endif
10294 char XRenderSetPictureTransform ();
10296 main ()
10298 return XRenderSetPictureTransform ();
10300 return 0;
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10305 else
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10316 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10321 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10322 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10323 $as_echo_n "(cached) " >&6
10324 else
10325 ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char XRenderCreateLinearGradient ();
10338 main ()
10340 return XRenderCreateLinearGradient ();
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10347 else
10348 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10355 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10356 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10358 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10365 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10366 case "x$with_xrender" in
10367 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10368 xno) ;;
10369 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10370 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10371 esac
10375 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10376 then
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 #include <X11/Xlib.h>
10380 #include <X11/extensions/Xrandr.h>
10382 main ()
10384 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10386 return 0;
10388 _ACEOF
10389 if ac_fn_c_try_compile "$LINENO"; then :
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10391 $as_echo_n "checking for -lXrandr... " >&6; }
10392 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_check_soname_save_LIBS=$LIBS
10396 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10403 #ifdef __cplusplus
10404 extern "C"
10405 #endif
10406 char XRRQueryExtension ();
10408 main ()
10410 return XRRQueryExtension ();
10412 return 0;
10414 _ACEOF
10415 if ac_fn_c_try_link "$LINENO"; then :
10416 case "$LIBEXT" in
10417 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10418 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'` ;;
10419 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10420 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10421 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10422 fi ;;
10423 esac
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 LIBS=$ac_check_soname_save_LIBS
10429 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10433 else
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10435 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10437 cat >>confdefs.h <<_ACEOF
10438 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10439 _ACEOF
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10443 #include <X11/Xlib.h>
10444 #include <X11/extensions/Xrandr.h>
10446 main ()
10448 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10450 return 0;
10452 _ACEOF
10453 if ac_fn_c_try_compile "$LINENO"; then :
10455 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10463 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10464 case "x$with_xrandr" in
10465 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10466 xno) ;;
10467 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10469 esac
10473 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10474 then
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10477 #include <X11/Xlib.h>
10478 #include <X11/extensions/Xinerama.h>
10480 main ()
10482 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10484 return 0;
10486 _ACEOF
10487 if ac_fn_c_try_compile "$LINENO"; then :
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10489 $as_echo_n "checking for -lXinerama... " >&6; }
10490 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_check_soname_save_LIBS=$LIBS
10494 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10496 /* end confdefs.h. */
10498 /* Override any GCC internal prototype to avoid an error.
10499 Use char because int might match the return type of a GCC
10500 builtin and then its argument prototype would still apply. */
10501 #ifdef __cplusplus
10502 extern "C"
10503 #endif
10504 char XineramaQueryScreens ();
10506 main ()
10508 return XineramaQueryScreens ();
10510 return 0;
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"; then :
10514 case "$LIBEXT" in
10515 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10516 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'` ;;
10517 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10518 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10519 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10520 fi ;;
10521 esac
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 LIBS=$ac_check_soname_save_LIBS
10527 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10529 $as_echo "not found" >&6; }
10531 else
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10533 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10535 cat >>confdefs.h <<_ACEOF
10536 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10537 _ACEOF
10542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10544 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10545 case "x$with_xinerama" in
10546 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10547 xno) ;;
10548 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10549 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10550 esac
10554 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10555 then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10557 $as_echo_n "checking for -lXcomposite... " >&6; }
10558 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10559 $as_echo_n "(cached) " >&6
10560 else
10561 ac_check_soname_save_LIBS=$LIBS
10562 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char XCompositeRedirectWindow ();
10574 main ()
10576 return XCompositeRedirectWindow ();
10578 return 0;
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 case "$LIBEXT" in
10583 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10584 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'` ;;
10585 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10586 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10587 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 fi ;;
10589 esac
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_soname_save_LIBS
10595 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10597 $as_echo "not found" >&6; }
10599 else
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10601 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10603 cat >>confdefs.h <<_ACEOF
10604 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10605 _ACEOF
10610 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10611 case "x$with_xcomposite" in
10612 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10613 xno) ;;
10614 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10615 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10616 esac
10620 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10621 #include <X11/Xlib.h>
10622 #endif
10624 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10626 cat >>confdefs.h <<_ACEOF
10627 #define HAVE_XICCALLBACK_CALLBACK 1
10628 _ACEOF
10632 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10633 #include <X11/Xlib.h>
10634 #endif
10636 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10638 cat >>confdefs.h <<_ACEOF
10639 #define HAVE_XEVENT_XCOOKIE 1
10640 _ACEOF
10647 opengl_msg=""
10648 if test "x$with_opengl" != "xno"
10649 then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10651 $as_echo_n "checking for -lGL... " >&6; }
10652 if ${ac_cv_lib_soname_GL+:} false; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 ac_check_soname_save_LIBS=$LIBS
10656 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10660 /* Override any GCC internal prototype to avoid an error.
10661 Use char because int might match the return type of a GCC
10662 builtin and then its argument prototype would still apply. */
10663 #ifdef __cplusplus
10664 extern "C"
10665 #endif
10666 char glXCreateContext ();
10668 main ()
10670 return glXCreateContext ();
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 case "$LIBEXT" in
10677 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10678 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'` ;;
10679 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10680 if ${ac_cv_lib_soname_GL:+false} :; then :
10681 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10682 fi ;;
10683 esac
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_soname_save_LIBS
10689 if ${ac_cv_lib_soname_GL:+false} :; then :
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10691 $as_echo "not found" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10693 $as_echo_n "checking for -lGL... " >&6; }
10694 if ${ac_cv_lib_soname_GL+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_check_soname_save_LIBS=$LIBS
10698 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"
10699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10702 /* Override any GCC internal prototype to avoid an error.
10703 Use char because int might match the return type of a GCC
10704 builtin and then its argument prototype would still apply. */
10705 #ifdef __cplusplus
10706 extern "C"
10707 #endif
10708 char glXCreateContext ();
10710 main ()
10712 return glXCreateContext ();
10714 return 0;
10716 _ACEOF
10717 if ac_fn_c_try_link "$LINENO"; then :
10718 case "$LIBEXT" in
10719 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10720 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'` ;;
10721 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10722 if ${ac_cv_lib_soname_GL:+false} :; then :
10723 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10724 fi ;;
10725 esac
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_soname_save_LIBS
10731 if ${ac_cv_lib_soname_GL:+false} :; then :
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10733 $as_echo "not found" >&6; }
10734 if test -f /usr/X11R6/lib/libGL.a
10735 then
10736 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10737 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10738 else
10739 opengl_msg="No OpenGL library found on this system."
10741 else
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10743 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10745 cat >>confdefs.h <<_ACEOF
10746 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10747 _ACEOF
10749 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"
10751 else
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10753 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10755 cat >>confdefs.h <<_ACEOF
10756 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10757 _ACEOF
10759 OPENGL_LIBS="-lGL"
10761 if test "x$with_glu" != "xno"
10762 then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10764 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10765 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10766 $as_echo_n "(cached) " >&6
10767 else
10768 ac_check_lib_save_LIBS=$LIBS
10769 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10776 #ifdef __cplusplus
10777 extern "C"
10778 #endif
10779 char gluLookAt ();
10781 main ()
10783 return gluLookAt ();
10785 return 0;
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 ac_cv_lib_GLU_gluLookAt=yes
10790 else
10791 ac_cv_lib_GLU_gluLookAt=no
10793 rm -f core conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10795 LIBS=$ac_check_lib_save_LIBS
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10798 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10799 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10803 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10804 case "x$with_glu" in
10805 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10806 xno) ;;
10807 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10808 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10809 esac
10814 if test "x$with_osmesa" != "xno"
10815 then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10817 $as_echo_n "checking for -lOSMesa... " >&6; }
10818 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 ac_check_soname_save_LIBS=$LIBS
10822 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10829 #ifdef __cplusplus
10830 extern "C"
10831 #endif
10832 char glAccum ();
10834 main ()
10836 return glAccum ();
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 case "$LIBEXT" in
10843 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 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'` ;;
10845 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10846 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10847 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10848 fi ;;
10849 esac
10851 rm -f core conftest.err conftest.$ac_objext \
10852 conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_soname_save_LIBS
10855 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10857 $as_echo "not found" >&6; }
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10861 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10863 cat >>confdefs.h <<_ACEOF
10864 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10865 _ACEOF
10869 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10870 case "x$with_osmesa" in
10871 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10872 xno) ;;
10873 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10874 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10875 esac
10880 if test -n "$opengl_msg"; then :
10881 case "x$with_opengl" in
10882 x) as_fn_append wine_warnings "|$opengl_msg
10883 OpenGL and Direct3D won't be supported." ;;
10884 xno) ;;
10885 *) as_fn_error $? "$opengl_msg
10886 OpenGL and Direct3D won't be supported.
10887 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10888 esac
10892 CPPFLAGS="$ac_save_CPPFLAGS"
10893 else
10894 X_CFLAGS=""
10895 X_LIBS=""
10897 if test "x$X_LIBS" = "x"; then :
10898 case "x$with_x" in
10899 xno) ;;
10900 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10901 without X support, which probably isn't what you want. You will need
10902 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10903 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10904 esac
10905 enable_winex11_drv=${enable_winex11_drv:-no}
10908 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10910 if test "$ac_cv_header_CL_cl_h" = "yes"
10911 then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10913 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10914 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-lOpenCL $LIBS"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10922 /* Override any GCC internal prototype to avoid an error.
10923 Use char because int might match the return type of a GCC
10924 builtin and then its argument prototype would still apply. */
10925 #ifdef __cplusplus
10926 extern "C"
10927 #endif
10928 char clGetPlatformInfo ();
10930 main ()
10932 return clGetPlatformInfo ();
10934 return 0;
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"; then :
10938 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10939 else
10940 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_lib_save_LIBS
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10947 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10948 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10949 OPENCL_LIBS="-lOpenCL"
10954 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10955 case "x$with_opencl" in
10956 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10957 xno) ;;
10958 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10959 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10960 esac
10961 enable_opencl=${enable_opencl:-no}
10964 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10965 then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10967 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10968 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lpcap $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char pcap_create ();
10984 main ()
10986 return pcap_create ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_pcap_pcap_create=yes
10993 else
10994 ac_cv_lib_pcap_pcap_create=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11001 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11002 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11003 PCAP_LIBS="-lpcap"
11008 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11009 case "x$with_pcap" in
11010 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11011 xno) ;;
11012 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11013 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11014 esac
11015 enable_wpcap=${enable_wpcap:-no}
11019 if test "x$with_xml" != "xno"
11020 then
11021 if ${XML2_CFLAGS:+false} :; then :
11022 if ${PKG_CONFIG+:} false; then :
11023 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11026 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11027 if ${XML2_LIBS:+false} :; then :
11028 if ${PKG_CONFIG+:} false; then :
11029 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11032 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11033 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11034 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11035 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11036 ac_save_CPPFLAGS=$CPPFLAGS
11037 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11038 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11039 do :
11040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11041 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11042 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11043 cat >>confdefs.h <<_ACEOF
11044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11045 _ACEOF
11049 done
11051 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"
11052 then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11054 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11055 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-lxml2 $XML2_LIBS $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char xmlParseMemory ();
11071 main ()
11073 return xmlParseMemory ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_xml2_xmlParseMemory=yes
11080 else
11081 ac_cv_lib_xml2_xmlParseMemory=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11088 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11089 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11091 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11093 else
11094 XML2_LIBS=""
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11098 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlReadMemory ();
11115 main ()
11117 return xmlReadMemory ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_xml2_xmlReadMemory=yes
11124 else
11125 ac_cv_lib_xml2_xmlReadMemory=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11135 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11140 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11141 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lxml2 $XML2_LIBS $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char xmlNewDocPI ();
11157 main ()
11159 return xmlNewDocPI ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_xml2_xmlNewDocPI=yes
11166 else
11167 ac_cv_lib_xml2_xmlNewDocPI=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11174 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11175 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11177 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11182 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11183 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11184 $as_echo_n "(cached) " >&6
11185 else
11186 ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lxml2 $XML2_LIBS $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char xmlSchemaSetParserStructuredErrors ();
11199 main ()
11201 return xmlSchemaSetParserStructuredErrors ();
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11208 else
11209 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11216 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11217 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11219 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11224 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11225 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11226 $as_echo_n "(cached) " >&6
11227 else
11228 ac_check_lib_save_LIBS=$LIBS
11229 LIBS="-lxml2 $XML2_LIBS $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char xmlSchemaSetValidStructuredErrors ();
11241 main ()
11243 return xmlSchemaSetValidStructuredErrors ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11250 else
11251 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11258 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11259 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11261 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11266 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11267 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_lib_save_LIBS=$LIBS
11271 LIBS="-lxml2 $XML2_LIBS $LIBS"
11272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11278 #ifdef __cplusplus
11279 extern "C"
11280 #endif
11281 char xmlFirstElementChild ();
11283 main ()
11285 return xmlFirstElementChild ();
11287 return 0;
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"; then :
11291 ac_cv_lib_xml2_xmlFirstElementChild=yes
11292 else
11293 ac_cv_lib_xml2_xmlFirstElementChild=no
11295 rm -f core conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11297 LIBS=$ac_check_lib_save_LIBS
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11300 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11301 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11303 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11307 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11309 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11311 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11315 else
11316 XML2_CFLAGS=""
11317 XML2_LIBS=""
11319 CPPFLAGS=$ac_save_CPPFLAGS
11320 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11321 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11324 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11325 case "x$with_xml" in
11326 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11327 xno) ;;
11328 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11329 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11330 esac
11334 if test "x$with_xslt" != "xno"
11335 then
11336 if ${XSLT_CFLAGS:+false} :; then :
11337 if ${PKG_CONFIG+:} false; then :
11338 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11341 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11342 if ${XSLT_LIBS:+false} :; then :
11343 if ${PKG_CONFIG+:} false; then :
11344 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11347 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11348 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11349 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11350 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11351 ac_save_CPPFLAGS=$CPPFLAGS
11352 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11353 for ac_header in libxslt/pattern.h libxslt/transform.h
11354 do :
11355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11357 # include <libxslt/pattern.h>
11358 #endif
11360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11361 cat >>confdefs.h <<_ACEOF
11362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11363 _ACEOF
11367 done
11369 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11370 then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11372 $as_echo_n "checking for -lxslt... " >&6; }
11373 if ${ac_cv_lib_soname_xslt+:} false; then :
11374 $as_echo_n "(cached) " >&6
11375 else
11376 ac_check_soname_save_LIBS=$LIBS
11377 LIBS="-lxslt $XSLT_LIBS $LIBS"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char xsltCompilePattern ();
11389 main ()
11391 return xsltCompilePattern ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 case "$LIBEXT" in
11398 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11399 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'` ;;
11400 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11401 if ${ac_cv_lib_soname_xslt:+false} :; then :
11402 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11403 fi ;;
11404 esac
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_soname_save_LIBS
11410 if ${ac_cv_lib_soname_xslt:+false} :; then :
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11412 $as_echo "not found" >&6; }
11414 else
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11416 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11418 cat >>confdefs.h <<_ACEOF
11419 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11420 _ACEOF
11424 else
11425 XSLT_CFLAGS=""
11427 CPPFLAGS=$ac_save_CPPFLAGS
11428 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11429 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11432 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11433 case "x$with_xslt" in
11434 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11435 xno) ;;
11436 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11437 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11438 esac
11442 if test "x$with_dbus" != "xno"
11443 then
11444 if ${DBUS_CFLAGS:+false} :; then :
11445 if ${PKG_CONFIG+:} false; then :
11446 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11450 if ${DBUS_LIBS:+false} :; then :
11451 if ${PKG_CONFIG+:} false; then :
11452 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11457 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11458 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11459 ac_save_CPPFLAGS=$CPPFLAGS
11460 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11461 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11462 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11464 $as_echo_n "checking for -ldbus-1... " >&6; }
11465 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11466 $as_echo_n "(cached) " >&6
11467 else
11468 ac_check_soname_save_LIBS=$LIBS
11469 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11476 #ifdef __cplusplus
11477 extern "C"
11478 #endif
11479 char dbus_connection_close ();
11481 main ()
11483 return dbus_connection_close ();
11485 return 0;
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"; then :
11489 case "$LIBEXT" in
11490 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11491 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'` ;;
11492 *) 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'`
11493 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11494 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11495 fi ;;
11496 esac
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_soname_save_LIBS
11502 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11504 $as_echo "not found" >&6; }
11505 DBUS_CFLAGS=""
11506 else
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11508 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11510 cat >>confdefs.h <<_ACEOF
11511 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11512 _ACEOF
11516 else
11517 DBUS_CFLAGS=""
11521 CPPFLAGS=$ac_save_CPPFLAGS
11522 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11523 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11526 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11527 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11528 case "x$with_dbus" in
11529 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11530 xno) ;;
11531 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11532 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11533 esac
11537 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11538 then
11539 if ${HAL_CFLAGS:+false} :; then :
11540 if ${PKG_CONFIG+:} false; then :
11541 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11545 if ${HAL_LIBS:+false} :; then :
11546 if ${PKG_CONFIG+:} false; then :
11547 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11551 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11552 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11553 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11554 ac_save_CPPFLAGS=$CPPFLAGS
11555 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11556 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11557 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11559 $as_echo_n "checking for -lhal... " >&6; }
11560 if ${ac_cv_lib_soname_hal+:} false; then :
11561 $as_echo_n "(cached) " >&6
11562 else
11563 ac_check_soname_save_LIBS=$LIBS
11564 LIBS="-lhal $HAL_LIBS $LIBS"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11571 #ifdef __cplusplus
11572 extern "C"
11573 #endif
11574 char libhal_ctx_new ();
11576 main ()
11578 return libhal_ctx_new ();
11580 return 0;
11582 _ACEOF
11583 if ac_fn_c_try_link "$LINENO"; then :
11584 case "$LIBEXT" in
11585 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11586 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'` ;;
11587 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11588 if ${ac_cv_lib_soname_hal:+false} :; then :
11589 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11590 fi ;;
11591 esac
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_soname_save_LIBS
11597 if ${ac_cv_lib_soname_hal:+false} :; then :
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11599 $as_echo "not found" >&6; }
11600 HAL_CFLAGS=""
11601 else
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11603 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11605 cat >>confdefs.h <<_ACEOF
11606 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11607 _ACEOF
11611 else
11612 HAL_CFLAGS=""
11616 CPPFLAGS=$ac_save_CPPFLAGS
11617 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11618 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11620 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11621 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11622 case "x$with_hal" in
11623 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11624 xno) ;;
11625 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11626 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11627 esac
11632 if test "x$with_gnutls" != "xno"
11633 then
11634 if ${GNUTLS_CFLAGS:+false} :; then :
11635 if ${PKG_CONFIG+:} false; then :
11636 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11640 if ${GNUTLS_LIBS:+false} :; then :
11641 if ${PKG_CONFIG+:} false; then :
11642 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11647 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11648 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11649 ac_save_CPPFLAGS=$CPPFLAGS
11650 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11651 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11652 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11655 #include <gnutls/gnutls.h>
11656 #include <gnutls/crypto.h>
11658 main ()
11660 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11662 return 0;
11664 _ACEOF
11665 if ac_fn_c_try_compile "$LINENO"; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11667 $as_echo_n "checking for -lgnutls... " >&6; }
11668 if ${ac_cv_lib_soname_gnutls+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_soname_save_LIBS=$LIBS
11672 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char gnutls_global_init ();
11684 main ()
11686 return gnutls_global_init ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 case "$LIBEXT" in
11693 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11694 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'` ;;
11695 *) 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'`
11696 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11697 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'`
11698 fi ;;
11699 esac
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_soname_save_LIBS
11705 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11707 $as_echo "not found" >&6; }
11708 GNUTLS_CFLAGS=""
11709 else
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11711 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11713 cat >>confdefs.h <<_ACEOF
11714 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11715 _ACEOF
11719 ac_wine_check_funcs_save_LIBS="$LIBS"
11720 LIBS="$LIBS $GNUTLS_LIBS"
11721 for ac_func in gnutls_hash
11722 do :
11723 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11724 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11725 cat >>confdefs.h <<_ACEOF
11726 #define HAVE_GNUTLS_HASH 1
11727 _ACEOF
11729 else
11730 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11732 done
11734 LIBS="$ac_wine_check_funcs_save_LIBS"
11736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11737 else
11738 GNUTLS_CFLAGS=""
11742 CPPFLAGS=$ac_save_CPPFLAGS
11743 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11744 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11747 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11748 case "x$with_gnutls" in
11749 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11750 xno) ;;
11751 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11752 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11753 esac
11757 CURSES_LIBS=""
11758 if test "$ac_cv_header_ncurses_h" = "yes"
11759 then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11761 $as_echo_n "checking for -lncurses... " >&6; }
11762 if ${ac_cv_lib_soname_ncurses+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_soname_save_LIBS=$LIBS
11766 LIBS="-lncurses $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char waddch ();
11778 main ()
11780 return waddch ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 case "$LIBEXT" in
11787 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11788 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'` ;;
11789 *) 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'`
11790 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11791 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11792 fi ;;
11793 esac
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797 LIBS=$ac_check_soname_save_LIBS
11799 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11801 $as_echo "not found" >&6; }
11803 else
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11805 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11807 cat >>confdefs.h <<_ACEOF
11808 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11809 _ACEOF
11811 CURSES_LIBS="-lncurses"
11813 elif test "$ac_cv_header_curses_h" = "yes"
11814 then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11816 $as_echo_n "checking for -lcurses... " >&6; }
11817 if ${ac_cv_lib_soname_curses+:} false; then :
11818 $as_echo_n "(cached) " >&6
11819 else
11820 ac_check_soname_save_LIBS=$LIBS
11821 LIBS="-lcurses $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char waddch ();
11833 main ()
11835 return waddch ();
11837 return 0;
11839 _ACEOF
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 case "$LIBEXT" in
11842 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11843 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'` ;;
11844 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11845 if ${ac_cv_lib_soname_curses:+false} :; then :
11846 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11847 fi ;;
11848 esac
11850 rm -f core conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_soname_save_LIBS
11854 if ${ac_cv_lib_soname_curses:+false} :; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11856 $as_echo "not found" >&6; }
11858 else
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11860 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11862 cat >>confdefs.h <<_ACEOF
11863 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11864 _ACEOF
11866 CURSES_LIBS="-lcurses"
11869 ac_save_LIBS="$LIBS"
11870 LIBS="$LIBS $CURSES_LIBS"
11871 for ac_func in mousemask
11872 do :
11873 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11874 if test "x$ac_cv_func_mousemask" = xyes; then :
11875 cat >>confdefs.h <<_ACEOF
11876 #define HAVE_MOUSEMASK 1
11877 _ACEOF
11880 done
11882 LIBS="$ac_save_LIBS"
11883 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11884 case "x$with_curses" in
11885 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11886 xno) ;;
11887 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11888 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11889 esac
11893 if test "x$with_sane" != "xno"
11894 then
11895 if ${SANE_CFLAGS:+false} :; then :
11896 if ${PKG_CONFIG+:} false; then :
11897 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11900 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11901 if ${SANE_LIBS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11906 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11908 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11909 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11910 ac_save_CPPFLAGS=$CPPFLAGS
11911 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11912 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11913 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11915 $as_echo_n "checking for -lsane... " >&6; }
11916 if ${ac_cv_lib_soname_sane+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_soname_save_LIBS=$LIBS
11920 LIBS="-lsane $SANE_LIBS $LIBS"
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11924 /* Override any GCC internal prototype to avoid an error.
11925 Use char because int might match the return type of a GCC
11926 builtin and then its argument prototype would still apply. */
11927 #ifdef __cplusplus
11928 extern "C"
11929 #endif
11930 char sane_init ();
11932 main ()
11934 return sane_init ();
11936 return 0;
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940 case "$LIBEXT" in
11941 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11942 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'` ;;
11943 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11944 if ${ac_cv_lib_soname_sane:+false} :; then :
11945 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11946 fi ;;
11947 esac
11949 rm -f core conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_soname_save_LIBS
11953 if ${ac_cv_lib_soname_sane:+false} :; then :
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11955 $as_echo "not found" >&6; }
11956 SANE_CFLAGS=""
11957 else
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11959 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11961 cat >>confdefs.h <<_ACEOF
11962 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11963 _ACEOF
11967 else
11968 SANE_CFLAGS=""
11972 CPPFLAGS=$ac_save_CPPFLAGS
11973 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11974 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11977 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11978 case "x$with_sane" in
11979 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11980 xno) ;;
11981 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11982 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11983 esac
11987 if test "x$with_v4l" != "xno"
11988 then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11990 $as_echo_n "checking for -lv4l1... " >&6; }
11991 if ${ac_cv_lib_soname_v4l1+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_soname_save_LIBS=$LIBS
11995 LIBS="-lv4l1 $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char v4l1_open ();
12007 main ()
12009 return v4l1_open ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 case "$LIBEXT" in
12016 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12017 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'` ;;
12018 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12019 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12020 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12021 fi ;;
12022 esac
12024 rm -f core conftest.err conftest.$ac_objext \
12025 conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_soname_save_LIBS
12028 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12030 $as_echo "not found" >&6; }
12032 else
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12034 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12036 cat >>confdefs.h <<_ACEOF
12037 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12038 _ACEOF
12043 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12044 case "x$with_v4l" in
12045 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12046 xno) ;;
12047 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12048 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12049 esac
12053 if test "x$with_gphoto" != "xno"
12054 then
12055 if ${GPHOTO2_CFLAGS:+false} :; then :
12056 if ${PKG_CONFIG+:} false; then :
12057 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12060 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12061 if ${GPHOTO2_LIBS:+false} :; then :
12062 if ${PKG_CONFIG+:} false; then :
12063 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12066 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12067 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12069 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12070 ac_save_CPPFLAGS=$CPPFLAGS
12071 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12072 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12073 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12075 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12076 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char gp_camera_new ();
12092 main ()
12094 return gp_camera_new ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 ac_cv_lib_gphoto2_gp_camera_new=yes
12101 else
12102 ac_cv_lib_gphoto2_gp_camera_new=no
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12109 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12110 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12112 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12114 else
12115 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12118 else
12119 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12123 CPPFLAGS=$ac_save_CPPFLAGS
12124 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12125 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12127 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12128 if ${PKG_CONFIG+:} false; then :
12129 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12132 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12133 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12134 if ${PKG_CONFIG+:} false; then :
12135 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12138 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12139 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12140 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12141 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12142 ac_save_CPPFLAGS=$CPPFLAGS
12143 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12144 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12145 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12147 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12148 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 ac_check_lib_save_LIBS=$LIBS
12152 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char gp_port_info_list_new ();
12164 main ()
12166 return gp_port_info_list_new ();
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_link "$LINENO"; then :
12172 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12173 else
12174 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12176 rm -f core conftest.err conftest.$ac_objext \
12177 conftest$ac_exeext conftest.$ac_ext
12178 LIBS=$ac_check_lib_save_LIBS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12181 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12182 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12184 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12186 else
12187 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12190 else
12191 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12195 CPPFLAGS=$ac_save_CPPFLAGS
12196 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12197 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12200 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12201 case "x$with_gphoto" in
12202 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12203 xno) ;;
12204 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12205 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12206 esac
12209 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12210 case "x$with_gphoto" in
12211 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12212 xno) ;;
12213 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12214 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12215 esac
12220 if test "$ac_cv_header_resolv_h" = "yes"
12221 then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12223 $as_echo_n "checking for resolver library... " >&6; }
12224 if ${ac_cv_have_resolv+:} false; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_save_LIBS="$LIBS"
12228 for lib in '' -lresolv
12230 LIBS="$lib $ac_save_LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12233 #ifdef HAVE_NETINET_IN_H
12234 #include <netinet/in.h>
12235 #endif
12236 #include <resolv.h>
12238 main ()
12240 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12242 return 0;
12244 _ACEOF
12245 if ac_fn_c_try_link "$LINENO"; then :
12246 ac_cv_have_resolv=${lib:-"none required"}
12247 else
12248 ac_cv_have_resolv="not found"
12250 rm -f core conftest.err conftest.$ac_objext \
12251 conftest$ac_exeext conftest.$ac_ext
12252 test "x$ac_cv_have_resolv" = "xnot found" || break
12253 done
12254 LIBS="$ac_save_LIBS"
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12257 $as_echo "$ac_cv_have_resolv" >&6; }
12259 case "$ac_cv_have_resolv" in
12260 "not found") ;;
12261 "none required")
12263 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12266 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12268 RESOLV_LIBS=$ac_cv_have_resolv
12270 esac
12273 if test "x$with_cms" != "xno"
12274 then
12275 if ${LCMS2_CFLAGS:+false} :; then :
12276 if ${PKG_CONFIG+:} false; then :
12277 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12281 if ${LCMS2_LIBS:+false} :; then :
12282 if ${PKG_CONFIG+:} false; then :
12283 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12287 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12288 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12289 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12290 ac_save_CPPFLAGS=$CPPFLAGS
12291 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12292 for ac_header in lcms2.h
12293 do :
12294 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12295 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12296 cat >>confdefs.h <<_ACEOF
12297 #define HAVE_LCMS2_H 1
12298 _ACEOF
12302 done
12304 if test "$ac_cv_header_lcms2_h" = "yes"
12305 then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12307 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12308 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_check_lib_save_LIBS=$LIBS
12312 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char cmsOpenProfileFromFile ();
12324 main ()
12326 return cmsOpenProfileFromFile ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12333 else
12334 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_lib_save_LIBS
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12341 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12342 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12344 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12346 else
12347 LCMS2_LIBS=""
12350 else
12351 LCMS2_CFLAGS=""
12352 LCMS2_LIBS=""
12354 CPPFLAGS=$ac_save_CPPFLAGS
12355 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12356 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12359 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12360 case "x$with_cms" in
12361 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12362 xno) ;;
12363 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12364 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12365 esac
12369 if test "x$with_freetype" != "xno"
12370 then
12371 if ${FREETYPE_CFLAGS:+false} :; then :
12372 if ${PKG_CONFIG+:} false; then :
12373 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12376 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12377 if ${FREETYPE_LIBS:+false} :; then :
12378 if ${PKG_CONFIG+:} false; then :
12379 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12382 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12383 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12384 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12385 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12386 ac_save_CPPFLAGS=$CPPFLAGS
12387 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12388 for ac_header in ft2build.h
12389 do :
12390 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12391 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12392 cat >>confdefs.h <<_ACEOF
12393 #define HAVE_FT2BUILD_H 1
12394 _ACEOF
12398 done
12400 if test "$ac_cv_header_ft2build_h" = "yes"
12401 then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12403 $as_echo_n "checking for -lfreetype... " >&6; }
12404 if ${ac_cv_lib_soname_freetype+:} false; then :
12405 $as_echo_n "(cached) " >&6
12406 else
12407 ac_check_soname_save_LIBS=$LIBS
12408 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 #ifdef __cplusplus
12416 extern "C"
12417 #endif
12418 char FT_Init_FreeType ();
12420 main ()
12422 return FT_Init_FreeType ();
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_link "$LINENO"; then :
12428 case "$LIBEXT" in
12429 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12430 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'` ;;
12431 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12432 if ${ac_cv_lib_soname_freetype:+false} :; then :
12433 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12434 fi ;;
12435 esac
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_soname_save_LIBS
12441 if ${ac_cv_lib_soname_freetype:+false} :; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12443 $as_echo "not found" >&6; }
12444 FREETYPE_LIBS=""
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12447 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12449 cat >>confdefs.h <<_ACEOF
12450 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12451 _ACEOF
12454 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12456 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12457 #include FT_MODULE_H
12459 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12461 cat >>confdefs.h <<_ACEOF
12462 #define HAVE_FT_TRUETYPEENGINETYPE 1
12463 _ACEOF
12469 else
12470 FREETYPE_CFLAGS=""
12471 FREETYPE_LIBS=""
12473 CPPFLAGS=$ac_save_CPPFLAGS
12474 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12475 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12478 if test "x$ac_cv_lib_soname_freetype" = x; then :
12479 case "x$with_freetype" in
12480 xno) ;;
12481 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12482 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12483 esac
12484 enable_fonts=${enable_fonts:-no}
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12488 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12489 if ${ac_cv_c_ppdev+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12494 #ifdef HAVE_SYS_IOCTL_H
12495 # include <sys/ioctl.h>
12496 #endif
12497 #include <linux/ppdev.h>
12499 main ()
12501 ioctl (1,PPCLAIM,0)
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_compile "$LINENO"; then :
12507 ac_cv_c_ppdev="yes"
12508 else
12509 ac_cv_c_ppdev="no"
12511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12514 $as_echo "$ac_cv_c_ppdev" >&6; }
12515 if test "$ac_cv_c_ppdev" = "yes"
12516 then
12518 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12522 ac_wine_check_funcs_save_LIBS="$LIBS"
12523 LIBS="$LIBS $PTHREAD_LIBS"
12524 for ac_func in \
12525 pthread_attr_get_np \
12526 pthread_getattr_np \
12527 pthread_getthreadid_np \
12528 pthread_get_stackaddr_np \
12529 pthread_get_stacksize_np
12530 do :
12531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12534 cat >>confdefs.h <<_ACEOF
12535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12536 _ACEOF
12539 done
12541 LIBS="$ac_wine_check_funcs_save_LIBS"
12543 if test "$ac_cv_header_zlib_h" = "yes"
12544 then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12546 $as_echo_n "checking for inflate in -lz... " >&6; }
12547 if ${ac_cv_lib_z_inflate+:} false; then :
12548 $as_echo_n "(cached) " >&6
12549 else
12550 ac_check_lib_save_LIBS=$LIBS
12551 LIBS="-lz $LIBS"
12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12558 #ifdef __cplusplus
12559 extern "C"
12560 #endif
12561 char inflate ();
12563 main ()
12565 return inflate ();
12567 return 0;
12569 _ACEOF
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_lib_z_inflate=yes
12572 else
12573 ac_cv_lib_z_inflate=no
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 LIBS=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12580 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12581 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12583 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12585 Z_LIBS="-lz"
12590 if test "x$Z_LIBS" = "x"; then :
12591 case "x$with_zlib" in
12592 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12593 xno) ;;
12594 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12595 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12596 esac
12600 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12601 then
12602 if test "$ac_cv_header_gettext_po_h" = "yes"
12603 then
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12605 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12606 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12607 $as_echo_n "(cached) " >&6
12608 else
12609 ac_check_lib_save_LIBS=$LIBS
12610 LIBS="-lgettextpo $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char po_message_msgctxt ();
12622 main ()
12624 return po_message_msgctxt ();
12626 return 0;
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12631 else
12632 ac_cv_lib_gettextpo_po_message_msgctxt=no
12634 rm -f core conftest.err conftest.$ac_objext \
12635 conftest$ac_exeext conftest.$ac_ext
12636 LIBS=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12639 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12640 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12642 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12644 GETTEXTPO_LIBS="-lgettextpo"
12649 if test "x$GETTEXTPO_LIBS" = "x"; then :
12650 case "x$with_gettextpo" in
12651 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12652 xno) ;;
12653 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12654 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12655 esac
12658 if test "$srcdir" != .; then :
12659 case "x$with_gettextpo" in
12660 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12661 xno) ;;
12662 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12663 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12664 esac
12669 if test "x$with_pulse" != "xno";
12670 then
12671 if ${PULSE_CFLAGS:+false} :; then :
12672 if ${PKG_CONFIG+:} false; then :
12673 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12677 if ${PULSE_LIBS:+false} :; then :
12678 if ${PKG_CONFIG+:} false; then :
12679 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12684 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12685 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12686 ac_save_CPPFLAGS=$CPPFLAGS
12687 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12688 for ac_header in pulse/pulseaudio.h
12689 do :
12690 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12691 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12692 cat >>confdefs.h <<_ACEOF
12693 #define HAVE_PULSE_PULSEAUDIO_H 1
12694 _ACEOF
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12696 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12697 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_lib_save_LIBS=$LIBS
12701 LIBS="-lpulse $PULSE_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char pa_stream_is_corked ();
12713 main ()
12715 return pa_stream_is_corked ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 ac_cv_lib_pulse_pa_stream_is_corked=yes
12722 else
12723 ac_cv_lib_pulse_pa_stream_is_corked=no
12725 rm -f core conftest.err conftest.$ac_objext \
12726 conftest$ac_exeext conftest.$ac_ext
12727 LIBS=$ac_check_lib_save_LIBS
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12730 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12731 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12733 else
12734 PULSE_LIBS=""
12737 else
12738 PULSE_LIBS=""
12741 done
12743 CPPFLAGS=$ac_save_CPPFLAGS
12744 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12745 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12748 if test -z "$PULSE_LIBS"; then :
12749 case "x$with_pulse" in
12750 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12751 xno) ;;
12752 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12753 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12754 esac
12755 enable_winepulse_drv=${enable_winepulse_drv:-no}
12758 if test "x$with_gstreamer" != "xno"
12759 then
12760 if ${GSTREAMER_CFLAGS:+false} :; then :
12761 if ${PKG_CONFIG+:} false; then :
12762 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12766 if ${GSTREAMER_LIBS:+false} :; then :
12767 if ${PKG_CONFIG+:} false; then :
12768 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12773 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12774 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12775 ac_save_CPPFLAGS=$CPPFLAGS
12776 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12777 ac_gst_incl=""
12778 for i in $GSTREAMER_CFLAGS
12780 case "$i" in
12781 -I*) ac_gst_incl="$ac_gst_incl $i";;
12782 esac
12783 done
12784 GSTREAMER_CFLAGS=$ac_gst_incl
12785 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12786 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12787 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12789 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12792 #include <gst/gst.h>
12794 main ()
12796 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_compile "$LINENO"; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12803 $as_echo "yes" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12805 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12806 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char gst_pad_new ();
12822 main ()
12824 return gst_pad_new ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12831 else
12832 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12839 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12840 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12844 else
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12846 $as_echo "no" >&6; }
12847 ac_glib2_broken=yes
12848 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12854 CPPFLAGS=$ac_save_CPPFLAGS
12855 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12856 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12859 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 :
12860 case "x$with_gstreamer" in
12861 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12862 xno) ;;
12863 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12864 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12865 esac
12868 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12870 ALSA_LIBS=""
12872 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12873 then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12875 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12876 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_check_lib_save_LIBS=$LIBS
12880 LIBS="-lasound $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char snd_pcm_hw_params_get_access_mask ();
12892 main ()
12894 return snd_pcm_hw_params_get_access_mask ();
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12901 else
12902 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_lib_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12909 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12910 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12913 #ifdef HAVE_ALSA_ASOUNDLIB_H
12914 #include <alsa/asoundlib.h>
12915 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12916 #include <sys/asoundlib.h>
12917 #endif
12919 main ()
12921 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12923 return 0;
12925 _ACEOF
12926 if ac_fn_c_try_compile "$LINENO"; then :
12927 ALSA_LIBS="-lasound"
12929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12935 if test "x$with_oss" != xno
12936 then
12937 ac_save_CPPFLAGS="$CPPFLAGS"
12938 if test -f /etc/oss.conf
12939 then
12940 . /etc/oss.conf
12942 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12943 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12944 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12945 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12946 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12948 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12952 _ACEOF
12954 OSS4_CFLAGS="$ac_oss_incl"
12961 CPPFLAGS="$ac_save_CPPFLAGS"
12963 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12964 case "x$with_oss" in
12965 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12966 xno) ;;
12967 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12968 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12969 esac
12970 enable_wineoss_drv=${enable_wineoss_drv:-no}
12973 if test "x$with_udev" != "xno"
12974 then
12975 if ${UDEV_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false; then :
12977 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12981 if ${UDEV_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false; then :
12983 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12990 ac_save_CPPFLAGS=$CPPFLAGS
12991 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12992 for ac_header in libudev.h
12993 do :
12994 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_libudev_h" = xyes; then :
12996 cat >>confdefs.h <<_ACEOF
12997 #define HAVE_LIBUDEV_H 1
12998 _ACEOF
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13000 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13001 if ${ac_cv_lib_udev_udev_new+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 ac_check_lib_save_LIBS=$LIBS
13005 LIBS="-ludev $UDEV_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 #ifdef __cplusplus
13013 extern "C"
13014 #endif
13015 char udev_new ();
13017 main ()
13019 return udev_new ();
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_lib_udev_udev_new=yes
13026 else
13027 ac_cv_lib_udev_udev_new=no
13029 rm -f core conftest.err conftest.$ac_objext \
13030 conftest$ac_exeext conftest.$ac_ext
13031 LIBS=$ac_check_lib_save_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13034 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13035 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13037 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13039 else
13040 UDEV_LIBS=""
13043 else
13044 UDEV_LIBS=""
13047 done
13049 CPPFLAGS=$ac_save_CPPFLAGS
13050 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13051 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13054 if test "x$UDEV_LIBS" = "x"; then :
13055 case "x$with_udev" in
13056 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13057 xno) ;;
13058 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13059 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13060 esac
13064 if test "x$with_capi" != "xno"
13065 then
13066 if ${CAPI20_CFLAGS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13072 if ${CAPI20_LIBS:+false} :; then :
13073 if ${PKG_CONFIG+:} false; then :
13074 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13079 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13080 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13081 ac_save_CPPFLAGS=$CPPFLAGS
13082 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13083 for ac_header in capi20.h linux/capi.h
13084 do :
13085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13089 cat >>confdefs.h <<_ACEOF
13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13091 _ACEOF
13095 done
13097 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13098 then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13100 $as_echo_n "checking for -lcapi20... " >&6; }
13101 if ${ac_cv_lib_soname_capi20+:} false; then :
13102 $as_echo_n "(cached) " >&6
13103 else
13104 ac_check_soname_save_LIBS=$LIBS
13105 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 #ifdef __cplusplus
13113 extern "C"
13114 #endif
13115 char capi20_register ();
13117 main ()
13119 return capi20_register ();
13121 return 0;
13123 _ACEOF
13124 if ac_fn_c_try_link "$LINENO"; then :
13125 case "$LIBEXT" in
13126 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13129 if ${ac_cv_lib_soname_capi20:+false} :; then :
13130 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13131 fi ;;
13132 esac
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_soname_save_LIBS
13138 if ${ac_cv_lib_soname_capi20:+false} :; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13140 $as_echo "not found" >&6; }
13142 else
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13144 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13146 cat >>confdefs.h <<_ACEOF
13147 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13148 _ACEOF
13153 CPPFLAGS=$ac_save_CPPFLAGS
13154 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13155 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13158 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13159 case "x$with_capi" in
13160 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13161 xno) ;;
13162 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13163 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13164 esac
13168 CUPS_CFLAGS=""
13170 if test "x$with_cups" != "xno"
13171 then
13172 ac_save_CPPFLAGS="$CPPFLAGS"
13173 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13174 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13175 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13176 for ac_header in cups/cups.h
13177 do :
13178 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13179 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13180 cat >>confdefs.h <<_ACEOF
13181 #define HAVE_CUPS_CUPS_H 1
13182 _ACEOF
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13184 $as_echo_n "checking for -lcups... " >&6; }
13185 if ${ac_cv_lib_soname_cups+:} false; then :
13186 $as_echo_n "(cached) " >&6
13187 else
13188 ac_check_soname_save_LIBS=$LIBS
13189 LIBS="-lcups $ac_cups_libs $LIBS"
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 /* end confdefs.h. */
13193 /* Override any GCC internal prototype to avoid an error.
13194 Use char because int might match the return type of a GCC
13195 builtin and then its argument prototype would still apply. */
13196 #ifdef __cplusplus
13197 extern "C"
13198 #endif
13199 char cupsGetDefault ();
13201 main ()
13203 return cupsGetDefault ();
13205 return 0;
13207 _ACEOF
13208 if ac_fn_c_try_link "$LINENO"; then :
13209 case "$LIBEXT" in
13210 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13211 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'` ;;
13212 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13213 if ${ac_cv_lib_soname_cups:+false} :; then :
13214 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13215 fi ;;
13216 esac
13218 rm -f core conftest.err conftest.$ac_objext \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_soname_save_LIBS
13222 if ${ac_cv_lib_soname_cups:+false} :; then :
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13224 $as_echo "not found" >&6; }
13226 else
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13228 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13230 cat >>confdefs.h <<_ACEOF
13231 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13232 _ACEOF
13234 CUPS_CFLAGS="$ac_cups_cflags"
13236 for ac_header in cups/ppd.h
13237 do :
13238 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13239 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13240 cat >>confdefs.h <<_ACEOF
13241 #define HAVE_CUPS_PPD_H 1
13242 _ACEOF
13246 done
13250 done
13252 CPPFLAGS="$ac_save_CPPFLAGS"
13254 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13255 case "x$with_cups" in
13256 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13257 xno) ;;
13258 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13259 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13260 esac
13264 if test "x$with_fontconfig" != "xno"
13265 then
13266 if ${FONTCONFIG_CFLAGS:+false} :; then :
13267 if ${PKG_CONFIG+:} false; then :
13268 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13271 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13272 if ${FONTCONFIG_LIBS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13277 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13279 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13280 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13281 ac_save_CPPFLAGS=$CPPFLAGS
13282 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13283 for ac_header in fontconfig/fontconfig.h
13284 do :
13285 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13286 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13287 cat >>confdefs.h <<_ACEOF
13288 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13289 _ACEOF
13293 done
13295 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13296 then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13298 $as_echo_n "checking for -lfontconfig... " >&6; }
13299 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_soname_save_LIBS=$LIBS
13303 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char FcInit ();
13315 main ()
13317 return FcInit ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 case "$LIBEXT" in
13324 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13325 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'` ;;
13326 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13327 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13328 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13329 fi ;;
13330 esac
13332 rm -f core conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_soname_save_LIBS
13336 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13338 $as_echo "not found" >&6; }
13339 FONTCONFIG_CFLAGS=""
13340 else
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13342 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13344 cat >>confdefs.h <<_ACEOF
13345 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13346 _ACEOF
13350 else
13351 FONTCONFIG_CFLAGS=""
13353 CPPFLAGS=$ac_save_CPPFLAGS
13354 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13355 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13358 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13359 case "x$with_fontconfig" in
13360 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13361 xno) ;;
13362 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13363 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13364 esac
13368 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13369 then
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13371 $as_echo_n "checking for -lgsm... " >&6; }
13372 if ${ac_cv_lib_soname_gsm+:} false; then :
13373 $as_echo_n "(cached) " >&6
13374 else
13375 ac_check_soname_save_LIBS=$LIBS
13376 LIBS="-lgsm $LIBS"
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13383 #ifdef __cplusplus
13384 extern "C"
13385 #endif
13386 char gsm_create ();
13388 main ()
13390 return gsm_create ();
13392 return 0;
13394 _ACEOF
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 case "$LIBEXT" in
13397 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13398 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'` ;;
13399 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13400 if ${ac_cv_lib_soname_gsm:+false} :; then :
13401 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13402 fi ;;
13403 esac
13405 rm -f core conftest.err conftest.$ac_objext \
13406 conftest$ac_exeext conftest.$ac_ext
13407 LIBS=$ac_check_soname_save_LIBS
13409 if ${ac_cv_lib_soname_gsm:+false} :; then :
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13411 $as_echo "not found" >&6; }
13413 else
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13415 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13417 cat >>confdefs.h <<_ACEOF
13418 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13419 _ACEOF
13424 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13425 case "x$with_gsm" in
13426 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13427 xno) ;;
13428 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13429 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13430 esac
13434 if test "x$with_jpeg" != "xno"
13435 then
13436 if ${JPEG_CFLAGS:+false} :; then :
13437 if ${PKG_CONFIG+:} false; then :
13438 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13442 if ${JPEG_LIBS:+false} :; then :
13443 if ${PKG_CONFIG+:} false; then :
13444 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13449 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13450 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13451 ac_save_CPPFLAGS=$CPPFLAGS
13452 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13453 for ac_header in jpeglib.h
13454 do :
13455 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13456 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13457 cat >>confdefs.h <<_ACEOF
13458 #define HAVE_JPEGLIB_H 1
13459 _ACEOF
13463 done
13465 if test "$ac_cv_header_jpeglib_h" = "yes"
13466 then
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13468 $as_echo_n "checking for -ljpeg... " >&6; }
13469 if ${ac_cv_lib_soname_jpeg+:} false; then :
13470 $as_echo_n "(cached) " >&6
13471 else
13472 ac_check_soname_save_LIBS=$LIBS
13473 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13480 #ifdef __cplusplus
13481 extern "C"
13482 #endif
13483 char jpeg_start_decompress ();
13485 main ()
13487 return jpeg_start_decompress ();
13489 return 0;
13491 _ACEOF
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 case "$LIBEXT" in
13494 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13497 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13498 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13499 fi ;;
13500 esac
13502 rm -f core conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13504 LIBS=$ac_check_soname_save_LIBS
13506 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13508 $as_echo "not found" >&6; }
13509 JPEG_CFLAGS=""
13510 else
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13512 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13514 cat >>confdefs.h <<_ACEOF
13515 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13516 _ACEOF
13520 else
13521 JPEG_CFLAGS=""
13523 CPPFLAGS=$ac_save_CPPFLAGS
13524 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13525 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13528 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13529 case "x$with_jpeg" in
13530 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13531 xno) ;;
13532 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13533 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13534 esac
13538 if test "x$with_png" != "xno"
13539 then
13540 if ${PNG_CFLAGS:+false} :; then :
13541 if ${PKG_CONFIG+:} false; then :
13542 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13545 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13546 if ${PNG_LIBS:+false} :; then :
13547 if ${PKG_CONFIG+:} false; then :
13548 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13551 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13553 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13554 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13555 ac_save_CPPFLAGS=$CPPFLAGS
13556 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13557 for ac_header in png.h
13558 do :
13559 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13560 if test "x$ac_cv_header_png_h" = xyes; then :
13561 cat >>confdefs.h <<_ACEOF
13562 #define HAVE_PNG_H 1
13563 _ACEOF
13567 done
13569 if test "$ac_cv_header_png_h" = "yes"
13570 then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13572 $as_echo_n "checking for -lpng... " >&6; }
13573 if ${ac_cv_lib_soname_png+:} false; then :
13574 $as_echo_n "(cached) " >&6
13575 else
13576 ac_check_soname_save_LIBS=$LIBS
13577 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13584 #ifdef __cplusplus
13585 extern "C"
13586 #endif
13587 char png_create_read_struct ();
13589 main ()
13591 return png_create_read_struct ();
13593 return 0;
13595 _ACEOF
13596 if ac_fn_c_try_link "$LINENO"; then :
13597 case "$LIBEXT" in
13598 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13599 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'` ;;
13600 *) 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'`
13601 if ${ac_cv_lib_soname_png:+false} :; then :
13602 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13603 fi ;;
13604 esac
13606 rm -f core conftest.err conftest.$ac_objext \
13607 conftest$ac_exeext conftest.$ac_ext
13608 LIBS=$ac_check_soname_save_LIBS
13610 if ${ac_cv_lib_soname_png:+false} :; then :
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13612 $as_echo "not found" >&6; }
13613 PNG_CFLAGS=""
13614 else
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13616 $as_echo "$ac_cv_lib_soname_png" >&6; }
13618 cat >>confdefs.h <<_ACEOF
13619 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13620 _ACEOF
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #include <png.h>
13626 main ()
13628 typeof(png_set_expand_gray_1_2_4_to_8) *p
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_compile "$LINENO"; then :
13635 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13640 else
13641 PNG_CFLAGS=""
13643 CPPFLAGS=$ac_save_CPPFLAGS
13644 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13645 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13648 if test "x$ac_cv_lib_soname_png" = "x"; then :
13649 case "x$with_png" in
13650 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13651 xno) ;;
13652 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13653 This is an error since --with-png was requested." "$LINENO" 5 ;;
13654 esac
13658 if test "x$with_tiff" != "xno"
13659 then
13660 if ${TIFF_CFLAGS:+false} :; then :
13661 if ${PKG_CONFIG+:} false; then :
13662 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13666 if ${TIFF_LIBS:+false} :; then :
13667 if ${PKG_CONFIG+:} false; then :
13668 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13673 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13674 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13675 ac_save_CPPFLAGS=$CPPFLAGS
13676 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13677 for ac_header in tiffio.h
13678 do :
13679 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13680 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13681 cat >>confdefs.h <<_ACEOF
13682 #define HAVE_TIFFIO_H 1
13683 _ACEOF
13687 done
13689 if test "$ac_cv_header_tiffio_h" = "yes"
13690 then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13692 $as_echo_n "checking for -ltiff... " >&6; }
13693 if ${ac_cv_lib_soname_tiff+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_check_soname_save_LIBS=$LIBS
13697 LIBS="-ltiff $TIFF_LIBS $LIBS"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13701 /* Override any GCC internal prototype to avoid an error.
13702 Use char because int might match the return type of a GCC
13703 builtin and then its argument prototype would still apply. */
13704 #ifdef __cplusplus
13705 extern "C"
13706 #endif
13707 char TIFFClientOpen ();
13709 main ()
13711 return TIFFClientOpen ();
13713 return 0;
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 case "$LIBEXT" in
13718 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13719 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'` ;;
13720 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13721 if ${ac_cv_lib_soname_tiff:+false} :; then :
13722 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13723 fi ;;
13724 esac
13726 rm -f core conftest.err conftest.$ac_objext \
13727 conftest$ac_exeext conftest.$ac_ext
13728 LIBS=$ac_check_soname_save_LIBS
13730 if ${ac_cv_lib_soname_tiff:+false} :; then :
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13732 $as_echo "not found" >&6; }
13734 else
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13736 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13738 cat >>confdefs.h <<_ACEOF
13739 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13740 _ACEOF
13745 CPPFLAGS=$ac_save_CPPFLAGS
13746 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13747 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13750 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13751 case "x$with_tiff" in
13752 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13753 xno) ;;
13754 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13755 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13756 esac
13760 if test "x$with_mpg123" != "xno"
13761 then
13762 if ${MPG123_CFLAGS:+false} :; then :
13763 if ${PKG_CONFIG+:} false; then :
13764 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13768 if ${MPG123_LIBS:+false} :; then :
13769 if ${PKG_CONFIG+:} false; then :
13770 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13774 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13775 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13776 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13777 ac_save_CPPFLAGS=$CPPFLAGS
13778 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13779 for ac_header in mpg123.h
13780 do :
13781 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13782 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13783 cat >>confdefs.h <<_ACEOF
13784 #define HAVE_MPG123_H 1
13785 _ACEOF
13789 done
13791 if test "$ac_cv_header_mpg123_h" = "yes"
13792 then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13794 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13795 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 ac_check_lib_save_LIBS=$LIBS
13799 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13806 #ifdef __cplusplus
13807 extern "C"
13808 #endif
13809 char mpg123_feed ();
13811 main ()
13813 return mpg123_feed ();
13815 return 0;
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_lib_mpg123_mpg123_feed=yes
13820 else
13821 ac_cv_lib_mpg123_mpg123_feed=no
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 LIBS=$ac_check_lib_save_LIBS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13828 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13829 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13831 else
13832 MPG123_LIBS=""
13835 else
13836 MPG123_CFLAGS=""
13837 MPG123_LIBS=""
13839 CPPFLAGS=$ac_save_CPPFLAGS
13840 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13841 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13844 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13845 case "x$with_mpg123" in
13846 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13847 xno) ;;
13848 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13849 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13850 esac
13851 enable_winemp3_acm=${enable_winemp3_acm:-no}
13854 if test "$ac_cv_header_AL_al_h" = "yes"
13855 then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13857 $as_echo_n "checking for -lopenal... " >&6; }
13858 if ${ac_cv_lib_soname_openal+:} false; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 ac_check_soname_save_LIBS=$LIBS
13862 LIBS="-lopenal $LIBS"
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13869 #ifdef __cplusplus
13870 extern "C"
13871 #endif
13872 char alGetSource3i ();
13874 main ()
13876 return alGetSource3i ();
13878 return 0;
13880 _ACEOF
13881 if ac_fn_c_try_link "$LINENO"; then :
13882 case "$LIBEXT" in
13883 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13884 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'` ;;
13885 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13886 if ${ac_cv_lib_soname_openal:+false} :; then :
13887 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13888 fi ;;
13889 esac
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13893 LIBS=$ac_check_soname_save_LIBS
13895 if ${ac_cv_lib_soname_openal:+false} :; then :
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13897 $as_echo "not found" >&6; }
13899 else
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13901 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13903 cat >>confdefs.h <<_ACEOF
13904 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13905 _ACEOF
13907 OPENAL_LIBS="-lopenal"
13909 ac_cv_lib_openal=yes
13911 cat >>confdefs.h <<_ACEOF
13912 #define HAVE_OPENAL 1
13913 _ACEOF
13917 if test "x$ac_cv_lib_openal" != xyes; then :
13918 case "x$with_openal" in
13919 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13920 xno) ;;
13921 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13922 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13923 esac
13924 enable_openal32=${enable_openal32:-no}
13927 if test "x$ac_cv_lib_openal" = xyes
13928 then
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13930 $as_echo_n "checking for openal-soft... " >&6; }
13931 if ${ac_cv_have_openalsoft+:} false; then :
13932 $as_echo_n "(cached) " >&6
13933 else
13934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 #include <AL/al.h>
13937 #include <AL/alc.h>
13938 #include <AL/alext.h>
13939 LPALCRENDERSAMPLESSOFT x;
13941 main ()
13945 return 0;
13947 _ACEOF
13948 if ac_fn_c_try_compile "$LINENO"; then :
13949 ac_cv_have_openalsoft=yes
13950 else
13951 ac_cv_have_openalsoft=no
13953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13956 $as_echo "$ac_cv_have_openalsoft" >&6; }
13958 if test "x$ac_cv_have_openalsoft" != xyes
13959 then
13960 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13961 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13962 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13963 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13964 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13965 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13966 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13967 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13968 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13969 enable_xapofx1_1=${enable_xapofx1_1:-no}
13970 enable_xapofx1_2=${enable_xapofx1_2:-no}
13971 enable_xapofx1_3=${enable_xapofx1_3:-no}
13972 enable_xapofx1_4=${enable_xapofx1_4:-no}
13973 enable_xapofx1_5=${enable_xapofx1_5:-no}
13974 enable_xaudio2_0=${enable_xaudio2_0:-no}
13975 enable_xaudio2_1=${enable_xaudio2_1:-no}
13976 enable_xaudio2_2=${enable_xaudio2_2:-no}
13977 enable_xaudio2_3=${enable_xaudio2_3:-no}
13978 enable_xaudio2_4=${enable_xaudio2_4:-no}
13979 enable_xaudio2_5=${enable_xaudio2_5:-no}
13980 enable_xaudio2_6=${enable_xaudio2_6:-no}
13981 enable_xaudio2_7=${enable_xaudio2_7:-no}
13982 enable_xaudio2_8=${enable_xaudio2_8:-no}
13983 enable_xaudio2_9=${enable_xaudio2_9:-no}
13986 if test "$ac_cv_header_kstat_h" = "yes"
13987 then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13989 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13990 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_check_lib_save_LIBS=$LIBS
13994 LIBS="-lkstat $LIBS"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14001 #ifdef __cplusplus
14002 extern "C"
14003 #endif
14004 char kstat_open ();
14006 main ()
14008 return kstat_open ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_lib_kstat_kstat_open=yes
14015 else
14016 ac_cv_lib_kstat_kstat_open=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_lib_save_LIBS
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14023 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14024 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14026 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14028 KSTAT_LIBS="-lkstat"
14034 if test "$ac_cv_header_libprocstat_h" = "yes"
14035 then
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14037 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14038 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 ac_check_lib_save_LIBS=$LIBS
14042 LIBS="-lprocstat $LIBS"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14046 /* Override any GCC internal prototype to avoid an error.
14047 Use char because int might match the return type of a GCC
14048 builtin and then its argument prototype would still apply. */
14049 #ifdef __cplusplus
14050 extern "C"
14051 #endif
14052 char procstat_open_sysctl ();
14054 main ()
14056 return procstat_open_sysctl ();
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"; then :
14062 ac_cv_lib_procstat_procstat_open_sysctl=yes
14063 else
14064 ac_cv_lib_procstat_procstat_open_sysctl=no
14066 rm -f core conftest.err conftest.$ac_objext \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_lib_save_LIBS
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14071 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14072 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14074 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14076 PROCSTAT_LIBS="-lprocstat"
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14083 $as_echo_n "checking for -lodbc... " >&6; }
14084 if ${ac_cv_lib_soname_odbc+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14087 ac_check_soname_save_LIBS=$LIBS
14088 LIBS="-lodbc $LIBS"
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 /* Override any GCC internal prototype to avoid an error.
14093 Use char because int might match the return type of a GCC
14094 builtin and then its argument prototype would still apply. */
14095 #ifdef __cplusplus
14096 extern "C"
14097 #endif
14098 char SQLConnect ();
14100 main ()
14102 return SQLConnect ();
14104 return 0;
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 case "$LIBEXT" in
14109 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14110 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'` ;;
14111 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14112 if ${ac_cv_lib_soname_odbc:+false} :; then :
14113 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14114 fi ;;
14115 esac
14117 rm -f core conftest.err conftest.$ac_objext \
14118 conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_soname_save_LIBS
14121 if ${ac_cv_lib_soname_odbc:+false} :; then :
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14123 $as_echo "not found" >&6; }
14124 cat >>confdefs.h <<_ACEOF
14125 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14126 _ACEOF
14128 else
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14130 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14132 cat >>confdefs.h <<_ACEOF
14133 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14134 _ACEOF
14139 if test "x$with_netapi" != "xno"
14140 then
14141 if ${NETAPI_CFLAGS:+false} :; then :
14142 if ${PKG_CONFIG+:} false; then :
14143 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14147 if ${NETAPI_LIBS:+false} :; then :
14148 if ${PKG_CONFIG+:} false; then :
14149 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14154 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14155 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14156 ac_save_CPPFLAGS=$CPPFLAGS
14157 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14159 $as_echo_n "checking for -lnetapi... " >&6; }
14160 if ${ac_cv_lib_soname_netapi+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_check_soname_save_LIBS=$LIBS
14164 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14168 /* Override any GCC internal prototype to avoid an error.
14169 Use char because int might match the return type of a GCC
14170 builtin and then its argument prototype would still apply. */
14171 #ifdef __cplusplus
14172 extern "C"
14173 #endif
14174 char libnetapi_init ();
14176 main ()
14178 return libnetapi_init ();
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 case "$LIBEXT" in
14185 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14186 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'` ;;
14187 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14188 if ${ac_cv_lib_soname_netapi:+false} :; then :
14189 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14190 fi ;;
14191 esac
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14195 LIBS=$ac_check_soname_save_LIBS
14197 if ${ac_cv_lib_soname_netapi:+false} :; then :
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14199 $as_echo "not found" >&6; }
14200 cat >>confdefs.h <<_ACEOF
14201 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14202 _ACEOF
14204 else
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14206 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14208 cat >>confdefs.h <<_ACEOF
14209 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14210 _ACEOF
14214 CPPFLAGS=$ac_save_CPPFLAGS
14215 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14216 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14220 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14221 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14222 then
14223 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14227 EXTRACFLAGS=""
14229 if test "x${GCC}" = "xyes"
14230 then
14231 EXTRACFLAGS="-Wall -pipe"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14234 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14235 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 if test "$cross_compiling" = yes; then :
14239 ac_cv_c_gcc_strength_bug="no"
14240 else
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int L[4] = {0,1,2,3};
14245 main ()
14247 static int Array[3];
14248 unsigned int B = 3;
14249 int i;
14250 for(i=0; i<B; i++) Array[i] = i - 3;
14251 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14252 L[i] = 4;
14253 return (Array[1] != -2 || L[2] != 3)
14255 return 0;
14257 _ACEOF
14258 if ac_fn_c_try_run "$LINENO"; then :
14259 ac_cv_c_gcc_strength_bug="no"
14260 else
14261 ac_cv_c_gcc_strength_bug="yes"
14263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14264 conftest.$ac_objext conftest.beam conftest.$ac_ext
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14269 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14270 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14271 then
14272 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14276 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14277 if ${ac_cv_cflags__fno_builtin+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_wine_try_cflags_saved=$CFLAGS
14281 CFLAGS="$CFLAGS -fno-builtin"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 int main(int argc, char **argv) { return 0; }
14285 _ACEOF
14286 if ac_fn_c_try_link "$LINENO"; then :
14287 ac_cv_cflags__fno_builtin=yes
14288 else
14289 ac_cv_cflags__fno_builtin=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 CFLAGS=$ac_wine_try_cflags_saved
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14296 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14297 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14298 BUILTINFLAG="-fno-builtin"
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14302 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14303 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 ac_wine_try_cflags_saved=$CFLAGS
14307 CFLAGS="$CFLAGS -fno-strict-aliasing"
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 int main(int argc, char **argv) { return 0; }
14311 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14313 ac_cv_cflags__fno_strict_aliasing=yes
14314 else
14315 ac_cv_cflags__fno_strict_aliasing=no
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 CFLAGS=$ac_wine_try_cflags_saved
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14322 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14323 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14324 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14327 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14328 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14329 $as_echo_n "(cached) " >&6
14330 else
14331 ac_wine_try_cflags_saved=$CFLAGS
14332 CFLAGS="$CFLAGS -fexcess-precision=standard"
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 int main(int argc, char **argv) { return 0; }
14336 _ACEOF
14337 if ac_fn_c_try_link "$LINENO"; then :
14338 ac_cv_cflags__fexcess_precision_standard=yes
14339 else
14340 ac_cv_cflags__fexcess_precision_standard=no
14342 rm -f core conftest.err conftest.$ac_objext \
14343 conftest$ac_exeext conftest.$ac_ext
14344 CFLAGS=$ac_wine_try_cflags_saved
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14347 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14348 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14349 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14352 saved_CFLAGS=$CFLAGS
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14354 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14355 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_wine_try_cflags_saved=$CFLAGS
14359 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_cflags__Werror_unknown_warning_option=yes
14366 else
14367 ac_cv_cflags__Werror_unknown_warning_option=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 CFLAGS=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14374 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14375 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14376 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14379 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14380 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_cflags__Wdeclaration_after_statement=yes
14391 else
14392 ac_cv_cflags__Wdeclaration_after_statement=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 CFLAGS=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14399 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14400 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14401 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14404 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14405 if ${ac_cv_cflags__Wempty_body+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -Wempty-body"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_cflags__Wempty_body=yes
14416 else
14417 ac_cv_cflags__Wempty_body=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 CFLAGS=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14424 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14425 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14426 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14429 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14430 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 ac_wine_try_cflags_saved=$CFLAGS
14434 CFLAGS="$CFLAGS -Wignored-qualifiers"
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_cflags__Wignored_qualifiers=yes
14441 else
14442 ac_cv_cflags__Wignored_qualifiers=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 CFLAGS=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14449 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14450 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14451 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14454 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14455 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_wine_try_cflags_saved=$CFLAGS
14459 CFLAGS="$CFLAGS -Wshift-overflow=2"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 int main(int argc, char **argv) { return 0; }
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"; then :
14465 ac_cv_cflags__Wshift_overflow_2=yes
14466 else
14467 ac_cv_cflags__Wshift_overflow_2=no
14469 rm -f core conftest.err conftest.$ac_objext \
14470 conftest$ac_exeext conftest.$ac_ext
14471 CFLAGS=$ac_wine_try_cflags_saved
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14474 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14475 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14476 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14479 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14480 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14481 $as_echo_n "(cached) " >&6
14482 else
14483 ac_wine_try_cflags_saved=$CFLAGS
14484 CFLAGS="$CFLAGS -Wstrict-prototypes"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14487 int main(int argc, char **argv) { return 0; }
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_cflags__Wstrict_prototypes=yes
14491 else
14492 ac_cv_cflags__Wstrict_prototypes=no
14494 rm -f core conftest.err conftest.$ac_objext \
14495 conftest$ac_exeext conftest.$ac_ext
14496 CFLAGS=$ac_wine_try_cflags_saved
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14499 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14500 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14501 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14504 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14505 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 ac_wine_try_cflags_saved=$CFLAGS
14509 CFLAGS="$CFLAGS -Wtype-limits"
14510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14512 int main(int argc, char **argv) { return 0; }
14513 _ACEOF
14514 if ac_fn_c_try_link "$LINENO"; then :
14515 ac_cv_cflags__Wtype_limits=yes
14516 else
14517 ac_cv_cflags__Wtype_limits=no
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 CFLAGS=$ac_wine_try_cflags_saved
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14524 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14525 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14526 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14529 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14530 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 ac_wine_try_cflags_saved=$CFLAGS
14534 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 int main(int argc, char **argv) { return 0; }
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"; then :
14540 ac_cv_cflags__Wunused_but_set_parameter=yes
14541 else
14542 ac_cv_cflags__Wunused_but_set_parameter=no
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 CFLAGS=$ac_wine_try_cflags_saved
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14549 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14550 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14551 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14554 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14555 if ${ac_cv_cflags__Wvla+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -Wvla"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_cflags__Wvla=yes
14566 else
14567 ac_cv_cflags__Wvla=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 CFLAGS=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14574 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14575 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14576 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14579 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14580 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14581 $as_echo_n "(cached) " >&6
14582 else
14583 ac_wine_try_cflags_saved=$CFLAGS
14584 CFLAGS="$CFLAGS -Wwrite-strings"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 int main(int argc, char **argv) { return 0; }
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_cflags__Wwrite_strings=yes
14591 else
14592 ac_cv_cflags__Wwrite_strings=no
14594 rm -f core conftest.err conftest.$ac_objext \
14595 conftest$ac_exeext conftest.$ac_ext
14596 CFLAGS=$ac_wine_try_cflags_saved
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14599 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14600 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14601 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14605 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14606 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14607 $as_echo_n "(cached) " >&6
14608 else
14609 ac_wine_try_cflags_saved=$CFLAGS
14610 CFLAGS="$CFLAGS -Wpointer-arith"
14611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14613 int main(int argc, char **argv) { return 0; }
14614 _ACEOF
14615 if ac_fn_c_try_link "$LINENO"; then :
14616 ac_cv_cflags__Wpointer_arith=yes
14617 else
14618 ac_cv_cflags__Wpointer_arith=no
14620 rm -f core conftest.err conftest.$ac_objext \
14621 conftest$ac_exeext conftest.$ac_ext
14622 CFLAGS=$ac_wine_try_cflags_saved
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14625 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14626 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14627 saved_string_h_CFLAGS=$CFLAGS
14628 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14630 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14631 if ${ac_cv_c_string_h_warnings+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <string.h>
14638 main ()
14642 return 0;
14644 _ACEOF
14645 if ac_fn_c_try_compile "$LINENO"; then :
14646 ac_cv_c_string_h_warnings=no
14647 else
14648 ac_cv_c_string_h_warnings=yes
14650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14653 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14654 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14655 CFLAGS=$saved_string_h_CFLAGS
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14659 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14660 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 ac_wine_try_cflags_saved=$CFLAGS
14664 CFLAGS="$CFLAGS -Wlogical-op"
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_cflags__Wlogical_op=yes
14671 else
14672 ac_cv_cflags__Wlogical_op=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 CFLAGS=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14679 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14680 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14681 saved_string_h_CFLAGS=$CFLAGS
14682 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14684 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14685 if ${ac_cv_c_logicalop_noisy+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 #include <string.h>
14691 char*f(const char *h,char n) {return strchr(h,n);}
14693 main ()
14697 return 0;
14699 _ACEOF
14700 if ac_fn_c_try_compile "$LINENO"; then :
14701 ac_cv_c_logicalop_noisy=no
14702 else
14703 ac_cv_c_logicalop_noisy=yes
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14708 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14709 CFLAGS=$saved_string_h_CFLAGS
14710 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14713 CFLAGS=$saved_CFLAGS
14715 for ac_flag in $CFLAGS; do
14716 case $ac_flag in
14717 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14718 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14719 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_wine_try_cflags_saved=$CFLAGS
14723 CFLAGS="$CFLAGS -gdwarf-2"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 int main(int argc, char **argv) { return 0; }
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"; then :
14729 ac_cv_cflags__gdwarf_2=yes
14730 else
14731 ac_cv_cflags__gdwarf_2=no
14733 rm -f core conftest.err conftest.$ac_objext \
14734 conftest$ac_exeext conftest.$ac_ext
14735 CFLAGS=$ac_wine_try_cflags_saved
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14738 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14739 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14740 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14743 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14744 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 ac_wine_try_cflags_saved=$CFLAGS
14748 CFLAGS="$CFLAGS -gstrict-dwarf"
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 int main(int argc, char **argv) { return 0; }
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_cflags__gstrict_dwarf=yes
14755 else
14756 ac_cv_cflags__gstrict_dwarf=no
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14760 CFLAGS=$ac_wine_try_cflags_saved
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14763 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14764 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14765 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14766 fi ;;
14767 esac
14768 done
14770 case $host_cpu in
14771 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14772 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14773 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14774 $as_echo_n "(cached) " >&6
14775 else
14776 ac_wine_try_cflags_saved=$CFLAGS
14777 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14780 int main(int argc, char **argv) { return 0; }
14781 _ACEOF
14782 if ac_fn_c_try_link "$LINENO"; then :
14783 ac_cv_cflags__fno_omit_frame_pointer=yes
14784 else
14785 ac_cv_cflags__fno_omit_frame_pointer=no
14787 rm -f core conftest.err conftest.$ac_objext \
14788 conftest$ac_exeext conftest.$ac_ext
14789 CFLAGS=$ac_wine_try_cflags_saved
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14792 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14793 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14794 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14795 fi ;;
14796 esac
14798 case $host in
14799 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14800 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14801 if ${ac_cv_cflags__Wno_format+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_wine_try_cflags_saved=$CFLAGS
14805 CFLAGS="$CFLAGS -Wno-format"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 int main(int argc, char **argv) { return 0; }
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_cflags__Wno_format=yes
14812 else
14813 ac_cv_cflags__Wno_format=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 CFLAGS=$ac_wine_try_cflags_saved
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14820 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14821 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14822 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14823 fi ;;
14824 esac
14826 if test "x$enable_maintainer_mode" = "xyes"
14827 then
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14829 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14830 if ${ac_cv_cflags__Werror+:} false; then :
14831 $as_echo_n "(cached) " >&6
14832 else
14833 ac_wine_try_cflags_saved=$CFLAGS
14834 CFLAGS="$CFLAGS -Werror"
14835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14837 int main(int argc, char **argv) { return 0; }
14838 _ACEOF
14839 if ac_fn_c_try_link "$LINENO"; then :
14840 ac_cv_cflags__Werror=yes
14841 else
14842 ac_cv_cflags__Werror=no
14844 rm -f core conftest.err conftest.$ac_objext \
14845 conftest$ac_exeext conftest.$ac_ext
14846 CFLAGS=$ac_wine_try_cflags_saved
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14849 $as_echo "$ac_cv_cflags__Werror" >&6; }
14850 if test "x$ac_cv_cflags__Werror" = xyes; then :
14851 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14855 saved_CFLAGS="$CFLAGS"
14856 CFLAGS="$CFLAGS -Werror"
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14858 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14859 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14860 $as_echo_n "(cached) " >&6
14861 else
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14866 main ()
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_compile "$LINENO"; then :
14874 ac_cv_have_ms_hook_prologue="yes"
14875 else
14876 ac_cv_have_ms_hook_prologue="no"
14878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14881 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14882 CFLAGS="$saved_CFLAGS"
14883 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14884 then
14886 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14888 else
14889 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14896 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14897 if ${ac_cv_c_fortify_enabled+:} false; then :
14898 $as_echo_n "(cached) " >&6
14899 else
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14901 /* end confdefs.h. */
14902 #include <string.h>
14904 main ()
14906 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14907 #error Fortify enabled
14908 #endif
14910 return 0;
14912 _ACEOF
14913 if ac_fn_c_try_compile "$LINENO"; then :
14914 ac_cv_c_fortify_enabled=no
14915 else
14916 ac_cv_c_fortify_enabled=yes
14918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14921 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14922 if test "$ac_cv_c_fortify_enabled" = yes
14923 then
14924 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14929 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14930 if ${ac_cv_c_extern_prefix+:} false; then :
14931 $as_echo_n "(cached) " >&6
14932 else
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 extern int ac_test;
14937 main ()
14939 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_c_extern_prefix="yes"
14946 else
14947 ac_cv_c_extern_prefix="no"
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14953 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14955 case $host_cpu in
14956 *i[3456789]86*)
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14958 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14959 if ${ac_cv_c_stdcall_suffix+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #ifndef _MSC_VER
14965 #define __stdcall __attribute__((__stdcall__))
14966 #endif
14967 int __stdcall ac_test(int i) { return i; }
14969 main ()
14971 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 ac_cv_c_stdcall_suffix="yes"
14978 else
14979 ac_cv_c_stdcall_suffix="no"
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14985 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14986 *) ac_cv_c_stdcall_suffix="no" ;;
14987 esac
14990 if test "$ac_cv_c_extern_prefix" = "yes"
14991 then
14992 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14994 asm_name_prefix="_"
14995 else
14996 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14998 asm_name_prefix=""
15002 if test "$ac_cv_c_stdcall_suffix" = "yes"
15003 then
15004 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15006 else
15007 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15013 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15014 if ${ac_cv_asm_func_def+:} false; then :
15015 $as_echo_n "(cached) " >&6
15016 else
15017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15021 main ()
15023 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15025 return 0;
15027 _ACEOF
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_asm_func_def=".def"
15030 else
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15035 main ()
15037 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15039 return 0;
15041 _ACEOF
15042 if ac_fn_c_try_link "$LINENO"; then :
15043 ac_cv_asm_func_def=".type @function"
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15049 main ()
15051 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_asm_func_def=".type 2"
15058 else
15059 ac_cv_asm_func_def="unknown"
15061 rm -f core conftest.err conftest.$ac_objext \
15062 conftest$ac_exeext conftest.$ac_ext
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15071 $as_echo "$ac_cv_asm_func_def" >&6; }
15074 case "$ac_cv_asm_func_def" in
15075 ".def")
15076 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15078 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15079 ".type @function")
15080 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15082 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15083 ".type 2")
15084 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15086 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15088 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15090 asm_func_header="" ;;
15091 esac
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15094 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15095 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 asm(".text\n\t.long 0");
15102 main ()
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_compile "$LINENO"; then :
15110 ac_cv_c_asm_outside_funcs="yes"
15111 else
15112 ac_cv_c_asm_outside_funcs="no"
15114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15117 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15120 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15121 if ${ac_cv_c_dot_previous+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15128 main ()
15130 asm(".text\nac_test:\t.long 0\n\t.previous");
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 ac_cv_c_dot_previous="yes"
15137 else
15138 ac_cv_c_dot_previous="no"
15140 rm -f core conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15144 $as_echo "$ac_cv_c_dot_previous" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15147 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15148 if ${ac_cv_c_cfi_support+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15155 main ()
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_compile "$LINENO"; then :
15163 ac_cv_c_cfi_support="yes"
15164 else
15165 ac_cv_c_cfi_support="no"
15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15170 $as_echo "$ac_cv_c_cfi_support" >&6; }
15172 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15173 asm_func_trailer=""
15174 if test "$ac_cv_c_dot_previous" = "yes"
15175 then
15176 asm_func_trailer="\\n\\t.previous"
15178 if test "$ac_cv_c_cfi_support" = "yes"
15179 then
15180 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15181 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15183 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15185 UNWINDFLAGS=-fasynchronous-unwind-tables
15187 else
15188 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15190 if test "x$enable_win64" = "xyes"
15191 then
15192 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15196 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15199 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15200 then
15201 cat >>confdefs.h <<_ACEOF
15202 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15203 _ACEOF
15205 else
15206 cat >>confdefs.h <<_ACEOF
15207 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15208 _ACEOF
15212 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15215 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15219 case $build_os in
15220 cygwin*|mingw32*) TOOLSEXT=".exe"
15222 esac
15224 case $host_os in
15225 linux-android*) ;;
15226 linux*)
15227 case $host_cpu in
15228 *i[3456789]86*|x86_64*)
15229 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15230 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15232 esac
15234 esac
15237 ac_save_CFLAGS="$CFLAGS"
15238 CFLAGS="$CFLAGS $BUILTINFLAG"
15239 for ac_func in \
15240 __res_get_state \
15241 __res_getservers \
15242 _finite \
15243 _isnan \
15244 _pclose \
15245 _popen \
15246 _snprintf \
15247 _spawnvp \
15248 _strdup \
15249 _stricmp \
15250 _strnicmp \
15251 _strtoi64 \
15252 _strtoui64 \
15253 _vsnprintf \
15254 asctime_r \
15255 chsize \
15256 dlopen \
15257 epoll_create \
15258 ffs \
15259 finitef \
15260 fnmatch \
15261 fork \
15262 fpclass \
15263 fstatfs \
15264 fstatvfs \
15265 ftruncate \
15266 futimens \
15267 futimes \
15268 futimesat \
15269 getattrlist \
15270 getopt_long_only \
15271 getpwuid \
15272 gettimeofday \
15273 getuid \
15274 if_nameindex \
15275 isnanf \
15276 kqueue \
15277 lstat \
15278 memmove \
15279 mmap \
15280 pclose \
15281 pipe2 \
15282 poll \
15283 popen \
15284 port_create \
15285 prctl \
15286 pread \
15287 proc_pidinfo \
15288 pwrite \
15289 readdir \
15290 readlink \
15291 sched_yield \
15292 select \
15293 setproctitle \
15294 setprogname \
15295 setrlimit \
15296 settimeofday \
15297 sigaltstack \
15298 sigprocmask \
15299 snprintf \
15300 statfs \
15301 statvfs \
15302 strcasecmp \
15303 strdup \
15304 strerror \
15305 strncasecmp \
15306 strtold \
15307 strtoll \
15308 strtoull \
15309 symlink \
15310 sysinfo \
15311 tcdrain \
15312 thr_kill2 \
15313 timegm \
15314 usleep \
15315 vsnprintf
15317 do :
15318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15321 cat >>confdefs.h <<_ACEOF
15322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15323 _ACEOF
15326 done
15328 CFLAGS="$ac_save_CFLAGS"
15330 if test "$ac_cv_func_dlopen" = no
15331 then
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15333 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15334 if ${ac_cv_lib_dl_dlopen+:} false; then :
15335 $as_echo_n "(cached) " >&6
15336 else
15337 ac_check_lib_save_LIBS=$LIBS
15338 LIBS="-ldl $LIBS"
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15345 #ifdef __cplusplus
15346 extern "C"
15347 #endif
15348 char dlopen ();
15350 main ()
15352 return dlopen ();
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 ac_cv_lib_dl_dlopen=yes
15359 else
15360 ac_cv_lib_dl_dlopen=no
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_check_lib_save_LIBS
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15368 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15369 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15370 DL_LIBS="-ldl"
15375 ac_wine_check_funcs_save_LIBS="$LIBS"
15376 LIBS="$LIBS $DL_LIBS"
15377 for ac_func in dladdr
15378 do :
15379 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15380 if test "x$ac_cv_func_dladdr" = xyes; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define HAVE_DLADDR 1
15383 _ACEOF
15386 done
15388 LIBS="$ac_wine_check_funcs_save_LIBS"
15390 if test "$ac_cv_func_poll" = no
15391 then
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15393 $as_echo_n "checking for poll in -lpoll... " >&6; }
15394 if ${ac_cv_lib_poll_poll+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 ac_check_lib_save_LIBS=$LIBS
15398 LIBS="-lpoll $LIBS"
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15405 #ifdef __cplusplus
15406 extern "C"
15407 #endif
15408 char poll ();
15410 main ()
15412 return poll ();
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 ac_cv_lib_poll_poll=yes
15419 else
15420 ac_cv_lib_poll_poll=no
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext conftest.$ac_ext
15424 LIBS=$ac_check_lib_save_LIBS
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15427 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15428 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15429 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15430 POLL_LIBS="-lpoll"
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15437 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15438 if ${ac_cv_search_gethostbyname+:} false; then :
15439 $as_echo_n "(cached) " >&6
15440 else
15441 ac_func_search_save_LIBS=$LIBS
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply. */
15448 #ifdef __cplusplus
15449 extern "C"
15450 #endif
15451 char gethostbyname ();
15453 main ()
15455 return gethostbyname ();
15457 return 0;
15459 _ACEOF
15460 for ac_lib in '' nsl; do
15461 if test -z "$ac_lib"; then
15462 ac_res="none required"
15463 else
15464 ac_res=-l$ac_lib
15465 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15467 if ac_fn_c_try_link "$LINENO"; then :
15468 ac_cv_search_gethostbyname=$ac_res
15470 rm -f core conftest.err conftest.$ac_objext \
15471 conftest$ac_exeext
15472 if ${ac_cv_search_gethostbyname+:} false; then :
15473 break
15475 done
15476 if ${ac_cv_search_gethostbyname+:} false; then :
15478 else
15479 ac_cv_search_gethostbyname=no
15481 rm conftest.$ac_ext
15482 LIBS=$ac_func_search_save_LIBS
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15485 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15486 ac_res=$ac_cv_search_gethostbyname
15487 if test "$ac_res" != no; then :
15488 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15494 $as_echo_n "checking for library containing connect... " >&6; }
15495 if ${ac_cv_search_connect+:} false; then :
15496 $as_echo_n "(cached) " >&6
15497 else
15498 ac_func_search_save_LIBS=$LIBS
15499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15500 /* end confdefs.h. */
15502 /* Override any GCC internal prototype to avoid an error.
15503 Use char because int might match the return type of a GCC
15504 builtin and then its argument prototype would still apply. */
15505 #ifdef __cplusplus
15506 extern "C"
15507 #endif
15508 char connect ();
15510 main ()
15512 return connect ();
15514 return 0;
15516 _ACEOF
15517 for ac_lib in '' socket; do
15518 if test -z "$ac_lib"; then
15519 ac_res="none required"
15520 else
15521 ac_res=-l$ac_lib
15522 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 ac_cv_search_connect=$ac_res
15527 rm -f core conftest.err conftest.$ac_objext \
15528 conftest$ac_exeext
15529 if ${ac_cv_search_connect+:} false; then :
15530 break
15532 done
15533 if ${ac_cv_search_connect+:} false; then :
15535 else
15536 ac_cv_search_connect=no
15538 rm conftest.$ac_ext
15539 LIBS=$ac_func_search_save_LIBS
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15542 $as_echo "$ac_cv_search_connect" >&6; }
15543 ac_res=$ac_cv_search_connect
15544 if test "$ac_res" != no; then :
15545 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15551 $as_echo_n "checking for library containing inet_aton... " >&6; }
15552 if ${ac_cv_search_inet_aton+:} false; then :
15553 $as_echo_n "(cached) " >&6
15554 else
15555 ac_func_search_save_LIBS=$LIBS
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15559 /* Override any GCC internal prototype to avoid an error.
15560 Use char because int might match the return type of a GCC
15561 builtin and then its argument prototype would still apply. */
15562 #ifdef __cplusplus
15563 extern "C"
15564 #endif
15565 char inet_aton ();
15567 main ()
15569 return inet_aton ();
15571 return 0;
15573 _ACEOF
15574 for ac_lib in '' resolv; do
15575 if test -z "$ac_lib"; then
15576 ac_res="none required"
15577 else
15578 ac_res=-l$ac_lib
15579 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15581 if ac_fn_c_try_link "$LINENO"; then :
15582 ac_cv_search_inet_aton=$ac_res
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext
15586 if ${ac_cv_search_inet_aton+:} false; then :
15587 break
15589 done
15590 if ${ac_cv_search_inet_aton+:} false; then :
15592 else
15593 ac_cv_search_inet_aton=no
15595 rm conftest.$ac_ext
15596 LIBS=$ac_func_search_save_LIBS
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15599 $as_echo "$ac_cv_search_inet_aton" >&6; }
15600 ac_res=$ac_cv_search_inet_aton
15601 if test "$ac_res" != no; then :
15602 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15607 for ac_func in \
15608 getaddrinfo \
15609 getnameinfo \
15610 getnetbyname \
15611 getprotobyname \
15612 getprotobynumber \
15613 getservbyport \
15614 inet_addr \
15615 inet_network \
15616 inet_ntop \
15617 inet_pton \
15618 sendmsg \
15619 socketpair \
15621 do :
15622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15625 cat >>confdefs.h <<_ACEOF
15626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15627 _ACEOF
15630 done
15633 ac_save_LIBS=$LIBS
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15635 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15636 if ${ac_cv_search_clock_gettime+:} false; then :
15637 $as_echo_n "(cached) " >&6
15638 else
15639 ac_func_search_save_LIBS=$LIBS
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15643 /* Override any GCC internal prototype to avoid an error.
15644 Use char because int might match the return type of a GCC
15645 builtin and then its argument prototype would still apply. */
15646 #ifdef __cplusplus
15647 extern "C"
15648 #endif
15649 char clock_gettime ();
15651 main ()
15653 return clock_gettime ();
15655 return 0;
15657 _ACEOF
15658 for ac_lib in '' rt; do
15659 if test -z "$ac_lib"; then
15660 ac_res="none required"
15661 else
15662 ac_res=-l$ac_lib
15663 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15665 if ac_fn_c_try_link "$LINENO"; then :
15666 ac_cv_search_clock_gettime=$ac_res
15668 rm -f core conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext
15670 if ${ac_cv_search_clock_gettime+:} false; then :
15671 break
15673 done
15674 if ${ac_cv_search_clock_gettime+:} false; then :
15676 else
15677 ac_cv_search_clock_gettime=no
15679 rm conftest.$ac_ext
15680 LIBS=$ac_func_search_save_LIBS
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15683 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15684 ac_res=$ac_cv_search_clock_gettime
15685 if test "$ac_res" != no; then :
15686 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15688 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15690 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15694 LIBS=$ac_save_LIBS
15696 LDAP_LIBS=""
15698 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15699 then
15700 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15702 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15704 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15705 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15706 $as_echo_n "(cached) " >&6
15707 else
15708 ac_check_lib_save_LIBS=$LIBS
15709 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 #ifdef __cplusplus
15717 extern "C"
15718 #endif
15719 char ldap_initialize ();
15721 main ()
15723 return ldap_initialize ();
15725 return 0;
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 ac_cv_lib_ldap_r_ldap_initialize=yes
15730 else
15731 ac_cv_lib_ldap_r_ldap_initialize=no
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_lib_save_LIBS
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15738 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15739 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15741 $as_echo_n "checking for ber_init in -llber... " >&6; }
15742 if ${ac_cv_lib_lber_ber_init+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_check_lib_save_LIBS=$LIBS
15746 LIBS="-llber $PTHREAD_LIBS $LIBS"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15753 #ifdef __cplusplus
15754 extern "C"
15755 #endif
15756 char ber_init ();
15758 main ()
15760 return ber_init ();
15762 return 0;
15764 _ACEOF
15765 if ac_fn_c_try_link "$LINENO"; then :
15766 ac_cv_lib_lber_ber_init=yes
15767 else
15768 ac_cv_lib_lber_ber_init=no
15770 rm -f core conftest.err conftest.$ac_objext \
15771 conftest$ac_exeext conftest.$ac_ext
15772 LIBS=$ac_check_lib_save_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15775 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15776 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15778 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15780 LDAP_LIBS="-lldap_r -llber"
15787 ac_wine_check_funcs_save_LIBS="$LIBS"
15788 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15789 for ac_func in \
15790 ldap_count_references \
15791 ldap_first_reference \
15792 ldap_next_reference \
15793 ldap_parse_reference \
15794 ldap_parse_sort_control \
15795 ldap_parse_sortresponse_control \
15796 ldap_parse_vlv_control \
15797 ldap_parse_vlvresponse_control
15798 do :
15799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15801 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15804 _ACEOF
15807 done
15809 LIBS="$ac_wine_check_funcs_save_LIBS"
15811 if test "x$LDAP_LIBS" = "x"; then :
15812 case "x$with_ldap" in
15813 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15816 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15817 esac
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15822 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15823 if ${wine_cv_one_arg_mkdir+:} false; then :
15824 $as_echo_n "(cached) " >&6
15825 else
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #include <sys/stat.h>
15830 main ()
15832 mkdir("foo");
15834 return 0;
15836 _ACEOF
15837 if ac_fn_c_try_compile "$LINENO"; then :
15838 wine_cv_one_arg_mkdir=yes
15839 else
15840 wine_cv_one_arg_mkdir=no
15842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15845 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15846 if test "$wine_cv_one_arg_mkdir" = "yes"
15847 then
15849 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15854 $as_echo_n "checking for sched_setaffinity... " >&6; }
15855 if ${wine_cv_have_sched_setaffinity+:} false; then :
15856 $as_echo_n "(cached) " >&6
15857 else
15858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15859 /* end confdefs.h. */
15860 #define _GNU_SOURCE
15861 #include <sched.h>
15863 main ()
15865 sched_setaffinity(0, 0, 0);
15867 return 0;
15869 _ACEOF
15870 if ac_fn_c_try_link "$LINENO"; then :
15871 wine_cv_have_sched_setaffinity=yes
15872 else
15873 wine_cv_have_sched_setaffinity=no
15875 rm -f core conftest.err conftest.$ac_objext \
15876 conftest$ac_exeext conftest.$ac_ext
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15879 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15880 if test "$wine_cv_have_sched_setaffinity" = "yes"
15881 then
15883 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15888 $as_echo_n "checking for fallocate... " >&6; }
15889 if ${wine_cv_have_fallocate+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE
15895 #include <fcntl.h>
15897 main ()
15899 fallocate(-1, 0, 0, 0);
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_link "$LINENO"; then :
15905 wine_cv_have_fallocate=yes
15906 else
15907 wine_cv_have_fallocate=no
15909 rm -f core conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15913 $as_echo "$wine_cv_have_fallocate" >&6; }
15914 if test "$wine_cv_have_fallocate" = "yes"
15915 then
15917 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15923 $as_echo_n "checking for inline... " >&6; }
15924 if ${ac_cv_c_inline+:} false; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 ac_cv_c_inline=no
15928 for ac_kw in inline __inline__ __inline; do
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #ifndef __cplusplus
15932 typedef int foo_t;
15933 static $ac_kw foo_t static_foo () {return 0; }
15934 $ac_kw foo_t foo () {return 0; }
15935 #endif
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15939 ac_cv_c_inline=$ac_kw
15941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 test "$ac_cv_c_inline" != no && break
15943 done
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15947 $as_echo "$ac_cv_c_inline" >&6; }
15949 case $ac_cv_c_inline in
15950 inline | yes) ;;
15952 case $ac_cv_c_inline in
15953 no) ac_val=;;
15954 *) ac_val=$ac_cv_c_inline;;
15955 esac
15956 cat >>confdefs.h <<_ACEOF
15957 #ifndef __cplusplus
15958 #define inline $ac_val
15959 #endif
15960 _ACEOF
15962 esac
15964 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15965 if test "x$ac_cv_type_mode_t" = xyes; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define HAVE_MODE_T 1
15969 _ACEOF
15973 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_off_t" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_OFF_T 1
15978 _ACEOF
15982 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15983 if test "x$ac_cv_type_pid_t" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_PID_T 1
15987 _ACEOF
15991 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15992 if test "x$ac_cv_type_size_t" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_SIZE_T 1
15996 _ACEOF
16000 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16001 if test "x$ac_cv_type_ssize_t" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_SSIZE_T 1
16005 _ACEOF
16009 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16010 if test "x$ac_cv_type_long_long" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_LONG_LONG 1
16014 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16019 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_FSBLKCNT_T 1
16023 _ACEOF
16027 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16028 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_FSFILCNT_T 1
16032 _ACEOF
16037 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16038 #include <signal.h>
16040 if test "x$ac_cv_type_sigset_t" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_SIGSET_T 1
16044 _ACEOF
16049 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16051 if test "x$ac_cv_type_request_sense" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_REQUEST_SENSE 1
16055 _ACEOF
16061 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16062 #ifdef HAVE_SYS_SOCKET_H
16063 #include <sys/socket.h>
16064 #endif
16065 #ifdef HAVE_SYS_SOCKETVAR_H
16066 #include <sys/socketvar.h>
16067 #endif
16068 #ifdef HAVE_NET_ROUTE_H
16069 #include <net/route.h>
16070 #endif
16071 #ifdef HAVE_NETINET_IN_H
16072 #include <netinet/in.h>
16073 #endif
16074 #ifdef HAVE_NETINET_IN_SYSTM_H
16075 #include <netinet/in_systm.h>
16076 #endif
16077 #ifdef HAVE_NETINET_IP_H
16078 #include <netinet/ip.h>
16079 #endif
16080 #ifdef HAVE_NETINET_IN_PCB_H
16081 #include <netinet/in_pcb.h>
16082 #endif
16084 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_STRUCT_XINPGEN 1
16088 _ACEOF
16094 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16095 #include <link.h>
16096 #endif
16097 #ifdef HAVE_SYS_LINK_H
16098 #include <sys/link.h>
16099 #endif
16101 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_R_DEBUG 1
16105 _ACEOF
16109 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16110 #include <link.h>
16111 #endif
16112 #ifdef HAVE_SYS_LINK_H
16113 #include <sys/link.h>
16114 #endif
16116 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_LINK_MAP 1
16120 _ACEOF
16126 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16127 #include <linux/input.h>
16128 #endif
16130 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16134 _ACEOF
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16141 $as_echo_n "checking for sigaddset... " >&6; }
16142 if ${wine_cv_have_sigaddset+:} false; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16147 #include <signal.h>
16149 main ()
16151 sigset_t set; sigaddset(&set,SIGTERM);
16153 return 0;
16155 _ACEOF
16156 if ac_fn_c_try_link "$LINENO"; then :
16157 wine_cv_have_sigaddset=yes
16158 else
16159 wine_cv_have_sigaddset=no
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext conftest.$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16165 $as_echo "$wine_cv_have_sigaddset" >&6; }
16166 if test "$wine_cv_have_sigaddset" = "yes"
16167 then
16169 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16175 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16176 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16177 $as_echo_n "(cached) " >&6
16178 else
16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16181 #include <netdb.h>
16183 main ()
16186 char *name=0;
16187 struct hostent he;
16188 struct hostent *result;
16189 char *buf=0;
16190 int bufsize=0;
16191 int errnr;
16192 char *addr=0;
16193 int addrlen=0;
16194 int addrtype=0;
16195 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16196 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16199 return 0;
16201 _ACEOF
16202 if ac_fn_c_try_link "$LINENO"; then :
16203 wine_cv_linux_gethostbyname_r_6=yes
16204 else
16205 wine_cv_linux_gethostbyname_r_6=no
16208 rm -f core conftest.err conftest.$ac_objext \
16209 conftest$ac_exeext conftest.$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16213 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16214 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16215 then
16217 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16221 if test "$ac_cv_header_linux_joystick_h" = "yes"
16222 then
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16224 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16225 if ${wine_cv_linux_joystick_22_api+:} false; then :
16226 $as_echo_n "(cached) " >&6
16227 else
16228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16231 #include <sys/ioctl.h>
16232 #include <sys/types.h>
16233 #include <linux/joystick.h>
16235 struct js_event blub;
16236 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16237 #error "no 2.2 header"
16238 #endif
16241 main ()
16243 /*empty*/
16245 return 0;
16247 _ACEOF
16248 if ac_fn_c_try_compile "$LINENO"; then :
16249 wine_cv_linux_joystick_22_api=yes
16250 else
16251 wine_cv_linux_joystick_22_api=no
16253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16257 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16258 if test "$wine_cv_linux_joystick_22_api" = "yes"
16259 then
16261 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16267 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_PARAM_H
16269 # include <sys/param.h>
16270 #endif
16271 #ifdef HAVE_SYS_MOUNT_H
16272 # include <sys/mount.h>
16273 #endif
16274 #ifdef HAVE_SYS_VFS_H
16275 # include <sys/vfs.h>
16276 #endif
16277 #ifdef HAVE_SYS_STATFS_H
16278 # include <sys/statfs.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_STATFS_F_BFREE 1
16285 _ACEOF
16289 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16292 #endif
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16295 #endif
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16298 #endif
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16314 #endif
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16317 #endif
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16320 #endif
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16323 #endif
16325 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16336 #endif
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16339 #endif
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16342 #endif
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16345 #endif
16347 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_FFREE 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_PARAM_H
16357 # include <sys/param.h>
16358 #endif
16359 #ifdef HAVE_SYS_MOUNT_H
16360 # include <sys/mount.h>
16361 #endif
16362 #ifdef HAVE_SYS_VFS_H
16363 # include <sys/vfs.h>
16364 #endif
16365 #ifdef HAVE_SYS_STATFS_H
16366 # include <sys/statfs.h>
16367 #endif
16369 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16373 _ACEOF
16377 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16378 #ifdef HAVE_SYS_PARAM_H
16379 # include <sys/param.h>
16380 #endif
16381 #ifdef HAVE_SYS_MOUNT_H
16382 # include <sys/mount.h>
16383 #endif
16384 #ifdef HAVE_SYS_VFS_H
16385 # include <sys/vfs.h>
16386 #endif
16387 #ifdef HAVE_SYS_STATFS_H
16388 # include <sys/statfs.h>
16389 #endif
16391 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16395 _ACEOF
16401 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16402 #include <sys/statvfs.h>
16403 #endif
16405 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16409 _ACEOF
16415 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16416 #include <dirent.h>
16417 #endif
16419 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16423 _ACEOF
16429 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16430 #ifdef HAVE_SYS_SOCKET_H
16431 # include <sys/socket.h>
16432 #endif
16433 #ifdef HAVE_SYS_UN_H
16434 # include <sys/un.h>
16435 #endif
16437 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16439 cat >>confdefs.h <<_ACEOF
16440 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16441 _ACEOF
16445 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16446 #ifdef HAVE_SYS_SOCKET_H
16447 # include <sys/socket.h>
16448 #endif
16449 #ifdef HAVE_SYS_UN_H
16450 # include <sys/un.h>
16451 #endif
16453 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16457 _ACEOF
16461 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16462 #ifdef HAVE_SYS_SOCKET_H
16463 # include <sys/socket.h>
16464 #endif
16465 #ifdef HAVE_SYS_UN_H
16466 # include <sys/un.h>
16467 #endif
16469 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16473 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16480 #ifdef HAVE_SCSI_SG_H
16481 #include <scsi/sg.h>
16482 #endif
16484 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_SCSIREQ_T_CMD 1
16488 _ACEOF
16492 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>
16493 #ifdef HAVE_SCSI_SG_H
16494 #include <scsi/sg.h>
16495 #endif
16497 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16501 _ACEOF
16507 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16509 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16511 cat >>confdefs.h <<_ACEOF
16512 #define HAVE_SIGINFO_T_SI_FD 1
16513 _ACEOF
16519 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16520 #ifdef HAVE_SYS_MTIO_H
16521 #include <sys/mtio.h>
16522 #endif
16524 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16526 cat >>confdefs.h <<_ACEOF
16527 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16528 _ACEOF
16532 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16533 #ifdef HAVE_SYS_MTIO_H
16534 #include <sys/mtio.h>
16535 #endif
16537 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16539 cat >>confdefs.h <<_ACEOF
16540 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16541 _ACEOF
16545 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16546 #ifdef HAVE_SYS_MTIO_H
16547 #include <sys/mtio.h>
16548 #endif
16550 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16552 cat >>confdefs.h <<_ACEOF
16553 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16554 _ACEOF
16560 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16561 #include <getopt.h>
16562 #endif
16564 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_OPTION_NAME 1
16568 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16575 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16579 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16584 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_STAT_ST_MTIM 1
16588 _ACEOF
16592 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16593 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16597 _ACEOF
16601 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16602 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_STAT_ST_CTIM 1
16606 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16615 _ACEOF
16619 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_STAT_ST_ATIM 1
16624 _ACEOF
16628 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16633 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16638 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16642 _ACEOF
16646 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16647 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16651 _ACEOF
16655 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16656 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16660 _ACEOF
16664 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16665 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16669 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16674 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16678 _ACEOF
16684 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
16685 #include <sys/types.h>
16686 #endif
16687 #ifdef HAVE_NETINET_IN_H
16688 #include <netinet/in.h>
16689 #endif
16691 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16695 _ACEOF
16701 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16702 #include <resolv.h>
16703 #endif
16705 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16707 cat >>confdefs.h <<_ACEOF
16708 #define HAVE_STRUCT___RES_STATE 1
16709 _ACEOF
16715 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
16716 #include <resolv.h>
16717 #endif
16719 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16723 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16730 #include <sys/types.h>
16731 #endif
16732 #ifdef HAVE_NETINET_IN_H
16733 # include <netinet/in.h>
16734 #endif
16735 #ifdef HAVE_ARPA_NAMESER_H
16736 # include <arpa/nameser.h>
16737 #endif
16739 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_NS_MSG__MSG_PTR 1
16743 _ACEOF
16749 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16750 #include <sys/types.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IP_H
16753 #include <netinet/ip.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IP_ICMP_H
16756 #include <netinet/ip_icmp.h>
16757 #endif
16758 #ifdef HAVE_NETINET_ICMP_VAR_H
16759 #include <netinet/icmp_var.h>
16760 #endif
16762 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16766 _ACEOF
16772 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16773 #include <sys/types.h>
16774 #endif
16775 #ifdef HAVE_ALIAS_H
16776 #include <alias.h>
16777 #endif
16778 #ifdef HAVE_SYS_SOCKET_H
16779 #include <sys/socket.h>
16780 #endif
16781 #ifdef HAVE_SYS_SOCKETVAR_H
16782 #include <sys/socketvar.h>
16783 #endif
16784 #ifdef HAVE_SYS_TIMEOUT_H
16785 #include <sys/timeout.h>
16786 #endif
16787 #ifdef HAVE_NETINET_IN_H
16788 #include <netinet/in.h>
16789 #endif
16790 #ifdef HAVE_NETINET_IN_SYSTM_H
16791 #include <netinet/in_systm.h>
16792 #endif
16793 #ifdef HAVE_NETINET_IP_H
16794 #include <netinet/ip.h>
16795 #endif
16796 #ifdef HAVE_NETINET_IP_VAR_H
16797 #include <netinet/ip_var.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IP_ICMP_H
16800 #include <netinet/ip_icmp.h>
16801 #endif
16802 #ifdef HAVE_NETINET_ICMP_VAR_H
16803 #include <netinet/icmp_var.h>
16804 #endif
16806 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16810 _ACEOF
16816 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16817 #include <sys/types.h>
16818 #endif
16819 #ifdef HAVE_SYS_SOCKETVAR_H
16820 #include <sys/socketvar.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IN_H
16823 #include <netinet/in.h>
16824 #endif
16825 #ifdef HAVE_NETINET_IP_VAR_H
16826 #include <netinet/ip_var.h>
16827 #endif
16829 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16831 cat >>confdefs.h <<_ACEOF
16832 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16833 _ACEOF
16839 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
16840 #include <netinet/ip_var.h>
16841 #endif
16843 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16847 _ACEOF
16853 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16854 #include <sys/types.h>
16855 #endif
16856 #ifdef HAVE_SYS_SOCKETVAR_H
16857 #include <sys/socketvar.h>
16858 #endif
16859 #ifdef HAVE_NETINET_IN_H
16860 #include <netinet/in.h>
16861 #endif
16862 #ifdef HAVE_NETINET_TCP_H
16863 #include <netinet/tcp.h>
16864 #endif
16865 #ifdef HAVE_NETINET_TCP_VAR_H
16866 #include <netinet/tcp_var.h>
16867 #endif
16869 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16873 _ACEOF
16879 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
16880 #include <netinet/tcp_var.h>
16881 #endif
16883 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16885 cat >>confdefs.h <<_ACEOF
16886 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16887 _ACEOF
16893 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16894 #include <sys/types.h>
16895 #endif
16896 #ifdef HAVE_NETINET_IN_H
16897 #include <netinet/in.h>
16898 #endif
16899 #ifdef HAVE_NETINET_IP_VAR_H
16900 #include <netinet/ip_var.h>
16901 #endif
16902 #ifdef HAVE_NETINET_UDP_H
16903 #include <netinet/udp.h>
16904 #endif
16905 #ifdef HAVE_NETINET_UDP_VAR_H
16906 #include <netinet/udp_var.h>
16907 #endif
16909 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16911 cat >>confdefs.h <<_ACEOF
16912 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16913 _ACEOF
16919 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16920 #include <sys/types.h>
16921 #endif
16922 #ifdef HAVE_NET_IF_H
16923 # include <net/if.h>
16924 #endif
16926 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16930 _ACEOF
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16937 $as_echo_n "checking for timezone variable... " >&6; }
16938 if ${ac_cv_have_timezone+:} false; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16942 /* end confdefs.h. */
16943 #include <time.h>
16945 main ()
16947 timezone = 1
16949 return 0;
16951 _ACEOF
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 ac_cv_have_timezone="yes"
16954 else
16955 ac_cv_have_timezone="no"
16957 rm -f core conftest.err conftest.$ac_objext \
16958 conftest$ac_exeext conftest.$ac_ext
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16961 $as_echo "$ac_cv_have_timezone" >&6; }
16962 if test "$ac_cv_have_timezone" = "yes"
16963 then
16965 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16969 $as_echo_n "checking for daylight variable... " >&6; }
16970 if ${ac_cv_have_daylight+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <time.h>
16977 main ()
16979 daylight = 1
16981 return 0;
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_have_daylight="yes"
16986 else
16987 ac_cv_have_daylight="no"
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16993 $as_echo "$ac_cv_have_daylight" >&6; }
16994 if test "$ac_cv_have_daylight" = "yes"
16995 then
16997 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17001 ac_save_LIBS="$LIBS"
17002 LIBS="$LIBS -lm"
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17004 $as_echo_n "checking for isfinite... " >&6; }
17005 if ${ac_cv_have_isfinite+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #define _GNU_SOURCE
17011 #include <math.h>
17013 main ()
17015 float f = 0.0; return isfinite(f)
17017 return 0;
17019 _ACEOF
17020 if ac_fn_c_try_link "$LINENO"; then :
17021 ac_cv_have_isfinite="yes"
17022 else
17023 ac_cv_have_isfinite="no"
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17029 $as_echo "$ac_cv_have_isfinite" >&6; }
17030 if test "$ac_cv_have_isfinite" = "yes"
17031 then
17033 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17038 $as_echo_n "checking for isinf... " >&6; }
17039 if ${ac_cv_have_isinf+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #include <math.h>
17046 main ()
17048 float f = 0.0; return isinf(f)
17050 return 0;
17052 _ACEOF
17053 if ac_fn_c_try_link "$LINENO"; then :
17054 ac_cv_have_isinf="yes"
17055 else
17056 ac_cv_have_isinf="no"
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17062 $as_echo "$ac_cv_have_isinf" >&6; }
17063 if test "$ac_cv_have_isinf" = "yes"
17064 then
17066 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17071 $as_echo_n "checking for isnan... " >&6; }
17072 if ${ac_cv_have_isnan+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <math.h>
17079 main ()
17081 float f = 0.0; return isnan(f)
17083 return 0;
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_have_isnan="yes"
17088 else
17089 ac_cv_have_isnan="no"
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17095 $as_echo "$ac_cv_have_isnan" >&6; }
17096 if test "$ac_cv_have_isnan" = "yes"
17097 then
17099 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17103 for ac_func in \
17104 asinh \
17105 asinhf \
17106 cbrt \
17107 cbrtf \
17108 erf \
17109 erff \
17110 exp2 \
17111 exp2f \
17112 lgamma \
17113 lgammaf \
17114 llrint \
17115 llrintf \
17116 llround \
17117 llroundf \
17118 log2 \
17119 log2f \
17120 lrint \
17121 lrintf \
17122 lround \
17123 lroundf \
17124 powl \
17125 remainder \
17126 remainderf \
17127 rint \
17128 rintf \
17129 round \
17130 roundf \
17131 trunc \
17132 truncf
17134 do :
17135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17137 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17138 cat >>confdefs.h <<_ACEOF
17139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17140 _ACEOF
17143 done
17145 LIBS="$ac_save_LIBS"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17148 $as_echo_n "checking for __builtin_clz... " >&6; }
17149 if ${ac_cv_have___builtin_clz+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17156 main ()
17158 return __builtin_clz(1)
17160 return 0;
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"; then :
17164 ac_cv_have___builtin_clz="yes"
17165 else
17166 ac_cv_have___builtin_clz="no"
17168 rm -f core conftest.err conftest.$ac_objext \
17169 conftest$ac_exeext conftest.$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17172 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17173 if test "$ac_cv_have___builtin_clz" = "yes"
17174 then
17176 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17181 $as_echo_n "checking for __builtin_popcount... " >&6; }
17182 if ${ac_cv_have___builtin_popcount+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17189 main ()
17191 return __builtin_popcount(1)
17193 return 0;
17195 _ACEOF
17196 if ac_fn_c_try_link "$LINENO"; then :
17197 ac_cv_have___builtin_popcount="yes"
17198 else
17199 ac_cv_have___builtin_popcount="no"
17201 rm -f core conftest.err conftest.$ac_objext \
17202 conftest$ac_exeext conftest.$ac_ext
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17205 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17206 if test "$ac_cv_have___builtin_popcount" = "yes"
17207 then
17209 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17214 case $host_cpu in
17215 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17216 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17217 if ${ac_cv_cpp_def___i386__+:} false; then :
17218 $as_echo_n "(cached) " >&6
17219 else
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17222 #ifndef __i386__
17224 #endif
17225 _ACEOF
17226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17227 $EGREP "yes" >/dev/null 2>&1; then :
17228 ac_cv_cpp_def___i386__=yes
17229 else
17230 ac_cv_cpp_def___i386__=no
17232 rm -f conftest*
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17236 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17237 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17238 CFLAGS="$CFLAGS -D__i386__"
17239 LINTFLAGS="$LINTFLAGS -D__i386__"
17240 fi ;;
17241 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17242 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17243 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #ifndef __x86_64__
17250 #endif
17251 _ACEOF
17252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17253 $EGREP "yes" >/dev/null 2>&1; then :
17254 ac_cv_cpp_def___x86_64__=yes
17255 else
17256 ac_cv_cpp_def___x86_64__=no
17258 rm -f conftest*
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17262 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17263 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17264 CFLAGS="$CFLAGS -D__x86_64__"
17265 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17266 fi ;;
17267 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17268 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17269 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17270 $as_echo_n "(cached) " >&6
17271 else
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #ifndef __sparc64__
17276 #endif
17277 _ACEOF
17278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17279 $EGREP "yes" >/dev/null 2>&1; then :
17280 ac_cv_cpp_def___sparc64__=yes
17281 else
17282 ac_cv_cpp_def___sparc64__=no
17284 rm -f conftest*
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17288 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17289 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17290 CFLAGS="$CFLAGS -D__sparc64__"
17291 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17292 fi ;;
17293 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17294 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17295 if ${ac_cv_cpp_def___sparc__+:} false; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17300 #ifndef __sparc__
17302 #endif
17303 _ACEOF
17304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17305 $EGREP "yes" >/dev/null 2>&1; then :
17306 ac_cv_cpp_def___sparc__=yes
17307 else
17308 ac_cv_cpp_def___sparc__=no
17310 rm -f conftest*
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17314 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17315 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17316 CFLAGS="$CFLAGS -D__sparc__"
17317 LINTFLAGS="$LINTFLAGS -D__sparc__"
17318 fi ;;
17319 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17320 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17321 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326 #ifndef __powerpc64__
17328 #endif
17329 _ACEOF
17330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17331 $EGREP "yes" >/dev/null 2>&1; then :
17332 ac_cv_cpp_def___powerpc64__=yes
17333 else
17334 ac_cv_cpp_def___powerpc64__=no
17336 rm -f conftest*
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17340 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17341 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17342 CFLAGS="$CFLAGS -D__powerpc64__"
17343 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17344 fi ;;
17345 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17346 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17347 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #ifndef __powerpc__
17354 #endif
17355 _ACEOF
17356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17357 $EGREP "yes" >/dev/null 2>&1; then :
17358 ac_cv_cpp_def___powerpc__=yes
17359 else
17360 ac_cv_cpp_def___powerpc__=no
17362 rm -f conftest*
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17366 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17367 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17368 CFLAGS="$CFLAGS -D__powerpc__"
17369 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17370 fi ;;
17371 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17372 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17373 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #ifndef __aarch64__
17380 #endif
17381 _ACEOF
17382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17383 $EGREP "yes" >/dev/null 2>&1; then :
17384 ac_cv_cpp_def___aarch64__=yes
17385 else
17386 ac_cv_cpp_def___aarch64__=no
17388 rm -f conftest*
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17392 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17393 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17394 CFLAGS="$CFLAGS -D__aarch64__"
17395 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17396 fi ;;
17397 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17398 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17399 if ${ac_cv_cpp_def___arm__+:} false; then :
17400 $as_echo_n "(cached) " >&6
17401 else
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 #ifndef __arm__
17406 #endif
17407 _ACEOF
17408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17409 $EGREP "yes" >/dev/null 2>&1; then :
17410 ac_cv_cpp_def___arm__=yes
17411 else
17412 ac_cv_cpp_def___arm__=no
17414 rm -f conftest*
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17418 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17419 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17420 CFLAGS="$CFLAGS -D__arm__"
17421 LINTFLAGS="$LINTFLAGS -D__arm__"
17422 fi ;;
17423 esac
17425 case $host_vendor in
17426 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17427 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17428 if ${ac_cv_cpp_def___sun__+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 #ifndef __sun__
17435 #endif
17436 _ACEOF
17437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17438 $EGREP "yes" >/dev/null 2>&1; then :
17439 ac_cv_cpp_def___sun__=yes
17440 else
17441 ac_cv_cpp_def___sun__=no
17443 rm -f conftest*
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17447 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17448 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17449 CFLAGS="$CFLAGS -D__sun__"
17450 LINTFLAGS="$LINTFLAGS -D__sun__"
17451 fi ;;
17452 esac
17458 ac_config_commands="$ac_config_commands include/stamp-h"
17460 $as_echo_n "creating Makefile rules..." >&6
17462 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17463 SOCKET_LIBS = $SOCKET_LIBS
17464 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17465 IOKIT_LIBS = $IOKIT_LIBS
17466 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17467 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17468 CORESERVICES_LIBS = $CORESERVICES_LIBS
17469 APPKIT_LIBS = $APPKIT_LIBS
17470 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17471 SECURITY_LIBS = $SECURITY_LIBS
17472 COREAUDIO_LIBS = $COREAUDIO_LIBS
17473 OPENAL_LIBS = $OPENAL_LIBS
17474 OPENCL_LIBS = $OPENCL_LIBS
17475 QUICKTIME_LIBS = $QUICKTIME_LIBS
17476 CARBON_LIBS = $CARBON_LIBS
17477 PTHREAD_LIBS = $PTHREAD_LIBS
17478 X_CFLAGS = $X_CFLAGS
17479 X_PRE_LIBS = $X_PRE_LIBS
17480 X_LIBS = $X_LIBS
17481 X_EXTRA_LIBS = $X_EXTRA_LIBS
17482 PCAP_LIBS = $PCAP_LIBS
17483 XML2_CFLAGS = $XML2_CFLAGS
17484 XML2_LIBS = $XML2_LIBS
17485 XSLT_CFLAGS = $XSLT_CFLAGS
17486 XSLT_LIBS = $XSLT_LIBS
17487 DBUS_CFLAGS = $DBUS_CFLAGS
17488 DBUS_LIBS = $DBUS_LIBS
17489 HAL_CFLAGS = $HAL_CFLAGS
17490 HAL_LIBS = $HAL_LIBS
17491 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17492 GNUTLS_LIBS = $GNUTLS_LIBS
17493 SANE_CFLAGS = $SANE_CFLAGS
17494 SANE_LIBS = $SANE_LIBS
17495 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17496 GPHOTO2_LIBS = $GPHOTO2_LIBS
17497 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17498 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17499 RESOLV_LIBS = $RESOLV_LIBS
17500 LCMS2_CFLAGS = $LCMS2_CFLAGS
17501 LCMS2_LIBS = $LCMS2_LIBS
17502 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17503 FREETYPE_LIBS = $FREETYPE_LIBS
17504 Z_LIBS = $Z_LIBS
17505 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17506 PULSE_CFLAGS = $PULSE_CFLAGS
17507 PULSE_LIBS = $PULSE_LIBS
17508 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17509 GSTREAMER_LIBS = $GSTREAMER_LIBS
17510 ALSA_LIBS = $ALSA_LIBS
17511 OSS4_CFLAGS = $OSS4_CFLAGS
17512 UDEV_CFLAGS = $UDEV_CFLAGS
17513 UDEV_LIBS = $UDEV_LIBS
17514 CAPI20_CFLAGS = $CAPI20_CFLAGS
17515 CAPI20_LIBS = $CAPI20_LIBS
17516 CUPS_CFLAGS = $CUPS_CFLAGS
17517 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17518 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17519 JPEG_CFLAGS = $JPEG_CFLAGS
17520 JPEG_LIBS = $JPEG_LIBS
17521 PNG_CFLAGS = $PNG_CFLAGS
17522 PNG_LIBS = $PNG_LIBS
17523 TIFF_CFLAGS = $TIFF_CFLAGS
17524 TIFF_LIBS = $TIFF_LIBS
17525 MPG123_CFLAGS = $MPG123_CFLAGS
17526 MPG123_LIBS = $MPG123_LIBS
17527 KSTAT_LIBS = $KSTAT_LIBS
17528 PROCSTAT_LIBS = $PROCSTAT_LIBS
17529 NETAPI_CFLAGS = $NETAPI_CFLAGS
17530 NETAPI_LIBS = $NETAPI_LIBS
17531 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17532 DL_LIBS = $DL_LIBS
17533 POLL_LIBS = $POLL_LIBS
17534 RT_LIBS = $RT_LIBS
17535 LDAP_LIBS = $LDAP_LIBS
17540 wine_fn_append_rule "
17541 # Rules automatically generated by configure
17543 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17545 .INIT: Makefile
17546 .MAKEFILEDEPS:
17547 all: Makefile
17548 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17549 @./config.status Make.tmp Makefile
17550 depend: \$(MAKEDEP) dummy
17551 \$(MAKEDEP)"
17553 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17554 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17556 if test "x$enable_fonts" != xno; then
17557 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17558 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17559 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17560 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17561 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17562 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17564 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17565 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17566 ac_config_links="$ac_config_links wine:tools/winewrapper"
17567 wine_fn_config_symlink wine
17568 if test "x$enable_win64" != xno; then
17569 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17570 wine_fn_config_symlink wine64
17573 wine_fn_config_dll acledit enable_acledit
17574 wine_fn_config_dll aclui enable_aclui implib
17575 wine_fn_config_dll activeds enable_activeds implib
17576 wine_fn_config_dll actxprxy enable_actxprxy clean
17577 wine_fn_config_lib adsiid
17578 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17579 wine_fn_config_test dlls/advapi32/tests advapi32_test
17580 wine_fn_config_dll advpack enable_advpack implib
17581 wine_fn_config_test dlls/advpack/tests advpack_test
17582 wine_fn_config_dll amstream enable_amstream clean
17583 wine_fn_config_test dlls/amstream/tests amstream_test
17584 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17587 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17592 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17594 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17603 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17607 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17608 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17610 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17620 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17623 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17627 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17629 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17630 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17631 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17637 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17638 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17641 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17645 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17650 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17658 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17663 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17667 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17669 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17670 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17672 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17683 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17684 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17690 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17703 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17707 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17708 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17712 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17713 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17714 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17715 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17716 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17717 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17718 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17719 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17720 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17721 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17722 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17723 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17724 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17725 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17726 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17727 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17728 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17729 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17730 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17731 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17732 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17733 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17734 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17735 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17736 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17737 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17738 wine_fn_config_dll apphelp enable_apphelp
17739 wine_fn_config_test dlls/apphelp/tests apphelp_test
17740 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17741 wine_fn_config_dll atl enable_atl clean,implib
17742 wine_fn_config_test dlls/atl/tests atl_test
17743 wine_fn_config_dll atl100 enable_atl100 clean,implib
17744 wine_fn_config_test dlls/atl100/tests atl100_test
17745 wine_fn_config_dll atl110 enable_atl110 clean
17746 wine_fn_config_dll atl80 enable_atl80 clean,implib
17747 wine_fn_config_test dlls/atl80/tests atl80_test
17748 wine_fn_config_dll atl90 enable_atl90 clean
17749 wine_fn_config_dll authz enable_authz
17750 wine_fn_config_dll avicap32 enable_avicap32 implib
17751 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17752 wine_fn_config_test dlls/avifil32/tests avifil32_test
17753 wine_fn_config_dll avifile.dll16 enable_win16
17754 wine_fn_config_dll avrt enable_avrt implib
17755 wine_fn_config_dll bcrypt enable_bcrypt implib
17756 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17757 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17758 wine_fn_config_dll browseui enable_browseui clean
17759 wine_fn_config_test dlls/browseui/tests browseui_test
17760 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17761 wine_fn_config_dll cabinet enable_cabinet implib
17762 wine_fn_config_test dlls/cabinet/tests cabinet_test
17763 wine_fn_config_dll capi2032 enable_capi2032 implib
17764 wine_fn_config_dll cards enable_cards implib
17765 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17766 wine_fn_config_dll clusapi enable_clusapi implib
17767 wine_fn_config_dll combase enable_combase
17768 wine_fn_config_test dlls/combase/tests combase_test
17769 wine_fn_config_dll comcat enable_comcat
17770 wine_fn_config_test dlls/comcat/tests comcat_test
17771 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17772 wine_fn_config_test dlls/comctl32/tests comctl32_test
17773 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17774 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17775 wine_fn_config_dll comm.drv16 enable_win16
17776 wine_fn_config_dll commdlg.dll16 enable_win16
17777 wine_fn_config_dll compobj.dll16 enable_win16
17778 wine_fn_config_dll compstui enable_compstui implib
17779 wine_fn_config_dll comsvcs enable_comsvcs implib
17780 wine_fn_config_dll concrt140 enable_concrt140
17781 wine_fn_config_dll connect enable_connect
17782 wine_fn_config_dll credui enable_credui clean,implib
17783 wine_fn_config_test dlls/credui/tests credui_test
17784 wine_fn_config_dll crtdll enable_crtdll
17785 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17786 wine_fn_config_test dlls/crypt32/tests crypt32_test
17787 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17788 wine_fn_config_dll cryptdll enable_cryptdll implib
17789 wine_fn_config_dll cryptext enable_cryptext
17790 wine_fn_config_dll cryptnet enable_cryptnet implib
17791 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17792 wine_fn_config_dll cryptui enable_cryptui clean,implib
17793 wine_fn_config_test dlls/cryptui/tests cryptui_test
17794 wine_fn_config_dll ctapi32 enable_ctapi32
17795 wine_fn_config_dll ctl3d.dll16 enable_win16
17796 wine_fn_config_dll ctl3d32 enable_ctl3d32
17797 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17798 wine_fn_config_dll d2d1 enable_d2d1 implib
17799 wine_fn_config_test dlls/d2d1/tests d2d1_test
17800 wine_fn_config_dll d3d10 enable_d3d10 implib
17801 wine_fn_config_test dlls/d3d10/tests d3d10_test
17802 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17803 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17804 wine_fn_config_dll d3d10core enable_d3d10core implib
17805 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17806 wine_fn_config_dll d3d11 enable_d3d11 implib
17807 wine_fn_config_test dlls/d3d11/tests d3d11_test
17808 wine_fn_config_dll d3d8 enable_d3d8 implib
17809 wine_fn_config_test dlls/d3d8/tests d3d8_test
17810 wine_fn_config_dll d3d9 enable_d3d9 implib
17811 wine_fn_config_test dlls/d3d9/tests d3d9_test
17812 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17813 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17814 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17815 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17816 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17817 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17818 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17819 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17820 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17821 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17822 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17823 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17824 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17825 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17826 wine_fn_config_dll d3dim enable_d3dim
17827 wine_fn_config_dll d3drm enable_d3drm implib
17828 wine_fn_config_test dlls/d3drm/tests d3drm_test
17829 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17830 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17831 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17832 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17833 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17834 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17835 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17836 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17837 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17838 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17839 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17840 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17841 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17842 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17843 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17844 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17845 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17846 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17847 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17848 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17849 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17850 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17851 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17852 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17853 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17854 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17855 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17856 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17857 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17858 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17859 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17860 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17861 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17862 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17863 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17864 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17865 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17866 wine_fn_config_dll davclnt enable_davclnt
17867 wine_fn_config_dll dbgeng enable_dbgeng implib
17868 wine_fn_config_dll dbghelp enable_dbghelp implib
17869 wine_fn_config_dll dciman32 enable_dciman32 implib
17870 wine_fn_config_dll ddeml.dll16 enable_win16
17871 wine_fn_config_dll ddraw enable_ddraw clean,implib
17872 wine_fn_config_test dlls/ddraw/tests ddraw_test
17873 wine_fn_config_dll ddrawex enable_ddrawex clean
17874 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17875 wine_fn_config_dll devenum enable_devenum clean
17876 wine_fn_config_test dlls/devenum/tests devenum_test
17877 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17878 wine_fn_config_dll difxapi enable_difxapi
17879 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17880 wine_fn_config_test dlls/dinput/tests dinput_test
17881 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17882 wine_fn_config_test dlls/dinput8/tests dinput8_test
17883 wine_fn_config_dll dispdib.dll16 enable_win16
17884 wine_fn_config_dll dispex enable_dispex clean
17885 wine_fn_config_test dlls/dispex/tests dispex_test
17886 wine_fn_config_dll display.drv16 enable_win16
17887 wine_fn_config_dll dmband enable_dmband clean
17888 wine_fn_config_test dlls/dmband/tests dmband_test
17889 wine_fn_config_dll dmcompos enable_dmcompos clean
17890 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17891 wine_fn_config_dll dmime enable_dmime clean
17892 wine_fn_config_test dlls/dmime/tests dmime_test
17893 wine_fn_config_dll dmloader enable_dmloader clean
17894 wine_fn_config_test dlls/dmloader/tests dmloader_test
17895 wine_fn_config_dll dmscript enable_dmscript clean
17896 wine_fn_config_test dlls/dmscript/tests dmscript_test
17897 wine_fn_config_dll dmstyle enable_dmstyle clean
17898 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17899 wine_fn_config_dll dmsynth enable_dmsynth clean
17900 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17901 wine_fn_config_dll dmusic enable_dmusic clean
17902 wine_fn_config_test dlls/dmusic/tests dmusic_test
17903 wine_fn_config_dll dmusic32 enable_dmusic32
17904 wine_fn_config_dll dnsapi enable_dnsapi implib
17905 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17906 wine_fn_config_dll dplay enable_dplay
17907 wine_fn_config_dll dplayx enable_dplayx clean,implib
17908 wine_fn_config_test dlls/dplayx/tests dplayx_test
17909 wine_fn_config_dll dpnaddr enable_dpnaddr
17910 wine_fn_config_dll dpnet enable_dpnet clean,implib
17911 wine_fn_config_test dlls/dpnet/tests dpnet_test
17912 wine_fn_config_dll dpnhpast enable_dpnhpast
17913 wine_fn_config_dll dpnlobby enable_dpnlobby
17914 wine_fn_config_dll dpvoice enable_dpvoice clean
17915 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17916 wine_fn_config_dll dpwsockx enable_dpwsockx
17917 wine_fn_config_dll drmclien enable_drmclien
17918 wine_fn_config_dll dsound enable_dsound clean,implib
17919 wine_fn_config_test dlls/dsound/tests dsound_test
17920 wine_fn_config_dll dssenh enable_dssenh
17921 wine_fn_config_test dlls/dssenh/tests dssenh_test
17922 wine_fn_config_dll dswave enable_dswave clean
17923 wine_fn_config_test dlls/dswave/tests dswave_test
17924 wine_fn_config_dll dwmapi enable_dwmapi implib
17925 wine_fn_config_dll dwrite enable_dwrite implib
17926 wine_fn_config_test dlls/dwrite/tests dwrite_test
17927 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17928 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17929 wine_fn_config_lib dxerr8
17930 wine_fn_config_lib dxerr9
17931 wine_fn_config_dll dxgi enable_dxgi implib
17932 wine_fn_config_test dlls/dxgi/tests dxgi_test
17933 wine_fn_config_lib dxguid
17934 wine_fn_config_dll dxva2 enable_dxva2
17935 wine_fn_config_dll esent enable_esent
17936 wine_fn_config_dll evr enable_evr
17937 wine_fn_config_dll explorerframe enable_explorerframe clean
17938 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17939 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17940 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17941 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17942 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17943 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17944 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17945 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17946 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17947 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17948 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17949 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17950 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17951 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17952 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
17953 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17954 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17955 wine_fn_config_dll faultrep enable_faultrep implib
17956 wine_fn_config_test dlls/faultrep/tests faultrep_test
17957 wine_fn_config_dll fltlib enable_fltlib
17958 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17959 wine_fn_config_dll fntcache enable_fntcache
17960 wine_fn_config_dll fontsub enable_fontsub
17961 wine_fn_config_dll fusion enable_fusion
17962 wine_fn_config_test dlls/fusion/tests fusion_test
17963 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17964 wine_fn_config_dll gameux enable_gameux clean
17965 wine_fn_config_test dlls/gameux/tests gameux_test
17966 wine_fn_config_dll gdi.exe16 enable_win16
17967 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17968 wine_fn_config_test dlls/gdi32/tests gdi32_test
17969 wine_fn_config_dll gdiplus enable_gdiplus implib
17970 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17971 wine_fn_config_dll glu32 enable_glu32 implib
17972 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17973 wine_fn_config_dll gpkcsp enable_gpkcsp
17974 wine_fn_config_dll hal enable_hal
17975 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17976 wine_fn_config_dll hid enable_hid implib
17977 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17978 wine_fn_config_dll hlink enable_hlink clean,implib
17979 wine_fn_config_test dlls/hlink/tests hlink_test
17980 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17981 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17982 wine_fn_config_dll httpapi enable_httpapi
17983 wine_fn_config_dll iccvid enable_iccvid clean
17984 wine_fn_config_dll icmp enable_icmp
17985 wine_fn_config_dll ieframe enable_ieframe clean,implib
17986 wine_fn_config_test dlls/ieframe/tests ieframe_test
17987 wine_fn_config_dll ifsmgr.vxd enable_win16
17988 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17989 wine_fn_config_dll imagehlp enable_imagehlp implib
17990 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17991 wine_fn_config_dll imm.dll16 enable_win16
17992 wine_fn_config_dll imm32 enable_imm32 implib
17993 wine_fn_config_test dlls/imm32/tests imm32_test
17994 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17995 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17996 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17997 wine_fn_config_dll inetmib1 enable_inetmib1
17998 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17999 wine_fn_config_dll infosoft enable_infosoft clean
18000 wine_fn_config_test dlls/infosoft/tests infosoft_test
18001 wine_fn_config_dll initpki enable_initpki
18002 wine_fn_config_dll inkobj enable_inkobj
18003 wine_fn_config_dll inseng enable_inseng clean
18004 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18005 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18006 wine_fn_config_dll iprop enable_iprop
18007 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18008 wine_fn_config_dll itircl enable_itircl
18009 wine_fn_config_dll itss enable_itss clean
18010 wine_fn_config_test dlls/itss/tests itss_test
18011 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18012 wine_fn_config_dll jscript enable_jscript clean
18013 wine_fn_config_test dlls/jscript/tests jscript_test
18014 wine_fn_config_dll jsproxy enable_jsproxy implib
18015 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18016 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18017 wine_fn_config_test dlls/kernel32/tests kernel32_test
18018 wine_fn_config_dll kernelbase enable_kernelbase
18019 wine_fn_config_dll keyboard.drv16 enable_win16
18020 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18021 wine_fn_config_dll ksuser enable_ksuser
18022 wine_fn_config_dll ktmw32 enable_ktmw32
18023 wine_fn_config_dll loadperf enable_loadperf implib
18024 wine_fn_config_dll localspl enable_localspl clean
18025 wine_fn_config_test dlls/localspl/tests localspl_test
18026 wine_fn_config_dll localui enable_localui clean
18027 wine_fn_config_test dlls/localui/tests localui_test
18028 wine_fn_config_dll lz32 enable_lz32 implib
18029 wine_fn_config_test dlls/lz32/tests lz32_test
18030 wine_fn_config_dll lzexpand.dll16 enable_win16
18031 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18032 wine_fn_config_test dlls/mapi32/tests mapi32_test
18033 wine_fn_config_dll mapistub enable_mapistub
18034 wine_fn_config_dll mciavi32 enable_mciavi32
18035 wine_fn_config_dll mcicda enable_mcicda
18036 wine_fn_config_dll mciqtz32 enable_mciqtz32
18037 wine_fn_config_dll mciseq enable_mciseq
18038 wine_fn_config_dll mciwave enable_mciwave
18039 wine_fn_config_dll mf enable_mf
18040 wine_fn_config_dll mfplat enable_mfplat
18041 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18042 wine_fn_config_dll mgmtapi enable_mgmtapi
18043 wine_fn_config_dll midimap enable_midimap
18044 wine_fn_config_dll mlang enable_mlang clean,implib
18045 wine_fn_config_test dlls/mlang/tests mlang_test
18046 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18047 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18048 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18049 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18050 wine_fn_config_dll mmdevldr.vxd enable_win16
18051 wine_fn_config_dll mmsystem.dll16 enable_win16
18052 wine_fn_config_dll monodebg.vxd enable_win16
18053 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18054 wine_fn_config_dll mouse.drv16 enable_win16
18055 wine_fn_config_dll mpr enable_mpr clean,implib
18056 wine_fn_config_test dlls/mpr/tests mpr_test
18057 wine_fn_config_dll mprapi enable_mprapi implib
18058 wine_fn_config_dll msacm.dll16 enable_win16
18059 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18060 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18061 wine_fn_config_test dlls/msacm32/tests msacm32_test
18062 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18063 wine_fn_config_dll msasn1 enable_msasn1 implib
18064 wine_fn_config_dll mscat32 enable_mscat32
18065 wine_fn_config_dll mscms enable_mscms implib
18066 wine_fn_config_test dlls/mscms/tests mscms_test
18067 wine_fn_config_dll mscoree enable_mscoree clean
18068 wine_fn_config_test dlls/mscoree/tests mscoree_test
18069 wine_fn_config_dll msctf enable_msctf clean
18070 wine_fn_config_test dlls/msctf/tests msctf_test
18071 wine_fn_config_dll msctfp enable_msctfp clean
18072 wine_fn_config_dll msdaps enable_msdaps clean
18073 wine_fn_config_dll msdelta enable_msdelta
18074 wine_fn_config_dll msdmo enable_msdmo implib
18075 wine_fn_config_test dlls/msdmo/tests msdmo_test
18076 wine_fn_config_dll msdrm enable_msdrm
18077 wine_fn_config_dll msftedit enable_msftedit
18078 wine_fn_config_dll msg711.acm enable_msg711_acm
18079 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18080 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18081 wine_fn_config_dll mshtml enable_mshtml clean,implib
18082 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18083 wine_fn_config_dll msi enable_msi clean,implib
18084 wine_fn_config_test dlls/msi/tests msi_test
18085 wine_fn_config_dll msident enable_msident clean
18086 wine_fn_config_dll msimg32 enable_msimg32 implib
18087 wine_fn_config_dll msimsg enable_msimsg
18088 wine_fn_config_dll msimtf enable_msimtf clean
18089 wine_fn_config_dll msisip enable_msisip
18090 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18091 wine_fn_config_dll msls31 enable_msls31
18092 wine_fn_config_dll msnet32 enable_msnet32
18093 wine_fn_config_dll mspatcha enable_mspatcha implib
18094 wine_fn_config_dll msports enable_msports
18095 wine_fn_config_dll msrle32 enable_msrle32 clean
18096 wine_fn_config_test dlls/msrle32/tests msrle32_test
18097 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18098 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18099 wine_fn_config_dll mssign32 enable_mssign32
18100 wine_fn_config_dll mssip32 enable_mssip32
18101 wine_fn_config_dll mstask enable_mstask clean
18102 wine_fn_config_test dlls/mstask/tests mstask_test
18103 wine_fn_config_dll msvcirt enable_msvcirt
18104 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18105 wine_fn_config_dll msvcm80 enable_msvcm80
18106 wine_fn_config_dll msvcm90 enable_msvcm90
18107 wine_fn_config_dll msvcp100 enable_msvcp100
18108 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18109 wine_fn_config_dll msvcp110 enable_msvcp110
18110 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18111 wine_fn_config_dll msvcp120 enable_msvcp120
18112 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18113 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18114 wine_fn_config_dll msvcp140 enable_msvcp140
18115 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18116 wine_fn_config_dll msvcp60 enable_msvcp60
18117 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18118 wine_fn_config_dll msvcp70 enable_msvcp70
18119 wine_fn_config_dll msvcp71 enable_msvcp71
18120 wine_fn_config_dll msvcp80 enable_msvcp80
18121 wine_fn_config_dll msvcp90 enable_msvcp90
18122 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18123 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18124 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18125 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18126 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18127 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18128 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18129 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18130 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18131 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18132 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18133 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18134 wine_fn_config_dll msvcrt enable_msvcrt implib
18135 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18136 wine_fn_config_dll msvcrt20 enable_msvcrt20
18137 wine_fn_config_dll msvcrt40 enable_msvcrt40
18138 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18139 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18140 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18141 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18142 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18143 wine_fn_config_dll msvideo.dll16 enable_win16
18144 wine_fn_config_dll mswsock enable_mswsock implib
18145 wine_fn_config_dll msxml enable_msxml clean
18146 wine_fn_config_dll msxml2 enable_msxml2 clean
18147 wine_fn_config_dll msxml3 enable_msxml3 clean
18148 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18149 wine_fn_config_dll msxml4 enable_msxml4 clean
18150 wine_fn_config_dll msxml6 enable_msxml6 clean
18151 wine_fn_config_dll ncrypt enable_ncrypt
18152 wine_fn_config_dll nddeapi enable_nddeapi implib
18153 wine_fn_config_dll ndis.sys enable_ndis_sys
18154 wine_fn_config_dll netapi32 enable_netapi32 implib
18155 wine_fn_config_test dlls/netapi32/tests netapi32_test
18156 wine_fn_config_dll netcfgx enable_netcfgx clean
18157 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18158 wine_fn_config_dll netprofm enable_netprofm clean
18159 wine_fn_config_test dlls/netprofm/tests netprofm_test
18160 wine_fn_config_dll newdev enable_newdev implib
18161 wine_fn_config_dll normaliz enable_normaliz implib
18162 wine_fn_config_dll npmshtml enable_npmshtml
18163 wine_fn_config_dll npptools enable_npptools
18164 wine_fn_config_dll ntdll enable_ntdll implib
18165 wine_fn_config_test dlls/ntdll/tests ntdll_test
18166 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18167 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18168 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18169 wine_fn_config_dll ntprint enable_ntprint
18170 wine_fn_config_test dlls/ntprint/tests ntprint_test
18171 wine_fn_config_dll objsel enable_objsel clean
18172 wine_fn_config_dll odbc32 enable_odbc32 implib
18173 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18174 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18175 wine_fn_config_dll odbccu32 enable_odbccu32
18176 wine_fn_config_dll ole2.dll16 enable_win16
18177 wine_fn_config_dll ole2conv.dll16 enable_win16
18178 wine_fn_config_dll ole2disp.dll16 enable_win16
18179 wine_fn_config_dll ole2nls.dll16 enable_win16
18180 wine_fn_config_dll ole2prox.dll16 enable_win16
18181 wine_fn_config_dll ole2thk.dll16 enable_win16
18182 wine_fn_config_dll ole32 enable_ole32 clean,implib
18183 wine_fn_config_test dlls/ole32/tests ole32_test
18184 wine_fn_config_dll oleacc enable_oleacc clean,implib
18185 wine_fn_config_test dlls/oleacc/tests oleacc_test
18186 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18187 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18188 wine_fn_config_dll olecli.dll16 enable_win16
18189 wine_fn_config_dll olecli32 enable_olecli32 implib
18190 wine_fn_config_dll oledb32 enable_oledb32 clean
18191 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18192 wine_fn_config_dll oledlg enable_oledlg clean,implib
18193 wine_fn_config_test dlls/oledlg/tests oledlg_test
18194 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18195 wine_fn_config_dll olesvr.dll16 enable_win16
18196 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18197 wine_fn_config_dll olethk32 enable_olethk32
18198 wine_fn_config_dll openal32 enable_openal32
18199 wine_fn_config_dll opencl enable_opencl
18200 wine_fn_config_dll opengl32 enable_opengl32 implib
18201 wine_fn_config_test dlls/opengl32/tests opengl32_test
18202 wine_fn_config_dll packager enable_packager clean
18203 wine_fn_config_test dlls/packager/tests packager_test
18204 wine_fn_config_dll pdh enable_pdh implib
18205 wine_fn_config_test dlls/pdh/tests pdh_test
18206 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18207 wine_fn_config_dll pidgen enable_pidgen
18208 wine_fn_config_dll powrprof enable_powrprof implib
18209 wine_fn_config_dll printui enable_printui
18210 wine_fn_config_dll prntvpt enable_prntvpt
18211 wine_fn_config_dll propsys enable_propsys clean,implib
18212 wine_fn_config_test dlls/propsys/tests propsys_test
18213 wine_fn_config_dll psapi enable_psapi implib
18214 wine_fn_config_test dlls/psapi/tests psapi_test
18215 wine_fn_config_dll pstorec enable_pstorec clean
18216 wine_fn_config_dll qcap enable_qcap
18217 wine_fn_config_test dlls/qcap/tests qcap_test
18218 wine_fn_config_dll qedit enable_qedit clean
18219 wine_fn_config_test dlls/qedit/tests qedit_test
18220 wine_fn_config_dll qmgr enable_qmgr clean
18221 wine_fn_config_test dlls/qmgr/tests qmgr_test
18222 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18223 wine_fn_config_dll quartz enable_quartz clean,implib
18224 wine_fn_config_test dlls/quartz/tests quartz_test clean
18225 wine_fn_config_dll query enable_query
18226 wine_fn_config_dll rasapi16.dll16 enable_win16
18227 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18228 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18229 wine_fn_config_dll rasdlg enable_rasdlg implib
18230 wine_fn_config_dll regapi enable_regapi
18231 wine_fn_config_dll resutils enable_resutils implib
18232 wine_fn_config_dll riched20 enable_riched20 clean,implib
18233 wine_fn_config_test dlls/riched20/tests riched20_test
18234 wine_fn_config_dll riched32 enable_riched32
18235 wine_fn_config_test dlls/riched32/tests riched32_test
18236 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18237 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18238 wine_fn_config_dll rsabase enable_rsabase
18239 wine_fn_config_dll rsaenh enable_rsaenh implib
18240 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18241 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18242 wine_fn_config_dll rtutils enable_rtutils implib
18243 wine_fn_config_dll samlib enable_samlib
18244 wine_fn_config_dll sane.ds enable_sane_ds clean
18245 wine_fn_config_dll scarddlg enable_scarddlg
18246 wine_fn_config_dll sccbase enable_sccbase
18247 wine_fn_config_dll schannel enable_schannel
18248 wine_fn_config_test dlls/schannel/tests schannel_test
18249 wine_fn_config_dll schedsvc enable_schedsvc clean
18250 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18251 wine_fn_config_dll scrrun enable_scrrun clean
18252 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18253 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18254 wine_fn_config_dll secur32 enable_secur32 implib
18255 wine_fn_config_test dlls/secur32/tests secur32_test
18256 wine_fn_config_dll security enable_security
18257 wine_fn_config_dll sensapi enable_sensapi implib
18258 wine_fn_config_dll serialui enable_serialui clean
18259 wine_fn_config_test dlls/serialui/tests serialui_test
18260 wine_fn_config_dll setupapi enable_setupapi clean,implib
18261 wine_fn_config_test dlls/setupapi/tests setupapi_test
18262 wine_fn_config_dll setupx.dll16 enable_win16
18263 wine_fn_config_dll sfc enable_sfc implib
18264 wine_fn_config_dll sfc_os enable_sfc_os implib
18265 wine_fn_config_dll shdoclc enable_shdoclc clean
18266 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18267 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18268 wine_fn_config_dll shell.dll16 enable_win16
18269 wine_fn_config_dll shell32 enable_shell32 clean,implib
18270 wine_fn_config_test dlls/shell32/tests shell32_test
18271 wine_fn_config_dll shfolder enable_shfolder implib
18272 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18273 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18274 wine_fn_config_dll slbcsp enable_slbcsp
18275 wine_fn_config_dll slc enable_slc implib
18276 wine_fn_config_test dlls/slc/tests slc_test
18277 wine_fn_config_dll snmpapi enable_snmpapi implib
18278 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18279 wine_fn_config_dll softpub enable_softpub
18280 wine_fn_config_dll sound.drv16 enable_win16
18281 wine_fn_config_dll spoolss enable_spoolss implib
18282 wine_fn_config_test dlls/spoolss/tests spoolss_test
18283 wine_fn_config_dll sspicli enable_sspicli
18284 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18285 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18286 wine_fn_config_dll sti enable_sti clean,implib
18287 wine_fn_config_test dlls/sti/tests sti_test
18288 wine_fn_config_dll storage.dll16 enable_win16
18289 wine_fn_config_dll stress.dll16 enable_win16
18290 wine_fn_config_lib strmbase
18291 wine_fn_config_lib strmiids
18292 wine_fn_config_dll svrapi enable_svrapi
18293 wine_fn_config_dll sxs enable_sxs implib
18294 wine_fn_config_test dlls/sxs/tests sxs_test
18295 wine_fn_config_dll system.drv16 enable_win16
18296 wine_fn_config_dll t2embed enable_t2embed implib
18297 wine_fn_config_test dlls/t2embed/tests t2embed_test
18298 wine_fn_config_dll tapi32 enable_tapi32 implib
18299 wine_fn_config_dll taskschd enable_taskschd clean
18300 wine_fn_config_test dlls/taskschd/tests taskschd_test
18301 wine_fn_config_dll tdi.sys enable_tdi_sys
18302 wine_fn_config_dll toolhelp.dll16 enable_win16
18303 wine_fn_config_dll traffic enable_traffic
18304 wine_fn_config_dll twain.dll16 enable_win16
18305 wine_fn_config_dll twain_32 enable_twain_32
18306 wine_fn_config_test dlls/twain_32/tests twain_32_test
18307 wine_fn_config_dll typelib.dll16 enable_win16
18308 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18309 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18310 wine_fn_config_dll unicows enable_unicows implib
18311 wine_fn_config_dll updspapi enable_updspapi
18312 wine_fn_config_dll url enable_url implib
18313 wine_fn_config_dll urlmon enable_urlmon clean,implib
18314 wine_fn_config_test dlls/urlmon/tests urlmon_test
18315 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18316 wine_fn_config_dll user.exe16 enable_win16
18317 wine_fn_config_dll user32 enable_user32 clean,implib
18318 wine_fn_config_test dlls/user32/tests user32_test
18319 wine_fn_config_dll userenv enable_userenv implib
18320 wine_fn_config_test dlls/userenv/tests userenv_test
18321 wine_fn_config_dll usp10 enable_usp10 implib
18322 wine_fn_config_test dlls/usp10/tests usp10_test
18323 wine_fn_config_lib uuid
18324 wine_fn_config_dll uxtheme enable_uxtheme implib
18325 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18326 wine_fn_config_dll vbscript enable_vbscript clean
18327 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18328 wine_fn_config_dll vcomp enable_vcomp
18329 wine_fn_config_test dlls/vcomp/tests vcomp_test
18330 wine_fn_config_dll vcomp100 enable_vcomp100
18331 wine_fn_config_dll vcomp110 enable_vcomp110
18332 wine_fn_config_dll vcomp120 enable_vcomp120
18333 wine_fn_config_dll vcomp140 enable_vcomp140
18334 wine_fn_config_dll vcomp90 enable_vcomp90
18335 wine_fn_config_dll vcruntime140 enable_vcruntime140
18336 wine_fn_config_dll vdhcp.vxd enable_win16
18337 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18338 wine_fn_config_dll ver.dll16 enable_win16
18339 wine_fn_config_dll version enable_version implib
18340 wine_fn_config_test dlls/version/tests version_test
18341 wine_fn_config_dll vmm.vxd enable_win16
18342 wine_fn_config_dll vnbt.vxd enable_win16
18343 wine_fn_config_dll vnetbios.vxd enable_win16
18344 wine_fn_config_dll vssapi enable_vssapi
18345 wine_fn_config_dll vtdapi.vxd enable_win16
18346 wine_fn_config_dll vwin32.vxd enable_win16
18347 wine_fn_config_dll w32skrnl enable_win16
18348 wine_fn_config_dll w32sys.dll16 enable_win16
18349 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18350 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18351 wine_fn_config_dll wbemprox enable_wbemprox clean
18352 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18353 wine_fn_config_dll webservices enable_webservices implib
18354 wine_fn_config_test dlls/webservices/tests webservices_test
18355 wine_fn_config_dll wer enable_wer implib
18356 wine_fn_config_test dlls/wer/tests wer_test
18357 wine_fn_config_dll wevtapi enable_wevtapi
18358 wine_fn_config_dll wiaservc enable_wiaservc clean
18359 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18360 wine_fn_config_dll wimgapi enable_wimgapi
18361 wine_fn_config_dll win32s16.dll16 enable_win16
18362 wine_fn_config_dll win87em.dll16 enable_win16
18363 wine_fn_config_dll winaspi.dll16 enable_win16
18364 wine_fn_config_dll windebug.dll16 enable_win16
18365 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18366 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18367 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18368 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18369 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18370 wine_fn_config_dll winebus.sys enable_winebus_sys
18371 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18372 wine_fn_config_lib winecrt0
18373 wine_fn_config_dll wined3d enable_wined3d implib
18374 wine_fn_config_dll winegstreamer enable_winegstreamer
18375 wine_fn_config_dll winehid.sys enable_winehid_sys
18376 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18377 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18378 wine_fn_config_dll winemapi enable_winemapi
18379 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18380 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18381 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18382 wine_fn_config_dll wineps16.drv16 enable_win16
18383 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18384 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18385 wine_fn_config_dll winex11.drv enable_winex11_drv
18386 wine_fn_config_dll wing.dll16 enable_win16
18387 wine_fn_config_dll wing32 enable_wing32
18388 wine_fn_config_dll winhttp enable_winhttp clean,implib
18389 wine_fn_config_test dlls/winhttp/tests winhttp_test
18390 wine_fn_config_dll wininet enable_wininet clean,implib
18391 wine_fn_config_test dlls/wininet/tests wininet_test
18392 wine_fn_config_dll winmm enable_winmm clean,implib
18393 wine_fn_config_test dlls/winmm/tests winmm_test
18394 wine_fn_config_dll winnls.dll16 enable_win16
18395 wine_fn_config_dll winnls32 enable_winnls32 implib
18396 wine_fn_config_dll winscard enable_winscard implib
18397 wine_fn_config_dll winsock.dll16 enable_win16
18398 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18399 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18400 wine_fn_config_dll winsta enable_winsta
18401 wine_fn_config_dll wintab.dll16 enable_win16
18402 wine_fn_config_dll wintab32 enable_wintab32 implib
18403 wine_fn_config_test dlls/wintab32/tests wintab32_test
18404 wine_fn_config_dll wintrust enable_wintrust implib
18405 wine_fn_config_test dlls/wintrust/tests wintrust_test
18406 wine_fn_config_dll wlanapi enable_wlanapi
18407 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18408 wine_fn_config_test dlls/wldap32/tests wldap32_test
18409 wine_fn_config_dll wmasf enable_wmasf
18410 wine_fn_config_dll wmi enable_wmi
18411 wine_fn_config_dll wmiutils enable_wmiutils clean
18412 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18413 wine_fn_config_dll wmp enable_wmp clean
18414 wine_fn_config_test dlls/wmp/tests wmp_test
18415 wine_fn_config_dll wmvcore enable_wmvcore
18416 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18417 wine_fn_config_dll wow32 enable_win16 implib
18418 wine_fn_config_dll wpc enable_wpc clean
18419 wine_fn_config_test dlls/wpc/tests wpc_test
18420 wine_fn_config_dll wpcap enable_wpcap
18421 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18422 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18423 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18424 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18425 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18426 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18427 wine_fn_config_dll wsock32 enable_wsock32 implib
18428 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18429 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18430 wine_fn_config_dll wuapi enable_wuapi clean
18431 wine_fn_config_dll wuaueng enable_wuaueng
18432 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18433 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18434 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18435 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18436 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18437 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18438 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18439 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18440 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18441 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18442 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18443 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18444 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18445 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18446 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18447 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18448 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18449 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18450 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18451 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18452 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18453 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18454 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18455 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18456 wine_fn_config_dll xinput1_1 enable_xinput1_1
18457 wine_fn_config_dll xinput1_2 enable_xinput1_2
18458 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18459 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18460 wine_fn_config_dll xinput1_4 enable_xinput1_4
18461 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18462 wine_fn_config_dll xmllite enable_xmllite implib
18463 wine_fn_config_test dlls/xmllite/tests xmllite_test
18464 wine_fn_config_dll xolehlp enable_xolehlp
18465 wine_fn_config_dll xpsprint enable_xpsprint
18466 wine_fn_config_dll xpssvcs enable_xpssvcs
18467 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18468 wine_fn_config_makefile include enable_include clean,install-dev
18469 wine_fn_config_makefile libs/port enable_libs_port
18470 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18471 wine_fn_config_makefile libs/wpp enable_libs_wpp
18472 wine_fn_config_makefile loader enable_loader clean,install-lib
18473 wine_fn_config_makefile po enable_po clean
18474 wine_fn_config_program arp enable_arp install
18475 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18476 wine_fn_config_program attrib enable_attrib clean,install
18477 wine_fn_config_program cabarc enable_cabarc install
18478 wine_fn_config_program cacls enable_cacls install
18479 wine_fn_config_program clock enable_clock clean,install
18480 wine_fn_config_program cmd enable_cmd clean,install
18481 wine_fn_config_test programs/cmd/tests cmd.exe_test
18482 wine_fn_config_program conhost enable_conhost install
18483 wine_fn_config_program control enable_control install
18484 wine_fn_config_program cscript enable_cscript clean,install
18485 wine_fn_config_program dpnsvr enable_dpnsvr install
18486 wine_fn_config_program dxdiag enable_dxdiag clean,install
18487 wine_fn_config_program eject enable_eject install
18488 wine_fn_config_program expand enable_expand install
18489 wine_fn_config_program explorer enable_explorer clean,install
18490 wine_fn_config_program extrac32 enable_extrac32 install
18491 wine_fn_config_program findstr enable_findstr install
18492 wine_fn_config_program fsutil enable_fsutil install
18493 wine_fn_config_program hh enable_hh install
18494 wine_fn_config_program hostname enable_hostname clean,install
18495 wine_fn_config_program icacls enable_icacls install
18496 wine_fn_config_program icinfo enable_icinfo install
18497 wine_fn_config_program iexplore enable_iexplore install
18498 wine_fn_config_program ipconfig enable_ipconfig clean,install
18499 wine_fn_config_program lodctr enable_lodctr install
18500 wine_fn_config_program mofcomp enable_mofcomp install
18501 wine_fn_config_program mshta enable_mshta install
18502 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18503 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18504 wine_fn_config_program net enable_net clean,install
18505 wine_fn_config_program netsh enable_netsh install
18506 wine_fn_config_program netstat enable_netstat clean,install
18507 wine_fn_config_program ngen enable_ngen install
18508 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18509 wine_fn_config_program oleview enable_oleview clean,install
18510 wine_fn_config_program ping enable_ping install
18511 wine_fn_config_program plugplay enable_plugplay install
18512 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18513 wine_fn_config_program progman enable_progman clean,install
18514 wine_fn_config_program reg enable_reg clean,install
18515 wine_fn_config_test programs/reg/tests reg.exe_test
18516 wine_fn_config_program regasm enable_regasm install
18517 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18518 wine_fn_config_test programs/regedit/tests regedit.exe_test
18519 wine_fn_config_program regsvcs enable_regsvcs install
18520 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18521 wine_fn_config_program rpcss enable_rpcss clean,install
18522 wine_fn_config_program rundll.exe16 enable_win16 install
18523 wine_fn_config_program rundll32 enable_rundll32 install
18524 wine_fn_config_program sc enable_sc install
18525 wine_fn_config_program schtasks enable_schtasks install
18526 wine_fn_config_program sdbinst enable_sdbinst install
18527 wine_fn_config_program secedit enable_secedit install
18528 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18529 wine_fn_config_program services enable_services clean,install
18530 wine_fn_config_test programs/services/tests services.exe_test
18531 wine_fn_config_program shutdown enable_shutdown install
18532 wine_fn_config_program spoolsv enable_spoolsv install
18533 wine_fn_config_program start enable_start clean,install
18534 wine_fn_config_program subst enable_subst install
18535 wine_fn_config_program svchost enable_svchost install
18536 wine_fn_config_program systeminfo enable_systeminfo install
18537 wine_fn_config_program taskkill enable_taskkill clean,install
18538 wine_fn_config_program tasklist enable_tasklist install
18539 wine_fn_config_program taskmgr enable_taskmgr clean,install
18540 wine_fn_config_program termsv enable_termsv install
18541 wine_fn_config_program uninstaller enable_uninstaller clean,install
18542 wine_fn_config_program unlodctr enable_unlodctr install
18543 wine_fn_config_program view enable_view clean,install
18544 wine_fn_config_program wevtutil enable_wevtutil install
18545 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18546 wine_fn_config_program winebrowser enable_winebrowser install
18547 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18548 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18549 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18550 wine_fn_config_program winedevice enable_winedevice install
18551 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18552 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18553 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18554 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18555 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18556 wine_fn_config_program winetest enable_winetest clean
18557 wine_fn_config_program winevdm enable_win16 install
18558 wine_fn_config_program winhelp.exe16 enable_win16 install
18559 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18560 wine_fn_config_program winoldap.mod16 enable_win16 install
18561 wine_fn_config_program winver enable_winver install
18562 wine_fn_config_program wmic enable_wmic clean,install
18563 wine_fn_config_program wmplayer enable_wmplayer install
18564 wine_fn_config_program wordpad enable_wordpad clean,install
18565 wine_fn_config_program write enable_write clean,install
18566 wine_fn_config_program wscript enable_wscript clean,install
18567 wine_fn_config_test programs/wscript/tests wscript.exe_test
18568 wine_fn_config_program wusa enable_wusa install
18569 wine_fn_config_program xcopy enable_xcopy clean,install
18570 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18571 wine_fn_config_makefile server enable_server clean,install-lib
18572 wine_fn_config_tool tools clean
18573 wine_fn_config_tool tools/sfnt2fon clean
18574 wine_fn_config_tool tools/widl clean,install-dev
18575 wine_fn_config_tool tools/winebuild clean,install-dev
18576 wine_fn_config_tool tools/winedump clean,install-dev
18577 wine_fn_config_tool tools/winegcc clean,install-dev
18578 wine_fn_config_tool tools/winemaker clean,install-dev
18579 wine_fn_config_tool tools/wmc clean,install-dev
18580 wine_fn_config_tool tools/wrc clean,install-dev
18583 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18584 wine_fn_append_file CONFIGURE_TARGETS "tags"
18585 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18586 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18587 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18588 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18589 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18590 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18592 if test "x$enable_tools" != xno
18593 then
18594 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18595 ac_config_commands="$ac_config_commands tools/makedep"
18599 ac_config_commands="$ac_config_commands Makefile"
18602 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18606 if test "x$enable_maintainer_mode" = xyes
18607 then
18608 wine_fn_append_rule "configure: configure.ac aclocal.m4
18609 autoconf --warnings=all
18610 include/config.h.in: include/stamp-h.in
18611 include/stamp-h.in: configure.ac aclocal.m4
18612 autoheader --warnings=all
18613 @echo timestamp > \$@"
18616 if test "x$enable_tools" != xno
18617 then
18618 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18619 @./config.status tools/makedep
18620 Makefile: tools/makedep$ac_exeext"
18621 else
18622 wine_fn_append_rule "\$(MAKEDEP):
18623 @echo \"You need to run make in $TOOLSDIR first\" && false"
18626 if test -n "$with_wine64"
18627 then
18628 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18629 fonts server:
18630 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18631 $with_wine64/loader/wine:
18632 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18633 $with_wine64/loader/wine-preloader:
18634 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18635 clean::
18636 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18637 else
18638 WINELOADER_INSTALL="wine.inf"
18640 wine_fn_append_rule "install install-lib::
18641 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18642 uninstall::
18643 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18644 case $host_os in
18645 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18646 *) wine_fn_append_rule "install install-lib::
18647 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18648 uninstall::
18649 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18650 esac
18653 $as_echo " done" >&6
18654 cat >confcache <<\_ACEOF
18655 # This file is a shell script that caches the results of configure
18656 # tests run on this system so they can be shared between configure
18657 # scripts and configure runs, see configure's option --config-cache.
18658 # It is not useful on other systems. If it contains results you don't
18659 # want to keep, you may remove or edit it.
18661 # config.status only pays attention to the cache file if you give it
18662 # the --recheck option to rerun configure.
18664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18666 # following values.
18668 _ACEOF
18670 # The following way of writing the cache mishandles newlines in values,
18671 # but we know of no workaround that is simple, portable, and efficient.
18672 # So, we kill variables containing newlines.
18673 # Ultrix sh set writes to stderr and can't be redirected directly,
18674 # and sets the high bit in the cache file unless we assign to the vars.
18676 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18677 eval ac_val=\$$ac_var
18678 case $ac_val in #(
18679 *${as_nl}*)
18680 case $ac_var in #(
18681 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18683 esac
18684 case $ac_var in #(
18685 _ | IFS | as_nl) ;; #(
18686 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18687 *) { eval $ac_var=; unset $ac_var;} ;;
18688 esac ;;
18689 esac
18690 done
18692 (set) 2>&1 |
18693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18694 *${as_nl}ac_space=\ *)
18695 # `set' does not quote correctly, so add quotes: double-quote
18696 # substitution turns \\\\ into \\, and sed turns \\ into \.
18697 sed -n \
18698 "s/'/'\\\\''/g;
18699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18700 ;; #(
18702 # `set' quotes correctly as required by POSIX, so do not add quotes.
18703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18705 esac |
18706 sort
18708 sed '
18709 /^ac_cv_env_/b end
18710 t clear
18711 :clear
18712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18713 t end
18714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18715 :end' >>confcache
18716 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18717 if test -w "$cache_file"; then
18718 if test "x$cache_file" != "x/dev/null"; then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18720 $as_echo "$as_me: updating cache $cache_file" >&6;}
18721 if test ! -f "$cache_file" || test -h "$cache_file"; then
18722 cat confcache >"$cache_file"
18723 else
18724 case $cache_file in #(
18725 */* | ?:*)
18726 mv -f confcache "$cache_file"$$ &&
18727 mv -f "$cache_file"$$ "$cache_file" ;; #(
18729 mv -f confcache "$cache_file" ;;
18730 esac
18733 else
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18738 rm -f confcache
18740 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18741 # Let make expand exec_prefix.
18742 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18744 DEFS=-DHAVE_CONFIG_H
18746 ac_libobjs=
18747 ac_ltlibobjs=
18749 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18750 # 1. Remove the extension, and $U if already installed.
18751 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18752 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18754 # will be set to the directory where LIBOBJS objects are built.
18755 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18756 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18757 done
18758 LIBOBJS=$ac_libobjs
18760 LTLIBOBJS=$ac_ltlibobjs
18764 : "${CONFIG_STATUS=./config.status}"
18765 ac_write_fail=0
18766 ac_clean_files_save=$ac_clean_files
18767 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18769 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18770 as_write_fail=0
18771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18772 #! $SHELL
18773 # Generated by $as_me.
18774 # Run this file to recreate the current configuration.
18775 # Compiler output produced by configure, useful for debugging
18776 # configure, is in config.log if it exists.
18778 debug=false
18779 ac_cs_recheck=false
18780 ac_cs_silent=false
18782 SHELL=\${CONFIG_SHELL-$SHELL}
18783 export SHELL
18784 _ASEOF
18785 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18786 ## -------------------- ##
18787 ## M4sh Initialization. ##
18788 ## -------------------- ##
18790 # Be more Bourne compatible
18791 DUALCASE=1; export DUALCASE # for MKS sh
18792 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18793 emulate sh
18794 NULLCMD=:
18795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18796 # is contrary to our usage. Disable this feature.
18797 alias -g '${1+"$@"}'='"$@"'
18798 setopt NO_GLOB_SUBST
18799 else
18800 case `(set -o) 2>/dev/null` in #(
18801 *posix*) :
18802 set -o posix ;; #(
18803 *) :
18805 esac
18809 as_nl='
18811 export as_nl
18812 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18813 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18816 # Prefer a ksh shell builtin over an external printf program on Solaris,
18817 # but without wasting forks for bash or zsh.
18818 if test -z "$BASH_VERSION$ZSH_VERSION" \
18819 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18820 as_echo='print -r --'
18821 as_echo_n='print -rn --'
18822 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18823 as_echo='printf %s\n'
18824 as_echo_n='printf %s'
18825 else
18826 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18827 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18828 as_echo_n='/usr/ucb/echo -n'
18829 else
18830 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18831 as_echo_n_body='eval
18832 arg=$1;
18833 case $arg in #(
18834 *"$as_nl"*)
18835 expr "X$arg" : "X\\(.*\\)$as_nl";
18836 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18837 esac;
18838 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18840 export as_echo_n_body
18841 as_echo_n='sh -c $as_echo_n_body as_echo'
18843 export as_echo_body
18844 as_echo='sh -c $as_echo_body as_echo'
18847 # The user is always right.
18848 if test "${PATH_SEPARATOR+set}" != set; then
18849 PATH_SEPARATOR=:
18850 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18851 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18852 PATH_SEPARATOR=';'
18857 # IFS
18858 # We need space, tab and new line, in precisely that order. Quoting is
18859 # there to prevent editors from complaining about space-tab.
18860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18861 # splitting by setting IFS to empty value.)
18862 IFS=" "" $as_nl"
18864 # Find who we are. Look in the path if we contain no directory separator.
18865 as_myself=
18866 case $0 in #((
18867 *[\\/]* ) as_myself=$0 ;;
18868 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18869 for as_dir in $PATH
18871 IFS=$as_save_IFS
18872 test -z "$as_dir" && as_dir=.
18873 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18874 done
18875 IFS=$as_save_IFS
18878 esac
18879 # We did not find ourselves, most probably we were run as `sh COMMAND'
18880 # in which case we are not to be found in the path.
18881 if test "x$as_myself" = x; then
18882 as_myself=$0
18884 if test ! -f "$as_myself"; then
18885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18886 exit 1
18889 # Unset variables that we do not need and which cause bugs (e.g. in
18890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18891 # suppresses any "Segmentation fault" message there. '((' could
18892 # trigger a bug in pdksh 5.2.14.
18893 for as_var in BASH_ENV ENV MAIL MAILPATH
18894 do eval test x\${$as_var+set} = xset \
18895 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18896 done
18897 PS1='$ '
18898 PS2='> '
18899 PS4='+ '
18901 # NLS nuisances.
18902 LC_ALL=C
18903 export LC_ALL
18904 LANGUAGE=C
18905 export LANGUAGE
18907 # CDPATH.
18908 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18911 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18912 # ----------------------------------------
18913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18915 # script with STATUS, using 1 if that was 0.
18916 as_fn_error ()
18918 as_status=$1; test $as_status -eq 0 && as_status=1
18919 if test "$4"; then
18920 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18923 $as_echo "$as_me: error: $2" >&2
18924 as_fn_exit $as_status
18925 } # as_fn_error
18928 # as_fn_set_status STATUS
18929 # -----------------------
18930 # Set $? to STATUS, without forking.
18931 as_fn_set_status ()
18933 return $1
18934 } # as_fn_set_status
18936 # as_fn_exit STATUS
18937 # -----------------
18938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18939 as_fn_exit ()
18941 set +e
18942 as_fn_set_status $1
18943 exit $1
18944 } # as_fn_exit
18946 # as_fn_unset VAR
18947 # ---------------
18948 # Portably unset VAR.
18949 as_fn_unset ()
18951 { eval $1=; unset $1;}
18953 as_unset=as_fn_unset
18954 # as_fn_append VAR VALUE
18955 # ----------------------
18956 # Append the text in VALUE to the end of the definition contained in VAR. Take
18957 # advantage of any shell optimizations that allow amortized linear growth over
18958 # repeated appends, instead of the typical quadratic growth present in naive
18959 # implementations.
18960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18961 eval 'as_fn_append ()
18963 eval $1+=\$2
18965 else
18966 as_fn_append ()
18968 eval $1=\$$1\$2
18970 fi # as_fn_append
18972 # as_fn_arith ARG...
18973 # ------------------
18974 # Perform arithmetic evaluation on the ARGs, and store the result in the
18975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18976 # must be portable across $(()) and expr.
18977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18978 eval 'as_fn_arith ()
18980 as_val=$(( $* ))
18982 else
18983 as_fn_arith ()
18985 as_val=`expr "$@" || test $? -eq 1`
18987 fi # as_fn_arith
18990 if expr a : '\(a\)' >/dev/null 2>&1 &&
18991 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18992 as_expr=expr
18993 else
18994 as_expr=false
18997 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18998 as_basename=basename
18999 else
19000 as_basename=false
19003 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19004 as_dirname=dirname
19005 else
19006 as_dirname=false
19009 as_me=`$as_basename -- "$0" ||
19010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19011 X"$0" : 'X\(//\)$' \| \
19012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19013 $as_echo X/"$0" |
19014 sed '/^.*\/\([^/][^/]*\)\/*$/{
19015 s//\1/
19018 /^X\/\(\/\/\)$/{
19019 s//\1/
19022 /^X\/\(\/\).*/{
19023 s//\1/
19026 s/.*/./; q'`
19028 # Avoid depending upon Character Ranges.
19029 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19030 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19031 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19032 as_cr_digits='0123456789'
19033 as_cr_alnum=$as_cr_Letters$as_cr_digits
19035 ECHO_C= ECHO_N= ECHO_T=
19036 case `echo -n x` in #(((((
19037 -n*)
19038 case `echo 'xy\c'` in
19039 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19040 xy) ECHO_C='\c';;
19041 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19042 ECHO_T=' ';;
19043 esac;;
19045 ECHO_N='-n';;
19046 esac
19048 rm -f conf$$ conf$$.exe conf$$.file
19049 if test -d conf$$.dir; then
19050 rm -f conf$$.dir/conf$$.file
19051 else
19052 rm -f conf$$.dir
19053 mkdir conf$$.dir 2>/dev/null
19055 if (echo >conf$$.file) 2>/dev/null; then
19056 if ln -s conf$$.file conf$$ 2>/dev/null; then
19057 as_ln_s='ln -s'
19058 # ... but there are two gotchas:
19059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19061 # In both cases, we have to default to `cp -pR'.
19062 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19063 as_ln_s='cp -pR'
19064 elif ln conf$$.file conf$$ 2>/dev/null; then
19065 as_ln_s=ln
19066 else
19067 as_ln_s='cp -pR'
19069 else
19070 as_ln_s='cp -pR'
19072 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19073 rmdir conf$$.dir 2>/dev/null
19076 # as_fn_mkdir_p
19077 # -------------
19078 # Create "$as_dir" as a directory, including parents if necessary.
19079 as_fn_mkdir_p ()
19082 case $as_dir in #(
19083 -*) as_dir=./$as_dir;;
19084 esac
19085 test -d "$as_dir" || eval $as_mkdir_p || {
19086 as_dirs=
19087 while :; do
19088 case $as_dir in #(
19089 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19090 *) as_qdir=$as_dir;;
19091 esac
19092 as_dirs="'$as_qdir' $as_dirs"
19093 as_dir=`$as_dirname -- "$as_dir" ||
19094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19095 X"$as_dir" : 'X\(//\)[^/]' \| \
19096 X"$as_dir" : 'X\(//\)$' \| \
19097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19098 $as_echo X"$as_dir" |
19099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19100 s//\1/
19103 /^X\(\/\/\)[^/].*/{
19104 s//\1/
19107 /^X\(\/\/\)$/{
19108 s//\1/
19111 /^X\(\/\).*/{
19112 s//\1/
19115 s/.*/./; q'`
19116 test -d "$as_dir" && break
19117 done
19118 test -z "$as_dirs" || eval "mkdir $as_dirs"
19119 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19122 } # as_fn_mkdir_p
19123 if mkdir -p . 2>/dev/null; then
19124 as_mkdir_p='mkdir -p "$as_dir"'
19125 else
19126 test -d ./-p && rmdir ./-p
19127 as_mkdir_p=false
19131 # as_fn_executable_p FILE
19132 # -----------------------
19133 # Test if FILE is an executable regular file.
19134 as_fn_executable_p ()
19136 test -f "$1" && test -x "$1"
19137 } # as_fn_executable_p
19138 as_test_x='test -x'
19139 as_executable_p=as_fn_executable_p
19141 # Sed expression to map a string onto a valid CPP name.
19142 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19144 # Sed expression to map a string onto a valid variable name.
19145 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19148 exec 6>&1
19149 ## ----------------------------------- ##
19150 ## Main body of $CONFIG_STATUS script. ##
19151 ## ----------------------------------- ##
19152 _ASEOF
19153 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19156 # Save the log message, to keep $0 and so on meaningful, and to
19157 # report actual input values of CONFIG_FILES etc. instead of their
19158 # values after options handling.
19159 ac_log="
19160 This file was extended by Wine $as_me 1.9.22, which was
19161 generated by GNU Autoconf 2.69. Invocation command line was
19163 CONFIG_FILES = $CONFIG_FILES
19164 CONFIG_HEADERS = $CONFIG_HEADERS
19165 CONFIG_LINKS = $CONFIG_LINKS
19166 CONFIG_COMMANDS = $CONFIG_COMMANDS
19167 $ $0 $@
19169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19172 _ACEOF
19174 case $ac_config_files in *"
19175 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19176 esac
19178 case $ac_config_headers in *"
19179 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19180 esac
19183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19184 # Files that config.status was made for.
19185 config_files="$ac_config_files"
19186 config_headers="$ac_config_headers"
19187 config_links="$ac_config_links"
19188 config_commands="$ac_config_commands"
19190 _ACEOF
19192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19193 ac_cs_usage="\
19194 \`$as_me' instantiates files and other configuration actions
19195 from templates according to the current configuration. Unless the files
19196 and actions are specified as TAGs, all are instantiated by default.
19198 Usage: $0 [OPTION]... [TAG]...
19200 -h, --help print this help, then exit
19201 -V, --version print version number and configuration settings, then exit
19202 --config print configuration, then exit
19203 -q, --quiet, --silent
19204 do not print progress messages
19205 -d, --debug don't remove temporary files
19206 --recheck update $as_me by reconfiguring in the same conditions
19207 --file=FILE[:TEMPLATE]
19208 instantiate the configuration file FILE
19209 --header=FILE[:TEMPLATE]
19210 instantiate the configuration header FILE
19212 Configuration files:
19213 $config_files
19215 Configuration headers:
19216 $config_headers
19218 Configuration links:
19219 $config_links
19221 Configuration commands:
19222 $config_commands
19224 Report bugs to <wine-devel@winehq.org>.
19225 Wine home page: <http://www.winehq.org>."
19227 _ACEOF
19228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19230 ac_cs_version="\\
19231 Wine config.status 1.9.22
19232 configured by $0, generated by GNU Autoconf 2.69,
19233 with options \\"\$ac_cs_config\\"
19235 Copyright (C) 2012 Free Software Foundation, Inc.
19236 This config.status script is free software; the Free Software Foundation
19237 gives unlimited permission to copy, distribute and modify it."
19239 ac_pwd='$ac_pwd'
19240 srcdir='$srcdir'
19241 test -n "\$AWK" || AWK=awk
19242 _ACEOF
19244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19245 # The default lists apply if the user does not specify any file.
19246 ac_need_defaults=:
19247 while test $# != 0
19249 case $1 in
19250 --*=?*)
19251 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19252 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19253 ac_shift=:
19255 --*=)
19256 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19257 ac_optarg=
19258 ac_shift=:
19261 ac_option=$1
19262 ac_optarg=$2
19263 ac_shift=shift
19265 esac
19267 case $ac_option in
19268 # Handling of the options.
19269 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19270 ac_cs_recheck=: ;;
19271 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19272 $as_echo "$ac_cs_version"; exit ;;
19273 --config | --confi | --conf | --con | --co | --c )
19274 $as_echo "$ac_cs_config"; exit ;;
19275 --debug | --debu | --deb | --de | --d | -d )
19276 debug=: ;;
19277 --file | --fil | --fi | --f )
19278 $ac_shift
19279 case $ac_optarg in
19280 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19281 '') as_fn_error $? "missing file argument" ;;
19282 esac
19283 as_fn_append CONFIG_FILES " '$ac_optarg'"
19284 ac_need_defaults=false;;
19285 --header | --heade | --head | --hea )
19286 $ac_shift
19287 case $ac_optarg in
19288 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19289 esac
19290 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19291 ac_need_defaults=false;;
19292 --he | --h)
19293 # Conflict between --help and --header
19294 as_fn_error $? "ambiguous option: \`$1'
19295 Try \`$0 --help' for more information.";;
19296 --help | --hel | -h )
19297 $as_echo "$ac_cs_usage"; exit ;;
19298 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19299 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19300 ac_cs_silent=: ;;
19302 # This is an error.
19303 -*) as_fn_error $? "unrecognized option: \`$1'
19304 Try \`$0 --help' for more information." ;;
19306 *) as_fn_append ac_config_targets " $1"
19307 ac_need_defaults=false ;;
19309 esac
19310 shift
19311 done
19313 ac_configure_extra_args=
19315 if $ac_cs_silent; then
19316 exec 6>/dev/null
19317 ac_configure_extra_args="$ac_configure_extra_args --silent"
19320 _ACEOF
19321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19322 if \$ac_cs_recheck; then
19323 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19324 shift
19325 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19326 CONFIG_SHELL='$SHELL'
19327 export CONFIG_SHELL
19328 exec "\$@"
19331 _ACEOF
19332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19333 exec 5>>config.log
19335 echo
19336 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19337 ## Running $as_me. ##
19338 _ASBOX
19339 $as_echo "$ac_log"
19340 } >&5
19342 _ACEOF
19343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19345 # INIT-COMMANDS
19347 wine_fn_output_makedep ()
19349 as_dir=tools; as_fn_mkdir_p
19350 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19352 wine_fn_output_makefile ()
19354 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19355 `cat $wine_rules_file`
19356 _WINE_EOF
19357 as_fn_error $? "could not create Makefile" "$LINENO" 5
19360 _ACEOF
19362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19364 # Handling of arguments.
19365 for ac_config_target in $ac_config_targets
19367 case $ac_config_target in
19368 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19369 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19370 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19371 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19372 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19373 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19374 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19375 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19376 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19377 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19378 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19379 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19380 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19382 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19383 esac
19384 done
19387 # If the user did not use the arguments to specify the items to instantiate,
19388 # then the envvar interface is used. Set only those that are not.
19389 # We use the long form for the default assignment because of an extremely
19390 # bizarre bug on SunOS 4.1.3.
19391 if $ac_need_defaults; then
19392 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19393 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19394 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19395 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19398 # Have a temporary directory for convenience. Make it in the build tree
19399 # simply because there is no reason against having it here, and in addition,
19400 # creating and moving files from /tmp can sometimes cause problems.
19401 # Hook for its removal unless debugging.
19402 # Note that there is a small window in which the directory will not be cleaned:
19403 # after its creation but before its name has been assigned to `$tmp'.
19404 $debug ||
19406 tmp= ac_tmp=
19407 trap 'exit_status=$?
19408 : "${ac_tmp:=$tmp}"
19409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19411 trap 'as_fn_exit 1' 1 2 13 15
19413 # Create a (secure) tmp directory for tmp files.
19416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19417 test -d "$tmp"
19418 } ||
19420 tmp=./conf$$-$RANDOM
19421 (umask 077 && mkdir "$tmp")
19422 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19423 ac_tmp=$tmp
19425 # Set up the scripts for CONFIG_FILES section.
19426 # No need to generate them if there are no CONFIG_FILES.
19427 # This happens for instance with `./config.status config.h'.
19428 if test -n "$CONFIG_FILES"; then
19431 ac_cr=`echo X | tr X '\015'`
19432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19433 # But we know of no other shell where ac_cr would be empty at this
19434 # point, so we can use a bashism as a fallback.
19435 if test "x$ac_cr" = x; then
19436 eval ac_cr=\$\'\\r\'
19438 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19440 ac_cs_awk_cr='\\r'
19441 else
19442 ac_cs_awk_cr=$ac_cr
19445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19446 _ACEOF
19450 echo "cat >conf$$subs.awk <<_ACEOF" &&
19451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19452 echo "_ACEOF"
19453 } >conf$$subs.sh ||
19454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19456 ac_delim='%!_!# '
19457 for ac_last_try in false false false false false :; do
19458 . ./conf$$subs.sh ||
19459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19461 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19462 if test $ac_delim_n = $ac_delim_num; then
19463 break
19464 elif $ac_last_try; then
19465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19466 else
19467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19469 done
19470 rm -f conf$$subs.sh
19472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19473 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19474 _ACEOF
19475 sed -n '
19477 s/^/S["/; s/!.*/"]=/
19480 s/^[^!]*!//
19481 :repl
19482 t repl
19483 s/'"$ac_delim"'$//
19484 t delim
19487 s/\(.\{148\}\)..*/\1/
19488 t more1
19489 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19492 b repl
19493 :more1
19494 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19497 s/.\{148\}//
19498 t nl
19499 :delim
19501 s/\(.\{148\}\)..*/\1/
19502 t more2
19503 s/["\\]/\\&/g; s/^/"/; s/$/"/
19506 :more2
19507 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19510 s/.\{148\}//
19511 t delim
19512 ' <conf$$subs.awk | sed '
19513 /^[^""]/{
19515 s/\n//
19517 ' >>$CONFIG_STATUS || ac_write_fail=1
19518 rm -f conf$$subs.awk
19519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19520 _ACAWK
19521 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19522 for (key in S) S_is_set[key] = 1
19523 FS = "\a"
19527 line = $ 0
19528 nfields = split(line, field, "@")
19529 substed = 0
19530 len = length(field[1])
19531 for (i = 2; i < nfields; i++) {
19532 key = field[i]
19533 keylen = length(key)
19534 if (S_is_set[key]) {
19535 value = S[key]
19536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19537 len += length(value) + length(field[++i])
19538 substed = 1
19539 } else
19540 len += 1 + keylen
19543 print line
19546 _ACAWK
19547 _ACEOF
19548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19549 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19550 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19551 else
19553 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19554 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19555 _ACEOF
19557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19559 # trailing colons and then remove the whole line if VPATH becomes empty
19560 # (actually we leave an empty line to preserve line numbers).
19561 if test "x$srcdir" = x.; then
19562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19564 s///
19565 s/^/:/
19566 s/[ ]*$/:/
19567 s/:\$(srcdir):/:/g
19568 s/:\${srcdir}:/:/g
19569 s/:@srcdir@:/:/g
19570 s/^:*//
19571 s/:*$//
19573 s/\(=[ ]*\).*/\1/
19575 s/\n//
19576 s/^[^=]*=[ ]*$//
19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19581 fi # test -n "$CONFIG_FILES"
19583 # Set up the scripts for CONFIG_HEADERS section.
19584 # No need to generate them if there are no CONFIG_HEADERS.
19585 # This happens for instance with `./config.status Makefile'.
19586 if test -n "$CONFIG_HEADERS"; then
19587 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19588 BEGIN {
19589 _ACEOF
19591 # Transform confdefs.h into an awk script `defines.awk', embedded as
19592 # here-document in config.status, that substitutes the proper values into
19593 # config.h.in to produce config.h.
19595 # Create a delimiter string that does not exist in confdefs.h, to ease
19596 # handling of long lines.
19597 ac_delim='%!_!# '
19598 for ac_last_try in false false :; do
19599 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19600 if test -z "$ac_tt"; then
19601 break
19602 elif $ac_last_try; then
19603 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19604 else
19605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19607 done
19609 # For the awk script, D is an array of macro values keyed by name,
19610 # likewise P contains macro parameters if any. Preserve backslash
19611 # newline sequences.
19613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19614 sed -n '
19615 s/.\{148\}/&'"$ac_delim"'/g
19616 t rset
19617 :rset
19618 s/^[ ]*#[ ]*define[ ][ ]*/ /
19619 t def
19621 :def
19622 s/\\$//
19623 t bsnl
19624 s/["\\]/\\&/g
19625 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19626 D["\1"]=" \3"/p
19627 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19629 :bsnl
19630 s/["\\]/\\&/g
19631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19632 D["\1"]=" \3\\\\\\n"\\/p
19633 t cont
19634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19635 t cont
19637 :cont
19639 s/.\{148\}/&'"$ac_delim"'/g
19640 t clear
19641 :clear
19642 s/\\$//
19643 t bsnlc
19644 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19646 :bsnlc
19647 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19648 b cont
19649 ' <confdefs.h | sed '
19650 s/'"$ac_delim"'/"\\\
19651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19654 for (key in D) D_is_set[key] = 1
19655 FS = "\a"
19657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19658 line = \$ 0
19659 split(line, arg, " ")
19660 if (arg[1] == "#") {
19661 defundef = arg[2]
19662 mac1 = arg[3]
19663 } else {
19664 defundef = substr(arg[1], 2)
19665 mac1 = arg[2]
19667 split(mac1, mac2, "(") #)
19668 macro = mac2[1]
19669 prefix = substr(line, 1, index(line, defundef) - 1)
19670 if (D_is_set[macro]) {
19671 # Preserve the white space surrounding the "#".
19672 print prefix "define", macro P[macro] D[macro]
19673 next
19674 } else {
19675 # Replace #undef with comments. This is necessary, for example,
19676 # in the case of _POSIX_SOURCE, which is predefined and required
19677 # on some systems where configure will not decide to define it.
19678 if (defundef == "undef") {
19679 print "/*", prefix defundef, macro, "*/"
19680 next
19684 { print }
19685 _ACAWK
19686 _ACEOF
19687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19688 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19689 fi # test -n "$CONFIG_HEADERS"
19692 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19693 shift
19694 for ac_tag
19696 case $ac_tag in
19697 :[FHLC]) ac_mode=$ac_tag; continue;;
19698 esac
19699 case $ac_mode$ac_tag in
19700 :[FHL]*:*);;
19701 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19702 :[FH]-) ac_tag=-:-;;
19703 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19704 esac
19705 ac_save_IFS=$IFS
19706 IFS=:
19707 set x $ac_tag
19708 IFS=$ac_save_IFS
19709 shift
19710 ac_file=$1
19711 shift
19713 case $ac_mode in
19714 :L) ac_source=$1;;
19715 :[FH])
19716 ac_file_inputs=
19717 for ac_f
19719 case $ac_f in
19720 -) ac_f="$ac_tmp/stdin";;
19721 *) # Look for the file first in the build tree, then in the source tree
19722 # (if the path is not absolute). The absolute path cannot be DOS-style,
19723 # because $ac_f cannot contain `:'.
19724 test -f "$ac_f" ||
19725 case $ac_f in
19726 [\\/$]*) false;;
19727 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19728 esac ||
19729 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19730 esac
19731 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19732 as_fn_append ac_file_inputs " '$ac_f'"
19733 done
19735 # Let's still pretend it is `configure' which instantiates (i.e., don't
19736 # use $as_me), people would be surprised to read:
19737 # /* config.h. Generated by config.status. */
19738 configure_input='Generated from '`
19739 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19740 `' by configure.'
19741 if test x"$ac_file" != x-; then
19742 configure_input="$ac_file. $configure_input"
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19744 $as_echo "$as_me: creating $ac_file" >&6;}
19746 # Neutralize special characters interpreted by sed in replacement strings.
19747 case $configure_input in #(
19748 *\&* | *\|* | *\\* )
19749 ac_sed_conf_input=`$as_echo "$configure_input" |
19750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19751 *) ac_sed_conf_input=$configure_input;;
19752 esac
19754 case $ac_tag in
19755 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19757 esac
19759 esac
19761 ac_dir=`$as_dirname -- "$ac_file" ||
19762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19763 X"$ac_file" : 'X\(//\)[^/]' \| \
19764 X"$ac_file" : 'X\(//\)$' \| \
19765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19766 $as_echo X"$ac_file" |
19767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19768 s//\1/
19771 /^X\(\/\/\)[^/].*/{
19772 s//\1/
19775 /^X\(\/\/\)$/{
19776 s//\1/
19779 /^X\(\/\).*/{
19780 s//\1/
19783 s/.*/./; q'`
19784 as_dir="$ac_dir"; as_fn_mkdir_p
19785 ac_builddir=.
19787 case "$ac_dir" in
19788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19790 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19791 # A ".." for each directory in $ac_dir_suffix.
19792 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19793 case $ac_top_builddir_sub in
19794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19796 esac ;;
19797 esac
19798 ac_abs_top_builddir=$ac_pwd
19799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19800 # for backward compatibility:
19801 ac_top_builddir=$ac_top_build_prefix
19803 case $srcdir in
19804 .) # We are building in place.
19805 ac_srcdir=.
19806 ac_top_srcdir=$ac_top_builddir_sub
19807 ac_abs_top_srcdir=$ac_pwd ;;
19808 [\\/]* | ?:[\\/]* ) # Absolute name.
19809 ac_srcdir=$srcdir$ac_dir_suffix;
19810 ac_top_srcdir=$srcdir
19811 ac_abs_top_srcdir=$srcdir ;;
19812 *) # Relative name.
19813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19814 ac_top_srcdir=$ac_top_build_prefix$srcdir
19815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19816 esac
19817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19820 case $ac_mode in
19823 # CONFIG_FILE
19826 _ACEOF
19828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19829 # If the template does not know about datarootdir, expand it.
19830 # FIXME: This hack should be removed a few years after 2.60.
19831 ac_datarootdir_hack=; ac_datarootdir_seen=
19832 ac_sed_dataroot='
19833 /datarootdir/ {
19837 /@datadir@/p
19838 /@docdir@/p
19839 /@infodir@/p
19840 /@localedir@/p
19841 /@mandir@/p'
19842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19843 *datarootdir*) ac_datarootdir_seen=yes;;
19844 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19847 _ACEOF
19848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19849 ac_datarootdir_hack='
19850 s&@datadir@&$datadir&g
19851 s&@docdir@&$docdir&g
19852 s&@infodir@&$infodir&g
19853 s&@localedir@&$localedir&g
19854 s&@mandir@&$mandir&g
19855 s&\\\${datarootdir}&$datarootdir&g' ;;
19856 esac
19857 _ACEOF
19859 # Neutralize VPATH when `$srcdir' = `.'.
19860 # Shell code in configure.ac might set extrasub.
19861 # FIXME: do we really want to maintain this feature?
19862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19863 ac_sed_extra="$ac_vpsub
19864 $extrasub
19865 _ACEOF
19866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19869 s|@configure_input@|$ac_sed_conf_input|;t t
19870 s&@top_builddir@&$ac_top_builddir_sub&;t t
19871 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19872 s&@srcdir@&$ac_srcdir&;t t
19873 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19874 s&@top_srcdir@&$ac_top_srcdir&;t t
19875 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19876 s&@builddir@&$ac_builddir&;t t
19877 s&@abs_builddir@&$ac_abs_builddir&;t t
19878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19879 $ac_datarootdir_hack
19881 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19882 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19884 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19885 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19886 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19887 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19889 which seems to be undefined. Please make sure it is defined" >&5
19890 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19891 which seems to be undefined. Please make sure it is defined" >&2;}
19893 rm -f "$ac_tmp/stdin"
19894 case $ac_file in
19895 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19896 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19897 esac \
19898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19902 # CONFIG_HEADER
19904 if test x"$ac_file" != x-; then
19906 $as_echo "/* $configure_input */" \
19907 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19908 } >"$ac_tmp/config.h" \
19909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19910 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19912 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19913 else
19914 rm -f "$ac_file"
19915 mv "$ac_tmp/config.h" "$ac_file" \
19916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19918 else
19919 $as_echo "/* $configure_input */" \
19920 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19921 || as_fn_error $? "could not create -" "$LINENO" 5
19926 # CONFIG_LINK
19929 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19931 else
19932 # Prefer the file from the source tree if names are identical.
19933 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19934 ac_source=$srcdir/$ac_source
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19938 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19940 if test ! -r "$ac_source"; then
19941 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19943 rm -f "$ac_file"
19945 # Try a relative symlink, then a hard link, then a copy.
19946 case $ac_source in
19947 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19948 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19949 esac
19950 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19951 ln "$ac_source" "$ac_file" 2>/dev/null ||
19952 cp -p "$ac_source" "$ac_file" ||
19953 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19956 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19957 $as_echo "$as_me: executing $ac_file commands" >&6;}
19959 esac
19962 case $ac_file$ac_mode in
19963 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19964 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19965 "Makefile":C) wine_fn_output_makefile Makefile ;;
19967 esac
19968 done # for ac_tag
19971 as_fn_exit 0
19972 _ACEOF
19973 ac_clean_files=$ac_clean_files_save
19975 test $ac_write_fail = 0 ||
19976 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19979 # configure is writing to config.log, and then calls config.status.
19980 # config.status does its own redirection, appending to config.log.
19981 # Unfortunately, on DOS this fails, as config.log is still kept open
19982 # by configure, so config.status won't be able to write to it; its
19983 # output is simply discarded. So we exec the FD to /dev/null,
19984 # effectively closing config.log, so it can be properly (re)opened and
19985 # appended to by config.status. When coming back to configure, we
19986 # need to make the FD available again.
19987 if test "$no_create" != yes; then
19988 ac_cs_success=:
19989 ac_config_status_args=
19990 test "$silent" = yes &&
19991 ac_config_status_args="$ac_config_status_args --quiet"
19992 exec 5>/dev/null
19993 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19994 exec 5>>config.log
19995 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19996 # would make configure fail if this is the last instruction.
19997 $ac_cs_success || as_fn_exit 1
19999 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20001 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20005 if test "$no_create" = "yes"
20006 then
20007 exit 0
20010 ac_save_IFS="$IFS"
20011 if test "x$wine_notices" != x; then
20012 echo >&6
20013 IFS="|"
20014 for msg in $wine_notices; do
20015 IFS="$ac_save_IFS"
20016 if ${msg:+false} :; then :
20018 else
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20020 $as_echo "$as_me: $msg" >&6;}
20022 done
20024 IFS="|"
20025 for msg in $wine_warnings; do
20026 IFS="$ac_save_IFS"
20027 if ${msg:+false} :; then :
20029 else
20030 echo >&2
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20032 $as_echo "$as_me: WARNING: $msg" >&2;}
20034 done
20035 IFS="$ac_save_IFS"
20037 $as_echo "
20038 $as_me: Finished. Do '${ac_make}' to compile Wine.
20039 " >&6