d2d1: Fix a typo in traced error message parameter.
[wine.git] / configure
blob8814d56fdc02689a6466f056b6c5780d9743c0cd
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_eventing_classicprovider_l1_1_0
1008 enable_api_ms_win_eventing_consumer_l1_1_0
1009 enable_api_ms_win_eventing_controller_l1_1_0
1010 enable_api_ms_win_eventing_provider_l1_1_0
1011 enable_api_ms_win_eventlog_legacy_l1_1_0
1012 enable_api_ms_win_ntuser_dc_access_l1_1_0
1013 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1014 enable_api_ms_win_security_audit_l1_1_1
1015 enable_api_ms_win_security_base_l1_1_0
1016 enable_api_ms_win_security_base_l1_2_0
1017 enable_api_ms_win_security_base_private_l1_1_1
1018 enable_api_ms_win_security_lsalookup_l1_1_0
1019 enable_api_ms_win_security_lsalookup_l1_1_1
1020 enable_api_ms_win_security_sddl_l1_1_0
1021 enable_api_ms_win_service_core_l1_1_0
1022 enable_api_ms_win_service_core_l1_1_1
1023 enable_api_ms_win_service_management_l1_1_0
1024 enable_api_ms_win_service_management_l2_1_0
1025 enable_api_ms_win_service_private_l1_1_1
1026 enable_api_ms_win_service_winsvc_l1_1_0
1027 enable_api_ms_win_service_winsvc_l1_2_0
1028 enable_api_ms_win_shell_shellcom_l1_1_0
1029 enable_api_ms_win_shell_shellfolders_l1_1_0
1030 enable_apphelp
1031 enable_appwiz_cpl
1032 enable_atl
1033 enable_atl100
1034 enable_atl110
1035 enable_atl80
1036 enable_atl90
1037 enable_authz
1038 enable_avicap32
1039 enable_avifil32
1040 enable_avrt
1041 enable_bcrypt
1042 enable_bluetoothapis
1043 enable_browseui
1044 enable_bthprops_cpl
1045 enable_cabinet
1046 enable_capi2032
1047 enable_cards
1048 enable_cfgmgr32
1049 enable_clusapi
1050 enable_combase
1051 enable_comcat
1052 enable_comctl32
1053 enable_comdlg32
1054 enable_compstui
1055 enable_comsvcs
1056 enable_concrt140
1057 enable_connect
1058 enable_credui
1059 enable_crtdll
1060 enable_crypt32
1061 enable_cryptdlg
1062 enable_cryptdll
1063 enable_cryptext
1064 enable_cryptnet
1065 enable_cryptui
1066 enable_ctapi32
1067 enable_ctl3d32
1068 enable_d2d1
1069 enable_d3d10
1070 enable_d3d10_1
1071 enable_d3d10core
1072 enable_d3d11
1073 enable_d3d8
1074 enable_d3d9
1075 enable_d3dcompiler_33
1076 enable_d3dcompiler_34
1077 enable_d3dcompiler_35
1078 enable_d3dcompiler_36
1079 enable_d3dcompiler_37
1080 enable_d3dcompiler_38
1081 enable_d3dcompiler_39
1082 enable_d3dcompiler_40
1083 enable_d3dcompiler_41
1084 enable_d3dcompiler_42
1085 enable_d3dcompiler_43
1086 enable_d3dcompiler_46
1087 enable_d3dcompiler_47
1088 enable_d3dim
1089 enable_d3drm
1090 enable_d3dx10_33
1091 enable_d3dx10_34
1092 enable_d3dx10_35
1093 enable_d3dx10_36
1094 enable_d3dx10_37
1095 enable_d3dx10_38
1096 enable_d3dx10_39
1097 enable_d3dx10_40
1098 enable_d3dx10_41
1099 enable_d3dx10_42
1100 enable_d3dx10_43
1101 enable_d3dx11_42
1102 enable_d3dx11_43
1103 enable_d3dx9_24
1104 enable_d3dx9_25
1105 enable_d3dx9_26
1106 enable_d3dx9_27
1107 enable_d3dx9_28
1108 enable_d3dx9_29
1109 enable_d3dx9_30
1110 enable_d3dx9_31
1111 enable_d3dx9_32
1112 enable_d3dx9_33
1113 enable_d3dx9_34
1114 enable_d3dx9_35
1115 enable_d3dx9_36
1116 enable_d3dx9_37
1117 enable_d3dx9_38
1118 enable_d3dx9_39
1119 enable_d3dx9_40
1120 enable_d3dx9_41
1121 enable_d3dx9_42
1122 enable_d3dx9_43
1123 enable_d3dxof
1124 enable_davclnt
1125 enable_dbgeng
1126 enable_dbghelp
1127 enable_dciman32
1128 enable_ddraw
1129 enable_ddrawex
1130 enable_devenum
1131 enable_dhcpcsvc
1132 enable_difxapi
1133 enable_dinput
1134 enable_dinput8
1135 enable_dispex
1136 enable_dmband
1137 enable_dmcompos
1138 enable_dmime
1139 enable_dmloader
1140 enable_dmscript
1141 enable_dmstyle
1142 enable_dmsynth
1143 enable_dmusic
1144 enable_dmusic32
1145 enable_dnsapi
1146 enable_dplay
1147 enable_dplayx
1148 enable_dpnaddr
1149 enable_dpnet
1150 enable_dpnhpast
1151 enable_dpnlobby
1152 enable_dpvoice
1153 enable_dpwsockx
1154 enable_drmclien
1155 enable_dsound
1156 enable_dssenh
1157 enable_dswave
1158 enable_dwmapi
1159 enable_dwrite
1160 enable_dxdiagn
1161 enable_dxgi
1162 enable_dxva2
1163 enable_esent
1164 enable_evr
1165 enable_explorerframe
1166 enable_ext_ms_win_gdi_dc_create_l1_1_1
1167 enable_ext_ms_win_gdi_devcaps_l1_1_0
1168 enable_ext_ms_win_kernel32_package_current_l1_1_0
1169 enable_ext_ms_win_ntuser_message_l1_1_1
1170 enable_ext_ms_win_ntuser_private_l1_1_1
1171 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1172 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1173 enable_ext_ms_win_ntuser_window_l1_1_1
1174 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1175 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1176 enable_faultrep
1177 enable_fltlib
1178 enable_fltmgr_sys
1179 enable_fntcache
1180 enable_fontsub
1181 enable_fusion
1182 enable_fwpuclnt
1183 enable_gameux
1184 enable_gdi32
1185 enable_gdiplus
1186 enable_glu32
1187 enable_gphoto2_ds
1188 enable_gpkcsp
1189 enable_hal
1190 enable_hhctrl_ocx
1191 enable_hid
1192 enable_hidclass_sys
1193 enable_hlink
1194 enable_hnetcfg
1195 enable_httpapi
1196 enable_iccvid
1197 enable_icmp
1198 enable_ieframe
1199 enable_imaadp32_acm
1200 enable_imagehlp
1201 enable_imm32
1202 enable_inetcomm
1203 enable_inetcpl_cpl
1204 enable_inetmib1
1205 enable_infosoft
1206 enable_initpki
1207 enable_inkobj
1208 enable_inseng
1209 enable_iphlpapi
1210 enable_iprop
1211 enable_irprops_cpl
1212 enable_itircl
1213 enable_itss
1214 enable_joy_cpl
1215 enable_jscript
1216 enable_jsproxy
1217 enable_kernel32
1218 enable_kernelbase
1219 enable_ksuser
1220 enable_ktmw32
1221 enable_loadperf
1222 enable_localspl
1223 enable_localui
1224 enable_lz32
1225 enable_mapi32
1226 enable_mapistub
1227 enable_mciavi32
1228 enable_mcicda
1229 enable_mciqtz32
1230 enable_mciseq
1231 enable_mciwave
1232 enable_mf
1233 enable_mfplat
1234 enable_mfreadwrite
1235 enable_mgmtapi
1236 enable_midimap
1237 enable_mlang
1238 enable_mmcndmgr
1239 enable_mmdevapi
1240 enable_mountmgr_sys
1241 enable_mpr
1242 enable_mprapi
1243 enable_msacm32_drv
1244 enable_msacm32
1245 enable_msadp32_acm
1246 enable_msasn1
1247 enable_mscat32
1248 enable_mscms
1249 enable_mscoree
1250 enable_msctf
1251 enable_msctfp
1252 enable_msdaps
1253 enable_msdelta
1254 enable_msdmo
1255 enable_msdrm
1256 enable_msftedit
1257 enable_msg711_acm
1258 enable_msgsm32_acm
1259 enable_mshtml_tlb
1260 enable_mshtml
1261 enable_msi
1262 enable_msident
1263 enable_msimg32
1264 enable_msimsg
1265 enable_msimtf
1266 enable_msisip
1267 enable_msisys_ocx
1268 enable_msls31
1269 enable_msnet32
1270 enable_mspatcha
1271 enable_msports
1272 enable_msrle32
1273 enable_msscript_ocx
1274 enable_mssign32
1275 enable_mssip32
1276 enable_mstask
1277 enable_msvcirt
1278 enable_msvcm80
1279 enable_msvcm90
1280 enable_msvcp100
1281 enable_msvcp110
1282 enable_msvcp120
1283 enable_msvcp120_app
1284 enable_msvcp140
1285 enable_msvcp60
1286 enable_msvcp70
1287 enable_msvcp71
1288 enable_msvcp80
1289 enable_msvcp90
1290 enable_msvcr100
1291 enable_msvcr110
1292 enable_msvcr120
1293 enable_msvcr120_app
1294 enable_msvcr70
1295 enable_msvcr71
1296 enable_msvcr80
1297 enable_msvcr90
1298 enable_msvcrt
1299 enable_msvcrt20
1300 enable_msvcrt40
1301 enable_msvcrtd
1302 enable_msvfw32
1303 enable_msvidc32
1304 enable_mswsock
1305 enable_msxml
1306 enable_msxml2
1307 enable_msxml3
1308 enable_msxml4
1309 enable_msxml6
1310 enable_ncrypt
1311 enable_nddeapi
1312 enable_ndis_sys
1313 enable_netapi32
1314 enable_netcfgx
1315 enable_netprofm
1316 enable_newdev
1317 enable_normaliz
1318 enable_npmshtml
1319 enable_npptools
1320 enable_ntdll
1321 enable_ntdsapi
1322 enable_ntoskrnl_exe
1323 enable_ntprint
1324 enable_objsel
1325 enable_odbc32
1326 enable_odbccp32
1327 enable_odbccu32
1328 enable_ole32
1329 enable_oleacc
1330 enable_oleaut32
1331 enable_olecli32
1332 enable_oledb32
1333 enable_oledlg
1334 enable_olepro32
1335 enable_olesvr32
1336 enable_olethk32
1337 enable_openal32
1338 enable_opencl
1339 enable_opengl32
1340 enable_packager
1341 enable_pdh
1342 enable_photometadatahandler
1343 enable_pidgen
1344 enable_powrprof
1345 enable_printui
1346 enable_prntvpt
1347 enable_propsys
1348 enable_psapi
1349 enable_pstorec
1350 enable_qcap
1351 enable_qedit
1352 enable_qmgr
1353 enable_qmgrprxy
1354 enable_quartz
1355 enable_query
1356 enable_rasapi32
1357 enable_rasdlg
1358 enable_regapi
1359 enable_resutils
1360 enable_riched20
1361 enable_riched32
1362 enable_rpcrt4
1363 enable_rsabase
1364 enable_rsaenh
1365 enable_rstrtmgr
1366 enable_rtutils
1367 enable_samlib
1368 enable_sane_ds
1369 enable_scarddlg
1370 enable_sccbase
1371 enable_schannel
1372 enable_schedsvc
1373 enable_scrrun
1374 enable_scsiport_sys
1375 enable_secur32
1376 enable_security
1377 enable_sensapi
1378 enable_serialui
1379 enable_setupapi
1380 enable_sfc
1381 enable_sfc_os
1382 enable_shdoclc
1383 enable_shdocvw
1384 enable_shell32
1385 enable_shfolder
1386 enable_shlwapi
1387 enable_slbcsp
1388 enable_slc
1389 enable_snmpapi
1390 enable_softpub
1391 enable_spoolss
1392 enable_sspicli
1393 enable_stdole2_tlb
1394 enable_stdole32_tlb
1395 enable_sti
1396 enable_svrapi
1397 enable_sxs
1398 enable_t2embed
1399 enable_tapi32
1400 enable_taskschd
1401 enable_tdi_sys
1402 enable_traffic
1403 enable_twain_32
1404 enable_ucrtbase
1405 enable_unicows
1406 enable_updspapi
1407 enable_url
1408 enable_urlmon
1409 enable_usbd_sys
1410 enable_user32
1411 enable_userenv
1412 enable_usp10
1413 enable_uxtheme
1414 enable_vbscript
1415 enable_vcomp
1416 enable_vcomp100
1417 enable_vcomp110
1418 enable_vcomp120
1419 enable_vcomp140
1420 enable_vcomp90
1421 enable_vcruntime140
1422 enable_vdmdbg
1423 enable_version
1424 enable_vssapi
1425 enable_wbemdisp
1426 enable_wbemprox
1427 enable_webservices
1428 enable_wer
1429 enable_wevtapi
1430 enable_wiaservc
1431 enable_wimgapi
1432 enable_windowscodecs
1433 enable_windowscodecsext
1434 enable_winealsa_drv
1435 enable_winebus_sys
1436 enable_winecoreaudio_drv
1437 enable_wined3d
1438 enable_winegstreamer
1439 enable_winehid_sys
1440 enable_winejoystick_drv
1441 enable_winemac_drv
1442 enable_winemapi
1443 enable_winemp3_acm
1444 enable_wineoss_drv
1445 enable_wineps_drv
1446 enable_winepulse_drv
1447 enable_wineqtdecoder
1448 enable_winex11_drv
1449 enable_wing32
1450 enable_winhttp
1451 enable_wininet
1452 enable_winmm
1453 enable_winnls32
1454 enable_winscard
1455 enable_winspool_drv
1456 enable_winsta
1457 enable_wintab32
1458 enable_wintrust
1459 enable_wlanapi
1460 enable_wldap32
1461 enable_wmasf
1462 enable_wmi
1463 enable_wmiutils
1464 enable_wmp
1465 enable_wmvcore
1466 enable_wnaspi32
1467 enable_wpc
1468 enable_wpcap
1469 enable_ws2_32
1470 enable_wshom_ocx
1471 enable_wsnmp32
1472 enable_wsock32
1473 enable_wtsapi32
1474 enable_wuapi
1475 enable_wuaueng
1476 enable_x3daudio1_0
1477 enable_x3daudio1_1
1478 enable_x3daudio1_2
1479 enable_x3daudio1_3
1480 enable_x3daudio1_4
1481 enable_x3daudio1_5
1482 enable_x3daudio1_6
1483 enable_x3daudio1_7
1484 enable_xapofx1_1
1485 enable_xapofx1_2
1486 enable_xapofx1_3
1487 enable_xapofx1_4
1488 enable_xapofx1_5
1489 enable_xaudio2_0
1490 enable_xaudio2_1
1491 enable_xaudio2_2
1492 enable_xaudio2_3
1493 enable_xaudio2_4
1494 enable_xaudio2_5
1495 enable_xaudio2_6
1496 enable_xaudio2_7
1497 enable_xaudio2_8
1498 enable_xaudio2_9
1499 enable_xinput1_1
1500 enable_xinput1_2
1501 enable_xinput1_3
1502 enable_xinput1_4
1503 enable_xinput9_1_0
1504 enable_xmllite
1505 enable_xolehlp
1506 enable_xpsprint
1507 enable_xpssvcs
1508 enable_fonts
1509 enable_include
1510 enable_libs_port
1511 enable_libs_wine
1512 enable_libs_wpp
1513 enable_loader
1514 enable_po
1515 enable_arp
1516 enable_aspnet_regiis
1517 enable_attrib
1518 enable_cabarc
1519 enable_cacls
1520 enable_clock
1521 enable_cmd
1522 enable_conhost
1523 enable_control
1524 enable_cscript
1525 enable_dpnsvr
1526 enable_dxdiag
1527 enable_eject
1528 enable_expand
1529 enable_explorer
1530 enable_extrac32
1531 enable_findstr
1532 enable_fsutil
1533 enable_hh
1534 enable_hostname
1535 enable_icacls
1536 enable_icinfo
1537 enable_iexplore
1538 enable_ipconfig
1539 enable_lodctr
1540 enable_mofcomp
1541 enable_mshta
1542 enable_msiexec
1543 enable_msinfo32
1544 enable_net
1545 enable_netsh
1546 enable_netstat
1547 enable_ngen
1548 enable_notepad
1549 enable_oleview
1550 enable_ping
1551 enable_plugplay
1552 enable_presentationfontcache
1553 enable_progman
1554 enable_reg
1555 enable_regasm
1556 enable_regedit
1557 enable_regsvcs
1558 enable_regsvr32
1559 enable_rpcss
1560 enable_rundll32
1561 enable_sc
1562 enable_schtasks
1563 enable_sdbinst
1564 enable_secedit
1565 enable_servicemodelreg
1566 enable_services
1567 enable_shutdown
1568 enable_spoolsv
1569 enable_start
1570 enable_subst
1571 enable_svchost
1572 enable_systeminfo
1573 enable_taskkill
1574 enable_tasklist
1575 enable_taskmgr
1576 enable_termsv
1577 enable_uninstaller
1578 enable_unlodctr
1579 enable_view
1580 enable_wevtutil
1581 enable_wineboot
1582 enable_winebrowser
1583 enable_winecfg
1584 enable_wineconsole
1585 enable_winedbg
1586 enable_winedevice
1587 enable_winefile
1588 enable_winemenubuilder
1589 enable_winemine
1590 enable_winemsibuilder
1591 enable_winepath
1592 enable_winetest
1593 enable_winhlp32
1594 enable_winver
1595 enable_wmic
1596 enable_wmplayer
1597 enable_wordpad
1598 enable_write
1599 enable_wscript
1600 enable_wusa
1601 enable_xcopy
1602 enable_server
1603 enable_tools
1605 ac_precious_vars='build_alias
1606 host_alias
1607 target_alias
1609 CFLAGS
1610 LDFLAGS
1611 LIBS
1612 CPPFLAGS
1614 CXXFLAGS
1617 XMKMF
1618 XML2_CFLAGS
1619 XML2_LIBS
1620 XSLT_CFLAGS
1621 XSLT_LIBS
1622 DBUS_CFLAGS
1623 DBUS_LIBS
1624 HAL_CFLAGS
1625 HAL_LIBS
1626 GNUTLS_CFLAGS
1627 GNUTLS_LIBS
1628 SANE_CFLAGS
1629 SANE_LIBS
1630 GPHOTO2_CFLAGS
1631 GPHOTO2_LIBS
1632 GPHOTO2_PORT_CFLAGS
1633 GPHOTO2_PORT_LIBS
1634 LCMS2_CFLAGS
1635 LCMS2_LIBS
1636 FREETYPE_CFLAGS
1637 FREETYPE_LIBS
1638 PULSE_CFLAGS
1639 PULSE_LIBS
1640 GSTREAMER_CFLAGS
1641 GSTREAMER_LIBS
1642 UDEV_CFLAGS
1643 UDEV_LIBS
1644 CAPI20_CFLAGS
1645 CAPI20_LIBS
1646 FONTCONFIG_CFLAGS
1647 FONTCONFIG_LIBS
1648 JPEG_CFLAGS
1649 JPEG_LIBS
1650 PNG_CFLAGS
1651 PNG_LIBS
1652 TIFF_CFLAGS
1653 TIFF_LIBS
1654 MPG123_CFLAGS
1655 MPG123_LIBS
1656 NETAPI_CFLAGS
1657 NETAPI_LIBS'
1660 # Initialize some variables set by options.
1661 ac_init_help=
1662 ac_init_version=false
1663 ac_unrecognized_opts=
1664 ac_unrecognized_sep=
1665 # The variables have the same names as the options, with
1666 # dashes changed to underlines.
1667 cache_file=/dev/null
1668 exec_prefix=NONE
1669 no_create=
1670 no_recursion=
1671 prefix=NONE
1672 program_prefix=NONE
1673 program_suffix=NONE
1674 program_transform_name=s,x,x,
1675 silent=
1676 site=
1677 srcdir=
1678 verbose=
1679 x_includes=NONE
1680 x_libraries=NONE
1682 # Installation directory options.
1683 # These are left unexpanded so users can "make install exec_prefix=/foo"
1684 # and all the variables that are supposed to be based on exec_prefix
1685 # by default will actually change.
1686 # Use braces instead of parens because sh, perl, etc. also accept them.
1687 # (The list follows the same order as the GNU Coding Standards.)
1688 bindir='${exec_prefix}/bin'
1689 sbindir='${exec_prefix}/sbin'
1690 libexecdir='${exec_prefix}/libexec'
1691 datarootdir='${prefix}/share'
1692 datadir='${datarootdir}'
1693 sysconfdir='${prefix}/etc'
1694 sharedstatedir='${prefix}/com'
1695 localstatedir='${prefix}/var'
1696 runstatedir='${localstatedir}/run'
1697 includedir='${prefix}/include'
1698 oldincludedir='/usr/include'
1699 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1700 infodir='${datarootdir}/info'
1701 htmldir='${docdir}'
1702 dvidir='${docdir}'
1703 pdfdir='${docdir}'
1704 psdir='${docdir}'
1705 libdir='${exec_prefix}/lib'
1706 localedir='${datarootdir}/locale'
1707 mandir='${datarootdir}/man'
1709 ac_prev=
1710 ac_dashdash=
1711 for ac_option
1713 # If the previous option needs an argument, assign it.
1714 if test -n "$ac_prev"; then
1715 eval $ac_prev=\$ac_option
1716 ac_prev=
1717 continue
1720 case $ac_option in
1721 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1722 *=) ac_optarg= ;;
1723 *) ac_optarg=yes ;;
1724 esac
1726 # Accept the important Cygnus configure options, so we can diagnose typos.
1728 case $ac_dashdash$ac_option in
1730 ac_dashdash=yes ;;
1732 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1733 ac_prev=bindir ;;
1734 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1735 bindir=$ac_optarg ;;
1737 -build | --build | --buil | --bui | --bu)
1738 ac_prev=build_alias ;;
1739 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1740 build_alias=$ac_optarg ;;
1742 -cache-file | --cache-file | --cache-fil | --cache-fi \
1743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1744 ac_prev=cache_file ;;
1745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1747 cache_file=$ac_optarg ;;
1749 --config-cache | -C)
1750 cache_file=config.cache ;;
1752 -datadir | --datadir | --datadi | --datad)
1753 ac_prev=datadir ;;
1754 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1755 datadir=$ac_optarg ;;
1757 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1758 | --dataroo | --dataro | --datar)
1759 ac_prev=datarootdir ;;
1760 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1761 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1762 datarootdir=$ac_optarg ;;
1764 -disable-* | --disable-*)
1765 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1766 # Reject names that are not valid shell variable names.
1767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1768 as_fn_error $? "invalid feature name: $ac_useropt"
1769 ac_useropt_orig=$ac_useropt
1770 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1771 case $ac_user_opts in
1773 "enable_$ac_useropt"
1774 "*) ;;
1775 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1776 ac_unrecognized_sep=', ';;
1777 esac
1778 eval enable_$ac_useropt=no ;;
1780 -docdir | --docdir | --docdi | --doc | --do)
1781 ac_prev=docdir ;;
1782 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1783 docdir=$ac_optarg ;;
1785 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1786 ac_prev=dvidir ;;
1787 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1788 dvidir=$ac_optarg ;;
1790 -enable-* | --enable-*)
1791 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1792 # Reject names that are not valid shell variable names.
1793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1794 as_fn_error $? "invalid feature name: $ac_useropt"
1795 ac_useropt_orig=$ac_useropt
1796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1797 case $ac_user_opts in
1799 "enable_$ac_useropt"
1800 "*) ;;
1801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1802 ac_unrecognized_sep=', ';;
1803 esac
1804 eval enable_$ac_useropt=\$ac_optarg ;;
1806 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1807 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1808 | --exec | --exe | --ex)
1809 ac_prev=exec_prefix ;;
1810 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1811 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1812 | --exec=* | --exe=* | --ex=*)
1813 exec_prefix=$ac_optarg ;;
1815 -gas | --gas | --ga | --g)
1816 # Obsolete; use --with-gas.
1817 with_gas=yes ;;
1819 -help | --help | --hel | --he | -h)
1820 ac_init_help=long ;;
1821 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1822 ac_init_help=recursive ;;
1823 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1824 ac_init_help=short ;;
1826 -host | --host | --hos | --ho)
1827 ac_prev=host_alias ;;
1828 -host=* | --host=* | --hos=* | --ho=*)
1829 host_alias=$ac_optarg ;;
1831 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1832 ac_prev=htmldir ;;
1833 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1834 | --ht=*)
1835 htmldir=$ac_optarg ;;
1837 -includedir | --includedir | --includedi | --included | --include \
1838 | --includ | --inclu | --incl | --inc)
1839 ac_prev=includedir ;;
1840 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1841 | --includ=* | --inclu=* | --incl=* | --inc=*)
1842 includedir=$ac_optarg ;;
1844 -infodir | --infodir | --infodi | --infod | --info | --inf)
1845 ac_prev=infodir ;;
1846 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1847 infodir=$ac_optarg ;;
1849 -libdir | --libdir | --libdi | --libd)
1850 ac_prev=libdir ;;
1851 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1852 libdir=$ac_optarg ;;
1854 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1855 | --libexe | --libex | --libe)
1856 ac_prev=libexecdir ;;
1857 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1858 | --libexe=* | --libex=* | --libe=*)
1859 libexecdir=$ac_optarg ;;
1861 -localedir | --localedir | --localedi | --localed | --locale)
1862 ac_prev=localedir ;;
1863 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1864 localedir=$ac_optarg ;;
1866 -localstatedir | --localstatedir | --localstatedi | --localstated \
1867 | --localstate | --localstat | --localsta | --localst | --locals)
1868 ac_prev=localstatedir ;;
1869 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1870 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1871 localstatedir=$ac_optarg ;;
1873 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1874 ac_prev=mandir ;;
1875 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1876 mandir=$ac_optarg ;;
1878 -nfp | --nfp | --nf)
1879 # Obsolete; use --without-fp.
1880 with_fp=no ;;
1882 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1883 | --no-cr | --no-c | -n)
1884 no_create=yes ;;
1886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1888 no_recursion=yes ;;
1890 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1891 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1892 | --oldin | --oldi | --old | --ol | --o)
1893 ac_prev=oldincludedir ;;
1894 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1895 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1896 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1897 oldincludedir=$ac_optarg ;;
1899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1900 ac_prev=prefix ;;
1901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1902 prefix=$ac_optarg ;;
1904 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1905 | --program-pre | --program-pr | --program-p)
1906 ac_prev=program_prefix ;;
1907 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1908 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1909 program_prefix=$ac_optarg ;;
1911 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1912 | --program-suf | --program-su | --program-s)
1913 ac_prev=program_suffix ;;
1914 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1915 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1916 program_suffix=$ac_optarg ;;
1918 -program-transform-name | --program-transform-name \
1919 | --program-transform-nam | --program-transform-na \
1920 | --program-transform-n | --program-transform- \
1921 | --program-transform | --program-transfor \
1922 | --program-transfo | --program-transf \
1923 | --program-trans | --program-tran \
1924 | --progr-tra | --program-tr | --program-t)
1925 ac_prev=program_transform_name ;;
1926 -program-transform-name=* | --program-transform-name=* \
1927 | --program-transform-nam=* | --program-transform-na=* \
1928 | --program-transform-n=* | --program-transform-=* \
1929 | --program-transform=* | --program-transfor=* \
1930 | --program-transfo=* | --program-transf=* \
1931 | --program-trans=* | --program-tran=* \
1932 | --progr-tra=* | --program-tr=* | --program-t=*)
1933 program_transform_name=$ac_optarg ;;
1935 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1936 ac_prev=pdfdir ;;
1937 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1938 pdfdir=$ac_optarg ;;
1940 -psdir | --psdir | --psdi | --psd | --ps)
1941 ac_prev=psdir ;;
1942 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1943 psdir=$ac_optarg ;;
1945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1946 | -silent | --silent | --silen | --sile | --sil)
1947 silent=yes ;;
1949 -runstatedir | --runstatedir | --runstatedi | --runstated \
1950 | --runstate | --runstat | --runsta | --runst | --runs \
1951 | --run | --ru | --r)
1952 ac_prev=runstatedir ;;
1953 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1954 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1955 | --run=* | --ru=* | --r=*)
1956 runstatedir=$ac_optarg ;;
1958 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1959 ac_prev=sbindir ;;
1960 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1961 | --sbi=* | --sb=*)
1962 sbindir=$ac_optarg ;;
1964 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1965 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1966 | --sharedst | --shareds | --shared | --share | --shar \
1967 | --sha | --sh)
1968 ac_prev=sharedstatedir ;;
1969 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1970 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1971 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1972 | --sha=* | --sh=*)
1973 sharedstatedir=$ac_optarg ;;
1975 -site | --site | --sit)
1976 ac_prev=site ;;
1977 -site=* | --site=* | --sit=*)
1978 site=$ac_optarg ;;
1980 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1981 ac_prev=srcdir ;;
1982 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1983 srcdir=$ac_optarg ;;
1985 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1986 | --syscon | --sysco | --sysc | --sys | --sy)
1987 ac_prev=sysconfdir ;;
1988 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1989 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1990 sysconfdir=$ac_optarg ;;
1992 -target | --target | --targe | --targ | --tar | --ta | --t)
1993 ac_prev=target_alias ;;
1994 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1995 target_alias=$ac_optarg ;;
1997 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1998 verbose=yes ;;
2000 -version | --version | --versio | --versi | --vers | -V)
2001 ac_init_version=: ;;
2003 -with-* | --with-*)
2004 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2005 # Reject names that are not valid shell variable names.
2006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2007 as_fn_error $? "invalid package name: $ac_useropt"
2008 ac_useropt_orig=$ac_useropt
2009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2010 case $ac_user_opts in
2012 "with_$ac_useropt"
2013 "*) ;;
2014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2015 ac_unrecognized_sep=', ';;
2016 esac
2017 eval with_$ac_useropt=\$ac_optarg ;;
2019 -without-* | --without-*)
2020 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2021 # Reject names that are not valid shell variable names.
2022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2023 as_fn_error $? "invalid package name: $ac_useropt"
2024 ac_useropt_orig=$ac_useropt
2025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2026 case $ac_user_opts in
2028 "with_$ac_useropt"
2029 "*) ;;
2030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2031 ac_unrecognized_sep=', ';;
2032 esac
2033 eval with_$ac_useropt=no ;;
2035 --x)
2036 # Obsolete; use --with-x.
2037 with_x=yes ;;
2039 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2040 | --x-incl | --x-inc | --x-in | --x-i)
2041 ac_prev=x_includes ;;
2042 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2043 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2044 x_includes=$ac_optarg ;;
2046 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2047 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2048 ac_prev=x_libraries ;;
2049 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2050 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2051 x_libraries=$ac_optarg ;;
2053 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2054 Try \`$0 --help' for more information"
2057 *=*)
2058 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2059 # Reject names that are not valid shell variable names.
2060 case $ac_envvar in #(
2061 '' | [0-9]* | *[!_$as_cr_alnum]* )
2062 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2063 esac
2064 eval $ac_envvar=\$ac_optarg
2065 export $ac_envvar ;;
2068 # FIXME: should be removed in autoconf 3.0.
2069 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2070 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2071 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2072 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2075 esac
2076 done
2078 if test -n "$ac_prev"; then
2079 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2080 as_fn_error $? "missing argument to $ac_option"
2083 if test -n "$ac_unrecognized_opts"; then
2084 case $enable_option_checking in
2085 no) ;;
2086 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2087 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2088 esac
2091 # Check all directory arguments for consistency.
2092 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2093 datadir sysconfdir sharedstatedir localstatedir includedir \
2094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2095 libdir localedir mandir runstatedir
2097 eval ac_val=\$$ac_var
2098 # Remove trailing slashes.
2099 case $ac_val in
2100 */ )
2101 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2102 eval $ac_var=\$ac_val;;
2103 esac
2104 # Be sure to have absolute directory names.
2105 case $ac_val in
2106 [\\/$]* | ?:[\\/]* ) continue;;
2107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2108 esac
2109 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2110 done
2112 # There might be people who depend on the old broken behavior: `$host'
2113 # used to hold the argument of --host etc.
2114 # FIXME: To remove some day.
2115 build=$build_alias
2116 host=$host_alias
2117 target=$target_alias
2119 # FIXME: To remove some day.
2120 if test "x$host_alias" != x; then
2121 if test "x$build_alias" = x; then
2122 cross_compiling=maybe
2123 elif test "x$build_alias" != "x$host_alias"; then
2124 cross_compiling=yes
2128 ac_tool_prefix=
2129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2131 test "$silent" = yes && exec 6>/dev/null
2134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2135 ac_ls_di=`ls -di .` &&
2136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2137 as_fn_error $? "working directory cannot be determined"
2138 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2139 as_fn_error $? "pwd does not report name of working directory"
2142 # Find the source files, if location was not specified.
2143 if test -z "$srcdir"; then
2144 ac_srcdir_defaulted=yes
2145 # Try the directory containing this script, then the parent directory.
2146 ac_confdir=`$as_dirname -- "$as_myself" ||
2147 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2148 X"$as_myself" : 'X\(//\)[^/]' \| \
2149 X"$as_myself" : 'X\(//\)$' \| \
2150 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2151 $as_echo X"$as_myself" |
2152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2153 s//\1/
2156 /^X\(\/\/\)[^/].*/{
2157 s//\1/
2160 /^X\(\/\/\)$/{
2161 s//\1/
2164 /^X\(\/\).*/{
2165 s//\1/
2168 s/.*/./; q'`
2169 srcdir=$ac_confdir
2170 if test ! -r "$srcdir/$ac_unique_file"; then
2171 srcdir=..
2173 else
2174 ac_srcdir_defaulted=no
2176 if test ! -r "$srcdir/$ac_unique_file"; then
2177 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2178 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2180 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2181 ac_abs_confdir=`(
2182 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2183 pwd)`
2184 # When building in place, set srcdir=.
2185 if test "$ac_abs_confdir" = "$ac_pwd"; then
2186 srcdir=.
2188 # Remove unnecessary trailing slashes from srcdir.
2189 # Double slashes in file names in object file debugging info
2190 # mess up M-x gdb in Emacs.
2191 case $srcdir in
2192 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2193 esac
2194 for ac_var in $ac_precious_vars; do
2195 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2196 eval ac_env_${ac_var}_value=\$${ac_var}
2197 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2198 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2199 done
2202 # Report the --help message.
2204 if test "$ac_init_help" = "long"; then
2205 # Omit some internal or obsolete options to make the list less imposing.
2206 # This message is too long to be a string in the A/UX 3.1 sh.
2207 cat <<_ACEOF
2208 \`configure' configures Wine 1.9.22 to adapt to many kinds of systems.
2210 Usage: $0 [OPTION]... [VAR=VALUE]...
2212 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2213 VAR=VALUE. See below for descriptions of some of the useful variables.
2215 Defaults for the options are specified in brackets.
2217 Configuration:
2218 -h, --help display this help and exit
2219 --help=short display options specific to this package
2220 --help=recursive display the short help of all the included packages
2221 -V, --version display version information and exit
2222 -q, --quiet, --silent do not print \`checking ...' messages
2223 --cache-file=FILE cache test results in FILE [disabled]
2224 -C, --config-cache alias for \`--cache-file=config.cache'
2225 -n, --no-create do not create output files
2226 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2228 Installation directories:
2229 --prefix=PREFIX install architecture-independent files in PREFIX
2230 [$ac_default_prefix]
2231 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2232 [PREFIX]
2234 By default, \`make install' will install all the files in
2235 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2236 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2237 for instance \`--prefix=\$HOME'.
2239 For better control, use the options below.
2241 Fine tuning of the installation directories:
2242 --bindir=DIR user executables [EPREFIX/bin]
2243 --sbindir=DIR system admin executables [EPREFIX/sbin]
2244 --libexecdir=DIR program executables [EPREFIX/libexec]
2245 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2246 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2247 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2248 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2249 --libdir=DIR object code libraries [EPREFIX/lib]
2250 --includedir=DIR C header files [PREFIX/include]
2251 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2252 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2253 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2254 --infodir=DIR info documentation [DATAROOTDIR/info]
2255 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2256 --mandir=DIR man documentation [DATAROOTDIR/man]
2257 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2258 --htmldir=DIR html documentation [DOCDIR]
2259 --dvidir=DIR dvi documentation [DOCDIR]
2260 --pdfdir=DIR pdf documentation [DOCDIR]
2261 --psdir=DIR ps documentation [DOCDIR]
2262 _ACEOF
2264 cat <<\_ACEOF
2266 X features:
2267 --x-includes=DIR X include files are in DIR
2268 --x-libraries=DIR X library files are in DIR
2270 System types:
2271 --build=BUILD configure for building on BUILD [guessed]
2272 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2273 _ACEOF
2276 if test -n "$ac_init_help"; then
2277 case $ac_init_help in
2278 short | recursive ) echo "Configuration of Wine 1.9.22:";;
2279 esac
2280 cat <<\_ACEOF
2282 Optional Features:
2283 --disable-option-checking ignore unrecognized --enable/--with options
2284 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2285 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2286 --disable-win16 do not include Win16 support
2287 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2288 binaries)
2289 --disable-tests do not build the regression tests
2290 --enable-maintainer-mode
2291 enable maintainer-specific build rules
2292 --disable-largefile omit support for large files
2294 Optional Packages:
2295 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2296 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2297 --without-alsa do not use the Alsa sound support
2298 --without-capi do not use CAPI (ISDN support)
2299 --without-cms do not use CMS (color management support)
2300 --without-coreaudio do not use the CoreAudio sound support
2301 --without-cups do not use CUPS
2302 --without-curses do not use (n)curses
2303 --without-dbus do not use DBus (dynamic device support)
2304 --without-fontconfig do not use fontconfig
2305 --without-freetype do not use the FreeType library
2306 --without-gettext do not use gettext
2307 --with-gettextpo use the GetTextPO library to rebuild po files
2308 --without-gphoto do not use gphoto (Digital Camera support)
2309 --without-glu do not use the GLU library
2310 --without-gnutls do not use GnuTLS (schannel support)
2311 --without-gsm do not use libgsm (GSM 06.10 codec support)
2312 --without-gstreamer do not use GStreamer (codecs support)
2313 --without-hal do not use HAL (dynamic device support)
2314 --without-jpeg do not use JPEG
2315 --without-ldap do not use LDAP
2316 --without-mpg123 do not use the mpg123 library
2317 --without-netapi do not use the Samba NetAPI library
2318 --without-openal do not use OpenAL
2319 --without-opencl do not use OpenCL
2320 --without-opengl do not use OpenGL
2321 --without-osmesa do not use the OSMesa library
2322 --without-oss do not use the OSS sound support
2323 --without-pcap do not use the Packet Capture library
2324 --without-png do not use PNG
2325 --without-pthread do not use the pthread library
2326 --without-pulse do not use PulseAudio sound support
2327 --without-sane do not use SANE (scanner support)
2328 --without-tiff do not use TIFF
2329 --without-udev do not use udev (plug and play support)
2330 --without-v4l do not use v4l1 (v4l support)
2331 --without-xcomposite do not use the Xcomposite extension
2332 --without-xcursor do not use the Xcursor extension
2333 --without-xinerama do not use Xinerama (multi-monitor support)
2334 --without-xinput do not use the Xinput extension
2335 --without-xinput2 do not use the Xinput 2 extension
2336 --without-xml do not use XML
2337 --without-xrandr do not use Xrandr (resolution changes)
2338 --without-xrender do not use the Xrender extension
2339 --without-xshape do not use the Xshape extension
2340 --without-xshm do not use XShm (shared memory extension)
2341 --without-xslt do not use XSLT
2342 --without-xxf86vm do not use XFree video mode extension
2343 --without-zlib do not use Zlib (data compression)
2344 --with-wine-tools=DIR use Wine tools from directory DIR
2345 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2346 --with-x use the X Window System
2348 Some influential environment variables:
2349 CC C compiler command
2350 CFLAGS C compiler flags
2351 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2352 nonstandard directory <lib dir>
2353 LIBS libraries to pass to the linker, e.g. -l<library>
2354 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2355 you have headers in a nonstandard directory <include dir>
2356 CXX C++ compiler command
2357 CXXFLAGS C++ compiler flags
2358 CPP C preprocessor
2359 XMKMF Path to xmkmf, Makefile generator for X Window System
2360 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2361 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2362 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2363 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2364 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2365 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2366 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2367 HAL_LIBS Linker flags for hal, overriding pkg-config
2368 GNUTLS_CFLAGS
2369 C compiler flags for gnutls, overriding pkg-config
2370 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2371 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2372 SANE_LIBS Linker flags for libsane, overriding pkg-config
2373 GPHOTO2_CFLAGS
2374 C compiler flags for libgphoto2, overriding pkg-config
2375 GPHOTO2_LIBS
2376 Linker flags for libgphoto2, overriding pkg-config
2377 GPHOTO2_PORT_CFLAGS
2378 C compiler flags for libgphoto2_port, overriding pkg-config
2379 GPHOTO2_PORT_LIBS
2380 Linker flags for libgphoto2_port, overriding pkg-config
2381 LCMS2_CFLAGS
2382 C compiler flags for lcms2, overriding pkg-config
2383 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2384 FREETYPE_CFLAGS
2385 C compiler flags for freetype2, overriding pkg-config
2386 FREETYPE_LIBS
2387 Linker flags for freetype2, overriding pkg-config
2388 PULSE_CFLAGS
2389 C compiler flags for libpulse, overriding pkg-config
2390 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2391 GSTREAMER_CFLAGS
2392 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2393 gstreamer-audio-1.0, overriding pkg-config
2394 GSTREAMER_LIBS
2395 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2396 gstreamer-audio-1.0, overriding pkg-config
2397 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2398 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2399 CAPI20_CFLAGS
2400 C compiler flags for capi20, overriding pkg-config
2401 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2402 FONTCONFIG_CFLAGS
2403 C compiler flags for fontconfig, overriding pkg-config
2404 FONTCONFIG_LIBS
2405 Linker flags for fontconfig, overriding pkg-config
2406 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2407 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2408 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2409 PNG_LIBS Linker flags for libpng, overriding pkg-config
2410 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2411 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2412 MPG123_CFLAGS
2413 C compiler flags for libmpg123, overriding pkg-config
2414 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2415 NETAPI_CFLAGS
2416 C compiler flags for netapi, overriding pkg-config
2417 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2419 Use these variables to override the choices made by `configure' or to help
2420 it to find libraries and programs with nonstandard names/locations.
2422 Report bugs to <wine-devel@winehq.org>.
2423 Wine home page: <http://www.winehq.org>.
2424 _ACEOF
2425 ac_status=$?
2428 if test "$ac_init_help" = "recursive"; then
2429 # If there are subdirs, report their specific --help.
2430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2431 test -d "$ac_dir" ||
2432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2433 continue
2434 ac_builddir=.
2436 case "$ac_dir" in
2437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2440 # A ".." for each directory in $ac_dir_suffix.
2441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2442 case $ac_top_builddir_sub in
2443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2445 esac ;;
2446 esac
2447 ac_abs_top_builddir=$ac_pwd
2448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2449 # for backward compatibility:
2450 ac_top_builddir=$ac_top_build_prefix
2452 case $srcdir in
2453 .) # We are building in place.
2454 ac_srcdir=.
2455 ac_top_srcdir=$ac_top_builddir_sub
2456 ac_abs_top_srcdir=$ac_pwd ;;
2457 [\\/]* | ?:[\\/]* ) # Absolute name.
2458 ac_srcdir=$srcdir$ac_dir_suffix;
2459 ac_top_srcdir=$srcdir
2460 ac_abs_top_srcdir=$srcdir ;;
2461 *) # Relative name.
2462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2463 ac_top_srcdir=$ac_top_build_prefix$srcdir
2464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2465 esac
2466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2468 cd "$ac_dir" || { ac_status=$?; continue; }
2469 # Check for guested configure.
2470 if test -f "$ac_srcdir/configure.gnu"; then
2471 echo &&
2472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2473 elif test -f "$ac_srcdir/configure"; then
2474 echo &&
2475 $SHELL "$ac_srcdir/configure" --help=recursive
2476 else
2477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2478 fi || ac_status=$?
2479 cd "$ac_pwd" || { ac_status=$?; break; }
2480 done
2483 test -n "$ac_init_help" && exit $ac_status
2484 if $ac_init_version; then
2485 cat <<\_ACEOF
2486 Wine configure 1.9.22
2487 generated by GNU Autoconf 2.69
2489 Copyright (C) 2012 Free Software Foundation, Inc.
2490 This configure script is free software; the Free Software Foundation
2491 gives unlimited permission to copy, distribute and modify it.
2492 _ACEOF
2493 exit
2496 ## ------------------------ ##
2497 ## Autoconf initialization. ##
2498 ## ------------------------ ##
2500 # ac_fn_c_try_compile LINENO
2501 # --------------------------
2502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2503 ac_fn_c_try_compile ()
2505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2506 rm -f conftest.$ac_objext
2507 if { { ac_try="$ac_compile"
2508 case "(($ac_try" in
2509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510 *) ac_try_echo=$ac_try;;
2511 esac
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514 (eval "$ac_compile") 2>conftest.err
2515 ac_status=$?
2516 if test -s conftest.err; then
2517 grep -v '^ *+' conftest.err >conftest.er1
2518 cat conftest.er1 >&5
2519 mv -f conftest.er1 conftest.err
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; } && {
2523 test -z "$ac_c_werror_flag" ||
2524 test ! -s conftest.err
2525 } && test -s conftest.$ac_objext; then :
2526 ac_retval=0
2527 else
2528 $as_echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.$ac_ext >&5
2531 ac_retval=1
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status $ac_retval
2536 } # ac_fn_c_try_compile
2538 # ac_fn_cxx_try_compile LINENO
2539 # ----------------------------
2540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2541 ac_fn_cxx_try_compile ()
2543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2544 rm -f conftest.$ac_objext
2545 if { { ac_try="$ac_compile"
2546 case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2549 esac
2550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_compile") 2>conftest.err
2553 ac_status=$?
2554 if test -s conftest.err; then
2555 grep -v '^ *+' conftest.err >conftest.er1
2556 cat conftest.er1 >&5
2557 mv -f conftest.er1 conftest.err
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; } && {
2561 test -z "$ac_cxx_werror_flag" ||
2562 test ! -s conftest.err
2563 } && test -s conftest.$ac_objext; then :
2564 ac_retval=0
2565 else
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.$ac_ext >&5
2569 ac_retval=1
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 as_fn_set_status $ac_retval
2574 } # ac_fn_cxx_try_compile
2576 # ac_fn_c_try_link LINENO
2577 # -----------------------
2578 # Try to link conftest.$ac_ext, and return whether this succeeded.
2579 ac_fn_c_try_link ()
2581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2582 rm -f conftest.$ac_objext conftest$ac_exeext
2583 if { { ac_try="$ac_link"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_link") 2>conftest.err
2591 ac_status=$?
2592 if test -s conftest.err; then
2593 grep -v '^ *+' conftest.err >conftest.er1
2594 cat conftest.er1 >&5
2595 mv -f conftest.er1 conftest.err
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; } && {
2599 test -z "$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2601 } && test -s conftest$ac_exeext && {
2602 test "$cross_compiling" = yes ||
2603 test -x conftest$ac_exeext
2604 }; then :
2605 ac_retval=0
2606 else
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 ac_retval=1
2612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2614 # interfere with the next link command; also delete a directory that is
2615 # left behind by Apple's compiler. We do this before executing the actions.
2616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 as_fn_set_status $ac_retval
2620 } # ac_fn_c_try_link
2622 # ac_fn_c_try_cpp LINENO
2623 # ----------------------
2624 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2625 ac_fn_c_try_cpp ()
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 if { { ac_try="$ac_cpp conftest.$ac_ext"
2629 case "(($ac_try" in
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2632 esac
2633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2634 $as_echo "$ac_try_echo"; } >&5
2635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2636 ac_status=$?
2637 if test -s conftest.err; then
2638 grep -v '^ *+' conftest.err >conftest.er1
2639 cat conftest.er1 >&5
2640 mv -f conftest.er1 conftest.err
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; } > conftest.i && {
2644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2645 test ! -s conftest.err
2646 }; then :
2647 ac_retval=0
2648 else
2649 $as_echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_retval=1
2654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 as_fn_set_status $ac_retval
2657 } # ac_fn_c_try_cpp
2659 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2660 # -------------------------------------------------------
2661 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2662 # the include files in INCLUDES and setting the cache variable VAR
2663 # accordingly.
2664 ac_fn_c_check_header_mongrel ()
2666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2667 if eval \${$3+:} false; then :
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2669 $as_echo_n "checking for $2... " >&6; }
2670 if eval \${$3+:} false; then :
2671 $as_echo_n "(cached) " >&6
2673 eval ac_res=\$$3
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 else
2677 # Is the header compilable?
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2679 $as_echo_n "checking $2 usability... " >&6; }
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2683 #include <$2>
2684 _ACEOF
2685 if ac_fn_c_try_compile "$LINENO"; then :
2686 ac_header_compiler=yes
2687 else
2688 ac_header_compiler=no
2690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2692 $as_echo "$ac_header_compiler" >&6; }
2694 # Is the header present?
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2696 $as_echo_n "checking $2 presence... " >&6; }
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2699 #include <$2>
2700 _ACEOF
2701 if ac_fn_c_try_cpp "$LINENO"; then :
2702 ac_header_preproc=yes
2703 else
2704 ac_header_preproc=no
2706 rm -f conftest.err conftest.i conftest.$ac_ext
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2708 $as_echo "$ac_header_preproc" >&6; }
2710 # So? What about this header?
2711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2712 yes:no: )
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2714 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2718 no:yes:* )
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2720 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2722 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2724 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2726 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2728 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2729 ( $as_echo "## ------------------------------------ ##
2730 ## Report this to wine-devel@winehq.org ##
2731 ## ------------------------------------ ##"
2732 ) | sed "s/^/$as_me: WARNING: /" >&2
2734 esac
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2736 $as_echo_n "checking for $2... " >&6; }
2737 if eval \${$3+:} false; then :
2738 $as_echo_n "(cached) " >&6
2739 else
2740 eval "$3=\$ac_header_compiler"
2742 eval ac_res=\$$3
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2744 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_header_mongrel
2750 # ac_fn_c_try_run LINENO
2751 # ----------------------
2752 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2753 # that executables *can* be run.
2754 ac_fn_c_try_run ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 if { { ac_try="$ac_link"
2758 case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_link") 2>&5
2765 ac_status=$?
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2768 { { case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774 (eval "$ac_try") 2>&5
2775 ac_status=$?
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; }; }; then :
2778 ac_retval=0
2779 else
2780 $as_echo "$as_me: program exited with status $ac_status" >&5
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2784 ac_retval=$ac_status
2786 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 as_fn_set_status $ac_retval
2790 } # ac_fn_c_try_run
2792 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2793 # -------------------------------------------------------
2794 # Tests whether HEADER exists and can be compiled using the include files in
2795 # INCLUDES, setting the cache variable VAR accordingly.
2796 ac_fn_c_check_header_compile ()
2798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2800 $as_echo_n "checking for $2... " >&6; }
2801 if eval \${$3+:} false; then :
2802 $as_echo_n "(cached) " >&6
2803 else
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2807 #include <$2>
2808 _ACEOF
2809 if ac_fn_c_try_compile "$LINENO"; then :
2810 eval "$3=yes"
2811 else
2812 eval "$3=no"
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 eval ac_res=\$$3
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2818 $as_echo "$ac_res" >&6; }
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 } # ac_fn_c_check_header_compile
2823 # ac_fn_c_check_func LINENO FUNC VAR
2824 # ----------------------------------
2825 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2826 ac_fn_c_check_func ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2838 #define $2 innocuous_$2
2840 /* System header to define __stub macros and hopefully few prototypes,
2841 which can conflict with char $2 (); below.
2842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2843 <limits.h> exists even on freestanding compilers. */
2845 #ifdef __STDC__
2846 # include <limits.h>
2847 #else
2848 # include <assert.h>
2849 #endif
2851 #undef $2
2853 /* Override any GCC internal prototype to avoid an error.
2854 Use char because int might match the return type of a GCC
2855 builtin and then its argument prototype would still apply. */
2856 #ifdef __cplusplus
2857 extern "C"
2858 #endif
2859 char $2 ();
2860 /* The GNU C library defines this for functions which it implements
2861 to always fail with ENOSYS. Some functions are actually named
2862 something starting with __ and the normal name is an alias. */
2863 #if defined __stub_$2 || defined __stub___$2
2864 choke me
2865 #endif
2868 main ()
2870 return $2 ();
2872 return 0;
2874 _ACEOF
2875 if ac_fn_c_try_link "$LINENO"; then :
2876 eval "$3=yes"
2877 else
2878 eval "$3=no"
2880 rm -f core conftest.err conftest.$ac_objext \
2881 conftest$ac_exeext conftest.$ac_ext
2883 eval ac_res=\$$3
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 } # ac_fn_c_check_func
2890 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2891 # ----------------------------------------------------
2892 # Tries to find if the field MEMBER exists in type AGGR, after including
2893 # INCLUDES, setting cache variable VAR accordingly.
2894 ac_fn_c_check_member ()
2896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2898 $as_echo_n "checking for $2.$3... " >&6; }
2899 if eval \${$4+:} false; then :
2900 $as_echo_n "(cached) " >&6
2901 else
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2906 main ()
2908 static $2 ac_aggr;
2909 if (ac_aggr.$3)
2910 return 0;
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 eval "$4=yes"
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2924 static $2 ac_aggr;
2925 if (sizeof ac_aggr.$3)
2926 return 0;
2928 return 0;
2930 _ACEOF
2931 if ac_fn_c_try_compile "$LINENO"; then :
2932 eval "$4=yes"
2933 else
2934 eval "$4=no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 eval ac_res=\$$4
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2942 $as_echo "$ac_res" >&6; }
2943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2945 } # ac_fn_c_check_member
2947 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2948 # -------------------------------------------
2949 # Tests whether TYPE exists after having included INCLUDES, setting cache
2950 # variable VAR accordingly.
2951 ac_fn_c_check_type ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2955 $as_echo_n "checking for $2... " >&6; }
2956 if eval \${$3+:} false; then :
2957 $as_echo_n "(cached) " >&6
2958 else
2959 eval "$3=no"
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2966 if (sizeof ($2))
2967 return 0;
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2977 main ()
2979 if (sizeof (($2)))
2980 return 0;
2982 return 0;
2984 _ACEOF
2985 if ac_fn_c_try_compile "$LINENO"; then :
2987 else
2988 eval "$3=yes"
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 eval ac_res=\$$3
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2996 $as_echo "$ac_res" >&6; }
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 } # ac_fn_c_check_type
3000 cat >config.log <<_ACEOF
3001 This file contains any messages produced by compilers while
3002 running configure, to aid debugging if configure makes a mistake.
3004 It was created by Wine $as_me 1.9.22, which was
3005 generated by GNU Autoconf 2.69. Invocation command line was
3007 $ $0 $@
3009 _ACEOF
3010 exec 5>>config.log
3012 cat <<_ASUNAME
3013 ## --------- ##
3014 ## Platform. ##
3015 ## --------- ##
3017 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3018 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3019 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3020 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3021 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3023 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3024 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3026 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3027 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3028 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3029 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3030 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3031 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3032 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3034 _ASUNAME
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 $as_echo "PATH: $as_dir"
3042 done
3043 IFS=$as_save_IFS
3045 } >&5
3047 cat >&5 <<_ACEOF
3050 ## ----------- ##
3051 ## Core tests. ##
3052 ## ----------- ##
3054 _ACEOF
3057 # Keep a trace of the command line.
3058 # Strip out --no-create and --no-recursion so they do not pile up.
3059 # Strip out --silent because we don't want to record it for future runs.
3060 # Also quote any args containing shell meta-characters.
3061 # Make two passes to allow for proper duplicate-argument suppression.
3062 ac_configure_args=
3063 ac_configure_args0=
3064 ac_configure_args1=
3065 ac_must_keep_next=false
3066 for ac_pass in 1 2
3068 for ac_arg
3070 case $ac_arg in
3071 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3073 | -silent | --silent | --silen | --sile | --sil)
3074 continue ;;
3075 *\'*)
3076 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3077 esac
3078 case $ac_pass in
3079 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3081 as_fn_append ac_configure_args1 " '$ac_arg'"
3082 if test $ac_must_keep_next = true; then
3083 ac_must_keep_next=false # Got value, back to normal.
3084 else
3085 case $ac_arg in
3086 *=* | --config-cache | -C | -disable-* | --disable-* \
3087 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3088 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3089 | -with-* | --with-* | -without-* | --without-* | --x)
3090 case "$ac_configure_args0 " in
3091 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3092 esac
3094 -* ) ac_must_keep_next=true ;;
3095 esac
3097 as_fn_append ac_configure_args " '$ac_arg'"
3099 esac
3100 done
3101 done
3102 { ac_configure_args0=; unset ac_configure_args0;}
3103 { ac_configure_args1=; unset ac_configure_args1;}
3105 # When interrupted or exit'd, cleanup temporary files, and complete
3106 # config.log. We remove comments because anyway the quotes in there
3107 # would cause problems or look ugly.
3108 # WARNING: Use '\'' to represent an apostrophe within the trap.
3109 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3110 trap 'exit_status=$?
3111 # Save into config.log some information that might help in debugging.
3113 echo
3115 $as_echo "## ---------------- ##
3116 ## Cache variables. ##
3117 ## ---------------- ##"
3118 echo
3119 # The following way of writing the cache mishandles newlines in values,
3121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3122 eval ac_val=\$$ac_var
3123 case $ac_val in #(
3124 *${as_nl}*)
3125 case $ac_var in #(
3126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3127 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3128 esac
3129 case $ac_var in #(
3130 _ | IFS | as_nl) ;; #(
3131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3132 *) { eval $ac_var=; unset $ac_var;} ;;
3133 esac ;;
3134 esac
3135 done
3136 (set) 2>&1 |
3137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3138 *${as_nl}ac_space=\ *)
3139 sed -n \
3140 "s/'\''/'\''\\\\'\'''\''/g;
3141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3142 ;; #(
3144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3146 esac |
3147 sort
3149 echo
3151 $as_echo "## ----------------- ##
3152 ## Output variables. ##
3153 ## ----------------- ##"
3154 echo
3155 for ac_var in $ac_subst_vars
3157 eval ac_val=\$$ac_var
3158 case $ac_val in
3159 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3160 esac
3161 $as_echo "$ac_var='\''$ac_val'\''"
3162 done | sort
3163 echo
3165 if test -n "$ac_subst_files"; then
3166 $as_echo "## ------------------- ##
3167 ## File substitutions. ##
3168 ## ------------------- ##"
3169 echo
3170 for ac_var in $ac_subst_files
3172 eval ac_val=\$$ac_var
3173 case $ac_val in
3174 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3175 esac
3176 $as_echo "$ac_var='\''$ac_val'\''"
3177 done | sort
3178 echo
3181 if test -s confdefs.h; then
3182 $as_echo "## ----------- ##
3183 ## confdefs.h. ##
3184 ## ----------- ##"
3185 echo
3186 cat confdefs.h
3187 echo
3189 test "$ac_signal" != 0 &&
3190 $as_echo "$as_me: caught signal $ac_signal"
3191 $as_echo "$as_me: exit $exit_status"
3192 } >&5
3193 rm -f core *.core core.conftest.* &&
3194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3195 exit $exit_status
3197 for ac_signal in 1 2 13 15; do
3198 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3199 done
3200 ac_signal=0
3202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3203 rm -f -r conftest* confdefs.h
3205 $as_echo "/* confdefs.h */" > confdefs.h
3207 # Predefined preprocessor variables.
3209 cat >>confdefs.h <<_ACEOF
3210 #define PACKAGE_NAME "$PACKAGE_NAME"
3211 _ACEOF
3213 cat >>confdefs.h <<_ACEOF
3214 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3215 _ACEOF
3217 cat >>confdefs.h <<_ACEOF
3218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3219 _ACEOF
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_STRING "$PACKAGE_STRING"
3223 _ACEOF
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3227 _ACEOF
3229 cat >>confdefs.h <<_ACEOF
3230 #define PACKAGE_URL "$PACKAGE_URL"
3231 _ACEOF
3234 # Let the site file select an alternate cache file if it wants to.
3235 # Prefer an explicitly selected file to automatically selected ones.
3236 ac_site_file1=NONE
3237 ac_site_file2=NONE
3238 if test -n "$CONFIG_SITE"; then
3239 # We do not want a PATH search for config.site.
3240 case $CONFIG_SITE in #((
3241 -*) ac_site_file1=./$CONFIG_SITE;;
3242 */*) ac_site_file1=$CONFIG_SITE;;
3243 *) ac_site_file1=./$CONFIG_SITE;;
3244 esac
3245 elif test "x$prefix" != xNONE; then
3246 ac_site_file1=$prefix/share/config.site
3247 ac_site_file2=$prefix/etc/config.site
3248 else
3249 ac_site_file1=$ac_default_prefix/share/config.site
3250 ac_site_file2=$ac_default_prefix/etc/config.site
3252 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3254 test "x$ac_site_file" = xNONE && continue
3255 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3257 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3258 sed 's/^/| /' "$ac_site_file" >&5
3259 . "$ac_site_file" \
3260 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 as_fn_error $? "failed to load site script $ac_site_file
3263 See \`config.log' for more details" "$LINENO" 5; }
3265 done
3267 if test -r "$cache_file"; then
3268 # Some versions of bash will fail to source /dev/null (special files
3269 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3270 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3272 $as_echo "$as_me: loading cache $cache_file" >&6;}
3273 case $cache_file in
3274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3275 *) . "./$cache_file";;
3276 esac
3278 else
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3280 $as_echo "$as_me: creating cache $cache_file" >&6;}
3281 >$cache_file
3284 # Check that the precious variables saved in the cache have kept the same
3285 # value.
3286 ac_cache_corrupted=false
3287 for ac_var in $ac_precious_vars; do
3288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3289 eval ac_new_set=\$ac_env_${ac_var}_set
3290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3291 eval ac_new_val=\$ac_env_${ac_var}_value
3292 case $ac_old_set,$ac_new_set in
3293 set,)
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3295 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3296 ac_cache_corrupted=: ;;
3297 ,set)
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3299 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3300 ac_cache_corrupted=: ;;
3301 ,);;
3303 if test "x$ac_old_val" != "x$ac_new_val"; then
3304 # differences in whitespace do not lead to failure.
3305 ac_old_val_w=`echo x $ac_old_val`
3306 ac_new_val_w=`echo x $ac_new_val`
3307 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3309 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3310 ac_cache_corrupted=:
3311 else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3313 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3314 eval $ac_var=\$ac_old_val
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3317 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3319 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3320 fi;;
3321 esac
3322 # Pass precious variables to config.status.
3323 if test "$ac_new_set" = set; then
3324 case $ac_new_val in
3325 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3326 *) ac_arg=$ac_var=$ac_new_val ;;
3327 esac
3328 case " $ac_configure_args " in
3329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3330 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3331 esac
3333 done
3334 if $ac_cache_corrupted; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3338 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3339 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3341 ## -------------------- ##
3342 ## Main body of script. ##
3343 ## -------------------- ##
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353 ac_config_headers="$ac_config_headers include/config.h"
3355 ac_aux_dir=
3356 for ac_dir in tools "$srcdir"/tools; do
3357 if test -f "$ac_dir/install-sh"; then
3358 ac_aux_dir=$ac_dir
3359 ac_install_sh="$ac_aux_dir/install-sh -c"
3360 break
3361 elif test -f "$ac_dir/install.sh"; then
3362 ac_aux_dir=$ac_dir
3363 ac_install_sh="$ac_aux_dir/install.sh -c"
3364 break
3365 elif test -f "$ac_dir/shtool"; then
3366 ac_aux_dir=$ac_dir
3367 ac_install_sh="$ac_aux_dir/shtool install -c"
3368 break
3370 done
3371 if test -z "$ac_aux_dir"; then
3372 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3375 # These three variables are undocumented and unsupported,
3376 # and are intended to be withdrawn in a future Autoconf release.
3377 # They can cause serious problems if a builder's source tree is in a directory
3378 # whose full name contains unusual characters.
3379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3385 libwine_version="1.0"
3389 # Check whether --enable-win16 was given.
3390 if test "${enable_win16+set}" = set; then :
3391 enableval=$enable_win16;
3394 # Check whether --enable-win64 was given.
3395 if test "${enable_win64+set}" = set; then :
3396 enableval=$enable_win64;
3399 # Check whether --enable-tests was given.
3400 if test "${enable_tests+set}" = set; then :
3401 enableval=$enable_tests;
3404 # Check whether --enable-maintainer-mode was given.
3405 if test "${enable_maintainer_mode+set}" = set; then :
3406 enableval=$enable_maintainer_mode;
3411 # Check whether --with-alsa was given.
3412 if test "${with_alsa+set}" = set; then :
3413 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3417 # Check whether --with-capi was given.
3418 if test "${with_capi+set}" = set; then :
3419 withval=$with_capi;
3423 # Check whether --with-cms was given.
3424 if test "${with_cms+set}" = set; then :
3425 withval=$with_cms;
3429 # Check whether --with-coreaudio was given.
3430 if test "${with_coreaudio+set}" = set; then :
3431 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3435 # Check whether --with-cups was given.
3436 if test "${with_cups+set}" = set; then :
3437 withval=$with_cups;
3441 # Check whether --with-curses was given.
3442 if test "${with_curses+set}" = set; then :
3443 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3447 # Check whether --with-dbus was given.
3448 if test "${with_dbus+set}" = set; then :
3449 withval=$with_dbus;
3453 # Check whether --with-fontconfig was given.
3454 if test "${with_fontconfig+set}" = set; then :
3455 withval=$with_fontconfig;
3459 # Check whether --with-freetype was given.
3460 if test "${with_freetype+set}" = set; then :
3461 withval=$with_freetype;
3465 # Check whether --with-gettext was given.
3466 if test "${with_gettext+set}" = set; then :
3467 withval=$with_gettext;
3471 # Check whether --with-gettextpo was given.
3472 if test "${with_gettextpo+set}" = set; then :
3473 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3477 # Check whether --with-gphoto was given.
3478 if test "${with_gphoto+set}" = set; then :
3479 withval=$with_gphoto;
3483 # Check whether --with-glu was given.
3484 if test "${with_glu+set}" = set; then :
3485 withval=$with_glu;
3489 # Check whether --with-gnutls was given.
3490 if test "${with_gnutls+set}" = set; then :
3491 withval=$with_gnutls;
3495 # Check whether --with-gsm was given.
3496 if test "${with_gsm+set}" = set; then :
3497 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3501 # Check whether --with-gstreamer was given.
3502 if test "${with_gstreamer+set}" = set; then :
3503 withval=$with_gstreamer;
3507 # Check whether --with-hal was given.
3508 if test "${with_hal+set}" = set; then :
3509 withval=$with_hal;
3513 # Check whether --with-jpeg was given.
3514 if test "${with_jpeg+set}" = set; then :
3515 withval=$with_jpeg;
3519 # Check whether --with-ldap was given.
3520 if test "${with_ldap+set}" = set; then :
3521 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3525 # Check whether --with-mpg123 was given.
3526 if test "${with_mpg123+set}" = set; then :
3527 withval=$with_mpg123;
3531 # Check whether --with-netapi was given.
3532 if test "${with_netapi+set}" = set; then :
3533 withval=$with_netapi;
3537 # Check whether --with-openal was given.
3538 if test "${with_openal+set}" = set; then :
3539 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3543 # Check whether --with-opencl was given.
3544 if test "${with_opencl+set}" = set; then :
3545 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3549 # Check whether --with-opengl was given.
3550 if test "${with_opengl+set}" = set; then :
3551 withval=$with_opengl;
3555 # Check whether --with-osmesa was given.
3556 if test "${with_osmesa+set}" = set; then :
3557 withval=$with_osmesa;
3561 # Check whether --with-oss was given.
3562 if test "${with_oss+set}" = set; then :
3563 withval=$with_oss;
3567 # Check whether --with-pcap was given.
3568 if test "${with_pcap+set}" = set; then :
3569 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3573 # Check whether --with-png was given.
3574 if test "${with_png+set}" = set; then :
3575 withval=$with_png;
3579 # Check whether --with-pthread was given.
3580 if test "${with_pthread+set}" = set; then :
3581 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3585 # Check whether --with-pulse was given.
3586 if test "${with_pulse+set}" = set; then :
3587 withval=$with_pulse;
3591 # Check whether --with-sane was given.
3592 if test "${with_sane+set}" = set; then :
3593 withval=$with_sane;
3597 # Check whether --with-tiff was given.
3598 if test "${with_tiff+set}" = set; then :
3599 withval=$with_tiff;
3603 # Check whether --with-udev was given.
3604 if test "${with_udev+set}" = set; then :
3605 withval=$with_udev;
3609 # Check whether --with-v4l was given.
3610 if test "${with_v4l+set}" = set; then :
3611 withval=$with_v4l;
3615 # Check whether --with-xcomposite was given.
3616 if test "${with_xcomposite+set}" = set; then :
3617 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3621 # Check whether --with-xcursor was given.
3622 if test "${with_xcursor+set}" = set; then :
3623 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3627 # Check whether --with-xinerama was given.
3628 if test "${with_xinerama+set}" = set; then :
3629 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3633 # Check whether --with-xinput was given.
3634 if test "${with_xinput+set}" = set; then :
3635 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3639 # Check whether --with-xinput2 was given.
3640 if test "${with_xinput2+set}" = set; then :
3641 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3645 # Check whether --with-xml was given.
3646 if test "${with_xml+set}" = set; then :
3647 withval=$with_xml;
3651 # Check whether --with-xrandr was given.
3652 if test "${with_xrandr+set}" = set; then :
3653 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3657 # Check whether --with-xrender was given.
3658 if test "${with_xrender+set}" = set; then :
3659 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3663 # Check whether --with-xshape was given.
3664 if test "${with_xshape+set}" = set; then :
3665 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3669 # Check whether --with-xshm was given.
3670 if test "${with_xshm+set}" = set; then :
3671 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3675 # Check whether --with-xslt was given.
3676 if test "${with_xslt+set}" = set; then :
3677 withval=$with_xslt;
3681 # Check whether --with-xxf86vm was given.
3682 if test "${with_xxf86vm+set}" = set; then :
3683 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
3687 # Check whether --with-zlib was given.
3688 if test "${with_zlib+set}" = set; then :
3689 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3694 # Check whether --with-wine-tools was given.
3695 if test "${with_wine_tools+set}" = set; then :
3696 withval=$with_wine_tools;
3700 # Check whether --with-wine64 was given.
3701 if test "${with_wine64+set}" = set; then :
3702 withval=$with_wine64;
3706 # Make sure we can run config.sub.
3707 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3708 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3711 $as_echo_n "checking build system type... " >&6; }
3712 if ${ac_cv_build+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 ac_build_alias=$build_alias
3716 test "x$ac_build_alias" = x &&
3717 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3718 test "x$ac_build_alias" = x &&
3719 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3720 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3721 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3725 $as_echo "$ac_cv_build" >&6; }
3726 case $ac_cv_build in
3727 *-*-*) ;;
3728 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3729 esac
3730 build=$ac_cv_build
3731 ac_save_IFS=$IFS; IFS='-'
3732 set x $ac_cv_build
3733 shift
3734 build_cpu=$1
3735 build_vendor=$2
3736 shift; shift
3737 # Remember, the first character of IFS is used to create $*,
3738 # except with old shells:
3739 build_os=$*
3740 IFS=$ac_save_IFS
3741 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3745 $as_echo_n "checking host system type... " >&6; }
3746 if ${ac_cv_host+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test "x$host_alias" = x; then
3750 ac_cv_host=$ac_cv_build
3751 else
3752 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3753 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3758 $as_echo "$ac_cv_host" >&6; }
3759 case $ac_cv_host in
3760 *-*-*) ;;
3761 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3762 esac
3763 host=$ac_cv_host
3764 ac_save_IFS=$IFS; IFS='-'
3765 set x $ac_cv_host
3766 shift
3767 host_cpu=$1
3768 host_vendor=$2
3769 shift; shift
3770 # Remember, the first character of IFS is used to create $*,
3771 # except with old shells:
3772 host_os=$*
3773 IFS=$ac_save_IFS
3774 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3778 case "$srcdir" in
3779 .) ;;
3780 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3781 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3782 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3783 fi ;;
3784 esac
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3788 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3789 set x ${MAKE-make}
3790 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3791 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 cat >conftest.make <<\_ACEOF
3795 SHELL = /bin/sh
3796 all:
3797 @echo '@@@%%%=$(MAKE)=@@@%%%'
3798 _ACEOF
3799 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3800 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3801 *@@@%%%=?*=@@@%%%*)
3802 eval ac_cv_prog_make_${ac_make}_set=yes;;
3804 eval ac_cv_prog_make_${ac_make}_set=no;;
3805 esac
3806 rm -f conftest.make
3808 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3810 $as_echo "yes" >&6; }
3811 SET_MAKE=
3812 else
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3815 SET_MAKE="MAKE=${MAKE-make}"
3818 ac_ext=c
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3823 if test -n "$ac_tool_prefix"; then
3824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3825 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_CC+:} false; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3862 if test -z "$ac_cv_prog_CC"; then
3863 ac_ct_CC=$CC
3864 # Extract the first word of "gcc", so it can be a program name with args.
3865 set dummy gcc; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3869 $as_echo_n "(cached) " >&6
3870 else
3871 if test -n "$ac_ct_CC"; then
3872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3873 else
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3875 for as_dir in $PATH
3877 IFS=$as_save_IFS
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_ac_ct_CC="gcc"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 break 2
3885 done
3886 done
3887 IFS=$as_save_IFS
3891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3892 if test -n "$ac_ct_CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3894 $as_echo "$ac_ct_CC" >&6; }
3895 else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3900 if test "x$ac_ct_CC" = x; then
3901 CC=""
3902 else
3903 case $cross_compiling:$ac_tool_warned in
3904 yes:)
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3907 ac_tool_warned=yes ;;
3908 esac
3909 CC=$ac_ct_CC
3911 else
3912 CC="$ac_cv_prog_CC"
3915 if test -z "$CC"; then
3916 if test -n "$ac_tool_prefix"; then
3917 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3918 set dummy ${ac_tool_prefix}cc; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false; then :
3922 $as_echo_n "(cached) " >&6
3923 else
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC="$CC" # Let the user override the test.
3926 else
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in $PATH
3930 IFS=$as_save_IFS
3931 test -z "$as_dir" && as_dir=.
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_CC="${ac_tool_prefix}cc"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 break 2
3938 done
3939 done
3940 IFS=$as_save_IFS
3944 CC=$ac_cv_prog_CC
3945 if test -n "$CC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947 $as_echo "$CC" >&6; }
3948 else
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3956 if test -z "$CC"; then
3957 # Extract the first word of "cc", so it can be a program name with args.
3958 set dummy cc; ac_word=$2
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if ${ac_cv_prog_CC+:} false; then :
3962 $as_echo_n "(cached) " >&6
3963 else
3964 if test -n "$CC"; then
3965 ac_cv_prog_CC="$CC" # Let the user override the test.
3966 else
3967 ac_prog_rejected=no
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 for as_dir in $PATH
3971 IFS=$as_save_IFS
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3976 ac_prog_rejected=yes
3977 continue
3979 ac_cv_prog_CC="cc"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3985 IFS=$as_save_IFS
3987 if test $ac_prog_rejected = yes; then
3988 # We found a bogon in the path, so make sure we never use it.
3989 set dummy $ac_cv_prog_CC
3990 shift
3991 if test $# != 0; then
3992 # We chose a different compiler from the bogus one.
3993 # However, it has the same basename, so the bogon will be chosen
3994 # first if we set CC to just the basename; use the full file name.
3995 shift
3996 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4001 CC=$ac_cv_prog_CC
4002 if test -n "$CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4004 $as_echo "$CC" >&6; }
4005 else
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4012 if test -z "$CC"; then
4013 if test -n "$ac_tool_prefix"; then
4014 for ac_prog in cl.exe
4016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if ${ac_cv_prog_CC+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
4023 if test -n "$CC"; then
4024 ac_cv_prog_CC="$CC" # Let the user override the test.
4025 else
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 for as_dir in $PATH
4029 IFS=$as_save_IFS
4030 test -z "$as_dir" && as_dir=.
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4033 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035 break 2
4037 done
4038 done
4039 IFS=$as_save_IFS
4043 CC=$ac_cv_prog_CC
4044 if test -n "$CC"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4046 $as_echo "$CC" >&6; }
4047 else
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4053 test -n "$CC" && break
4054 done
4056 if test -z "$CC"; then
4057 ac_ct_CC=$CC
4058 for ac_prog in cl.exe
4060 # Extract the first word of "$ac_prog", so it can be a program name with args.
4061 set dummy $ac_prog; ac_word=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4065 $as_echo_n "(cached) " >&6
4066 else
4067 if test -n "$ac_ct_CC"; then
4068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4069 else
4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 for as_dir in $PATH
4073 IFS=$as_save_IFS
4074 test -z "$as_dir" && as_dir=.
4075 for ac_exec_ext in '' $ac_executable_extensions; do
4076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_prog_ac_ct_CC="$ac_prog"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4079 break 2
4081 done
4082 done
4083 IFS=$as_save_IFS
4087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4088 if test -n "$ac_ct_CC"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4090 $as_echo "$ac_ct_CC" >&6; }
4091 else
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4097 test -n "$ac_ct_CC" && break
4098 done
4100 if test "x$ac_ct_CC" = x; then
4101 CC=""
4102 else
4103 case $cross_compiling:$ac_tool_warned in
4104 yes:)
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4107 ac_tool_warned=yes ;;
4108 esac
4109 CC=$ac_ct_CC
4116 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error $? "no acceptable C compiler found in \$PATH
4119 See \`config.log' for more details" "$LINENO" 5; }
4121 # Provide some information about the compiler.
4122 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4123 set X $ac_compile
4124 ac_compiler=$2
4125 for ac_option in --version -v -V -qversion; do
4126 { { ac_try="$ac_compiler $ac_option >&5"
4127 case "(($ac_try" in
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4130 esac
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$ac_try_echo"; } >&5
4133 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4134 ac_status=$?
4135 if test -s conftest.err; then
4136 sed '10a\
4137 ... rest of stderr output deleted ...
4138 10q' conftest.err >conftest.er1
4139 cat conftest.er1 >&5
4141 rm -f conftest.er1 conftest.err
4142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4143 test $ac_status = 0; }
4144 done
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4154 return 0;
4156 _ACEOF
4157 ac_clean_files_save=$ac_clean_files
4158 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4159 # Try to create an executable without -o first, disregard a.out.
4160 # It will help us diagnose broken compilers, and finding out an intuition
4161 # of exeext.
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4163 $as_echo_n "checking whether the C compiler works... " >&6; }
4164 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4166 # The possible output files:
4167 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4169 ac_rmfiles=
4170 for ac_file in $ac_files
4172 case $ac_file in
4173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4175 esac
4176 done
4177 rm -f $ac_rmfiles
4179 if { { ac_try="$ac_link_default"
4180 case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183 esac
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 $as_echo "$ac_try_echo"; } >&5
4186 (eval "$ac_link_default") 2>&5
4187 ac_status=$?
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }; then :
4190 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4191 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4192 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4193 # so that the user can short-circuit this test for compilers unknown to
4194 # Autoconf.
4195 for ac_file in $ac_files ''
4197 test -f "$ac_file" || continue
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4201 [ab].out )
4202 # We found the default executable, but exeext='' is most
4203 # certainly right.
4204 break;;
4205 *.* )
4206 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4207 then :; else
4208 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4210 # We set ac_cv_exeext here because the later test for it is not
4211 # safe: cross compilers may not add the suffix if given an `-o'
4212 # argument, so we may need to know it at that point already.
4213 # Even if this section looks crufty: it has the advantage of
4214 # actually working.
4215 break;;
4217 break;;
4218 esac
4219 done
4220 test "$ac_cv_exeext" = no && ac_cv_exeext=
4222 else
4223 ac_file=''
4225 if test -z "$ac_file"; then :
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 $as_echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error 77 "C compiler cannot create executables
4234 See \`config.log' for more details" "$LINENO" 5; }
4235 else
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4237 $as_echo "yes" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4240 $as_echo_n "checking for C compiler default output file name... " >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4242 $as_echo "$ac_file" >&6; }
4243 ac_exeext=$ac_cv_exeext
4245 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4246 ac_clean_files=$ac_clean_files_save
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4248 $as_echo_n "checking for suffix of executables... " >&6; }
4249 if { { ac_try="$ac_link"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_link") 2>&5
4257 ac_status=$?
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }; then :
4260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4262 # work properly (i.e., refer to `conftest.exe'), while it won't with
4263 # `rm'.
4264 for ac_file in conftest.exe conftest conftest.*; do
4265 test -f "$ac_file" || continue
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4269 break;;
4270 * ) break;;
4271 esac
4272 done
4273 else
4274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4277 See \`config.log' for more details" "$LINENO" 5; }
4279 rm -f conftest conftest$ac_cv_exeext
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4281 $as_echo "$ac_cv_exeext" >&6; }
4283 rm -f conftest.$ac_ext
4284 EXEEXT=$ac_cv_exeext
4285 ac_exeext=$EXEEXT
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4288 #include <stdio.h>
4290 main ()
4292 FILE *f = fopen ("conftest.out", "w");
4293 return ferror (f) || fclose (f) != 0;
4296 return 0;
4298 _ACEOF
4299 ac_clean_files="$ac_clean_files conftest.out"
4300 # Check that the compiler produces executables we can run. If not, either
4301 # the compiler is broken, or we cross compile.
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4303 $as_echo_n "checking whether we are cross compiling... " >&6; }
4304 if test "$cross_compiling" != yes; then
4305 { { ac_try="$ac_link"
4306 case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_link") 2>&5
4313 ac_status=$?
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4316 if { ac_try='./conftest$ac_cv_exeext'
4317 { { case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_try") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; }; then
4327 cross_compiling=no
4328 else
4329 if test "$cross_compiling" = maybe; then
4330 cross_compiling=yes
4331 else
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error $? "cannot run C compiled programs.
4335 If you meant to cross compile, use \`--host'.
4336 See \`config.log' for more details" "$LINENO" 5; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4341 $as_echo "$cross_compiling" >&6; }
4343 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4344 ac_clean_files=$ac_clean_files_save
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4346 $as_echo_n "checking for suffix of object files... " >&6; }
4347 if ${ac_cv_objext+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4354 main ()
4358 return 0;
4360 _ACEOF
4361 rm -f conftest.o conftest.obj
4362 if { { ac_try="$ac_compile"
4363 case "(($ac_try" in
4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 *) ac_try_echo=$ac_try;;
4366 esac
4367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4368 $as_echo "$ac_try_echo"; } >&5
4369 (eval "$ac_compile") 2>&5
4370 ac_status=$?
4371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4372 test $ac_status = 0; }; then :
4373 for ac_file in conftest.o conftest.obj conftest.*; do
4374 test -f "$ac_file" || continue;
4375 case $ac_file in
4376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4378 break;;
4379 esac
4380 done
4381 else
4382 $as_echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4387 as_fn_error $? "cannot compute suffix of object files: cannot compile
4388 See \`config.log' for more details" "$LINENO" 5; }
4390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4393 $as_echo "$ac_cv_objext" >&6; }
4394 OBJEXT=$ac_cv_objext
4395 ac_objext=$OBJEXT
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4397 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4398 if ${ac_cv_c_compiler_gnu+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4405 main ()
4407 #ifndef __GNUC__
4408 choke me
4409 #endif
4412 return 0;
4414 _ACEOF
4415 if ac_fn_c_try_compile "$LINENO"; then :
4416 ac_compiler_gnu=yes
4417 else
4418 ac_compiler_gnu=no
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4425 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4426 if test $ac_compiler_gnu = yes; then
4427 GCC=yes
4428 else
4429 GCC=
4431 ac_test_CFLAGS=${CFLAGS+set}
4432 ac_save_CFLAGS=$CFLAGS
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4434 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4435 if ${ac_cv_prog_cc_g+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 ac_save_c_werror_flag=$ac_c_werror_flag
4439 ac_c_werror_flag=yes
4440 ac_cv_prog_cc_g=no
4441 CFLAGS="-g"
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4446 main ()
4450 return 0;
4452 _ACEOF
4453 if ac_fn_c_try_compile "$LINENO"; then :
4454 ac_cv_prog_cc_g=yes
4455 else
4456 CFLAGS=""
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 main ()
4465 return 0;
4467 _ACEOF
4468 if ac_fn_c_try_compile "$LINENO"; then :
4470 else
4471 ac_c_werror_flag=$ac_save_c_werror_flag
4472 CFLAGS="-g"
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4481 return 0;
4483 _ACEOF
4484 if ac_fn_c_try_compile "$LINENO"; then :
4485 ac_cv_prog_cc_g=yes
4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 ac_c_werror_flag=$ac_save_c_werror_flag
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4495 $as_echo "$ac_cv_prog_cc_g" >&6; }
4496 if test "$ac_test_CFLAGS" = set; then
4497 CFLAGS=$ac_save_CFLAGS
4498 elif test $ac_cv_prog_cc_g = yes; then
4499 if test "$GCC" = yes; then
4500 CFLAGS="-g -O2"
4501 else
4502 CFLAGS="-g"
4504 else
4505 if test "$GCC" = yes; then
4506 CFLAGS="-O2"
4507 else
4508 CFLAGS=
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4512 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4513 if ${ac_cv_prog_cc_c89+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_cv_prog_cc_c89=no
4517 ac_save_CC=$CC
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4520 #include <stdarg.h>
4521 #include <stdio.h>
4522 struct stat;
4523 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4524 struct buf { int x; };
4525 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4526 static char *e (p, i)
4527 char **p;
4528 int i;
4530 return p[i];
4532 static char *f (char * (*g) (char **, int), char **p, ...)
4534 char *s;
4535 va_list v;
4536 va_start (v,p);
4537 s = g (p, va_arg (v,int));
4538 va_end (v);
4539 return s;
4542 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4543 function prototypes and stuff, but not '\xHH' hex character constants.
4544 These don't provoke an error unfortunately, instead are silently treated
4545 as 'x'. The following induces an error, until -std is added to get
4546 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4547 array size at least. It's necessary to write '\x00'==0 to get something
4548 that's true only with -std. */
4549 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4551 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4552 inside strings and character constants. */
4553 #define FOO(x) 'x'
4554 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4556 int test (int i, double x);
4557 struct s1 {int (*f) (int a);};
4558 struct s2 {int (*f) (double a);};
4559 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4560 int argc;
4561 char **argv;
4563 main ()
4565 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4567 return 0;
4569 _ACEOF
4570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4571 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4573 CC="$ac_save_CC $ac_arg"
4574 if ac_fn_c_try_compile "$LINENO"; then :
4575 ac_cv_prog_cc_c89=$ac_arg
4577 rm -f core conftest.err conftest.$ac_objext
4578 test "x$ac_cv_prog_cc_c89" != "xno" && break
4579 done
4580 rm -f conftest.$ac_ext
4581 CC=$ac_save_CC
4584 # AC_CACHE_VAL
4585 case "x$ac_cv_prog_cc_c89" in
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4588 $as_echo "none needed" >&6; } ;;
4589 xno)
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4591 $as_echo "unsupported" >&6; } ;;
4593 CC="$CC $ac_cv_prog_cc_c89"
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4595 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4596 esac
4597 if test "x$ac_cv_prog_cc_c89" != xno; then :
4601 ac_ext=c
4602 ac_cpp='$CPP $CPPFLAGS'
4603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 ac_ext=cpp
4608 ac_cpp='$CXXCPP $CPPFLAGS'
4609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4612 if test -z "$CXX"; then
4613 if test -n "$CCC"; then
4614 CXX=$CCC
4615 else
4616 if test -n "$ac_tool_prefix"; then
4617 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if ${ac_cv_prog_CXX+:} false; then :
4624 $as_echo_n "(cached) " >&6
4625 else
4626 if test -n "$CXX"; then
4627 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4628 else
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH
4632 IFS=$as_save_IFS
4633 test -z "$as_dir" && as_dir=.
4634 for ac_exec_ext in '' $ac_executable_extensions; do
4635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4636 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 break 2
4640 done
4641 done
4642 IFS=$as_save_IFS
4646 CXX=$ac_cv_prog_CXX
4647 if test -n "$CXX"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4649 $as_echo "$CXX" >&6; }
4650 else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4656 test -n "$CXX" && break
4657 done
4659 if test -z "$CXX"; then
4660 ac_ct_CXX=$CXX
4661 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4663 # Extract the first word of "$ac_prog", so it can be a program name with args.
4664 set dummy $ac_prog; ac_word=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 if test -n "$ac_ct_CXX"; then
4671 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CXX="$ac_prog"
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682 break 2
4684 done
4685 done
4686 IFS=$as_save_IFS
4690 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4691 if test -n "$ac_ct_CXX"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4693 $as_echo "$ac_ct_CXX" >&6; }
4694 else
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4700 test -n "$ac_ct_CXX" && break
4701 done
4703 if test "x$ac_ct_CXX" = x; then
4704 CXX="g++"
4705 else
4706 case $cross_compiling:$ac_tool_warned in
4707 yes:)
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4711 esac
4712 CXX=$ac_ct_CXX
4718 # Provide some information about the compiler.
4719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4720 set X $ac_compile
4721 ac_compiler=$2
4722 for ac_option in --version -v -V -qversion; do
4723 { { ac_try="$ac_compiler $ac_option >&5"
4724 case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4729 $as_echo "$ac_try_echo"; } >&5
4730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4731 ac_status=$?
4732 if test -s conftest.err; then
4733 sed '10a\
4734 ... rest of stderr output deleted ...
4735 10q' conftest.err >conftest.er1
4736 cat conftest.er1 >&5
4738 rm -f conftest.er1 conftest.err
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }
4741 done
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4744 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4745 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4746 $as_echo_n "(cached) " >&6
4747 else
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4752 main ()
4754 #ifndef __GNUC__
4755 choke me
4756 #endif
4759 return 0;
4761 _ACEOF
4762 if ac_fn_cxx_try_compile "$LINENO"; then :
4763 ac_compiler_gnu=yes
4764 else
4765 ac_compiler_gnu=no
4767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4768 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4772 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4773 if test $ac_compiler_gnu = yes; then
4774 GXX=yes
4775 else
4776 GXX=
4778 ac_test_CXXFLAGS=${CXXFLAGS+set}
4779 ac_save_CXXFLAGS=$CXXFLAGS
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4781 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4782 if ${ac_cv_prog_cxx_g+:} false; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4786 ac_cxx_werror_flag=yes
4787 ac_cv_prog_cxx_g=no
4788 CXXFLAGS="-g"
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4793 main ()
4797 return 0;
4799 _ACEOF
4800 if ac_fn_cxx_try_compile "$LINENO"; then :
4801 ac_cv_prog_cxx_g=yes
4802 else
4803 CXXFLAGS=""
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4808 main ()
4812 return 0;
4814 _ACEOF
4815 if ac_fn_cxx_try_compile "$LINENO"; then :
4817 else
4818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4819 CXXFLAGS="-g"
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4828 return 0;
4830 _ACEOF
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 ac_cv_prog_cxx_g=yes
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4842 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4843 if test "$ac_test_CXXFLAGS" = set; then
4844 CXXFLAGS=$ac_save_CXXFLAGS
4845 elif test $ac_cv_prog_cxx_g = yes; then
4846 if test "$GXX" = yes; then
4847 CXXFLAGS="-g -O2"
4848 else
4849 CXXFLAGS="-g"
4851 else
4852 if test "$GXX" = yes; then
4853 CXXFLAGS="-O2"
4854 else
4855 CXXFLAGS=
4858 ac_ext=c
4859 ac_cpp='$CPP $CPPFLAGS'
4860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864 if test -n "$ac_tool_prefix"; then
4865 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4866 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_CPPBIN+:} false; then :
4870 $as_echo_n "(cached) " >&6
4871 else
4872 if test -n "$CPPBIN"; then
4873 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 break 2
4886 done
4887 done
4888 IFS=$as_save_IFS
4892 CPPBIN=$ac_cv_prog_CPPBIN
4893 if test -n "$CPPBIN"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4895 $as_echo "$CPPBIN" >&6; }
4896 else
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4903 if test -z "$ac_cv_prog_CPPBIN"; then
4904 ac_ct_CPPBIN=$CPPBIN
4905 # Extract the first word of "cpp", so it can be a program name with args.
4906 set dummy cpp; ac_word=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4910 $as_echo_n "(cached) " >&6
4911 else
4912 if test -n "$ac_ct_CPPBIN"; then
4913 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_ac_ct_CPPBIN="cpp"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4928 IFS=$as_save_IFS
4932 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4933 if test -n "$ac_ct_CPPBIN"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4935 $as_echo "$ac_ct_CPPBIN" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4941 if test "x$ac_ct_CPPBIN" = x; then
4942 CPPBIN="cpp"
4943 else
4944 case $cross_compiling:$ac_tool_warned in
4945 yes:)
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned=yes ;;
4949 esac
4950 CPPBIN=$ac_ct_CPPBIN
4952 else
4953 CPPBIN="$ac_cv_prog_CPPBIN"
4957 cat >>confdefs.h <<_ACEOF
4958 #define EXEEXT "$ac_exeext"
4959 _ACEOF
4961 if test -n "$ac_tool_prefix"; then
4962 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4963 set dummy ${ac_tool_prefix}ld; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_LD+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 if test -n "$LD"; then
4970 ac_cv_prog_LD="$LD" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_LD="${ac_tool_prefix}ld"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 break 2
4983 done
4984 done
4985 IFS=$as_save_IFS
4989 LD=$ac_cv_prog_LD
4990 if test -n "$LD"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4992 $as_echo "$LD" >&6; }
4993 else
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
5000 if test -z "$ac_cv_prog_LD"; then
5001 ac_ct_LD=$LD
5002 # Extract the first word of "ld", so it can be a program name with args.
5003 set dummy ld; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008 else
5009 if test -n "$ac_ct_LD"; then
5010 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015 IFS=$as_save_IFS
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_ac_ct_LD="ld"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 break 2
5023 done
5024 done
5025 IFS=$as_save_IFS
5029 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5030 if test -n "$ac_ct_LD"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5032 $as_echo "$ac_ct_LD" >&6; }
5033 else
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5038 if test "x$ac_ct_LD" = x; then
5039 LD=""
5040 else
5041 case $cross_compiling:$ac_tool_warned in
5042 yes:)
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5045 ac_tool_warned=yes ;;
5046 esac
5047 LD=$ac_ct_LD
5049 else
5050 LD="$ac_cv_prog_LD"
5054 case $host in
5055 *-darwin*)
5056 with_fontconfig=${with_fontconfig:-no}
5058 *-mingw32*|*-cygwin*)
5059 enable_win16=${enable_win16:-no}
5060 CFLAGS="$CFLAGS -D_WIN32"
5062 esac
5064 case $host in
5065 x86_64*|amd64*)
5066 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5067 then
5068 CC="$CC -m32"
5069 CXX="$CXX -m32"
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5071 $as_echo_n "checking whether $CC works... " >&6; }
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5077 main ()
5081 return 0;
5083 _ACEOF
5084 if ac_fn_c_try_link "$LINENO"; then :
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5086 $as_echo "yes" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5092 rm -f core conftest.err conftest.$ac_objext \
5093 conftest$ac_exeext conftest.$ac_ext
5094 host_cpu="i386"
5095 notice_platform="32-bit "
5096 TARGETFLAGS="-m32"
5098 enable_win16=${enable_win16:-yes}
5099 else
5100 if test "x${GCC}" = "xyes"
5101 then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5103 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5106 #include <stdarg.h>
5108 main ()
5110 void func(__builtin_ms_va_list *args);
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5117 $as_echo "yes" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5121 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5125 CC="$CC -m64"
5126 CXX="$CXX -m64"
5127 host_cpu="x86_64"
5128 notice_platform="64-bit "
5129 TARGETFLAGS="-m64"
5133 arm*)
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5135 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 int ac_test(int i) { return i; }
5140 main ()
5142 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5144 return 0;
5146 _ACEOF
5147 if ac_fn_c_try_link "$LINENO"; then :
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5153 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5155 rm -f core conftest.err conftest.$ac_objext \
5156 conftest$ac_exeext conftest.$ac_ext
5157 CFLAGS="$CFLAGS -marm"
5158 TARGETFLAGS="-marm"
5161 i[3456789]86*)
5162 enable_win16=${enable_win16:-yes}
5164 esac
5166 enable_win16=${enable_win16:-no}
5167 enable_win64=${enable_win64:-no}
5169 enable_winetest=${enable_winetest:-$enable_tests}
5171 if test -n "$with_wine64"
5172 then
5173 if test "x$enable_win64" = "xyes"
5174 then
5175 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5176 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5178 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5179 You should create a separate build directory and run configure from there." "$LINENO" 5
5180 enable_fonts=${enable_fonts:-no}
5181 enable_server=${enable_server:-no}
5182 elif test "x$enable_win64" = "xyes"
5183 then
5184 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5188 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5189 if ${wine_cv_toolsdir+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 wine_cv_toolsdir="$with_wine_tools"
5193 if test -z "$with_wine_tools"; then
5194 if test "$cross_compiling" = "yes"; then
5195 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5196 elif test -n "$with_wine64"; then
5197 wine_cv_toolsdir="$with_wine64"
5200 if test -z "$wine_cv_toolsdir"; then
5201 wine_makedep=tools/makedep
5202 wine_cv_toolsdir="\$(top_builddir)"
5203 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5204 wine_makedep=$wine_cv_toolsdir/tools/makedep
5205 case "$wine_cv_toolsdir" in
5206 /*) ;;
5207 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5208 esac
5209 enable_tools=${enable_tools:-no}
5210 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5211 else
5212 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5216 $as_echo "$wine_cv_toolsdir" >&6; }
5217 TOOLSDIR=$wine_cv_toolsdir
5219 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5220 then
5221 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5225 for ac_prog in flex
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy $ac_prog; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_FLEX+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$FLEX"; then
5235 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_FLEX="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 FLEX=$ac_cv_prog_FLEX
5255 if test -n "$FLEX"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5257 $as_echo "$FLEX" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$FLEX" && break
5265 done
5266 test -n "$FLEX" || FLEX="none"
5268 if test "$FLEX" = "none"
5269 then
5270 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5273 $as_echo_n "checking whether flex is recent enough... " >&6; }
5274 cat >conftest.l <<EOF
5275 %top{
5276 #include "prediluvian.h"
5280 if $FLEX -t conftest.l >/dev/null 2>&5
5281 then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5283 $as_echo "yes" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5287 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5290 for ac_prog in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy $ac_prog; ac_word=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_BISON+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_BISON="$ac_prog"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 BISON=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5322 $as_echo "$BISON" >&6; }
5323 else
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5329 test -n "$BISON" && break
5330 done
5331 test -n "$BISON" || BISON="none"
5333 if test "$BISON" = "none"
5334 then
5335 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5338 if test -n "$ac_tool_prefix"; then
5339 for ac_prog in ar gar
5341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_AR+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 if test -n "$AR"; then
5349 ac_cv_prog_AR="$AR" # Let the user override the test.
5350 else
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_exec_ext in '' $ac_executable_extensions; do
5357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 break 2
5362 done
5363 done
5364 IFS=$as_save_IFS
5368 AR=$ac_cv_prog_AR
5369 if test -n "$AR"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5371 $as_echo "$AR" >&6; }
5372 else
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5378 test -n "$AR" && break
5379 done
5381 if test -z "$AR"; then
5382 ac_ct_AR=$AR
5383 for ac_prog in ar gar
5385 # Extract the first word of "$ac_prog", so it can be a program name with args.
5386 set dummy $ac_prog; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if test -n "$ac_ct_AR"; then
5393 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5394 else
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5398 IFS=$as_save_IFS
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402 ac_cv_prog_ac_ct_AR="$ac_prog"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 break 2
5406 done
5407 done
5408 IFS=$as_save_IFS
5412 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5413 if test -n "$ac_ct_AR"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5415 $as_echo "$ac_ct_AR" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5422 test -n "$ac_ct_AR" && break
5423 done
5425 if test "x$ac_ct_AR" = x; then
5426 AR="ar"
5427 else
5428 case $cross_compiling:$ac_tool_warned in
5429 yes:)
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5432 ac_tool_warned=yes ;;
5433 esac
5434 AR=$ac_ct_AR
5438 if test -n "$ac_tool_prefix"; then
5439 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5440 set dummy ${ac_tool_prefix}strip; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_prog_STRIP+:} false; then :
5444 $as_echo_n "(cached) " >&6
5445 else
5446 if test -n "$STRIP"; then
5447 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5448 else
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in $PATH
5452 IFS=$as_save_IFS
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 break 2
5460 done
5461 done
5462 IFS=$as_save_IFS
5466 STRIP=$ac_cv_prog_STRIP
5467 if test -n "$STRIP"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5469 $as_echo "$STRIP" >&6; }
5470 else
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5477 if test -z "$ac_cv_prog_STRIP"; then
5478 ac_ct_STRIP=$STRIP
5479 # Extract the first word of "strip", so it can be a program name with args.
5480 set dummy strip; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if test -n "$ac_ct_STRIP"; then
5487 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5492 IFS=$as_save_IFS
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_ac_ct_STRIP="strip"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 break 2
5500 done
5501 done
5502 IFS=$as_save_IFS
5506 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5507 if test -n "$ac_ct_STRIP"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5509 $as_echo "$ac_ct_STRIP" >&6; }
5510 else
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5515 if test "x$ac_ct_STRIP" = x; then
5516 STRIP="strip"
5517 else
5518 case $cross_compiling:$ac_tool_warned in
5519 yes:)
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522 ac_tool_warned=yes ;;
5523 esac
5524 STRIP=$ac_ct_STRIP
5526 else
5527 STRIP="$ac_cv_prog_STRIP"
5530 ARFLAGS=rc
5532 if test -n "$ac_tool_prefix"; then
5533 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5534 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_RANLIB+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$RANLIB"; then
5541 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 RANLIB=$ac_cv_prog_RANLIB
5561 if test -n "$RANLIB"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5563 $as_echo "$RANLIB" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5571 if test -z "$ac_cv_prog_RANLIB"; then
5572 ac_ct_RANLIB=$RANLIB
5573 # Extract the first word of "ranlib", so it can be a program name with args.
5574 set dummy ranlib; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 if test -n "$ac_ct_RANLIB"; then
5581 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5586 IFS=$as_save_IFS
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_ac_ct_RANLIB="ranlib"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 break 2
5594 done
5595 done
5596 IFS=$as_save_IFS
5600 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5601 if test -n "$ac_ct_RANLIB"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5603 $as_echo "$ac_ct_RANLIB" >&6; }
5604 else
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5609 if test "x$ac_ct_RANLIB" = x; then
5610 RANLIB=":"
5611 else
5612 case $cross_compiling:$ac_tool_warned in
5613 yes:)
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5616 ac_tool_warned=yes ;;
5617 esac
5618 RANLIB=$ac_ct_RANLIB
5620 else
5621 RANLIB="$ac_cv_prog_RANLIB"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5625 $as_echo_n "checking whether ln -s works... " >&6; }
5626 LN_S=$as_ln_s
5627 if test "$LN_S" = "ln -s"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5629 $as_echo "yes" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5632 $as_echo "no, using $LN_S" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5636 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5637 if ${ac_cv_path_GREP+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 if test -z "$GREP"; then
5641 ac_path_GREP_found=false
5642 # Loop through the user's path and test for each of PROGNAME-LIST
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5646 IFS=$as_save_IFS
5647 test -z "$as_dir" && as_dir=.
5648 for ac_prog in grep ggrep; do
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5651 as_fn_executable_p "$ac_path_GREP" || continue
5652 # Check for GNU ac_path_GREP and select it if it is found.
5653 # Check for GNU $ac_path_GREP
5654 case `"$ac_path_GREP" --version 2>&1` in
5655 *GNU*)
5656 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5658 ac_count=0
5659 $as_echo_n 0123456789 >"conftest.in"
5660 while :
5662 cat "conftest.in" "conftest.in" >"conftest.tmp"
5663 mv "conftest.tmp" "conftest.in"
5664 cp "conftest.in" "conftest.nl"
5665 $as_echo 'GREP' >> "conftest.nl"
5666 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5667 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5668 as_fn_arith $ac_count + 1 && ac_count=$as_val
5669 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5670 # Best one so far, save it but keep looking for a better one
5671 ac_cv_path_GREP="$ac_path_GREP"
5672 ac_path_GREP_max=$ac_count
5674 # 10*(2^10) chars as input seems more than enough
5675 test $ac_count -gt 10 && break
5676 done
5677 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5678 esac
5680 $ac_path_GREP_found && break 3
5681 done
5682 done
5683 done
5684 IFS=$as_save_IFS
5685 if test -z "$ac_cv_path_GREP"; then
5686 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5688 else
5689 ac_cv_path_GREP=$GREP
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5694 $as_echo "$ac_cv_path_GREP" >&6; }
5695 GREP="$ac_cv_path_GREP"
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5699 $as_echo_n "checking for egrep... " >&6; }
5700 if ${ac_cv_path_EGREP+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5704 then ac_cv_path_EGREP="$GREP -E"
5705 else
5706 if test -z "$EGREP"; then
5707 ac_path_EGREP_found=false
5708 # Loop through the user's path and test for each of PROGNAME-LIST
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_prog in egrep; do
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5717 as_fn_executable_p "$ac_path_EGREP" || continue
5718 # Check for GNU ac_path_EGREP and select it if it is found.
5719 # Check for GNU $ac_path_EGREP
5720 case `"$ac_path_EGREP" --version 2>&1` in
5721 *GNU*)
5722 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5724 ac_count=0
5725 $as_echo_n 0123456789 >"conftest.in"
5726 while :
5728 cat "conftest.in" "conftest.in" >"conftest.tmp"
5729 mv "conftest.tmp" "conftest.in"
5730 cp "conftest.in" "conftest.nl"
5731 $as_echo 'EGREP' >> "conftest.nl"
5732 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5733 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5734 as_fn_arith $ac_count + 1 && ac_count=$as_val
5735 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5736 # Best one so far, save it but keep looking for a better one
5737 ac_cv_path_EGREP="$ac_path_EGREP"
5738 ac_path_EGREP_max=$ac_count
5740 # 10*(2^10) chars as input seems more than enough
5741 test $ac_count -gt 10 && break
5742 done
5743 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5744 esac
5746 $ac_path_EGREP_found && break 3
5747 done
5748 done
5749 done
5750 IFS=$as_save_IFS
5751 if test -z "$ac_cv_path_EGREP"; then
5752 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5754 else
5755 ac_cv_path_EGREP=$EGREP
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5761 $as_echo "$ac_cv_path_EGREP" >&6; }
5762 EGREP="$ac_cv_path_EGREP"
5765 # Extract the first word of "ldconfig", so it can be a program name with args.
5766 set dummy ldconfig; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_path_LDCONFIG+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 case $LDCONFIG in
5773 [\\/]* | ?:[\\/]*)
5774 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in /sbin /usr/sbin $PATH
5780 IFS=$as_save_IFS
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5784 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 break 2
5788 done
5789 done
5790 IFS=$as_save_IFS
5792 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5794 esac
5796 LDCONFIG=$ac_cv_path_LDCONFIG
5797 if test -n "$LDCONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5799 $as_echo "$LDCONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 for ac_prog in msgfmt
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_MSGFMT+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 if test -n "$MSGFMT"; then
5816 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_MSGFMT="$ac_prog"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 MSGFMT=$ac_cv_prog_MSGFMT
5836 if test -n "$MSGFMT"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5838 $as_echo "$MSGFMT" >&6; }
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 test -n "$MSGFMT" && break
5846 done
5847 test -n "$MSGFMT" || MSGFMT="false"
5849 if ${ac_tool_prefix+:} false; then :
5850 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5851 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$PKG_CONFIG"; then
5858 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5878 if test -n "$PKG_CONFIG"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5880 $as_echo "$PKG_CONFIG" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5888 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5889 if test "x$cross_compiling" = xyes; then :
5891 else
5892 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5893 # Extract the first word of "pkg-config", so it can be a program name with args.
5894 set dummy pkg-config; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 if test -n "$PKG_CONFIG"; then
5901 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5906 IFS=$as_save_IFS
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_PKG_CONFIG="pkg-config"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 break 2
5914 done
5915 done
5916 IFS=$as_save_IFS
5920 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5921 if test -n "$PKG_CONFIG"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5923 $as_echo "$PKG_CONFIG" >&6; }
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5931 else
5932 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5935 if test "x$enable_maintainer_mode" != "xyes"
5936 then
5937 FONTFORGE=""
5938 RSVG=""
5939 CONVERT=""
5940 ICOTOOL=""
5941 else
5942 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5943 for ac_prog in fontforge
5945 # Extract the first word of "$ac_prog", so it can be a program name with args.
5946 set dummy $ac_prog; ac_word=$2
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5948 $as_echo_n "checking for $ac_word... " >&6; }
5949 if ${ac_cv_prog_FONTFORGE+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 if test -n "$FONTFORGE"; then
5953 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5954 else
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5962 ac_cv_prog_FONTFORGE="$ac_prog"
5963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 break 2
5966 done
5967 done
5968 IFS=$as_save_IFS
5972 FONTFORGE=$ac_cv_prog_FONTFORGE
5973 if test -n "$FONTFORGE"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5975 $as_echo "$FONTFORGE" >&6; }
5976 else
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5982 test -n "$FONTFORGE" && break
5983 done
5984 test -n "$FONTFORGE" || FONTFORGE="false"
5986 for ac_prog in rsvg-convert rsvg
5988 # Extract the first word of "$ac_prog", so it can be a program name with args.
5989 set dummy $ac_prog; ac_word=$2
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if ${ac_cv_prog_RSVG+:} false; then :
5993 $as_echo_n "(cached) " >&6
5994 else
5995 if test -n "$RSVG"; then
5996 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5997 else
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_exec_ext in '' $ac_executable_extensions; do
6004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_RSVG="$ac_prog"
6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6007 break 2
6009 done
6010 done
6011 IFS=$as_save_IFS
6015 RSVG=$ac_cv_prog_RSVG
6016 if test -n "$RSVG"; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6018 $as_echo "$RSVG" >&6; }
6019 else
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6021 $as_echo "no" >&6; }
6025 test -n "$RSVG" && break
6026 done
6027 test -n "$RSVG" || RSVG="false"
6029 for ac_prog in convert
6031 # Extract the first word of "$ac_prog", so it can be a program name with args.
6032 set dummy $ac_prog; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_CONVERT+:} false; then :
6036 $as_echo_n "(cached) " >&6
6037 else
6038 if test -n "$CONVERT"; then
6039 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6044 IFS=$as_save_IFS
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_prog_CONVERT="$ac_prog"
6049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 break 2
6052 done
6053 done
6054 IFS=$as_save_IFS
6058 CONVERT=$ac_cv_prog_CONVERT
6059 if test -n "$CONVERT"; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6061 $as_echo "$CONVERT" >&6; }
6062 else
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6068 test -n "$CONVERT" && break
6069 done
6070 test -n "$CONVERT" || CONVERT="false"
6072 for ac_prog in icotool
6074 # Extract the first word of "$ac_prog", so it can be a program name with args.
6075 set dummy $ac_prog; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_ICOTOOL+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$ICOTOOL"; then
6082 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6087 IFS=$as_save_IFS
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6091 ac_cv_prog_ICOTOOL="$ac_prog"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 break 2
6095 done
6096 done
6097 IFS=$as_save_IFS
6101 ICOTOOL=$ac_cv_prog_ICOTOOL
6102 if test -n "$ICOTOOL"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6104 $as_echo "$ICOTOOL" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6111 test -n "$ICOTOOL" && break
6112 done
6113 test -n "$ICOTOOL" || ICOTOOL="false"
6115 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6116 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6118 if test "$CONVERT" = false
6119 then
6120 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6123 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6124 convert_version=`convert --version | head -n1`
6125 if test "x$convert_version" != "x"
6126 then
6127 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6128 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6129 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6130 then
6131 CONVERT=false
6134 if test "$CONVERT" = false
6135 then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6137 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6138 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6141 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6145 if test "$ICOTOOL" = false
6146 then
6147 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6150 $as_echo_n "checking for recent enough icotool... " >&6; }
6151 icotool_version=`icotool --version | head -n1`
6152 if test "x$icotool_version" != "x"
6153 then
6154 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6155 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6156 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6157 then
6158 ICOTOOL=false
6159 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6162 if test "$ICOTOOL" = false
6163 then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6165 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6166 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6167 else
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6169 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6173 with_gettext=yes
6174 with_gettextpo=yes
6175 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6178 test "x$with_gettext" != xno || MSGFMT=false
6179 if test "$MSGFMT" != "false"
6180 then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6182 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6183 cat >conftest.po <<EOF
6184 # comment
6185 msgctxt "ctxt"
6186 msgid "id"
6187 msgstr "str"
6189 if $MSGFMT -o /dev/null conftest.po 2>&5
6190 then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6192 $as_echo "yes" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 MSGFMT=false
6199 if test "$MSGFMT" = false; then :
6200 case "x$with_gettext" in
6201 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6202 xno) ;;
6203 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6204 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6205 esac
6206 enable_po=${enable_po:-no}
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6211 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6212 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 ac_check_lib_save_LIBS=$LIBS
6216 LIBS="-li386 $LIBS"
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6220 /* Override any GCC internal prototype to avoid an error.
6221 Use char because int might match the return type of a GCC
6222 builtin and then its argument prototype would still apply. */
6223 #ifdef __cplusplus
6224 extern "C"
6225 #endif
6226 char i386_set_ldt ();
6228 main ()
6230 return i386_set_ldt ();
6232 return 0;
6234 _ACEOF
6235 if ac_fn_c_try_link "$LINENO"; then :
6236 ac_cv_lib_i386_i386_set_ldt=yes
6237 else
6238 ac_cv_lib_i386_i386_set_ldt=no
6240 rm -f core conftest.err conftest.$ac_objext \
6241 conftest$ac_exeext conftest.$ac_ext
6242 LIBS=$ac_check_lib_save_LIBS
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6245 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6246 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6247 cat >>confdefs.h <<_ACEOF
6248 #define HAVE_LIBI386 1
6249 _ACEOF
6251 LIBS="-li386 $LIBS"
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6256 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6257 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 ac_check_lib_save_LIBS=$LIBS
6261 LIBS="-lossaudio $LIBS"
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6268 #ifdef __cplusplus
6269 extern "C"
6270 #endif
6271 char _oss_ioctl ();
6273 main ()
6275 return _oss_ioctl ();
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_link "$LINENO"; then :
6281 ac_cv_lib_ossaudio__oss_ioctl=yes
6282 else
6283 ac_cv_lib_ossaudio__oss_ioctl=no
6285 rm -f core conftest.err conftest.$ac_objext \
6286 conftest$ac_exeext conftest.$ac_ext
6287 LIBS=$ac_check_lib_save_LIBS
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6290 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6291 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6292 cat >>confdefs.h <<_ACEOF
6293 #define HAVE_LIBOSSAUDIO 1
6294 _ACEOF
6296 LIBS="-lossaudio $LIBS"
6301 OPENGL_LIBS=""
6305 # Check whether --enable-largefile was given.
6306 if test "${enable_largefile+set}" = set; then :
6307 enableval=$enable_largefile;
6310 if test "$enable_largefile" != no; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6313 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6314 if ${ac_cv_sys_largefile_CC+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 ac_cv_sys_largefile_CC=no
6318 if test "$GCC" != yes; then
6319 ac_save_CC=$CC
6320 while :; do
6321 # IRIX 6.2 and later do not support large files by default,
6322 # so use the C compiler's -n32 option if that helps.
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #include <sys/types.h>
6326 /* Check that off_t can represent 2**63 - 1 correctly.
6327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6328 since some C++ compilers masquerading as C compilers
6329 incorrectly reject 9223372036854775807. */
6330 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6332 && LARGE_OFF_T % 2147483647 == 1)
6333 ? 1 : -1];
6335 main ()
6339 return 0;
6341 _ACEOF
6342 if ac_fn_c_try_compile "$LINENO"; then :
6343 break
6345 rm -f core conftest.err conftest.$ac_objext
6346 CC="$CC -n32"
6347 if ac_fn_c_try_compile "$LINENO"; then :
6348 ac_cv_sys_largefile_CC=' -n32'; break
6350 rm -f core conftest.err conftest.$ac_objext
6351 break
6352 done
6353 CC=$ac_save_CC
6354 rm -f conftest.$ac_ext
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6358 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6359 if test "$ac_cv_sys_largefile_CC" != no; then
6360 CC=$CC$ac_cv_sys_largefile_CC
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6364 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6365 if ${ac_cv_sys_file_offset_bits+:} false; then :
6366 $as_echo_n "(cached) " >&6
6367 else
6368 while :; do
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6371 #include <sys/types.h>
6372 /* Check that off_t can represent 2**63 - 1 correctly.
6373 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6374 since some C++ compilers masquerading as C compilers
6375 incorrectly reject 9223372036854775807. */
6376 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6378 && LARGE_OFF_T % 2147483647 == 1)
6379 ? 1 : -1];
6381 main ()
6385 return 0;
6387 _ACEOF
6388 if ac_fn_c_try_compile "$LINENO"; then :
6389 ac_cv_sys_file_offset_bits=no; break
6391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6394 #define _FILE_OFFSET_BITS 64
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6403 ? 1 : -1];
6405 main ()
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_compile "$LINENO"; then :
6413 ac_cv_sys_file_offset_bits=64; break
6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416 ac_cv_sys_file_offset_bits=unknown
6417 break
6418 done
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6421 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6422 case $ac_cv_sys_file_offset_bits in #(
6423 no | unknown) ;;
6425 cat >>confdefs.h <<_ACEOF
6426 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6427 _ACEOF
6429 esac
6430 rm -rf conftest*
6431 if test $ac_cv_sys_file_offset_bits = unknown; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6433 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6434 if ${ac_cv_sys_large_files+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 while :; do
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6440 #include <sys/types.h>
6441 /* Check that off_t can represent 2**63 - 1 correctly.
6442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6443 since some C++ compilers masquerading as C compilers
6444 incorrectly reject 9223372036854775807. */
6445 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6447 && LARGE_OFF_T % 2147483647 == 1)
6448 ? 1 : -1];
6450 main ()
6454 return 0;
6456 _ACEOF
6457 if ac_fn_c_try_compile "$LINENO"; then :
6458 ac_cv_sys_large_files=no; break
6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #define _LARGE_FILES 1
6464 #include <sys/types.h>
6465 /* Check that off_t can represent 2**63 - 1 correctly.
6466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6467 since some C++ compilers masquerading as C compilers
6468 incorrectly reject 9223372036854775807. */
6469 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6471 && LARGE_OFF_T % 2147483647 == 1)
6472 ? 1 : -1];
6474 main ()
6478 return 0;
6480 _ACEOF
6481 if ac_fn_c_try_compile "$LINENO"; then :
6482 ac_cv_sys_large_files=1; break
6484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485 ac_cv_sys_large_files=unknown
6486 break
6487 done
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6490 $as_echo "$ac_cv_sys_large_files" >&6; }
6491 case $ac_cv_sys_large_files in #(
6492 no | unknown) ;;
6494 cat >>confdefs.h <<_ACEOF
6495 #define _LARGE_FILES $ac_cv_sys_large_files
6496 _ACEOF
6498 esac
6499 rm -rf conftest*
6506 ac_ext=c
6507 ac_cpp='$CPP $CPPFLAGS'
6508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6512 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6513 # On Suns, sometimes $CPP names a directory.
6514 if test -n "$CPP" && test -d "$CPP"; then
6515 CPP=
6517 if test -z "$CPP"; then
6518 if ${ac_cv_prog_CPP+:} false; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 # Double quotes because CPP needs to be expanded
6522 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6524 ac_preproc_ok=false
6525 for ac_c_preproc_warn_flag in '' yes
6527 # Use a header file that comes with gcc, so configuring glibc
6528 # with a fresh cross-compiler works.
6529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6530 # <limits.h> exists even on freestanding compilers.
6531 # On the NeXT, cc -E runs the code through the compiler's parser,
6532 # not just through cpp. "Syntax error" is here to catch this case.
6533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6535 #ifdef __STDC__
6536 # include <limits.h>
6537 #else
6538 # include <assert.h>
6539 #endif
6540 Syntax error
6541 _ACEOF
6542 if ac_fn_c_try_cpp "$LINENO"; then :
6544 else
6545 # Broken: fails on valid input.
6546 continue
6548 rm -f conftest.err conftest.i conftest.$ac_ext
6550 # OK, works on sane cases. Now check whether nonexistent headers
6551 # can be detected and how.
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #include <ac_nonexistent.h>
6555 _ACEOF
6556 if ac_fn_c_try_cpp "$LINENO"; then :
6557 # Broken: success on invalid input.
6558 continue
6559 else
6560 # Passes both tests.
6561 ac_preproc_ok=:
6562 break
6564 rm -f conftest.err conftest.i conftest.$ac_ext
6566 done
6567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6568 rm -f conftest.i conftest.err conftest.$ac_ext
6569 if $ac_preproc_ok; then :
6570 break
6573 done
6574 ac_cv_prog_CPP=$CPP
6577 CPP=$ac_cv_prog_CPP
6578 else
6579 ac_cv_prog_CPP=$CPP
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6582 $as_echo "$CPP" >&6; }
6583 ac_preproc_ok=false
6584 for ac_c_preproc_warn_flag in '' yes
6586 # Use a header file that comes with gcc, so configuring glibc
6587 # with a fresh cross-compiler works.
6588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6589 # <limits.h> exists even on freestanding compilers.
6590 # On the NeXT, cc -E runs the code through the compiler's parser,
6591 # not just through cpp. "Syntax error" is here to catch this case.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #ifdef __STDC__
6595 # include <limits.h>
6596 #else
6597 # include <assert.h>
6598 #endif
6599 Syntax error
6600 _ACEOF
6601 if ac_fn_c_try_cpp "$LINENO"; then :
6603 else
6604 # Broken: fails on valid input.
6605 continue
6607 rm -f conftest.err conftest.i conftest.$ac_ext
6609 # OK, works on sane cases. Now check whether nonexistent headers
6610 # can be detected and how.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <ac_nonexistent.h>
6614 _ACEOF
6615 if ac_fn_c_try_cpp "$LINENO"; then :
6616 # Broken: success on invalid input.
6617 continue
6618 else
6619 # Passes both tests.
6620 ac_preproc_ok=:
6621 break
6623 rm -f conftest.err conftest.i conftest.$ac_ext
6625 done
6626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6627 rm -f conftest.i conftest.err conftest.$ac_ext
6628 if $ac_preproc_ok; then :
6630 else
6631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6633 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6634 See \`config.log' for more details" "$LINENO" 5; }
6637 ac_ext=c
6638 ac_cpp='$CPP $CPPFLAGS'
6639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6645 $as_echo_n "checking for ANSI C header files... " >&6; }
6646 if ${ac_cv_header_stdc+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 #include <stdlib.h>
6652 #include <stdarg.h>
6653 #include <string.h>
6654 #include <float.h>
6657 main ()
6661 return 0;
6663 _ACEOF
6664 if ac_fn_c_try_compile "$LINENO"; then :
6665 ac_cv_header_stdc=yes
6666 else
6667 ac_cv_header_stdc=no
6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6671 if test $ac_cv_header_stdc = yes; then
6672 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #include <string.h>
6677 _ACEOF
6678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6679 $EGREP "memchr" >/dev/null 2>&1; then :
6681 else
6682 ac_cv_header_stdc=no
6684 rm -f conftest*
6688 if test $ac_cv_header_stdc = yes; then
6689 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 #include <stdlib.h>
6694 _ACEOF
6695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6696 $EGREP "free" >/dev/null 2>&1; then :
6698 else
6699 ac_cv_header_stdc=no
6701 rm -f conftest*
6705 if test $ac_cv_header_stdc = yes; then
6706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6707 if test "$cross_compiling" = yes; then :
6709 else
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <ctype.h>
6713 #include <stdlib.h>
6714 #if ((' ' & 0x0FF) == 0x020)
6715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6717 #else
6718 # define ISLOWER(c) \
6719 (('a' <= (c) && (c) <= 'i') \
6720 || ('j' <= (c) && (c) <= 'r') \
6721 || ('s' <= (c) && (c) <= 'z'))
6722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6723 #endif
6725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6727 main ()
6729 int i;
6730 for (i = 0; i < 256; i++)
6731 if (XOR (islower (i), ISLOWER (i))
6732 || toupper (i) != TOUPPER (i))
6733 return 2;
6734 return 0;
6736 _ACEOF
6737 if ac_fn_c_try_run "$LINENO"; then :
6739 else
6740 ac_cv_header_stdc=no
6742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6743 conftest.$ac_objext conftest.beam conftest.$ac_ext
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6749 $as_echo "$ac_cv_header_stdc" >&6; }
6750 if test $ac_cv_header_stdc = yes; then
6752 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6757 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6758 inttypes.h stdint.h unistd.h
6759 do :
6760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6761 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6764 cat >>confdefs.h <<_ACEOF
6765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 _ACEOF
6770 done
6773 for ac_header in \
6774 AL/al.h \
6775 ApplicationServices/ApplicationServices.h \
6776 AudioToolbox/AudioConverter.h \
6777 AudioUnit/AudioUnit.h \
6778 AudioUnit/AudioComponent.h \
6779 CL/cl.h \
6780 Carbon/Carbon.h \
6781 CommonCrypto/CommonDigest.h \
6782 CoreAudio/CoreAudio.h \
6783 CoreServices/CoreServices.h \
6784 DiskArbitration/DiskArbitration.h \
6785 IOKit/IOKitLib.h \
6786 IOKit/hid/IOHIDLib.h \
6787 OpenAL/al.h \
6788 OpenCL/opencl.h \
6789 QuickTime/ImageCompression.h \
6790 Security/Security.h \
6791 alias.h \
6792 alsa/asoundlib.h \
6793 arpa/inet.h \
6794 arpa/nameser.h \
6795 asm/types.h \
6796 asm/user.h \
6797 curses.h \
6798 direct.h \
6799 dirent.h \
6800 dlfcn.h \
6801 elf.h \
6802 float.h \
6803 fnmatch.h \
6804 getopt.h \
6805 gettext-po.h \
6806 grp.h \
6807 gsm.h \
6808 gsm/gsm.h \
6809 ieeefp.h \
6810 inet/mib2.h \
6811 io.h \
6812 kstat.h \
6813 lber.h \
6814 ldap.h \
6815 libproc.h \
6816 link.h \
6817 linux/cdrom.h \
6818 linux/compiler.h \
6819 linux/filter.h \
6820 linux/hdreg.h \
6821 linux/hidraw.h \
6822 linux/input.h \
6823 linux/ioctl.h \
6824 linux/joystick.h \
6825 linux/major.h \
6826 linux/param.h \
6827 linux/serial.h \
6828 linux/types.h \
6829 linux/ucdrom.h \
6830 lwp.h \
6831 mach-o/nlist.h \
6832 mach-o/loader.h \
6833 mach/mach.h \
6834 mach/machine.h \
6835 machine/cpu.h \
6836 machine/limits.h \
6837 machine/sysarch.h \
6838 mntent.h \
6839 ncurses.h \
6840 netdb.h \
6841 netinet/in.h \
6842 netinet/in_systm.h \
6843 netinet/tcp.h \
6844 netinet/tcp_fsm.h \
6845 pcap/pcap.h \
6846 poll.h \
6847 port.h \
6848 process.h \
6849 pthread.h \
6850 pwd.h \
6851 sched.h \
6852 scsi/scsi.h \
6853 scsi/scsi_ioctl.h \
6854 scsi/sg.h \
6855 stdbool.h \
6856 stdint.h \
6857 stropts.h \
6858 sys/asoundlib.h \
6859 sys/attr.h \
6860 sys/cdio.h \
6861 sys/elf32.h \
6862 sys/epoll.h \
6863 sys/event.h \
6864 sys/exec_elf.h \
6865 sys/filio.h \
6866 sys/inotify.h \
6867 sys/ioctl.h \
6868 sys/ipc.h \
6869 sys/limits.h \
6870 sys/link.h \
6871 sys/mman.h \
6872 sys/modem.h \
6873 sys/msg.h \
6874 sys/mtio.h \
6875 sys/param.h \
6876 sys/poll.h \
6877 sys/prctl.h \
6878 sys/protosw.h \
6879 sys/ptrace.h \
6880 sys/queue.h \
6881 sys/resource.h \
6882 sys/scsiio.h \
6883 sys/shm.h \
6884 sys/signal.h \
6885 sys/socket.h \
6886 sys/socketvar.h \
6887 sys/sockio.h \
6888 sys/statvfs.h \
6889 sys/strtio.h \
6890 sys/syscall.h \
6891 sys/sysinfo.h \
6892 sys/tihdr.h \
6893 sys/time.h \
6894 sys/timeout.h \
6895 sys/times.h \
6896 sys/uio.h \
6897 sys/user.h \
6898 sys/utsname.h \
6899 sys/vm86.h \
6900 sys/vnode.h \
6901 sys/wait.h \
6902 syscall.h \
6903 termios.h \
6904 unistd.h \
6905 utime.h \
6906 valgrind/memcheck.h \
6907 valgrind/valgrind.h \
6908 zlib.h
6910 do :
6911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6912 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6914 cat >>confdefs.h <<_ACEOF
6915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6916 _ACEOF
6920 done
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6923 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6924 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6928 /* end confdefs.h. */
6929 #include <sys/types.h>
6931 main ()
6933 return makedev(0, 0);
6935 return 0;
6937 _ACEOF
6938 if ac_fn_c_try_link "$LINENO"; then :
6939 ac_cv_header_sys_types_h_makedev=yes
6940 else
6941 ac_cv_header_sys_types_h_makedev=no
6943 rm -f core conftest.err conftest.$ac_objext \
6944 conftest$ac_exeext conftest.$ac_ext
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6948 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6950 if test $ac_cv_header_sys_types_h_makedev = no; then
6951 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6952 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6954 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6960 if test $ac_cv_header_sys_mkdev_h = no; then
6961 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6962 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6964 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6973 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6974 if ${ac_cv_header_stat_broken+:} false; then :
6975 $as_echo_n "(cached) " >&6
6976 else
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 #include <sys/types.h>
6980 #include <sys/stat.h>
6982 #if defined S_ISBLK && defined S_IFDIR
6983 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6984 #endif
6986 #if defined S_ISBLK && defined S_IFCHR
6987 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6988 #endif
6990 #if defined S_ISLNK && defined S_IFREG
6991 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6992 #endif
6994 #if defined S_ISSOCK && defined S_IFREG
6995 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6996 #endif
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_header_stat_broken=no
7001 else
7002 ac_cv_header_stat_broken=yes
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7007 $as_echo "$ac_cv_header_stat_broken" >&6; }
7008 if test $ac_cv_header_stat_broken = yes; then
7010 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7016 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7017 do :
7018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7020 #ifdef HAVE_SYS_PARAM_H
7021 # include <sys/param.h>
7022 #endif
7024 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7025 cat >>confdefs.h <<_ACEOF
7026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7027 _ACEOF
7031 done
7034 for ac_header in \
7035 netinet/ip.h \
7036 net/if.h \
7037 net/if_arp.h \
7038 net/if_dl.h \
7039 net/if_types.h \
7040 net/route.h \
7041 netinet/if_ether.h \
7042 netinet/if_inarp.h \
7043 netinet/in_pcb.h \
7044 netinet/ip_icmp.h \
7045 netinet/ip_var.h \
7046 netinet/udp.h \
7047 netipx/ipx.h \
7048 sys/un.h \
7050 do :
7051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7052 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7053 #ifdef HAVE_SYS_SOCKET_H
7054 # include <sys/socket.h>
7055 #endif
7056 #ifdef HAVE_SYS_SOCKETVAR_H
7057 # include <sys/socketvar.h>
7058 #endif
7059 #ifdef HAVE_NET_ROUTE_H
7060 # include <net/route.h>
7061 #endif
7062 #ifdef HAVE_NETINET_IN_H
7063 # include <netinet/in.h>
7064 #endif
7065 #ifdef HAVE_NETINET_IN_SYSTM_H
7066 # include <netinet/in_systm.h>
7067 #endif
7068 #ifdef HAVE_NET_IF_H
7069 # include <net/if.h>
7070 #endif
7071 #ifdef HAVE_NETINET_IP_H
7072 # include <netinet/ip.h>
7073 #endif
7075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7076 cat >>confdefs.h <<_ACEOF
7077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7078 _ACEOF
7082 done
7085 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7086 do :
7087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7089 #ifdef HAVE_ALIAS_H
7090 # include <alias.h>
7091 #endif
7092 #ifdef HAVE_SYS_SOCKET_H
7093 # include <sys/socket.h>
7094 #endif
7095 #ifdef HAVE_SYS_SOCKETVAR_H
7096 # include <sys/socketvar.h>
7097 #endif
7098 #ifdef HAVE_SYS_TIMEOUT_H
7099 # include <sys/timeout.h>
7100 #endif
7101 #ifdef HAVE_NETINET_IN_H
7102 # include <netinet/in.h>
7103 #endif
7104 #ifdef HAVE_NETINET_IN_SYSTM_H
7105 # include <netinet/in_systm.h>
7106 #endif
7107 #ifdef HAVE_NETINET_IP_H
7108 # include <netinet/ip.h>
7109 #endif
7110 #ifdef HAVE_NETINET_IP_VAR_H
7111 # include <netinet/ip_var.h>
7112 #endif
7113 #ifdef HAVE_NETINET_IP_ICMP_H
7114 # include <netinet/ip_icmp.h>
7115 #endif
7116 #ifdef HAVE_NETINET_UDP_H
7117 # include <netinet/udp.h>
7118 #endif
7119 #ifdef HAVE_NETINET_TCP_H
7120 # include <netinet/tcp.h>
7121 #endif
7122 #ifdef HAVE_NETINET_TCP_TIMER_H
7123 #include <netinet/tcp_timer.h>
7124 #endif
7126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7127 cat >>confdefs.h <<_ACEOF
7128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7129 _ACEOF
7133 done
7136 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7137 do :
7138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7139 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7140 #ifdef HAVE_ASM_TYPES_H
7141 # include <asm/types.h>
7142 #endif
7143 #ifdef HAVE_SYS_SOCKET_H
7144 # include <sys/socket.h>
7145 #endif
7146 #ifdef HAVE_LINUX_TYPES_H
7147 # include <linux/types.h>
7148 #endif
7150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7151 cat >>confdefs.h <<_ACEOF
7152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7153 _ACEOF
7157 done
7160 for ac_header in mach-o/dyld_images.h
7161 do :
7162 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7163 # include <stdbool.h>
7164 #endif
7165 #ifdef HAVE_STDINT_H
7166 # include <stdint.h>
7167 #endif
7169 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7172 _ACEOF
7176 done
7179 for ac_header in resolv.h
7180 do :
7181 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7182 #ifdef HAVE_SYS_SOCKET_H
7183 # include <sys/socket.h>
7184 #endif
7185 #ifdef HAVE_NETINET_IN_H
7186 # include <netinet/in.h>
7187 #endif
7188 #ifdef HAVE_ARPA_NAMESER_H
7189 # include <arpa/nameser.h>
7190 #endif
7192 if test "x$ac_cv_header_resolv_h" = xyes; then :
7193 cat >>confdefs.h <<_ACEOF
7194 #define HAVE_RESOLV_H 1
7195 _ACEOF
7199 done
7202 for ac_header in ifaddrs.h
7203 do :
7204 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7206 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7207 cat >>confdefs.h <<_ACEOF
7208 #define HAVE_IFADDRS_H 1
7209 _ACEOF
7213 done
7216 for ac_header in sys/ucontext.h
7217 do :
7218 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7220 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7221 cat >>confdefs.h <<_ACEOF
7222 #define HAVE_SYS_UCONTEXT_H 1
7223 _ACEOF
7227 done
7230 for ac_header in sys/thr.h
7231 do :
7232 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7233 #ifdef HAVE_SYS_UCONTEXT_H
7234 #include <sys/ucontext.h>
7235 #endif
7237 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define HAVE_SYS_THR_H 1
7240 _ACEOF
7244 done
7247 for ac_header in pthread_np.h
7248 do :
7249 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7250 #include <pthread.h>
7251 #endif
7253 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_PTHREAD_NP_H 1
7256 _ACEOF
7260 done
7263 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7264 do :
7265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7266 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7267 #include <sys/time.h>
7268 #endif
7269 #include <sys/types.h>
7270 #ifdef HAVE_ASM_TYPES_H
7271 #include <asm/types.h>
7272 #endif
7274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 _ACEOF
7281 done
7284 for ac_header in libprocstat.h
7285 do :
7286 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7287 #include <sys/param.h>
7288 #endif
7289 #ifdef HAVE_SYS_QUEUE_H
7290 #include <sys/queue.h>
7291 #endif
7292 #ifdef HAVE_SYS_SOCKET_H
7293 #include <sys/socket.h>
7294 #endif
7296 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7297 cat >>confdefs.h <<_ACEOF
7298 #define HAVE_LIBPROCSTAT_H 1
7299 _ACEOF
7303 done
7307 dlldir="\${libdir}/wine"
7309 DLLFLAGS="-D_REENTRANT"
7311 LDRPATH_INSTALL=""
7313 LDRPATH_LOCAL=""
7315 LDEXECFLAGS=""
7317 LIBEXT="so"
7318 DLLEXT=".so"
7319 IMPLIBEXT="def"
7320 # Extract the first word of "ldd", so it can be a program name with args.
7321 set dummy ldd; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_path_LDD+:} false; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 case $LDD in
7328 [\\/]* | ?:[\\/]*)
7329 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 as_dummy="/sbin:/usr/sbin:$PATH"
7334 for as_dir in $as_dummy
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7348 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7350 esac
7352 LDD=$ac_cv_path_LDD
7353 if test -n "$LDD"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7355 $as_echo "$LDD" >&6; }
7356 else
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7362 if test -n "$ac_tool_prefix"; then
7363 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7364 set dummy ${ac_tool_prefix}otool; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if ${ac_cv_prog_OTOOL+:} false; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$OTOOL"; then
7371 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7380 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 OTOOL=$ac_cv_prog_OTOOL
7391 if test -n "$OTOOL"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7393 $as_echo "$OTOOL" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7401 if test -z "$ac_cv_prog_OTOOL"; then
7402 ac_ct_OTOOL=$OTOOL
7403 # Extract the first word of "otool", so it can be a program name with args.
7404 set dummy otool; ac_word=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 $as_echo_n "checking for $ac_word... " >&6; }
7407 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7408 $as_echo_n "(cached) " >&6
7409 else
7410 if test -n "$ac_ct_OTOOL"; then
7411 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7412 else
7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414 for as_dir in $PATH
7416 IFS=$as_save_IFS
7417 test -z "$as_dir" && as_dir=.
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_ac_ct_OTOOL="otool"
7421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7422 break 2
7424 done
7425 done
7426 IFS=$as_save_IFS
7430 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7431 if test -n "$ac_ct_OTOOL"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7433 $as_echo "$ac_ct_OTOOL" >&6; }
7434 else
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436 $as_echo "no" >&6; }
7439 if test "x$ac_ct_OTOOL" = x; then
7440 OTOOL="otool"
7441 else
7442 case $cross_compiling:$ac_tool_warned in
7443 yes:)
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446 ac_tool_warned=yes ;;
7447 esac
7448 OTOOL=$ac_ct_OTOOL
7450 else
7451 OTOOL="$ac_cv_prog_OTOOL"
7454 if test -n "$ac_tool_prefix"; then
7455 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7456 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if ${ac_cv_prog_READELF+:} false; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$READELF"; then
7463 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7472 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 READELF=$ac_cv_prog_READELF
7483 if test -n "$READELF"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7485 $as_echo "$READELF" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7493 if test -z "$ac_cv_prog_READELF"; then
7494 ac_ct_READELF=$READELF
7495 # Extract the first word of "readelf", so it can be a program name with args.
7496 set dummy readelf; ac_word=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7502 if test -n "$ac_ct_READELF"; then
7503 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7504 else
7505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7506 for as_dir in $PATH
7508 IFS=$as_save_IFS
7509 test -z "$as_dir" && as_dir=.
7510 for ac_exec_ext in '' $ac_executable_extensions; do
7511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_ac_ct_READELF="readelf"
7513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7514 break 2
7516 done
7517 done
7518 IFS=$as_save_IFS
7522 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7523 if test -n "$ac_ct_READELF"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7525 $as_echo "$ac_ct_READELF" >&6; }
7526 else
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528 $as_echo "no" >&6; }
7531 if test "x$ac_ct_READELF" = x; then
7532 READELF="true"
7533 else
7534 case $cross_compiling:$ac_tool_warned in
7535 yes:)
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7538 ac_tool_warned=yes ;;
7539 esac
7540 READELF=$ac_ct_READELF
7542 else
7543 READELF="$ac_cv_prog_READELF"
7546 wine_rules_file=conf$$rules.make
7547 rm -f $wine_rules_file
7548 SUBDIRS=""
7550 DISABLED_SUBDIRS=""
7552 CONFIGURE_TARGETS=""
7554 ALL_TEST_RESOURCES=""
7557 wine_fn_append_file ()
7559 as_fn_append $1 " \\$as_nl $2"
7562 wine_fn_append_rule ()
7564 $as_echo "$1" >>$wine_rules_file
7567 wine_fn_has_flag ()
7569 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7572 wine_fn_all_rules ()
7574 wine_fn_append_file SUBDIRS $ac_dir
7575 wine_fn_append_rule \
7576 "all: $ac_dir
7577 .PHONY: $ac_dir
7578 $ac_dir: dummy
7579 @cd $ac_dir && \$(MAKE)"
7582 wine_fn_install_rules ()
7584 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7586 wine_fn_append_rule \
7587 ".PHONY: $ac_dir/install $ac_dir/uninstall
7588 $ac_dir/install:: $ac_dir
7589 @cd $ac_dir && \$(MAKE) install
7590 $ac_dir/uninstall::
7591 @cd $ac_dir && \$(MAKE) uninstall
7592 install:: $ac_dir/install
7593 __uninstall__: $ac_dir/uninstall"
7595 if wine_fn_has_flag install-lib
7596 then
7597 wine_fn_append_rule \
7598 ".PHONY: $ac_dir/install-lib
7599 $ac_dir/install-lib:: $ac_dir
7600 @cd $ac_dir && \$(MAKE) install-lib
7601 install-lib:: $ac_dir/install-lib"
7604 if wine_fn_has_flag install-dev
7605 then
7606 wine_fn_append_rule \
7607 ".PHONY: $ac_dir/install-dev
7608 $ac_dir/install-dev:: $ac_dir
7609 @cd $ac_dir && \$(MAKE) install-dev
7610 install-dev:: $ac_dir/install-dev"
7614 wine_fn_clean_rules ()
7616 ac_clean=$@
7618 if wine_fn_has_flag clean
7619 then
7620 wine_fn_append_rule \
7621 "$ac_dir/clean: dummy
7622 @cd $ac_dir && \$(MAKE) clean"
7623 else
7624 wine_fn_append_rule \
7625 "$ac_dir/clean: dummy
7626 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7628 wine_fn_append_rule \
7629 "__clean__: $ac_dir/clean
7630 .PHONY: $ac_dir/clean"
7633 wine_fn_disabled_rules ()
7635 ac_clean=$@
7637 wine_fn_append_file SUBDIRS $ac_dir
7638 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7639 wine_fn_append_rule \
7640 "__clean__: $ac_dir/clean
7641 .PHONY: $ac_dir/clean
7642 $ac_dir/clean: dummy
7643 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7646 wine_fn_config_makefile ()
7648 ac_dir=$1
7649 ac_enable=$2
7650 ac_flags=$3
7652 case $ac_dir in
7653 fonts|server) test -z "$with_wine64" || return ;;
7654 esac
7655 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7656 wine_fn_disabled_rules; return
7658 wine_fn_all_rules
7659 wine_fn_install_rules
7660 wine_fn_clean_rules
7663 wine_fn_config_lib ()
7665 ac_name=$1
7666 ac_flags=$2
7667 ac_dir=dlls/$ac_name
7668 ac_deps="include"
7670 if test "x$enable_tools" = xno; then :
7672 else
7673 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7675 wine_fn_all_rules
7676 wine_fn_clean_rules
7678 wine_fn_append_rule \
7679 ".PHONY: $ac_dir/install $ac_dir/uninstall
7680 $ac_dir/install:: $ac_dir
7681 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7682 $ac_dir/uninstall::
7683 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7684 install install-dev:: $ac_dir/install
7685 __uninstall__: $ac_dir/uninstall
7686 __builddeps__: $ac_dir
7687 $ac_dir: $ac_deps"
7690 wine_fn_config_dll ()
7692 ac_name=$1
7693 ac_dir=dlls/$ac_name
7694 ac_enable=$2
7695 ac_flags=$3
7696 ac_implib=${4:-$ac_name}
7697 ac_file=$ac_dir/lib$ac_implib
7698 ac_dll=$ac_name
7699 ac_deps="include"
7700 ac_implibflags=""
7702 if test "x$enable_tools" = xno; then :
7704 else
7705 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7707 case $ac_name in
7708 *16) ac_implibflags=" -m16" ;;
7709 *.*) ;;
7710 *) ac_dll=$ac_dll.dll ;;
7711 esac
7713 ac_clean=
7714 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7715 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7717 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7718 if test "$ac_enable" != enable_win16
7719 then
7720 wine_fn_clean_rules $ac_clean
7721 wine_fn_append_file SUBDIRS $ac_dir
7722 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7723 else
7724 wine_fn_disabled_rules $ac_clean
7725 return
7727 else
7728 wine_fn_all_rules
7729 wine_fn_clean_rules $ac_clean
7730 wine_fn_append_rule \
7731 "$ac_dir: __builddeps__
7732 manpages htmlpages sgmlpages xmlpages::
7733 @cd $ac_dir && \$(MAKE) \$@
7734 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7735 install install-lib:: $ac_dir/install-lib
7736 __uninstall__: $ac_dir/uninstall"
7737 if test -n "$DLLEXT"
7738 then
7739 wine_fn_append_rule \
7740 "$ac_dir/install-lib:: $ac_dir
7741 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7742 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7743 $ac_dir/uninstall::
7744 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7745 else
7746 wine_fn_append_rule \
7747 "$ac_dir/install-lib:: $ac_dir
7748 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7749 $ac_dir/uninstall::
7750 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7754 if wine_fn_has_flag staticimplib
7755 then
7756 wine_fn_append_rule \
7757 "__builddeps__: $ac_file.a
7758 $ac_file.a $ac_file.cross.a: $ac_deps
7759 $ac_file.a: dummy
7760 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7761 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7762 $ac_dir/install-dev:: $ac_file.a
7763 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7764 $ac_dir/uninstall::
7765 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7766 install install-dev:: $ac_dir/install-dev
7767 __uninstall__: $ac_dir/uninstall"
7769 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7770 then
7771 wine_fn_append_rule \
7772 "__builddeps__: $ac_file.cross.a
7773 $ac_file.cross.a: dummy
7774 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7777 elif wine_fn_has_flag implib
7778 then
7779 wine_fn_append_rule \
7780 "__builddeps__: $ac_file.$IMPLIBEXT
7781 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7782 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7783 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7784 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7785 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7786 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7787 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7790 install install-dev:: $ac_dir/install-dev
7791 __uninstall__: $ac_dir/uninstall"
7792 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7793 then
7794 wine_fn_append_rule \
7795 "__builddeps__: $ac_file.cross.a
7796 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7797 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7802 wine_fn_config_program ()
7804 ac_name=$1
7805 ac_dir=programs/$ac_name
7806 ac_enable=$2
7807 ac_flags=$3
7808 ac_program=$ac_name
7810 case $ac_name in
7811 *.*) ;;
7812 *) ac_program=$ac_program.exe ;;
7813 esac
7815 ac_clean=
7816 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7817 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7819 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7820 wine_fn_disabled_rules $ac_clean; return
7823 wine_fn_all_rules
7824 wine_fn_clean_rules $ac_clean
7825 wine_fn_append_rule "$ac_dir: __builddeps__"
7827 wine_fn_has_flag install || return
7828 wine_fn_append_rule \
7829 ".PHONY: $ac_dir/install $ac_dir/uninstall
7830 install install-lib:: $ac_dir/install
7831 __uninstall__: $ac_dir/uninstall"
7833 if test -n "$DLLEXT"
7834 then
7835 wine_fn_append_rule \
7836 "$ac_dir/install:: $ac_dir
7837 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7838 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7839 $ac_dir/uninstall::
7840 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7842 if test -z "$with_wine64" && wine_fn_has_flag installbin
7843 then
7844 wine_fn_append_rule \
7845 "$ac_dir/install:: __tooldeps__
7846 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7847 $ac_dir/uninstall::
7848 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7850 else
7851 wine_fn_append_rule \
7852 "$ac_dir/install:: $ac_dir
7853 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7854 $ac_dir/uninstall::
7855 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7858 if test -z "$with_wine64" && wine_fn_has_flag manpage
7859 then
7860 wine_fn_append_rule \
7861 "$ac_dir/install:: $ac_dir
7862 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7863 $ac_dir/uninstall::
7864 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7868 wine_fn_config_test ()
7870 ac_dir=$1
7871 ac_name=$2
7872 ac_flags=$3
7874 ac_clean=
7875 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7876 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7878 if test "x$enable_tests" = xno; then :
7879 wine_fn_disabled_rules $ac_clean; return
7882 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7883 wine_fn_all_rules
7884 wine_fn_clean_rules $ac_clean
7886 wine_fn_append_rule \
7887 "$ac_dir: __builddeps__
7888 programs/winetest: $ac_dir
7889 check test: $ac_dir/test
7890 .PHONY: $ac_dir/test
7891 $ac_dir/test: dummy
7892 @cd $ac_dir && \$(MAKE) test
7893 testclean::
7894 \$(RM) $ac_dir/*.ok"
7896 if test -n "$CROSSTARGET"
7897 then
7898 wine_fn_append_rule \
7899 "crosstest: $ac_dir/crosstest
7900 .PHONY: $ac_dir/crosstest
7901 $ac_dir/crosstest: __builddeps__ dummy
7902 @cd $ac_dir && \$(MAKE) crosstest"
7906 wine_fn_config_tool ()
7908 ac_dir=$1
7909 ac_flags=$2
7910 if test "x$enable_tools" = xno; then :
7911 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7914 wine_fn_all_rules
7915 wine_fn_install_rules
7916 wine_fn_clean_rules
7918 wine_fn_append_rule "__tooldeps__: $ac_dir"
7919 wine_fn_append_rule "$ac_dir: libs/port"
7920 case $ac_dir in
7921 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7922 esac
7925 wine_fn_config_symlink ()
7927 ac_linkdir=
7928 if test "x$1" = "x-d"
7929 then
7930 ac_linkdir=$2
7931 shift; shift
7933 ac_links=$@
7934 wine_fn_append_rule \
7935 "$ac_links:
7936 @./config.status \$@"
7937 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7938 test -n "$ac_linkdir" || return
7939 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7942 wine_binary="wine"
7943 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7944 WINELOADER_PROGRAMS="$wine_binary"
7946 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7948 case $host_os in
7949 cygwin*|mingw32*)
7950 if test -n "$ac_tool_prefix"; then
7951 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7952 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_DLLTOOL+:} false; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 if test -n "$DLLTOOL"; then
7959 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7972 done
7973 done
7974 IFS=$as_save_IFS
7978 DLLTOOL=$ac_cv_prog_DLLTOOL
7979 if test -n "$DLLTOOL"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7981 $as_echo "$DLLTOOL" >&6; }
7982 else
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7989 if test -z "$ac_cv_prog_DLLTOOL"; then
7990 ac_ct_DLLTOOL=$DLLTOOL
7991 # Extract the first word of "dlltool", so it can be a program name with args.
7992 set dummy dlltool; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7996 $as_echo_n "(cached) " >&6
7997 else
7998 if test -n "$ac_ct_DLLTOOL"; then
7999 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8004 IFS=$as_save_IFS
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 break 2
8012 done
8013 done
8014 IFS=$as_save_IFS
8018 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8019 if test -n "$ac_ct_DLLTOOL"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8021 $as_echo "$ac_ct_DLLTOOL" >&6; }
8022 else
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8027 if test "x$ac_ct_DLLTOOL" = x; then
8028 DLLTOOL="false"
8029 else
8030 case $cross_compiling:$ac_tool_warned in
8031 yes:)
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034 ac_tool_warned=yes ;;
8035 esac
8036 DLLTOOL=$ac_ct_DLLTOOL
8038 else
8039 DLLTOOL="$ac_cv_prog_DLLTOOL"
8042 LIBEXT="dll"
8043 DLLEXT=""
8044 IMPLIBEXT="a"
8045 enable_iphlpapi=${enable_iphlpapi:-no}
8046 enable_kernel32=${enable_kernel32:-no}
8047 enable_msvcrt=${enable_msvcrt:-no}
8048 enable_ntdll=${enable_ntdll:-no}
8049 enable_ws2_32=${enable_ws2_32:-no}
8050 enable_loader=${enable_loader:-no}
8051 enable_server=${enable_server:-no}
8052 with_x=${with_x:-no}
8053 with_pthread=${with_pthread:-no}
8055 crtlibs=""
8056 case $host_os in
8057 mingw32*)
8058 crtlibs="-lmsvcrt"
8059 SOCKET_LIBS="-lws2_32"
8061 esac
8063 LIBWINE_SHAREDLIB="libwine.dll"
8065 LIBWINE_IMPORTLIB="libwine.a"
8067 LIBWINE_INSTALL_LIB="libwine.dll"
8069 LIBWINE_INSTALL_DEV="libwine.a"
8071 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8073 LIBWINE_DEPENDS="wine.def"
8077 darwin*|macosx*)
8078 for ac_header in libunwind.h
8079 do :
8080 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8082 cat >>confdefs.h <<_ACEOF
8083 #define HAVE_LIBUNWIND_H 1
8084 _ACEOF
8088 done
8090 LIBEXT="dylib"
8091 DLLFLAGS="$DLLFLAGS -fPIC"
8092 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8093 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8094 COREFOUNDATION_LIBS="-framework CoreFoundation"
8096 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8098 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8100 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8102 CORESERVICES_LIBS="-framework CoreServices"
8104 APPKIT_LIBS="-framework AppKit"
8106 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8108 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8109 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 ac_wine_try_cflags_saved=$CFLAGS
8113 CFLAGS="$CFLAGS -Wl,-no_pie"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116 int main(int argc, char **argv) { return 0; }
8117 _ACEOF
8118 if ac_fn_c_try_link "$LINENO"; then :
8119 ac_cv_cflags__Wl__no_pie=yes
8120 else
8121 ac_cv_cflags__Wl__no_pie=no
8123 rm -f core conftest.err conftest.$ac_objext \
8124 conftest$ac_exeext conftest.$ac_ext
8125 CFLAGS=$ac_wine_try_cflags_saved
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8128 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8129 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8130 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8132 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8133 then
8134 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8137 if test "$ac_cv_header_Security_Security_h" = "yes"
8138 then
8139 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8141 ac_save_LIBS="$LIBS"
8142 LIBS="$LIBS $SECURITY_LIBS"
8143 for ac_func in SSLCopyPeerCertificates
8144 do :
8145 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8146 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8147 cat >>confdefs.h <<_ACEOF
8148 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8149 _ACEOF
8152 done
8154 LIBS="$ac_save_LIBS"
8155 with_gnutls=${with_gnutls:-no}
8157 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8158 then
8159 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8160 then
8161 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8163 else
8164 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8167 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8168 ac_save_LIBS="$LIBS"
8169 LIBS="$LIBS $COREAUDIO_LIBS"
8170 for ac_func in AUGraphAddNode
8171 do :
8172 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8173 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8174 cat >>confdefs.h <<_ACEOF
8175 #define HAVE_AUGRAPHADDNODE 1
8176 _ACEOF
8179 done
8181 LIBS="$ac_save_LIBS"
8183 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8184 then
8185 OPENAL_LIBS="-framework OpenAL"
8188 cat >>confdefs.h <<_ACEOF
8189 #define HAVE_OPENAL 1
8190 _ACEOF
8192 ac_cv_lib_openal=yes
8194 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8195 then
8196 OPENCL_LIBS="-framework OpenCL"
8198 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8200 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8201 then
8202 ac_save_LIBS="$LIBS"
8203 LIBS="$LIBS $IOKIT_LIBS"
8204 for ac_func in IOHIDManagerCreate
8205 do :
8206 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8207 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8208 cat >>confdefs.h <<_ACEOF
8209 #define HAVE_IOHIDMANAGERCREATE 1
8210 _ACEOF
8213 done
8215 LIBS="$ac_save_LIBS"
8217 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8218 then
8219 ac_save_LIBS="$LIBS"
8220 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8222 $as_echo_n "checking for the QuickTime framework... " >&6; }
8223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8225 #include <QuickTime/ImageCompression.h>
8227 main ()
8229 CodecManagerVersion(NULL);
8231 return 0;
8233 _ACEOF
8234 if ac_fn_c_try_link "$LINENO"; then :
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8236 $as_echo "yes" >&6; }
8237 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8239 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8240 else
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8243 ac_cv_header_QuickTime_ImageCompression_h=no
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 LIBS="$ac_save_LIBS"
8249 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8250 then
8251 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8253 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8254 then
8255 CARBON_LIBS="-framework Carbon"
8259 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8260 then
8261 ac_save_LIBS="$LIBS"
8262 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8263 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8264 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8265 enable_winemac_drv=${enable_winemac_drv:-yes}
8268 LIBS="$ac_save_LIBS"
8271 if test "x$enable_win16" = "xyes"
8272 then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8274 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8275 if test "$cross_compiling" = yes; then :
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8277 $as_echo "cross-compiling, assuming yes" >&6; }
8278 else
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 asm(".text\n"
8282 "bad:\tnop;nop\n"
8283 "good:\tnop;nop\n\t"
8284 ".globl _testfunc\n"
8285 "_testfunc:\tcallw good");
8286 extern void testfunc();
8288 main ()
8290 unsigned short *p = (unsigned short *)testfunc;
8291 return p[0] != 0xe866 || p[1] != 0xfffa
8293 return 0;
8295 _ACEOF
8296 if ac_fn_c_try_run "$LINENO"; then :
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8298 $as_echo "yes" >&6; }
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8302 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
8304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8305 conftest.$ac_objext conftest.beam conftest.$ac_ext
8310 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8312 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8314 LIBWINE_INSTALL_DEV="libwine.dylib"
8316 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8318 WINELOADER_DEPENDS="wine_info.plist"
8322 linux-android*)
8323 DLLFLAGS="$DLLFLAGS -fPIC"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8325 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8326 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 ac_wine_try_cflags_saved=$CFLAGS
8330 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 int main(int argc, char **argv) { return 0; }
8334 _ACEOF
8335 if ac_fn_c_try_link "$LINENO"; then :
8336 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8337 else
8338 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8340 rm -f core conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 CFLAGS=$ac_wine_try_cflags_saved
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8345 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8346 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8347 LDEXECFLAGS="-Wl,--export-dynamic"
8349 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8351 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8352 if eval \${$as_ac_var+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_wine_try_cflags_saved=$CFLAGS
8356 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 int main(int argc, char **argv) { return 0; }
8360 _ACEOF
8361 if ac_fn_c_try_link "$LINENO"; then :
8362 eval "$as_ac_var=yes"
8363 else
8364 eval "$as_ac_var=no"
8366 rm -f core conftest.err conftest.$ac_objext \
8367 conftest$ac_exeext conftest.$ac_ext
8368 CFLAGS=$ac_wine_try_cflags_saved
8370 eval ac_res=\$$as_ac_var
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8372 $as_echo "$ac_res" >&6; }
8373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8374 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8375 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8376 else
8377 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8379 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8380 if eval \${$as_ac_var+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_wine_try_cflags_saved=$CFLAGS
8384 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8387 int main(int argc, char **argv) { return 0; }
8388 _ACEOF
8389 if ac_fn_c_try_link "$LINENO"; then :
8390 eval "$as_ac_var=yes"
8391 else
8392 eval "$as_ac_var=no"
8394 rm -f core conftest.err conftest.$ac_objext \
8395 conftest$ac_exeext conftest.$ac_ext
8396 CFLAGS=$ac_wine_try_cflags_saved
8398 eval ac_res=\$$as_ac_var
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8400 $as_echo "$ac_res" >&6; }
8401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8402 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8403 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8408 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8409 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8416 int main(int argc, char **argv) { return 0; }
8417 _ACEOF
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 ac_cv_cflags__Wl___enable_new_dtags=yes
8420 else
8421 ac_cv_cflags__Wl___enable_new_dtags=no
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8425 CFLAGS=$ac_wine_try_cflags_saved
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8428 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8429 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8430 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8433 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8434 if ${ac_cv_cflags__Wl__pie+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -Wl,-pie"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_cflags__Wl__pie=yes
8445 else
8446 ac_cv_cflags__Wl__pie=no
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8453 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8454 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8455 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8458 LIBWINE_SHAREDLIB="libwine.so"
8460 LIBWINE_INSTALL_LIB="libwine.so"
8462 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8467 DLLFLAGS="$DLLFLAGS -fPIC"
8468 LDEXECFLAGS=""
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8470 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8471 if ${ac_cv_c_dll_gnuelf+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 void myfunc() {}
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_c_dll_gnuelf="yes"
8482 else
8483 ac_cv_c_dll_gnuelf="no"
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8490 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8491 if test "$ac_cv_c_dll_gnuelf" = "yes"
8492 then
8493 LIBWINE_LDFLAGS="-shared"
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8496 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8507 else
8508 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8515 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8516 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8517 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8518 else
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8520 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8521 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 int main(int argc, char **argv) { return 0; }
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8532 else
8533 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 CFLAGS=$ac_wine_try_cflags_saved
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8540 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8541 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8542 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8546 echo '{ global: *; };' >conftest.map
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8548 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8549 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8550 $as_echo_n "(cached) " >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 int main(int argc, char **argv) { return 0; }
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8560 else
8561 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8563 rm -f core conftest.err conftest.$ac_objext \
8564 conftest$ac_exeext conftest.$ac_ext
8565 CFLAGS=$ac_wine_try_cflags_saved
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8568 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8569 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8570 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8572 rm -f conftest.map
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8575 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8576 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_wine_try_cflags_saved=$CFLAGS
8580 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8583 int main(int argc, char **argv) { return 0; }
8584 _ACEOF
8585 if ac_fn_c_try_link "$LINENO"; then :
8586 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8587 else
8588 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8590 rm -f core conftest.err conftest.$ac_objext \
8591 conftest$ac_exeext conftest.$ac_ext
8592 CFLAGS=$ac_wine_try_cflags_saved
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8595 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8596 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8597 LDEXECFLAGS="-Wl,--export-dynamic"
8600 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8602 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8603 if eval \${$as_ac_var+:} false; then :
8604 $as_echo_n "(cached) " >&6
8605 else
8606 ac_wine_try_cflags_saved=$CFLAGS
8607 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8610 int main(int argc, char **argv) { return 0; }
8611 _ACEOF
8612 if ac_fn_c_try_link "$LINENO"; then :
8613 eval "$as_ac_var=yes"
8614 else
8615 eval "$as_ac_var=no"
8617 rm -f core conftest.err conftest.$ac_objext \
8618 conftest$ac_exeext conftest.$ac_ext
8619 CFLAGS=$ac_wine_try_cflags_saved
8621 eval ac_res=\$$as_ac_var
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8623 $as_echo "$ac_res" >&6; }
8624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8625 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8626 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8627 else
8628 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8630 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8631 if eval \${$as_ac_var+:} false; then :
8632 $as_echo_n "(cached) " >&6
8633 else
8634 ac_wine_try_cflags_saved=$CFLAGS
8635 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 int main(int argc, char **argv) { return 0; }
8639 _ACEOF
8640 if ac_fn_c_try_link "$LINENO"; then :
8641 eval "$as_ac_var=yes"
8642 else
8643 eval "$as_ac_var=no"
8645 rm -f core conftest.err conftest.$ac_objext \
8646 conftest$ac_exeext conftest.$ac_ext
8647 CFLAGS=$ac_wine_try_cflags_saved
8649 eval ac_res=\$$as_ac_var
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8651 $as_echo "$ac_res" >&6; }
8652 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8653 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8654 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8659 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8660 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 int main(int argc, char **argv) { return 0; }
8668 _ACEOF
8669 if ac_fn_c_try_link "$LINENO"; then :
8670 ac_cv_cflags__Wl___enable_new_dtags=yes
8671 else
8672 ac_cv_cflags__Wl___enable_new_dtags=no
8674 rm -f core conftest.err conftest.$ac_objext \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8679 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8680 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8681 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8684 case $host_cpu in
8685 *i[3456789]86* | x86_64)
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8687 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8688 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8689 $as_echo_n "(cached) " >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 int main(int argc, char **argv) { return 0; }
8696 _ACEOF
8697 if ac_fn_c_try_link "$LINENO"; then :
8698 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8699 else
8700 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8702 rm -f core conftest.err conftest.$ac_objext \
8703 conftest$ac_exeext conftest.$ac_ext
8704 CFLAGS=$ac_wine_try_cflags_saved
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8707 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8708 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8709 case $host_os in
8710 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8711 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8712 esac
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8715 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8716 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8717 $as_echo_n "(cached) " >&6
8718 else
8719 ac_wine_try_cflags_saved=$CFLAGS
8720 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8723 int main(int argc, char **argv) { return 0; }
8724 _ACEOF
8725 if ac_fn_c_try_link "$LINENO"; then :
8726 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8727 else
8728 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8735 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8736 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8737 case $host_os in
8738 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8739 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8740 esac
8742 # Extract the first word of "prelink", so it can be a program name with args.
8743 set dummy prelink; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8745 $as_echo_n "checking for $ac_word... " >&6; }
8746 if ${ac_cv_path_PRELINK+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 case $PRELINK in
8750 [\\/]* | ?:[\\/]*)
8751 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8755 for as_dir in /sbin /usr/sbin $PATH
8757 IFS=$as_save_IFS
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 break 2
8765 done
8766 done
8767 IFS=$as_save_IFS
8769 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8771 esac
8773 PRELINK=$ac_cv_path_PRELINK
8774 if test -n "$PRELINK"; then
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8776 $as_echo "$PRELINK" >&6; }
8777 else
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8779 $as_echo "no" >&6; }
8783 if test "x$PRELINK" = xfalse
8784 then
8785 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8789 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8790 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8801 else
8802 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8809 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8810 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8811 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8814 esac
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8818 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8819 if ${ac_cv_c_dll_unixware+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 void myfunc() {}
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_c_dll_unixware="yes"
8830 else
8831 ac_cv_c_dll_unixware="no"
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8838 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8839 if test "$ac_cv_c_dll_unixware" = "yes"
8840 then
8841 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8844 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8846 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8848 LIBWINE_INSTALL_DEV="libwine.so"
8850 LIBWINE_DEPENDS="wine.map"
8853 esac
8855 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8856 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8857 enable_winemac_drv=${enable_winemac_drv:-no}
8858 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8860 CROSSTARGET=""
8862 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8863 then
8864 case "$host_cpu" in
8865 arm*)
8866 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8867 i[3456789]86*)
8868 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
8869 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8870 mingw32-gcc" ;;
8871 x86_64)
8872 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
8873 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8875 ac_prefix_list="" ;;
8876 esac
8877 for ac_prog in $ac_prefix_list
8879 # Extract the first word of "$ac_prog", so it can be a program name with args.
8880 set dummy $ac_prog; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882 $as_echo_n "checking for $ac_word... " >&6; }
8883 if ${ac_cv_prog_CROSSCC+:} false; then :
8884 $as_echo_n "(cached) " >&6
8885 else
8886 if test -n "$CROSSCC"; then
8887 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8888 else
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 for as_dir in $PATH
8892 IFS=$as_save_IFS
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8896 ac_cv_prog_CROSSCC="$ac_prog"
8897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898 break 2
8900 done
8901 done
8902 IFS=$as_save_IFS
8906 CROSSCC=$ac_cv_prog_CROSSCC
8907 if test -n "$CROSSCC"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8909 $as_echo "$CROSSCC" >&6; }
8910 else
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8916 test -n "$CROSSCC" && break
8917 done
8918 test -n "$CROSSCC" || CROSSCC="false"
8920 if test "$CROSSCC" != "false"
8921 then
8922 ac_save_CC="$CC"
8923 CC="$CROSSCC"
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8925 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8930 main ()
8934 return 0;
8936 _ACEOF
8937 if ac_fn_c_try_compile "$LINENO"; then :
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8939 $as_echo "yes" >&6; }
8940 set x $CROSSCC
8941 shift
8942 while test $# -ge 1
8944 case "$1" in
8945 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8946 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8947 esac
8948 shift
8949 done
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8955 CC="$ac_save_CC"
8960 if test "$ac_cv_header_pthread_h" = "yes"
8961 then
8962 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8963 if test "x$ac_cv_func_pthread_create" = xyes; then :
8965 else
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8967 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8968 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 ac_check_lib_save_LIBS=$LIBS
8972 LIBS="-lpthread $LIBS"
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8976 /* Override any GCC internal prototype to avoid an error.
8977 Use char because int might match the return type of a GCC
8978 builtin and then its argument prototype would still apply. */
8979 #ifdef __cplusplus
8980 extern "C"
8981 #endif
8982 char pthread_create ();
8984 main ()
8986 return pthread_create ();
8988 return 0;
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 ac_cv_lib_pthread_pthread_create=yes
8993 else
8994 ac_cv_lib_pthread_pthread_create=no
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LIBS=$ac_check_lib_save_LIBS
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9001 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9002 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9003 PTHREAD_LIBS="-lpthread"
9010 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9011 case "x$with_pthread" in
9012 xno) ;;
9013 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9014 Wine cannot support threads without libpthread.
9015 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9016 esac
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9022 $as_echo_n "checking for X... " >&6; }
9025 # Check whether --with-x was given.
9026 if test "${with_x+set}" = set; then :
9027 withval=$with_x;
9030 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9031 if test "x$with_x" = xno; then
9032 # The user explicitly disabled X.
9033 have_x=disabled
9034 else
9035 case $x_includes,$x_libraries in #(
9036 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9037 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 # One or both of the vars are not set, and there is no cached value.
9041 ac_x_includes=no ac_x_libraries=no
9042 rm -f -r conftest.dir
9043 if mkdir conftest.dir; then
9044 cd conftest.dir
9045 cat >Imakefile <<'_ACEOF'
9046 incroot:
9047 @echo incroot='${INCROOT}'
9048 usrlibdir:
9049 @echo usrlibdir='${USRLIBDIR}'
9050 libdir:
9051 @echo libdir='${LIBDIR}'
9052 _ACEOF
9053 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9054 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9055 for ac_var in incroot usrlibdir libdir; do
9056 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9057 done
9058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9059 for ac_extension in a so sl dylib la dll; do
9060 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9061 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9062 ac_im_usrlibdir=$ac_im_libdir; break
9064 done
9065 # Screen out bogus values from the imake configuration. They are
9066 # bogus both because they are the default anyway, and because
9067 # using them would break gcc on systems where it needs fixed includes.
9068 case $ac_im_incroot in
9069 /usr/include) ac_x_includes= ;;
9070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9071 esac
9072 case $ac_im_usrlibdir in
9073 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9075 esac
9077 cd ..
9078 rm -f -r conftest.dir
9081 # Standard set of common directories for X headers.
9082 # Check X11 before X11Rn because it is often a symlink to the current release.
9083 ac_x_header_dirs='
9084 /usr/X11/include
9085 /usr/X11R7/include
9086 /usr/X11R6/include
9087 /usr/X11R5/include
9088 /usr/X11R4/include
9090 /usr/include/X11
9091 /usr/include/X11R7
9092 /usr/include/X11R6
9093 /usr/include/X11R5
9094 /usr/include/X11R4
9096 /usr/local/X11/include
9097 /usr/local/X11R7/include
9098 /usr/local/X11R6/include
9099 /usr/local/X11R5/include
9100 /usr/local/X11R4/include
9102 /usr/local/include/X11
9103 /usr/local/include/X11R7
9104 /usr/local/include/X11R6
9105 /usr/local/include/X11R5
9106 /usr/local/include/X11R4
9108 /usr/X386/include
9109 /usr/x386/include
9110 /usr/XFree86/include/X11
9112 /usr/include
9113 /usr/local/include
9114 /usr/unsupported/include
9115 /usr/athena/include
9116 /usr/local/x11r5/include
9117 /usr/lpp/Xamples/include
9119 /usr/openwin/include
9120 /usr/openwin/share/include'
9122 if test "$ac_x_includes" = no; then
9123 # Guess where to find include files, by looking for Xlib.h.
9124 # First, try using that file with no special directory specified.
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 #include <X11/Xlib.h>
9128 _ACEOF
9129 if ac_fn_c_try_cpp "$LINENO"; then :
9130 # We can compile using X headers with no special include directory.
9131 ac_x_includes=
9132 else
9133 for ac_dir in $ac_x_header_dirs; do
9134 if test -r "$ac_dir/X11/Xlib.h"; then
9135 ac_x_includes=$ac_dir
9136 break
9138 done
9140 rm -f conftest.err conftest.i conftest.$ac_ext
9141 fi # $ac_x_includes = no
9143 if test "$ac_x_libraries" = no; then
9144 # Check for the libraries.
9145 # See if we find them without any special options.
9146 # Don't add to $LIBS permanently.
9147 ac_save_LIBS=$LIBS
9148 LIBS="-lX11 $LIBS"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 #include <X11/Xlib.h>
9153 main ()
9155 XrmInitialize ()
9157 return 0;
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 LIBS=$ac_save_LIBS
9162 # We can link X programs with no special library path.
9163 ac_x_libraries=
9164 else
9165 LIBS=$ac_save_LIBS
9166 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9168 # Don't even attempt the hair of trying to link an X program!
9169 for ac_extension in a so sl dylib la dll; do
9170 if test -r "$ac_dir/libX11.$ac_extension"; then
9171 ac_x_libraries=$ac_dir
9172 break 2
9174 done
9175 done
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 fi # $ac_x_libraries = no
9181 case $ac_x_includes,$ac_x_libraries in #(
9182 no,* | *,no | *\'*)
9183 # Didn't find X, or a directory has "'" in its name.
9184 ac_cv_have_x="have_x=no";; #(
9186 # Record where we found X for the cache.
9187 ac_cv_have_x="have_x=yes\
9188 ac_x_includes='$ac_x_includes'\
9189 ac_x_libraries='$ac_x_libraries'"
9190 esac
9192 ;; #(
9193 *) have_x=yes;;
9194 esac
9195 eval "$ac_cv_have_x"
9196 fi # $with_x != no
9198 if test "$have_x" != yes; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9200 $as_echo "$have_x" >&6; }
9201 no_x=yes
9202 else
9203 # If each of the values was on the command line, it overrides each guess.
9204 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9205 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9206 # Update the cache value to reflect the command line values.
9207 ac_cv_have_x="have_x=yes\
9208 ac_x_includes='$x_includes'\
9209 ac_x_libraries='$x_libraries'"
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9211 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9214 if test "$no_x" = yes; then
9215 # Not all programs may use this symbol, but it does not hurt to define it.
9217 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9219 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9220 else
9221 if test -n "$x_includes"; then
9222 X_CFLAGS="$X_CFLAGS -I$x_includes"
9225 # It would also be nice to do this for all -L options, not just this one.
9226 if test -n "$x_libraries"; then
9227 X_LIBS="$X_LIBS -L$x_libraries"
9228 # For Solaris; some versions of Sun CC require a space after -R and
9229 # others require no space. Words are not sufficient . . . .
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9231 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9232 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9233 ac_xsave_c_werror_flag=$ac_c_werror_flag
9234 ac_c_werror_flag=yes
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9239 main ()
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 $as_echo "no" >&6; }
9249 X_LIBS="$X_LIBS -R$x_libraries"
9250 else
9251 LIBS="$ac_xsave_LIBS -R $x_libraries"
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9256 main ()
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9265 $as_echo "yes" >&6; }
9266 X_LIBS="$X_LIBS -R $x_libraries"
9267 else
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9269 $as_echo "neither works" >&6; }
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 ac_c_werror_flag=$ac_xsave_c_werror_flag
9277 LIBS=$ac_xsave_LIBS
9280 # Check for system-dependent libraries X programs must link with.
9281 # Do this before checking for the system-independent R6 libraries
9282 # (-lICE), since we may need -lsocket or whatever for X linking.
9284 if test "$ISC" = yes; then
9285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9286 else
9287 # Martyn Johnson says this is needed for Ultrix, if the X
9288 # libraries were built with DECnet support. And Karl Berry says
9289 # the Alpha needs dnet_stub (dnet does not exist).
9290 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9297 #ifdef __cplusplus
9298 extern "C"
9299 #endif
9300 char XOpenDisplay ();
9302 main ()
9304 return XOpenDisplay ();
9306 return 0;
9308 _ACEOF
9309 if ac_fn_c_try_link "$LINENO"; then :
9311 else
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9313 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9314 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_check_lib_save_LIBS=$LIBS
9318 LIBS="-ldnet $LIBS"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9325 #ifdef __cplusplus
9326 extern "C"
9327 #endif
9328 char dnet_ntoa ();
9330 main ()
9332 return dnet_ntoa ();
9334 return 0;
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_lib_dnet_dnet_ntoa=yes
9339 else
9340 ac_cv_lib_dnet_dnet_ntoa=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 LIBS=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9347 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9348 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9349 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9352 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9354 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9355 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_check_lib_save_LIBS=$LIBS
9359 LIBS="-ldnet_stub $LIBS"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9363 /* Override any GCC internal prototype to avoid an error.
9364 Use char because int might match the return type of a GCC
9365 builtin and then its argument prototype would still apply. */
9366 #ifdef __cplusplus
9367 extern "C"
9368 #endif
9369 char dnet_ntoa ();
9371 main ()
9373 return dnet_ntoa ();
9375 return 0;
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9380 else
9381 ac_cv_lib_dnet_stub_dnet_ntoa=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9388 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9389 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9390 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS="$ac_xsave_LIBS"
9399 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9400 # to get the SysV transport functions.
9401 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9402 # needs -lnsl.
9403 # The nsl library prevents programs from opening the X display
9404 # on Irix 5.2, according to T.E. Dickey.
9405 # The functions gethostbyname, getservbyname, and inet_addr are
9406 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9407 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9408 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9412 if test $ac_cv_func_gethostbyname = no; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9414 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9415 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lnsl $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char gethostbyname ();
9431 main ()
9433 return gethostbyname ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_nsl_gethostbyname=yes
9440 else
9441 ac_cv_lib_nsl_gethostbyname=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9448 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9449 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9453 if test $ac_cv_lib_nsl_gethostbyname = no; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9455 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9456 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lbsd $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char gethostbyname ();
9472 main ()
9474 return gethostbyname ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_bsd_gethostbyname=yes
9481 else
9482 ac_cv_lib_bsd_gethostbyname=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9489 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9490 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9497 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9498 # socket/setsockopt and other routines are undefined under SCO ODT
9499 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9500 # on later versions), says Simon Leinen: it contains gethostby*
9501 # variants that don't use the name server (or something). -lsocket
9502 # must be given before -lnsl if both are needed. We assume that
9503 # if connect needs -lnsl, so does gethostbyname.
9504 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9505 if test "x$ac_cv_func_connect" = xyes; then :
9509 if test $ac_cv_func_connect = no; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9511 $as_echo_n "checking for connect in -lsocket... " >&6; }
9512 if ${ac_cv_lib_socket_connect+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_check_lib_save_LIBS=$LIBS
9516 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char connect ();
9528 main ()
9530 return connect ();
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_lib_socket_connect=yes
9537 else
9538 ac_cv_lib_socket_connect=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9545 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9546 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9547 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9552 # Guillermo Gomez says -lposix is necessary on A/UX.
9553 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9554 if test "x$ac_cv_func_remove" = xyes; then :
9558 if test $ac_cv_func_remove = no; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9560 $as_echo_n "checking for remove in -lposix... " >&6; }
9561 if ${ac_cv_lib_posix_remove+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lposix $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char remove ();
9577 main ()
9579 return remove ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_lib_posix_remove=yes
9586 else
9587 ac_cv_lib_posix_remove=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9594 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9595 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9601 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9602 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9603 if test "x$ac_cv_func_shmat" = xyes; then :
9607 if test $ac_cv_func_shmat = no; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9609 $as_echo_n "checking for shmat in -lipc... " >&6; }
9610 if ${ac_cv_lib_ipc_shmat+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_check_lib_save_LIBS=$LIBS
9614 LIBS="-lipc $LIBS"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9621 #ifdef __cplusplus
9622 extern "C"
9623 #endif
9624 char shmat ();
9626 main ()
9628 return shmat ();
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_lib_ipc_shmat=yes
9635 else
9636 ac_cv_lib_ipc_shmat=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9643 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9644 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9645 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9651 # Check for libraries that X11R6 Xt/Xaw programs need.
9652 ac_save_LDFLAGS=$LDFLAGS
9653 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9654 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9655 # check for ICE first), but we must link in the order -lSM -lICE or
9656 # we get undefined symbols. So assume we have SM if we have ICE.
9657 # These have to be linked with before -lX11, unlike the other
9658 # libraries we check for below, so use a different variable.
9659 # John Interrante, Karl Berry
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9661 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9662 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char IceConnectionNumber ();
9678 main ()
9680 return IceConnectionNumber ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 ac_cv_lib_ICE_IceConnectionNumber=yes
9687 else
9688 ac_cv_lib_ICE_IceConnectionNumber=no
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9695 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9696 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9697 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9700 LDFLAGS=$ac_save_LDFLAGS
9705 if test "$have_x" = "yes"
9706 then
9707 ac_save_CPPFLAGS="$CPPFLAGS"
9708 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9711 $as_echo_n "checking for -lX11... " >&6; }
9712 if ${ac_cv_lib_soname_X11+:} false; then :
9713 $as_echo_n "(cached) " >&6
9714 else
9715 ac_check_soname_save_LIBS=$LIBS
9716 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9723 #ifdef __cplusplus
9724 extern "C"
9725 #endif
9726 char XCreateWindow ();
9728 main ()
9730 return XCreateWindow ();
9732 return 0;
9734 _ACEOF
9735 if ac_fn_c_try_link "$LINENO"; then :
9736 case "$LIBEXT" in
9737 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9738 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'` ;;
9739 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9740 if ${ac_cv_lib_soname_X11:+false} :; then :
9741 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9742 fi ;;
9743 esac
9745 rm -f core conftest.err conftest.$ac_objext \
9746 conftest$ac_exeext conftest.$ac_ext
9747 LIBS=$ac_check_soname_save_LIBS
9749 if ${ac_cv_lib_soname_X11:+false} :; then :
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9751 $as_echo "not found" >&6; }
9753 else
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9755 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9757 cat >>confdefs.h <<_ACEOF
9758 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9759 _ACEOF
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9764 $as_echo_n "checking for -lXext... " >&6; }
9765 if ${ac_cv_lib_soname_Xext+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_soname_save_LIBS=$LIBS
9769 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char XextCreateExtension ();
9781 main ()
9783 return XextCreateExtension ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 case "$LIBEXT" in
9790 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9793 if ${ac_cv_lib_soname_Xext:+false} :; then :
9794 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9795 fi ;;
9796 esac
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if ${ac_cv_lib_soname_Xext:+false} :; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9806 else
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9808 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9812 _ACEOF
9814 X_LIBS="$X_LIBS -lXext"
9816 X_LIBS="$X_LIBS -lX11"
9818 for ac_header in X11/Xlib.h \
9819 X11/XKBlib.h \
9820 X11/Xutil.h \
9821 X11/Xcursor/Xcursor.h \
9822 X11/extensions/shape.h \
9823 X11/extensions/XInput.h \
9824 X11/extensions/XInput2.h \
9825 X11/extensions/XShm.h \
9826 X11/extensions/Xcomposite.h \
9827 X11/extensions/Xinerama.h \
9828 X11/extensions/Xrandr.h \
9829 X11/extensions/Xrender.h \
9830 X11/extensions/xf86vmode.h \
9831 X11/extensions/xf86vmproto.h
9832 do :
9833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9834 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9835 # include <X11/Xlib.h>
9836 #endif
9837 #ifdef HAVE_X11_XUTIL_H
9838 # include <X11/Xutil.h>
9839 #endif
9841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9842 cat >>confdefs.h <<_ACEOF
9843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9844 _ACEOF
9848 done
9851 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9852 then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9854 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9855 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_check_lib_save_LIBS=$LIBS
9859 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9866 #ifdef __cplusplus
9867 extern "C"
9868 #endif
9869 char XkbQueryExtension ();
9871 main ()
9873 return XkbQueryExtension ();
9875 return 0;
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_lib_X11_XkbQueryExtension=yes
9880 else
9881 ac_cv_lib_X11_XkbQueryExtension=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 LIBS=$ac_check_lib_save_LIBS
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9888 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9889 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9891 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9897 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9898 then
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9900 $as_echo_n "checking for -lXcursor... " >&6; }
9901 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_check_soname_save_LIBS=$LIBS
9905 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9912 #ifdef __cplusplus
9913 extern "C"
9914 #endif
9915 char XcursorImageLoadCursor ();
9917 main ()
9919 return XcursorImageLoadCursor ();
9921 return 0;
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 case "$LIBEXT" in
9926 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9927 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'` ;;
9928 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9929 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9930 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9931 fi ;;
9932 esac
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_soname_save_LIBS
9938 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9940 $as_echo "not found" >&6; }
9942 else
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9944 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9946 cat >>confdefs.h <<_ACEOF
9947 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9948 _ACEOF
9953 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9954 case "x$with_xcursor" in
9955 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9956 xno) ;;
9957 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9958 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9959 esac
9963 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9964 then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9966 $as_echo_n "checking for -lXi... " >&6; }
9967 if ${ac_cv_lib_soname_Xi+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_check_soname_save_LIBS=$LIBS
9971 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9975 /* Override any GCC internal prototype to avoid an error.
9976 Use char because int might match the return type of a GCC
9977 builtin and then its argument prototype would still apply. */
9978 #ifdef __cplusplus
9979 extern "C"
9980 #endif
9981 char XOpenDevice ();
9983 main ()
9985 return XOpenDevice ();
9987 return 0;
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 case "$LIBEXT" in
9992 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9993 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'` ;;
9994 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9995 if ${ac_cv_lib_soname_Xi:+false} :; then :
9996 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9997 fi ;;
9998 esac
10000 rm -f core conftest.err conftest.$ac_objext \
10001 conftest$ac_exeext conftest.$ac_ext
10002 LIBS=$ac_check_soname_save_LIBS
10004 if ${ac_cv_lib_soname_Xi:+false} :; then :
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10006 $as_echo "not found" >&6; }
10008 else
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10010 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10012 cat >>confdefs.h <<_ACEOF
10013 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10014 _ACEOF
10019 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10020 case "x$with_xinput" in
10021 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10022 xno) ;;
10023 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10024 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10025 esac
10029 if test "x$ac_cv_lib_soname_Xi" != x
10030 then
10031 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10032 case "x$with_xinput2" in
10033 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10034 xno) ;;
10035 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10036 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10037 esac
10042 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10043 then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10045 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10046 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_check_lib_save_LIBS=$LIBS
10050 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char XShmQueryExtension ();
10062 main ()
10064 return XShmQueryExtension ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_lib_Xext_XShmQueryExtension=yes
10071 else
10072 ac_cv_lib_Xext_XShmQueryExtension=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_lib_save_LIBS
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10079 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10080 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10082 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10087 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10088 case "x$with_xshm" in
10089 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10090 xno) ;;
10091 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10092 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10093 esac
10097 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10098 then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10100 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10101 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_check_lib_save_LIBS=$LIBS
10105 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char XShapeQueryExtension ();
10117 main ()
10119 return XShapeQueryExtension ();
10121 return 0;
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_lib_Xext_XShapeQueryExtension=yes
10126 else
10127 ac_cv_lib_Xext_XShapeQueryExtension=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 LIBS=$ac_check_lib_save_LIBS
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10134 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10135 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10137 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10142 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10143 case "x$with_xshape" in
10144 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10145 xno) ;;
10146 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10147 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10148 esac
10152 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10153 then
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10155 $as_echo_n "checking for -lXxf86vm... " >&6; }
10156 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10157 $as_echo_n "(cached) " >&6
10158 else
10159 ac_check_soname_save_LIBS=$LIBS
10160 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10162 /* end confdefs.h. */
10164 /* Override any GCC internal prototype to avoid an error.
10165 Use char because int might match the return type of a GCC
10166 builtin and then its argument prototype would still apply. */
10167 #ifdef __cplusplus
10168 extern "C"
10169 #endif
10170 char XF86VidModeQueryExtension ();
10172 main ()
10174 return XF86VidModeQueryExtension ();
10176 return 0;
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 case "$LIBEXT" in
10181 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10182 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'` ;;
10183 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10184 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10185 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10186 fi ;;
10187 esac
10189 rm -f core conftest.err conftest.$ac_objext \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_soname_save_LIBS
10193 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10195 $as_echo "not found" >&6; }
10197 else
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10199 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10201 cat >>confdefs.h <<_ACEOF
10202 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10203 _ACEOF
10208 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10209 case "x$with_xxf86vm" in
10210 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10211 xno) ;;
10212 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10213 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10214 esac
10218 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10219 then
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10221 $as_echo_n "checking for -lXrender... " >&6; }
10222 if ${ac_cv_lib_soname_Xrender+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_check_soname_save_LIBS=$LIBS
10226 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10230 /* Override any GCC internal prototype to avoid an error.
10231 Use char because int might match the return type of a GCC
10232 builtin and then its argument prototype would still apply. */
10233 #ifdef __cplusplus
10234 extern "C"
10235 #endif
10236 char XRenderQueryExtension ();
10238 main ()
10240 return XRenderQueryExtension ();
10242 return 0;
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"; then :
10246 case "$LIBEXT" in
10247 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10248 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'` ;;
10249 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10250 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10251 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10252 fi ;;
10253 esac
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_soname_save_LIBS
10259 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10261 $as_echo "not found" >&6; }
10263 else
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10265 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10267 cat >>confdefs.h <<_ACEOF
10268 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10269 _ACEOF
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10272 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10273 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_check_lib_save_LIBS=$LIBS
10277 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char XRenderSetPictureTransform ();
10289 main ()
10291 return XRenderSetPictureTransform ();
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10298 else
10299 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10306 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10307 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10309 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10314 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10315 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10316 $as_echo_n "(cached) " >&6
10317 else
10318 ac_check_lib_save_LIBS=$LIBS
10319 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10323 /* Override any GCC internal prototype to avoid an error.
10324 Use char because int might match the return type of a GCC
10325 builtin and then its argument prototype would still apply. */
10326 #ifdef __cplusplus
10327 extern "C"
10328 #endif
10329 char XRenderCreateLinearGradient ();
10331 main ()
10333 return XRenderCreateLinearGradient ();
10335 return 0;
10337 _ACEOF
10338 if ac_fn_c_try_link "$LINENO"; then :
10339 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10340 else
10341 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_lib_save_LIBS
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10348 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10349 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10351 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10358 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10359 case "x$with_xrender" in
10360 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10361 xno) ;;
10362 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10363 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10364 esac
10368 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10369 then
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 #include <X11/Xlib.h>
10373 #include <X11/extensions/Xrandr.h>
10375 main ()
10377 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_compile "$LINENO"; then :
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10384 $as_echo_n "checking for -lXrandr... " >&6; }
10385 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_check_soname_save_LIBS=$LIBS
10389 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10396 #ifdef __cplusplus
10397 extern "C"
10398 #endif
10399 char XRRQueryExtension ();
10401 main ()
10403 return XRRQueryExtension ();
10405 return 0;
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 case "$LIBEXT" in
10410 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10411 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'` ;;
10412 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10413 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10414 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10415 fi ;;
10416 esac
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10424 $as_echo "not found" >&6; }
10426 else
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10428 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10432 _ACEOF
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10436 #include <X11/Xlib.h>
10437 #include <X11/extensions/Xrandr.h>
10439 main ()
10441 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10443 return 0;
10445 _ACEOF
10446 if ac_fn_c_try_compile "$LINENO"; then :
10448 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10456 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10457 case "x$with_xrandr" in
10458 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10459 xno) ;;
10460 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10461 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10462 esac
10466 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10467 then
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 #include <X11/Xlib.h>
10471 #include <X11/extensions/Xinerama.h>
10473 main ()
10475 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10477 return 0;
10479 _ACEOF
10480 if ac_fn_c_try_compile "$LINENO"; then :
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10482 $as_echo_n "checking for -lXinerama... " >&6; }
10483 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10484 $as_echo_n "(cached) " >&6
10485 else
10486 ac_check_soname_save_LIBS=$LIBS
10487 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10491 /* Override any GCC internal prototype to avoid an error.
10492 Use char because int might match the return type of a GCC
10493 builtin and then its argument prototype would still apply. */
10494 #ifdef __cplusplus
10495 extern "C"
10496 #endif
10497 char XineramaQueryScreens ();
10499 main ()
10501 return XineramaQueryScreens ();
10503 return 0;
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"; then :
10507 case "$LIBEXT" in
10508 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10509 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'` ;;
10510 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10511 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10512 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10513 fi ;;
10514 esac
10516 rm -f core conftest.err conftest.$ac_objext \
10517 conftest$ac_exeext conftest.$ac_ext
10518 LIBS=$ac_check_soname_save_LIBS
10520 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10522 $as_echo "not found" >&6; }
10524 else
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10526 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10528 cat >>confdefs.h <<_ACEOF
10529 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10530 _ACEOF
10535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10537 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10538 case "x$with_xinerama" in
10539 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10540 xno) ;;
10541 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10542 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10543 esac
10547 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10548 then
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10550 $as_echo_n "checking for -lXcomposite... " >&6; }
10551 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10552 $as_echo_n "(cached) " >&6
10553 else
10554 ac_check_soname_save_LIBS=$LIBS
10555 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10559 /* Override any GCC internal prototype to avoid an error.
10560 Use char because int might match the return type of a GCC
10561 builtin and then its argument prototype would still apply. */
10562 #ifdef __cplusplus
10563 extern "C"
10564 #endif
10565 char XCompositeRedirectWindow ();
10567 main ()
10569 return XCompositeRedirectWindow ();
10571 return 0;
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 case "$LIBEXT" in
10576 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10577 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'` ;;
10578 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10579 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10580 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10581 fi ;;
10582 esac
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_soname_save_LIBS
10588 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10590 $as_echo "not found" >&6; }
10592 else
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10594 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10596 cat >>confdefs.h <<_ACEOF
10597 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10598 _ACEOF
10603 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10604 case "x$with_xcomposite" in
10605 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10606 xno) ;;
10607 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10608 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10609 esac
10613 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10614 #include <X11/Xlib.h>
10615 #endif
10617 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10619 cat >>confdefs.h <<_ACEOF
10620 #define HAVE_XICCALLBACK_CALLBACK 1
10621 _ACEOF
10625 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10626 #include <X11/Xlib.h>
10627 #endif
10629 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10631 cat >>confdefs.h <<_ACEOF
10632 #define HAVE_XEVENT_XCOOKIE 1
10633 _ACEOF
10640 opengl_msg=""
10641 if test "x$with_opengl" != "xno"
10642 then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10644 $as_echo_n "checking for -lGL... " >&6; }
10645 if ${ac_cv_lib_soname_GL+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_check_soname_save_LIBS=$LIBS
10649 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10656 #ifdef __cplusplus
10657 extern "C"
10658 #endif
10659 char glXCreateContext ();
10661 main ()
10663 return glXCreateContext ();
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 case "$LIBEXT" in
10670 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10671 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'` ;;
10672 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10673 if ${ac_cv_lib_soname_GL:+false} :; then :
10674 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10675 fi ;;
10676 esac
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 LIBS=$ac_check_soname_save_LIBS
10682 if ${ac_cv_lib_soname_GL:+false} :; then :
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10684 $as_echo "not found" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10686 $as_echo_n "checking for -lGL... " >&6; }
10687 if ${ac_cv_lib_soname_GL+:} false; then :
10688 $as_echo_n "(cached) " >&6
10689 else
10690 ac_check_soname_save_LIBS=$LIBS
10691 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"
10692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10698 #ifdef __cplusplus
10699 extern "C"
10700 #endif
10701 char glXCreateContext ();
10703 main ()
10705 return glXCreateContext ();
10707 return 0;
10709 _ACEOF
10710 if ac_fn_c_try_link "$LINENO"; then :
10711 case "$LIBEXT" in
10712 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10713 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'` ;;
10714 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10715 if ${ac_cv_lib_soname_GL:+false} :; then :
10716 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10717 fi ;;
10718 esac
10720 rm -f core conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10722 LIBS=$ac_check_soname_save_LIBS
10724 if ${ac_cv_lib_soname_GL:+false} :; then :
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10726 $as_echo "not found" >&6; }
10727 if test -f /usr/X11R6/lib/libGL.a
10728 then
10729 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10730 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10731 else
10732 opengl_msg="No OpenGL library found on this system."
10734 else
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10736 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10738 cat >>confdefs.h <<_ACEOF
10739 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10740 _ACEOF
10742 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"
10744 else
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10746 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10748 cat >>confdefs.h <<_ACEOF
10749 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10750 _ACEOF
10752 OPENGL_LIBS="-lGL"
10754 if test "x$with_glu" != "xno"
10755 then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10757 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10758 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10759 $as_echo_n "(cached) " >&6
10760 else
10761 ac_check_lib_save_LIBS=$LIBS
10762 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10766 /* Override any GCC internal prototype to avoid an error.
10767 Use char because int might match the return type of a GCC
10768 builtin and then its argument prototype would still apply. */
10769 #ifdef __cplusplus
10770 extern "C"
10771 #endif
10772 char gluLookAt ();
10774 main ()
10776 return gluLookAt ();
10778 return 0;
10780 _ACEOF
10781 if ac_fn_c_try_link "$LINENO"; then :
10782 ac_cv_lib_GLU_gluLookAt=yes
10783 else
10784 ac_cv_lib_GLU_gluLookAt=no
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_lib_save_LIBS
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10791 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10792 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10796 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10797 case "x$with_glu" in
10798 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10799 xno) ;;
10800 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10801 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10802 esac
10807 if test "x$with_osmesa" != "xno"
10808 then
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10810 $as_echo_n "checking for -lOSMesa... " >&6; }
10811 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 ac_check_soname_save_LIBS=$LIBS
10815 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10822 #ifdef __cplusplus
10823 extern "C"
10824 #endif
10825 char glAccum ();
10827 main ()
10829 return glAccum ();
10831 return 0;
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"; then :
10835 case "$LIBEXT" in
10836 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10837 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'` ;;
10838 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10839 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10840 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10841 fi ;;
10842 esac
10844 rm -f core conftest.err conftest.$ac_objext \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_soname_save_LIBS
10848 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10850 $as_echo "not found" >&6; }
10852 else
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10854 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10856 cat >>confdefs.h <<_ACEOF
10857 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10858 _ACEOF
10862 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10863 case "x$with_osmesa" in
10864 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10865 xno) ;;
10866 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10867 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10868 esac
10873 if test -n "$opengl_msg"; then :
10874 case "x$with_opengl" in
10875 x) as_fn_append wine_warnings "|$opengl_msg
10876 OpenGL and Direct3D won't be supported." ;;
10877 xno) ;;
10878 *) as_fn_error $? "$opengl_msg
10879 OpenGL and Direct3D won't be supported.
10880 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10881 esac
10885 CPPFLAGS="$ac_save_CPPFLAGS"
10886 else
10887 X_CFLAGS=""
10888 X_LIBS=""
10890 if test "x$X_LIBS" = "x"; then :
10891 case "x$with_x" in
10892 xno) ;;
10893 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10894 without X support, which probably isn't what you want. You will need
10895 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10896 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10897 esac
10898 enable_winex11_drv=${enable_winex11_drv:-no}
10901 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10903 if test "$ac_cv_header_CL_cl_h" = "yes"
10904 then
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10906 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10907 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lOpenCL $LIBS"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10915 /* Override any GCC internal prototype to avoid an error.
10916 Use char because int might match the return type of a GCC
10917 builtin and then its argument prototype would still apply. */
10918 #ifdef __cplusplus
10919 extern "C"
10920 #endif
10921 char clGetPlatformInfo ();
10923 main ()
10925 return clGetPlatformInfo ();
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10932 else
10933 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10935 rm -f core conftest.err conftest.$ac_objext \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LIBS=$ac_check_lib_save_LIBS
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10940 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10941 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10942 OPENCL_LIBS="-lOpenCL"
10947 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10948 case "x$with_opencl" in
10949 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10950 xno) ;;
10951 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10952 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10953 esac
10954 enable_opencl=${enable_opencl:-no}
10957 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10958 then
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10960 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10961 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10962 $as_echo_n "(cached) " >&6
10963 else
10964 ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-lpcap $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char pcap_create ();
10977 main ()
10979 return pcap_create ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 ac_cv_lib_pcap_pcap_create=yes
10986 else
10987 ac_cv_lib_pcap_pcap_create=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10994 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10995 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10996 PCAP_LIBS="-lpcap"
11001 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11002 case "x$with_pcap" in
11003 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11004 xno) ;;
11005 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11006 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11007 esac
11008 enable_wpcap=${enable_wpcap:-no}
11012 if test "x$with_xml" != "xno"
11013 then
11014 if ${XML2_CFLAGS:+false} :; then :
11015 if ${PKG_CONFIG+:} false; then :
11016 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11019 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11020 if ${XML2_LIBS:+false} :; then :
11021 if ${PKG_CONFIG+:} false; then :
11022 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11025 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11026 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11027 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11028 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11029 ac_save_CPPFLAGS=$CPPFLAGS
11030 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11031 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11032 do :
11033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11036 cat >>confdefs.h <<_ACEOF
11037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11038 _ACEOF
11042 done
11044 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"
11045 then
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11047 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11048 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11049 $as_echo_n "(cached) " >&6
11050 else
11051 ac_check_lib_save_LIBS=$LIBS
11052 LIBS="-lxml2 $XML2_LIBS $LIBS"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 char xmlParseMemory ();
11064 main ()
11066 return xmlParseMemory ();
11068 return 0;
11070 _ACEOF
11071 if ac_fn_c_try_link "$LINENO"; then :
11072 ac_cv_lib_xml2_xmlParseMemory=yes
11073 else
11074 ac_cv_lib_xml2_xmlParseMemory=no
11076 rm -f core conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11081 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11082 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11084 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11086 else
11087 XML2_LIBS=""
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11091 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11092 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11093 $as_echo_n "(cached) " >&6
11094 else
11095 ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-lxml2 $XML2_LIBS $LIBS"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11100 /* Override any GCC internal prototype to avoid an error.
11101 Use char because int might match the return type of a GCC
11102 builtin and then its argument prototype would still apply. */
11103 #ifdef __cplusplus
11104 extern "C"
11105 #endif
11106 char xmlReadMemory ();
11108 main ()
11110 return xmlReadMemory ();
11112 return 0;
11114 _ACEOF
11115 if ac_fn_c_try_link "$LINENO"; then :
11116 ac_cv_lib_xml2_xmlReadMemory=yes
11117 else
11118 ac_cv_lib_xml2_xmlReadMemory=no
11120 rm -f core conftest.err conftest.$ac_objext \
11121 conftest$ac_exeext conftest.$ac_ext
11122 LIBS=$ac_check_lib_save_LIBS
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11125 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11126 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11128 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11133 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11134 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_lib_save_LIBS=$LIBS
11138 LIBS="-lxml2 $XML2_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char xmlNewDocPI ();
11150 main ()
11152 return xmlNewDocPI ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 ac_cv_lib_xml2_xmlNewDocPI=yes
11159 else
11160 ac_cv_lib_xml2_xmlNewDocPI=no
11162 rm -f core conftest.err conftest.$ac_objext \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_lib_save_LIBS
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11167 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11168 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11170 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11175 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11176 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11177 $as_echo_n "(cached) " >&6
11178 else
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lxml2 $XML2_LIBS $LIBS"
11181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11187 #ifdef __cplusplus
11188 extern "C"
11189 #endif
11190 char xmlSchemaSetParserStructuredErrors ();
11192 main ()
11194 return xmlSchemaSetParserStructuredErrors ();
11196 return 0;
11198 _ACEOF
11199 if ac_fn_c_try_link "$LINENO"; then :
11200 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11201 else
11202 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11204 rm -f core conftest.err conftest.$ac_objext \
11205 conftest$ac_exeext conftest.$ac_ext
11206 LIBS=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11209 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11210 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11212 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11217 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11218 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-lxml2 $XML2_LIBS $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char xmlSchemaSetValidStructuredErrors ();
11234 main ()
11236 return xmlSchemaSetValidStructuredErrors ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11243 else
11244 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11251 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11252 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11254 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11259 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11260 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lxml2 $XML2_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char xmlFirstElementChild ();
11276 main ()
11278 return xmlFirstElementChild ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 ac_cv_lib_xml2_xmlFirstElementChild=yes
11285 else
11286 ac_cv_lib_xml2_xmlFirstElementChild=no
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11293 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11294 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11296 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11300 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11302 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11304 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11308 else
11309 XML2_CFLAGS=""
11310 XML2_LIBS=""
11312 CPPFLAGS=$ac_save_CPPFLAGS
11313 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11314 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11317 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11318 case "x$with_xml" in
11319 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11320 xno) ;;
11321 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11322 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11323 esac
11327 if test "x$with_xslt" != "xno"
11328 then
11329 if ${XSLT_CFLAGS:+false} :; then :
11330 if ${PKG_CONFIG+:} false; then :
11331 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11334 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11335 if ${XSLT_LIBS:+false} :; then :
11336 if ${PKG_CONFIG+:} false; then :
11337 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11340 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11341 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11342 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11343 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11344 ac_save_CPPFLAGS=$CPPFLAGS
11345 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11346 for ac_header in libxslt/pattern.h libxslt/transform.h
11347 do :
11348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11350 # include <libxslt/pattern.h>
11351 #endif
11353 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11354 cat >>confdefs.h <<_ACEOF
11355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11356 _ACEOF
11360 done
11362 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11363 then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11365 $as_echo_n "checking for -lxslt... " >&6; }
11366 if ${ac_cv_lib_soname_xslt+:} false; then :
11367 $as_echo_n "(cached) " >&6
11368 else
11369 ac_check_soname_save_LIBS=$LIBS
11370 LIBS="-lxslt $XSLT_LIBS $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char xsltCompilePattern ();
11382 main ()
11384 return xsltCompilePattern ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 case "$LIBEXT" in
11391 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11394 if ${ac_cv_lib_soname_xslt:+false} :; then :
11395 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11396 fi ;;
11397 esac
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_soname_save_LIBS
11403 if ${ac_cv_lib_soname_xslt:+false} :; then :
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11405 $as_echo "not found" >&6; }
11407 else
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11409 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11411 cat >>confdefs.h <<_ACEOF
11412 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11413 _ACEOF
11417 else
11418 XSLT_CFLAGS=""
11420 CPPFLAGS=$ac_save_CPPFLAGS
11421 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11422 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11425 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11426 case "x$with_xslt" in
11427 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11428 xno) ;;
11429 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11430 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11431 esac
11435 if test "x$with_dbus" != "xno"
11436 then
11437 if ${DBUS_CFLAGS:+false} :; then :
11438 if ${PKG_CONFIG+:} false; then :
11439 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11443 if ${DBUS_LIBS:+false} :; then :
11444 if ${PKG_CONFIG+:} false; then :
11445 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11450 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11451 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11452 ac_save_CPPFLAGS=$CPPFLAGS
11453 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11454 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11455 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11457 $as_echo_n "checking for -ldbus-1... " >&6; }
11458 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_soname_save_LIBS=$LIBS
11462 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char dbus_connection_close ();
11474 main ()
11476 return dbus_connection_close ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 case "$LIBEXT" in
11483 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) 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'`
11486 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11487 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 fi ;;
11489 esac
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11498 DBUS_CFLAGS=""
11499 else
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11501 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11503 cat >>confdefs.h <<_ACEOF
11504 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11505 _ACEOF
11509 else
11510 DBUS_CFLAGS=""
11514 CPPFLAGS=$ac_save_CPPFLAGS
11515 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11516 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11519 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11520 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11521 case "x$with_dbus" in
11522 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11523 xno) ;;
11524 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11525 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11526 esac
11530 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11531 then
11532 if ${HAL_CFLAGS:+false} :; then :
11533 if ${PKG_CONFIG+:} false; then :
11534 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11538 if ${HAL_LIBS:+false} :; then :
11539 if ${PKG_CONFIG+:} false; then :
11540 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11544 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11545 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11546 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11547 ac_save_CPPFLAGS=$CPPFLAGS
11548 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11549 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11550 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11552 $as_echo_n "checking for -lhal... " >&6; }
11553 if ${ac_cv_lib_soname_hal+:} false; then :
11554 $as_echo_n "(cached) " >&6
11555 else
11556 ac_check_soname_save_LIBS=$LIBS
11557 LIBS="-lhal $HAL_LIBS $LIBS"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char libhal_ctx_new ();
11569 main ()
11571 return libhal_ctx_new ();
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"; then :
11577 case "$LIBEXT" in
11578 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11579 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'` ;;
11580 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11581 if ${ac_cv_lib_soname_hal:+false} :; then :
11582 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11583 fi ;;
11584 esac
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_soname_save_LIBS
11590 if ${ac_cv_lib_soname_hal:+false} :; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11593 HAL_CFLAGS=""
11594 else
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11596 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11598 cat >>confdefs.h <<_ACEOF
11599 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11600 _ACEOF
11604 else
11605 HAL_CFLAGS=""
11609 CPPFLAGS=$ac_save_CPPFLAGS
11610 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11611 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11613 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11614 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11615 case "x$with_hal" in
11616 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11617 xno) ;;
11618 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11619 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11620 esac
11625 if test "x$with_gnutls" != "xno"
11626 then
11627 if ${GNUTLS_CFLAGS:+false} :; then :
11628 if ${PKG_CONFIG+:} false; then :
11629 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11633 if ${GNUTLS_LIBS:+false} :; then :
11634 if ${PKG_CONFIG+:} false; then :
11635 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11640 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11641 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11642 ac_save_CPPFLAGS=$CPPFLAGS
11643 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11644 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11645 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11648 #include <gnutls/gnutls.h>
11649 #include <gnutls/crypto.h>
11651 main ()
11653 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11655 return 0;
11657 _ACEOF
11658 if ac_fn_c_try_compile "$LINENO"; then :
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11660 $as_echo_n "checking for -lgnutls... " >&6; }
11661 if ${ac_cv_lib_soname_gnutls+:} false; then :
11662 $as_echo_n "(cached) " >&6
11663 else
11664 ac_check_soname_save_LIBS=$LIBS
11665 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char gnutls_global_init ();
11677 main ()
11679 return gnutls_global_init ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 case "$LIBEXT" in
11686 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11687 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'` ;;
11688 *) 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'`
11689 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11690 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'`
11691 fi ;;
11692 esac
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_soname_save_LIBS
11698 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11700 $as_echo "not found" >&6; }
11701 GNUTLS_CFLAGS=""
11702 else
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11704 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11706 cat >>confdefs.h <<_ACEOF
11707 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11708 _ACEOF
11712 ac_wine_check_funcs_save_LIBS="$LIBS"
11713 LIBS="$LIBS $GNUTLS_LIBS"
11714 for ac_func in gnutls_hash
11715 do :
11716 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11717 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11718 cat >>confdefs.h <<_ACEOF
11719 #define HAVE_GNUTLS_HASH 1
11720 _ACEOF
11722 else
11723 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11725 done
11727 LIBS="$ac_wine_check_funcs_save_LIBS"
11729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11730 else
11731 GNUTLS_CFLAGS=""
11735 CPPFLAGS=$ac_save_CPPFLAGS
11736 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11737 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11740 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11741 case "x$with_gnutls" in
11742 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11743 xno) ;;
11744 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11745 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11746 esac
11750 CURSES_LIBS=""
11751 if test "$ac_cv_header_ncurses_h" = "yes"
11752 then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11754 $as_echo_n "checking for -lncurses... " >&6; }
11755 if ${ac_cv_lib_soname_ncurses+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_soname_save_LIBS=$LIBS
11759 LIBS="-lncurses $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char waddch ();
11771 main ()
11773 return waddch ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 case "$LIBEXT" in
11780 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11781 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'` ;;
11782 *) 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'`
11783 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11784 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11785 fi ;;
11786 esac
11788 rm -f core conftest.err conftest.$ac_objext \
11789 conftest$ac_exeext conftest.$ac_ext
11790 LIBS=$ac_check_soname_save_LIBS
11792 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11794 $as_echo "not found" >&6; }
11796 else
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11798 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11800 cat >>confdefs.h <<_ACEOF
11801 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11802 _ACEOF
11804 CURSES_LIBS="-lncurses"
11806 elif test "$ac_cv_header_curses_h" = "yes"
11807 then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11809 $as_echo_n "checking for -lcurses... " >&6; }
11810 if ${ac_cv_lib_soname_curses+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_soname_save_LIBS=$LIBS
11814 LIBS="-lcurses $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char waddch ();
11826 main ()
11828 return waddch ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 case "$LIBEXT" in
11835 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11836 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'` ;;
11837 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11838 if ${ac_cv_lib_soname_curses:+false} :; then :
11839 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11840 fi ;;
11841 esac
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_soname_save_LIBS
11847 if ${ac_cv_lib_soname_curses:+false} :; then :
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11849 $as_echo "not found" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11853 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11855 cat >>confdefs.h <<_ACEOF
11856 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11857 _ACEOF
11859 CURSES_LIBS="-lcurses"
11862 ac_save_LIBS="$LIBS"
11863 LIBS="$LIBS $CURSES_LIBS"
11864 for ac_func in mousemask
11865 do :
11866 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11867 if test "x$ac_cv_func_mousemask" = xyes; then :
11868 cat >>confdefs.h <<_ACEOF
11869 #define HAVE_MOUSEMASK 1
11870 _ACEOF
11873 done
11875 LIBS="$ac_save_LIBS"
11876 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11877 case "x$with_curses" in
11878 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11879 xno) ;;
11880 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11881 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11882 esac
11886 if test "x$with_sane" != "xno"
11887 then
11888 if ${SANE_CFLAGS:+false} :; then :
11889 if ${PKG_CONFIG+:} false; then :
11890 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11893 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11894 if ${SANE_LIBS:+false} :; then :
11895 if ${PKG_CONFIG+:} false; then :
11896 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11899 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11901 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11902 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11903 ac_save_CPPFLAGS=$CPPFLAGS
11904 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11905 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11906 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11908 $as_echo_n "checking for -lsane... " >&6; }
11909 if ${ac_cv_lib_soname_sane+:} false; then :
11910 $as_echo_n "(cached) " >&6
11911 else
11912 ac_check_soname_save_LIBS=$LIBS
11913 LIBS="-lsane $SANE_LIBS $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char sane_init ();
11925 main ()
11927 return sane_init ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 case "$LIBEXT" in
11934 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11935 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'` ;;
11936 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11937 if ${ac_cv_lib_soname_sane:+false} :; then :
11938 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11939 fi ;;
11940 esac
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_soname_save_LIBS
11946 if ${ac_cv_lib_soname_sane:+false} :; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11948 $as_echo "not found" >&6; }
11949 SANE_CFLAGS=""
11950 else
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11952 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11954 cat >>confdefs.h <<_ACEOF
11955 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11956 _ACEOF
11960 else
11961 SANE_CFLAGS=""
11965 CPPFLAGS=$ac_save_CPPFLAGS
11966 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11967 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11970 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11971 case "x$with_sane" in
11972 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11975 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "x$with_v4l" != "xno"
11981 then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11983 $as_echo_n "checking for -lv4l1... " >&6; }
11984 if ${ac_cv_lib_soname_v4l1+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_soname_save_LIBS=$LIBS
11988 LIBS="-lv4l1 $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char v4l1_open ();
12000 main ()
12002 return v4l1_open ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 case "$LIBEXT" in
12009 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12010 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'` ;;
12011 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12012 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12013 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12014 fi ;;
12015 esac
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12027 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12029 cat >>confdefs.h <<_ACEOF
12030 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12031 _ACEOF
12036 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12037 case "x$with_v4l" in
12038 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12041 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12042 esac
12046 if test "x$with_gphoto" != "xno"
12047 then
12048 if ${GPHOTO2_CFLAGS:+false} :; then :
12049 if ${PKG_CONFIG+:} false; then :
12050 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12053 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12054 if ${GPHOTO2_LIBS:+false} :; then :
12055 if ${PKG_CONFIG+:} false; then :
12056 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12059 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12060 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12061 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12063 ac_save_CPPFLAGS=$CPPFLAGS
12064 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12065 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12066 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12068 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12069 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_lib_save_LIBS=$LIBS
12073 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char gp_camera_new ();
12085 main ()
12087 return gp_camera_new ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 ac_cv_lib_gphoto2_gp_camera_new=yes
12094 else
12095 ac_cv_lib_gphoto2_gp_camera_new=no
12097 rm -f core conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_lib_save_LIBS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12102 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12103 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12105 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12107 else
12108 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12111 else
12112 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12116 CPPFLAGS=$ac_save_CPPFLAGS
12117 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12118 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12120 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12121 if ${PKG_CONFIG+:} false; then :
12122 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12125 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12126 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12127 if ${PKG_CONFIG+:} false; then :
12128 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12131 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12132 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12133 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12134 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12137 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12138 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12140 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12141 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char gp_port_info_list_new ();
12157 main ()
12159 return gp_port_info_list_new ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12166 else
12167 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12174 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12175 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12177 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12179 else
12180 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12183 else
12184 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12188 CPPFLAGS=$ac_save_CPPFLAGS
12189 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12190 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12193 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12194 case "x$with_gphoto" in
12195 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12196 xno) ;;
12197 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12198 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12199 esac
12202 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12203 case "x$with_gphoto" in
12204 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12205 xno) ;;
12206 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12207 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12208 esac
12213 if test "$ac_cv_header_resolv_h" = "yes"
12214 then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12216 $as_echo_n "checking for resolver library... " >&6; }
12217 if ${ac_cv_have_resolv+:} false; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 ac_save_LIBS="$LIBS"
12221 for lib in '' -lresolv
12223 LIBS="$lib $ac_save_LIBS"
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #ifdef HAVE_NETINET_IN_H
12227 #include <netinet/in.h>
12228 #endif
12229 #include <resolv.h>
12231 main ()
12233 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"; then :
12239 ac_cv_have_resolv=${lib:-"none required"}
12240 else
12241 ac_cv_have_resolv="not found"
12243 rm -f core conftest.err conftest.$ac_objext \
12244 conftest$ac_exeext conftest.$ac_ext
12245 test "x$ac_cv_have_resolv" = "xnot found" || break
12246 done
12247 LIBS="$ac_save_LIBS"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12250 $as_echo "$ac_cv_have_resolv" >&6; }
12252 case "$ac_cv_have_resolv" in
12253 "not found") ;;
12254 "none required")
12256 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12259 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12261 RESOLV_LIBS=$ac_cv_have_resolv
12263 esac
12266 if test "x$with_cms" != "xno"
12267 then
12268 if ${LCMS2_CFLAGS:+false} :; then :
12269 if ${PKG_CONFIG+:} false; then :
12270 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12274 if ${LCMS2_LIBS:+false} :; then :
12275 if ${PKG_CONFIG+:} false; then :
12276 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12280 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12281 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12282 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12283 ac_save_CPPFLAGS=$CPPFLAGS
12284 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12285 for ac_header in lcms2.h
12286 do :
12287 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12288 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12289 cat >>confdefs.h <<_ACEOF
12290 #define HAVE_LCMS2_H 1
12291 _ACEOF
12295 done
12297 if test "$ac_cv_header_lcms2_h" = "yes"
12298 then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12300 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12301 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12302 $as_echo_n "(cached) " >&6
12303 else
12304 ac_check_lib_save_LIBS=$LIBS
12305 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12312 #ifdef __cplusplus
12313 extern "C"
12314 #endif
12315 char cmsOpenProfileFromFile ();
12317 main ()
12319 return cmsOpenProfileFromFile ();
12321 return 0;
12323 _ACEOF
12324 if ac_fn_c_try_link "$LINENO"; then :
12325 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12326 else
12327 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12329 rm -f core conftest.err conftest.$ac_objext \
12330 conftest$ac_exeext conftest.$ac_ext
12331 LIBS=$ac_check_lib_save_LIBS
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12334 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12335 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12337 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12339 else
12340 LCMS2_LIBS=""
12343 else
12344 LCMS2_CFLAGS=""
12345 LCMS2_LIBS=""
12347 CPPFLAGS=$ac_save_CPPFLAGS
12348 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12349 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12352 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12353 case "x$with_cms" in
12354 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12355 xno) ;;
12356 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12357 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12358 esac
12362 if test "x$with_freetype" != "xno"
12363 then
12364 if ${FREETYPE_CFLAGS:+false} :; then :
12365 if ${PKG_CONFIG+:} false; then :
12366 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12369 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12370 if ${FREETYPE_LIBS:+false} :; then :
12371 if ${PKG_CONFIG+:} false; then :
12372 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12375 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12376 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12377 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12378 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12379 ac_save_CPPFLAGS=$CPPFLAGS
12380 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12381 for ac_header in ft2build.h
12382 do :
12383 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12384 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12385 cat >>confdefs.h <<_ACEOF
12386 #define HAVE_FT2BUILD_H 1
12387 _ACEOF
12391 done
12393 if test "$ac_cv_header_ft2build_h" = "yes"
12394 then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12396 $as_echo_n "checking for -lfreetype... " >&6; }
12397 if ${ac_cv_lib_soname_freetype+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_soname_save_LIBS=$LIBS
12401 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char FT_Init_FreeType ();
12413 main ()
12415 return FT_Init_FreeType ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 case "$LIBEXT" in
12422 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if ${ac_cv_lib_soname_freetype:+false} :; then :
12426 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12427 fi ;;
12428 esac
12430 rm -f core conftest.err conftest.$ac_objext \
12431 conftest$ac_exeext conftest.$ac_ext
12432 LIBS=$ac_check_soname_save_LIBS
12434 if ${ac_cv_lib_soname_freetype:+false} :; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12436 $as_echo "not found" >&6; }
12437 FREETYPE_LIBS=""
12438 else
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12440 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12442 cat >>confdefs.h <<_ACEOF
12443 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12444 _ACEOF
12447 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12449 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12450 #include FT_MODULE_H
12452 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12454 cat >>confdefs.h <<_ACEOF
12455 #define HAVE_FT_TRUETYPEENGINETYPE 1
12456 _ACEOF
12462 else
12463 FREETYPE_CFLAGS=""
12464 FREETYPE_LIBS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12467 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12468 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12471 if test "x$ac_cv_lib_soname_freetype" = x; then :
12472 case "x$with_freetype" in
12473 xno) ;;
12474 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12475 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12476 esac
12477 enable_fonts=${enable_fonts:-no}
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12481 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12482 if ${ac_cv_c_ppdev+:} false; then :
12483 $as_echo_n "(cached) " >&6
12484 else
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12487 #ifdef HAVE_SYS_IOCTL_H
12488 # include <sys/ioctl.h>
12489 #endif
12490 #include <linux/ppdev.h>
12492 main ()
12494 ioctl (1,PPCLAIM,0)
12496 return 0;
12498 _ACEOF
12499 if ac_fn_c_try_compile "$LINENO"; then :
12500 ac_cv_c_ppdev="yes"
12501 else
12502 ac_cv_c_ppdev="no"
12504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12507 $as_echo "$ac_cv_c_ppdev" >&6; }
12508 if test "$ac_cv_c_ppdev" = "yes"
12509 then
12511 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12515 ac_wine_check_funcs_save_LIBS="$LIBS"
12516 LIBS="$LIBS $PTHREAD_LIBS"
12517 for ac_func in \
12518 pthread_attr_get_np \
12519 pthread_getattr_np \
12520 pthread_getthreadid_np \
12521 pthread_get_stackaddr_np \
12522 pthread_get_stacksize_np
12523 do :
12524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12527 cat >>confdefs.h <<_ACEOF
12528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12529 _ACEOF
12532 done
12534 LIBS="$ac_wine_check_funcs_save_LIBS"
12536 if test "$ac_cv_header_zlib_h" = "yes"
12537 then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12539 $as_echo_n "checking for inflate in -lz... " >&6; }
12540 if ${ac_cv_lib_z_inflate+:} false; then :
12541 $as_echo_n "(cached) " >&6
12542 else
12543 ac_check_lib_save_LIBS=$LIBS
12544 LIBS="-lz $LIBS"
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12551 #ifdef __cplusplus
12552 extern "C"
12553 #endif
12554 char inflate ();
12556 main ()
12558 return inflate ();
12560 return 0;
12562 _ACEOF
12563 if ac_fn_c_try_link "$LINENO"; then :
12564 ac_cv_lib_z_inflate=yes
12565 else
12566 ac_cv_lib_z_inflate=no
12568 rm -f core conftest.err conftest.$ac_objext \
12569 conftest$ac_exeext conftest.$ac_ext
12570 LIBS=$ac_check_lib_save_LIBS
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12573 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12574 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12576 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12578 Z_LIBS="-lz"
12583 if test "x$Z_LIBS" = "x"; then :
12584 case "x$with_zlib" in
12585 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12586 xno) ;;
12587 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12588 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12589 esac
12593 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12594 then
12595 if test "$ac_cv_header_gettext_po_h" = "yes"
12596 then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12598 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12599 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12600 $as_echo_n "(cached) " >&6
12601 else
12602 ac_check_lib_save_LIBS=$LIBS
12603 LIBS="-lgettextpo $LIBS"
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12607 /* Override any GCC internal prototype to avoid an error.
12608 Use char because int might match the return type of a GCC
12609 builtin and then its argument prototype would still apply. */
12610 #ifdef __cplusplus
12611 extern "C"
12612 #endif
12613 char po_message_msgctxt ();
12615 main ()
12617 return po_message_msgctxt ();
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"; then :
12623 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12624 else
12625 ac_cv_lib_gettextpo_po_message_msgctxt=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_lib_save_LIBS
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12632 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12633 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12635 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12637 GETTEXTPO_LIBS="-lgettextpo"
12642 if test "x$GETTEXTPO_LIBS" = "x"; then :
12643 case "x$with_gettextpo" in
12644 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12645 xno) ;;
12646 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12647 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12648 esac
12651 if test "$srcdir" != .; then :
12652 case "x$with_gettextpo" in
12653 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12654 xno) ;;
12655 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12656 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12657 esac
12662 if test "x$with_pulse" != "xno";
12663 then
12664 if ${PULSE_CFLAGS:+false} :; then :
12665 if ${PKG_CONFIG+:} false; then :
12666 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12670 if ${PULSE_LIBS:+false} :; then :
12671 if ${PKG_CONFIG+:} false; then :
12672 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12677 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12678 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12679 ac_save_CPPFLAGS=$CPPFLAGS
12680 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12681 for ac_header in pulse/pulseaudio.h
12682 do :
12683 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12684 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12685 cat >>confdefs.h <<_ACEOF
12686 #define HAVE_PULSE_PULSEAUDIO_H 1
12687 _ACEOF
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12689 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12690 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12691 $as_echo_n "(cached) " >&6
12692 else
12693 ac_check_lib_save_LIBS=$LIBS
12694 LIBS="-lpulse $PULSE_LIBS $LIBS"
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12701 #ifdef __cplusplus
12702 extern "C"
12703 #endif
12704 char pa_stream_is_corked ();
12706 main ()
12708 return pa_stream_is_corked ();
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_link "$LINENO"; then :
12714 ac_cv_lib_pulse_pa_stream_is_corked=yes
12715 else
12716 ac_cv_lib_pulse_pa_stream_is_corked=no
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_lib_save_LIBS
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12723 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12724 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12726 else
12727 PULSE_LIBS=""
12730 else
12731 PULSE_LIBS=""
12734 done
12736 CPPFLAGS=$ac_save_CPPFLAGS
12737 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12738 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12741 if test -z "$PULSE_LIBS"; then :
12742 case "x$with_pulse" in
12743 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12744 xno) ;;
12745 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12746 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12747 esac
12748 enable_winepulse_drv=${enable_winepulse_drv:-no}
12751 if test "x$with_gstreamer" != "xno"
12752 then
12753 if ${GSTREAMER_CFLAGS:+false} :; then :
12754 if ${PKG_CONFIG+:} false; then :
12755 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12759 if ${GSTREAMER_LIBS:+false} :; then :
12760 if ${PKG_CONFIG+:} false; then :
12761 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12766 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12767 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12768 ac_save_CPPFLAGS=$CPPFLAGS
12769 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12770 ac_gst_incl=""
12771 for i in $GSTREAMER_CFLAGS
12773 case "$i" in
12774 -I*) ac_gst_incl="$ac_gst_incl $i";;
12775 esac
12776 done
12777 GSTREAMER_CFLAGS=$ac_gst_incl
12778 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12779 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12780 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12782 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12785 #include <gst/gst.h>
12787 main ()
12789 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_compile "$LINENO"; then :
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12796 $as_echo "yes" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12798 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12799 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char gst_pad_new ();
12815 main ()
12817 return gst_pad_new ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12824 else
12825 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12832 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12833 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12837 else
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839 $as_echo "no" >&6; }
12840 ac_glib2_broken=yes
12841 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12847 CPPFLAGS=$ac_save_CPPFLAGS
12848 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12849 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12852 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 :
12853 case "x$with_gstreamer" in
12854 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12855 xno) ;;
12856 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12857 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12858 esac
12861 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12863 ALSA_LIBS=""
12865 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12866 then
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12868 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12869 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 ac_check_lib_save_LIBS=$LIBS
12873 LIBS="-lasound $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 #ifdef __cplusplus
12881 extern "C"
12882 #endif
12883 char snd_pcm_hw_params_get_access_mask ();
12885 main ()
12887 return snd_pcm_hw_params_get_access_mask ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"; then :
12893 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12894 else
12895 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12897 rm -f core conftest.err conftest.$ac_objext \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12902 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12903 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12906 #ifdef HAVE_ALSA_ASOUNDLIB_H
12907 #include <alsa/asoundlib.h>
12908 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12909 #include <sys/asoundlib.h>
12910 #endif
12912 main ()
12914 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12916 return 0;
12918 _ACEOF
12919 if ac_fn_c_try_compile "$LINENO"; then :
12920 ALSA_LIBS="-lasound"
12922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12926 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12928 if test "x$with_oss" != xno
12929 then
12930 ac_save_CPPFLAGS="$CPPFLAGS"
12931 if test -f /etc/oss.conf
12932 then
12933 . /etc/oss.conf
12935 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12936 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12937 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12938 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12939 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12941 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12943 cat >>confdefs.h <<_ACEOF
12944 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12945 _ACEOF
12947 OSS4_CFLAGS="$ac_oss_incl"
12954 CPPFLAGS="$ac_save_CPPFLAGS"
12956 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12957 case "x$with_oss" in
12958 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12959 xno) ;;
12960 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12961 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12962 esac
12963 enable_wineoss_drv=${enable_wineoss_drv:-no}
12966 if test "x$with_udev" != "xno"
12967 then
12968 if ${UDEV_CFLAGS:+false} :; then :
12969 if ${PKG_CONFIG+:} false; then :
12970 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12974 if ${UDEV_LIBS:+false} :; then :
12975 if ${PKG_CONFIG+:} false; then :
12976 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12981 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12982 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12983 ac_save_CPPFLAGS=$CPPFLAGS
12984 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12985 for ac_header in libudev.h
12986 do :
12987 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12988 if test "x$ac_cv_header_libudev_h" = xyes; then :
12989 cat >>confdefs.h <<_ACEOF
12990 #define HAVE_LIBUDEV_H 1
12991 _ACEOF
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12993 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12994 if ${ac_cv_lib_udev_udev_new+:} false; then :
12995 $as_echo_n "(cached) " >&6
12996 else
12997 ac_check_lib_save_LIBS=$LIBS
12998 LIBS="-ludev $UDEV_LIBS $LIBS"
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13005 #ifdef __cplusplus
13006 extern "C"
13007 #endif
13008 char udev_new ();
13010 main ()
13012 return udev_new ();
13014 return 0;
13016 _ACEOF
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_lib_udev_udev_new=yes
13019 else
13020 ac_cv_lib_udev_udev_new=no
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13027 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13028 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13030 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13032 else
13033 UDEV_LIBS=""
13036 else
13037 UDEV_LIBS=""
13040 done
13042 CPPFLAGS=$ac_save_CPPFLAGS
13043 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13044 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13047 if test "x$UDEV_LIBS" = "x"; then :
13048 case "x$with_udev" in
13049 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13050 xno) ;;
13051 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13052 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13053 esac
13057 if test "x$with_capi" != "xno"
13058 then
13059 if ${CAPI20_CFLAGS:+false} :; then :
13060 if ${PKG_CONFIG+:} false; then :
13061 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13065 if ${CAPI20_LIBS:+false} :; then :
13066 if ${PKG_CONFIG+:} false; then :
13067 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13072 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13073 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13074 ac_save_CPPFLAGS=$CPPFLAGS
13075 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13076 for ac_header in capi20.h linux/capi.h
13077 do :
13078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13082 cat >>confdefs.h <<_ACEOF
13083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13084 _ACEOF
13088 done
13090 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13091 then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13093 $as_echo_n "checking for -lcapi20... " >&6; }
13094 if ${ac_cv_lib_soname_capi20+:} false; then :
13095 $as_echo_n "(cached) " >&6
13096 else
13097 ac_check_soname_save_LIBS=$LIBS
13098 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 #ifdef __cplusplus
13106 extern "C"
13107 #endif
13108 char capi20_register ();
13110 main ()
13112 return capi20_register ();
13114 return 0;
13116 _ACEOF
13117 if ac_fn_c_try_link "$LINENO"; then :
13118 case "$LIBEXT" in
13119 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13120 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'` ;;
13121 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13122 if ${ac_cv_lib_soname_capi20:+false} :; then :
13123 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13124 fi ;;
13125 esac
13127 rm -f core conftest.err conftest.$ac_objext \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_soname_save_LIBS
13131 if ${ac_cv_lib_soname_capi20:+false} :; then :
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13133 $as_echo "not found" >&6; }
13135 else
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13137 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13139 cat >>confdefs.h <<_ACEOF
13140 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13141 _ACEOF
13146 CPPFLAGS=$ac_save_CPPFLAGS
13147 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13148 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13151 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13152 case "x$with_capi" in
13153 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13154 xno) ;;
13155 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13156 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13157 esac
13161 CUPS_CFLAGS=""
13163 if test "x$with_cups" != "xno"
13164 then
13165 ac_save_CPPFLAGS="$CPPFLAGS"
13166 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13167 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13168 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13169 for ac_header in cups/cups.h
13170 do :
13171 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13173 cat >>confdefs.h <<_ACEOF
13174 #define HAVE_CUPS_CUPS_H 1
13175 _ACEOF
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13177 $as_echo_n "checking for -lcups... " >&6; }
13178 if ${ac_cv_lib_soname_cups+:} false; then :
13179 $as_echo_n "(cached) " >&6
13180 else
13181 ac_check_soname_save_LIBS=$LIBS
13182 LIBS="-lcups $ac_cups_libs $LIBS"
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13189 #ifdef __cplusplus
13190 extern "C"
13191 #endif
13192 char cupsGetDefault ();
13194 main ()
13196 return cupsGetDefault ();
13198 return 0;
13200 _ACEOF
13201 if ac_fn_c_try_link "$LINENO"; then :
13202 case "$LIBEXT" in
13203 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13204 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'` ;;
13205 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13206 if ${ac_cv_lib_soname_cups:+false} :; then :
13207 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13208 fi ;;
13209 esac
13211 rm -f core conftest.err conftest.$ac_objext \
13212 conftest$ac_exeext conftest.$ac_ext
13213 LIBS=$ac_check_soname_save_LIBS
13215 if ${ac_cv_lib_soname_cups:+false} :; then :
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13217 $as_echo "not found" >&6; }
13219 else
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13221 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13223 cat >>confdefs.h <<_ACEOF
13224 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13225 _ACEOF
13227 CUPS_CFLAGS="$ac_cups_cflags"
13229 for ac_header in cups/ppd.h
13230 do :
13231 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13232 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define HAVE_CUPS_PPD_H 1
13235 _ACEOF
13239 done
13243 done
13245 CPPFLAGS="$ac_save_CPPFLAGS"
13247 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13248 case "x$with_cups" in
13249 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13250 xno) ;;
13251 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13252 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13253 esac
13257 if test "x$with_fontconfig" != "xno"
13258 then
13259 if ${FONTCONFIG_CFLAGS:+false} :; then :
13260 if ${PKG_CONFIG+:} false; then :
13261 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13264 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13265 if ${FONTCONFIG_LIBS:+false} :; then :
13266 if ${PKG_CONFIG+:} false; then :
13267 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13270 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13272 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13273 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13274 ac_save_CPPFLAGS=$CPPFLAGS
13275 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13276 for ac_header in fontconfig/fontconfig.h
13277 do :
13278 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13279 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13280 cat >>confdefs.h <<_ACEOF
13281 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13282 _ACEOF
13286 done
13288 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13289 then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13291 $as_echo_n "checking for -lfontconfig... " >&6; }
13292 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13293 $as_echo_n "(cached) " >&6
13294 else
13295 ac_check_soname_save_LIBS=$LIBS
13296 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char FcInit ();
13308 main ()
13310 return FcInit ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 case "$LIBEXT" in
13317 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13318 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'` ;;
13319 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13320 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13321 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13322 fi ;;
13323 esac
13325 rm -f core conftest.err conftest.$ac_objext \
13326 conftest$ac_exeext conftest.$ac_ext
13327 LIBS=$ac_check_soname_save_LIBS
13329 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13331 $as_echo "not found" >&6; }
13332 FONTCONFIG_CFLAGS=""
13333 else
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13335 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13337 cat >>confdefs.h <<_ACEOF
13338 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13339 _ACEOF
13343 else
13344 FONTCONFIG_CFLAGS=""
13346 CPPFLAGS=$ac_save_CPPFLAGS
13347 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13348 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13351 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13352 case "x$with_fontconfig" in
13353 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13354 xno) ;;
13355 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13356 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13357 esac
13361 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13362 then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13364 $as_echo_n "checking for -lgsm... " >&6; }
13365 if ${ac_cv_lib_soname_gsm+:} false; then :
13366 $as_echo_n "(cached) " >&6
13367 else
13368 ac_check_soname_save_LIBS=$LIBS
13369 LIBS="-lgsm $LIBS"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13376 #ifdef __cplusplus
13377 extern "C"
13378 #endif
13379 char gsm_create ();
13381 main ()
13383 return gsm_create ();
13385 return 0;
13387 _ACEOF
13388 if ac_fn_c_try_link "$LINENO"; then :
13389 case "$LIBEXT" in
13390 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13391 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'` ;;
13392 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13393 if ${ac_cv_lib_soname_gsm:+false} :; then :
13394 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13395 fi ;;
13396 esac
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_soname_save_LIBS
13402 if ${ac_cv_lib_soname_gsm:+false} :; then :
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13404 $as_echo "not found" >&6; }
13406 else
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13408 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13410 cat >>confdefs.h <<_ACEOF
13411 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13412 _ACEOF
13417 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13418 case "x$with_gsm" in
13419 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13420 xno) ;;
13421 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13422 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13423 esac
13427 if test "x$with_jpeg" != "xno"
13428 then
13429 if ${JPEG_CFLAGS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13435 if ${JPEG_LIBS:+false} :; then :
13436 if ${PKG_CONFIG+:} false; then :
13437 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13442 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13443 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13444 ac_save_CPPFLAGS=$CPPFLAGS
13445 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13446 for ac_header in jpeglib.h
13447 do :
13448 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13449 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13450 cat >>confdefs.h <<_ACEOF
13451 #define HAVE_JPEGLIB_H 1
13452 _ACEOF
13456 done
13458 if test "$ac_cv_header_jpeglib_h" = "yes"
13459 then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13461 $as_echo_n "checking for -ljpeg... " >&6; }
13462 if ${ac_cv_lib_soname_jpeg+:} false; then :
13463 $as_echo_n "(cached) " >&6
13464 else
13465 ac_check_soname_save_LIBS=$LIBS
13466 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13473 #ifdef __cplusplus
13474 extern "C"
13475 #endif
13476 char jpeg_start_decompress ();
13478 main ()
13480 return jpeg_start_decompress ();
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"; then :
13486 case "$LIBEXT" in
13487 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13488 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'` ;;
13489 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13490 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13491 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13492 fi ;;
13493 esac
13495 rm -f core conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS=$ac_check_soname_save_LIBS
13499 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13501 $as_echo "not found" >&6; }
13502 JPEG_CFLAGS=""
13503 else
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13505 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13507 cat >>confdefs.h <<_ACEOF
13508 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13509 _ACEOF
13513 else
13514 JPEG_CFLAGS=""
13516 CPPFLAGS=$ac_save_CPPFLAGS
13517 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13518 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13521 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13522 case "x$with_jpeg" in
13523 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13524 xno) ;;
13525 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13526 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13527 esac
13531 if test "x$with_png" != "xno"
13532 then
13533 if ${PNG_CFLAGS:+false} :; then :
13534 if ${PKG_CONFIG+:} false; then :
13535 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13538 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13539 if ${PNG_LIBS:+false} :; then :
13540 if ${PKG_CONFIG+:} false; then :
13541 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13544 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13546 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13548 ac_save_CPPFLAGS=$CPPFLAGS
13549 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13550 for ac_header in png.h
13551 do :
13552 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13553 if test "x$ac_cv_header_png_h" = xyes; then :
13554 cat >>confdefs.h <<_ACEOF
13555 #define HAVE_PNG_H 1
13556 _ACEOF
13560 done
13562 if test "$ac_cv_header_png_h" = "yes"
13563 then
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13565 $as_echo_n "checking for -lpng... " >&6; }
13566 if ${ac_cv_lib_soname_png+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 ac_check_soname_save_LIBS=$LIBS
13570 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13574 /* Override any GCC internal prototype to avoid an error.
13575 Use char because int might match the return type of a GCC
13576 builtin and then its argument prototype would still apply. */
13577 #ifdef __cplusplus
13578 extern "C"
13579 #endif
13580 char png_create_read_struct ();
13582 main ()
13584 return png_create_read_struct ();
13586 return 0;
13588 _ACEOF
13589 if ac_fn_c_try_link "$LINENO"; then :
13590 case "$LIBEXT" in
13591 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13592 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'` ;;
13593 *) 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'`
13594 if ${ac_cv_lib_soname_png:+false} :; then :
13595 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13596 fi ;;
13597 esac
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 LIBS=$ac_check_soname_save_LIBS
13603 if ${ac_cv_lib_soname_png:+false} :; then :
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13605 $as_echo "not found" >&6; }
13606 PNG_CFLAGS=""
13607 else
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13609 $as_echo "$ac_cv_lib_soname_png" >&6; }
13611 cat >>confdefs.h <<_ACEOF
13612 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13613 _ACEOF
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <png.h>
13619 main ()
13621 typeof(png_set_expand_gray_1_2_4_to_8) *p
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_compile "$LINENO"; then :
13628 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13633 else
13634 PNG_CFLAGS=""
13636 CPPFLAGS=$ac_save_CPPFLAGS
13637 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13638 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13641 if test "x$ac_cv_lib_soname_png" = "x"; then :
13642 case "x$with_png" in
13643 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13644 xno) ;;
13645 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13646 This is an error since --with-png was requested." "$LINENO" 5 ;;
13647 esac
13651 if test "x$with_tiff" != "xno"
13652 then
13653 if ${TIFF_CFLAGS:+false} :; then :
13654 if ${PKG_CONFIG+:} false; then :
13655 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13659 if ${TIFF_LIBS:+false} :; then :
13660 if ${PKG_CONFIG+:} false; then :
13661 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13666 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13667 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13668 ac_save_CPPFLAGS=$CPPFLAGS
13669 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13670 for ac_header in tiffio.h
13671 do :
13672 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13673 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13674 cat >>confdefs.h <<_ACEOF
13675 #define HAVE_TIFFIO_H 1
13676 _ACEOF
13680 done
13682 if test "$ac_cv_header_tiffio_h" = "yes"
13683 then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13685 $as_echo_n "checking for -ltiff... " >&6; }
13686 if ${ac_cv_lib_soname_tiff+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-ltiff $TIFF_LIBS $LIBS"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 #endif
13700 char TIFFClientOpen ();
13702 main ()
13704 return TIFFClientOpen ();
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 case "$LIBEXT" in
13711 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13712 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'` ;;
13713 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13714 if ${ac_cv_lib_soname_tiff:+false} :; then :
13715 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13716 fi ;;
13717 esac
13719 rm -f core conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 LIBS=$ac_check_soname_save_LIBS
13723 if ${ac_cv_lib_soname_tiff:+false} :; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13725 $as_echo "not found" >&6; }
13727 else
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13729 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13731 cat >>confdefs.h <<_ACEOF
13732 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13733 _ACEOF
13738 CPPFLAGS=$ac_save_CPPFLAGS
13739 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13740 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13743 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13744 case "x$with_tiff" in
13745 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13746 xno) ;;
13747 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13748 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13749 esac
13753 if test "x$with_mpg123" != "xno"
13754 then
13755 if ${MPG123_CFLAGS:+false} :; then :
13756 if ${PKG_CONFIG+:} false; then :
13757 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13761 if ${MPG123_LIBS:+false} :; then :
13762 if ${PKG_CONFIG+:} false; then :
13763 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13767 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13768 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13769 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13770 ac_save_CPPFLAGS=$CPPFLAGS
13771 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13772 for ac_header in mpg123.h
13773 do :
13774 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13775 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13776 cat >>confdefs.h <<_ACEOF
13777 #define HAVE_MPG123_H 1
13778 _ACEOF
13782 done
13784 if test "$ac_cv_header_mpg123_h" = "yes"
13785 then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13787 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13788 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_check_lib_save_LIBS=$LIBS
13792 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char mpg123_feed ();
13804 main ()
13806 return mpg123_feed ();
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 ac_cv_lib_mpg123_mpg123_feed=yes
13813 else
13814 ac_cv_lib_mpg123_mpg123_feed=no
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_lib_save_LIBS
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13821 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13822 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13824 else
13825 MPG123_LIBS=""
13828 else
13829 MPG123_CFLAGS=""
13830 MPG123_LIBS=""
13832 CPPFLAGS=$ac_save_CPPFLAGS
13833 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13834 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13837 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13838 case "x$with_mpg123" in
13839 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13840 xno) ;;
13841 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13842 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13843 esac
13844 enable_winemp3_acm=${enable_winemp3_acm:-no}
13847 if test "$ac_cv_header_AL_al_h" = "yes"
13848 then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13850 $as_echo_n "checking for -lopenal... " >&6; }
13851 if ${ac_cv_lib_soname_openal+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_soname_save_LIBS=$LIBS
13855 LIBS="-lopenal $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char alGetSource3i ();
13867 main ()
13869 return alGetSource3i ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 case "$LIBEXT" in
13876 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13877 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'` ;;
13878 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13879 if ${ac_cv_lib_soname_openal:+false} :; then :
13880 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13881 fi ;;
13882 esac
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_soname_save_LIBS
13888 if ${ac_cv_lib_soname_openal:+false} :; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13890 $as_echo "not found" >&6; }
13892 else
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13894 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13896 cat >>confdefs.h <<_ACEOF
13897 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13898 _ACEOF
13900 OPENAL_LIBS="-lopenal"
13902 ac_cv_lib_openal=yes
13904 cat >>confdefs.h <<_ACEOF
13905 #define HAVE_OPENAL 1
13906 _ACEOF
13910 if test "x$ac_cv_lib_openal" != xyes; then :
13911 case "x$with_openal" in
13912 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13913 xno) ;;
13914 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13915 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13916 esac
13917 enable_openal32=${enable_openal32:-no}
13920 if test "x$ac_cv_lib_openal" = xyes
13921 then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13923 $as_echo_n "checking for openal-soft... " >&6; }
13924 if ${ac_cv_have_openalsoft+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929 #include <AL/al.h>
13930 #include <AL/alc.h>
13931 #include <AL/alext.h>
13932 LPALCRENDERSAMPLESSOFT x;
13934 main ()
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_compile "$LINENO"; then :
13942 ac_cv_have_openalsoft=yes
13943 else
13944 ac_cv_have_openalsoft=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13949 $as_echo "$ac_cv_have_openalsoft" >&6; }
13951 if test "x$ac_cv_have_openalsoft" != xyes
13952 then
13953 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13954 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13955 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13956 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13957 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13958 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13959 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13960 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13961 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13962 enable_xapofx1_1=${enable_xapofx1_1:-no}
13963 enable_xapofx1_2=${enable_xapofx1_2:-no}
13964 enable_xapofx1_3=${enable_xapofx1_3:-no}
13965 enable_xapofx1_4=${enable_xapofx1_4:-no}
13966 enable_xapofx1_5=${enable_xapofx1_5:-no}
13967 enable_xaudio2_0=${enable_xaudio2_0:-no}
13968 enable_xaudio2_1=${enable_xaudio2_1:-no}
13969 enable_xaudio2_2=${enable_xaudio2_2:-no}
13970 enable_xaudio2_3=${enable_xaudio2_3:-no}
13971 enable_xaudio2_4=${enable_xaudio2_4:-no}
13972 enable_xaudio2_5=${enable_xaudio2_5:-no}
13973 enable_xaudio2_6=${enable_xaudio2_6:-no}
13974 enable_xaudio2_7=${enable_xaudio2_7:-no}
13975 enable_xaudio2_8=${enable_xaudio2_8:-no}
13976 enable_xaudio2_9=${enable_xaudio2_9:-no}
13979 if test "$ac_cv_header_kstat_h" = "yes"
13980 then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13982 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13983 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_check_lib_save_LIBS=$LIBS
13987 LIBS="-lkstat $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 #ifdef __cplusplus
13995 extern "C"
13996 #endif
13997 char kstat_open ();
13999 main ()
14001 return kstat_open ();
14003 return 0;
14005 _ACEOF
14006 if ac_fn_c_try_link "$LINENO"; then :
14007 ac_cv_lib_kstat_kstat_open=yes
14008 else
14009 ac_cv_lib_kstat_kstat_open=no
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14016 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14017 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14019 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14021 KSTAT_LIBS="-lkstat"
14027 if test "$ac_cv_header_libprocstat_h" = "yes"
14028 then
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14030 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14031 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_check_lib_save_LIBS=$LIBS
14035 LIBS="-lprocstat $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char procstat_open_sysctl ();
14047 main ()
14049 return procstat_open_sysctl ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 ac_cv_lib_procstat_procstat_open_sysctl=yes
14056 else
14057 ac_cv_lib_procstat_procstat_open_sysctl=no
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 LIBS=$ac_check_lib_save_LIBS
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14064 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14065 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14067 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14069 PROCSTAT_LIBS="-lprocstat"
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14076 $as_echo_n "checking for -lodbc... " >&6; }
14077 if ${ac_cv_lib_soname_odbc+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 ac_check_soname_save_LIBS=$LIBS
14081 LIBS="-lodbc $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 #ifdef __cplusplus
14089 extern "C"
14090 #endif
14091 char SQLConnect ();
14093 main ()
14095 return SQLConnect ();
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"; then :
14101 case "$LIBEXT" in
14102 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14103 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'` ;;
14104 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14105 if ${ac_cv_lib_soname_odbc:+false} :; then :
14106 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14107 fi ;;
14108 esac
14110 rm -f core conftest.err conftest.$ac_objext \
14111 conftest$ac_exeext conftest.$ac_ext
14112 LIBS=$ac_check_soname_save_LIBS
14114 if ${ac_cv_lib_soname_odbc:+false} :; then :
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14116 $as_echo "not found" >&6; }
14117 cat >>confdefs.h <<_ACEOF
14118 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14119 _ACEOF
14121 else
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14123 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14125 cat >>confdefs.h <<_ACEOF
14126 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14127 _ACEOF
14132 if test "x$with_netapi" != "xno"
14133 then
14134 if ${NETAPI_CFLAGS:+false} :; then :
14135 if ${PKG_CONFIG+:} false; then :
14136 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14140 if ${NETAPI_LIBS:+false} :; then :
14141 if ${PKG_CONFIG+:} false; then :
14142 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14147 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14148 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14149 ac_save_CPPFLAGS=$CPPFLAGS
14150 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14152 $as_echo_n "checking for -lnetapi... " >&6; }
14153 if ${ac_cv_lib_soname_netapi+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_check_soname_save_LIBS=$LIBS
14157 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14161 /* Override any GCC internal prototype to avoid an error.
14162 Use char because int might match the return type of a GCC
14163 builtin and then its argument prototype would still apply. */
14164 #ifdef __cplusplus
14165 extern "C"
14166 #endif
14167 char libnetapi_init ();
14169 main ()
14171 return libnetapi_init ();
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 case "$LIBEXT" in
14178 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14179 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'` ;;
14180 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14181 if ${ac_cv_lib_soname_netapi:+false} :; then :
14182 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14183 fi ;;
14184 esac
14186 rm -f core conftest.err conftest.$ac_objext \
14187 conftest$ac_exeext conftest.$ac_ext
14188 LIBS=$ac_check_soname_save_LIBS
14190 if ${ac_cv_lib_soname_netapi:+false} :; then :
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14192 $as_echo "not found" >&6; }
14193 cat >>confdefs.h <<_ACEOF
14194 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14195 _ACEOF
14197 else
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14199 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14201 cat >>confdefs.h <<_ACEOF
14202 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14203 _ACEOF
14207 CPPFLAGS=$ac_save_CPPFLAGS
14208 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14209 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14213 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14214 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14215 then
14216 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14220 EXTRACFLAGS=""
14222 if test "x${GCC}" = "xyes"
14223 then
14224 EXTRACFLAGS="-Wall -pipe"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14227 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14228 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14229 $as_echo_n "(cached) " >&6
14230 else
14231 if test "$cross_compiling" = yes; then :
14232 ac_cv_c_gcc_strength_bug="no"
14233 else
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int L[4] = {0,1,2,3};
14238 main ()
14240 static int Array[3];
14241 unsigned int B = 3;
14242 int i;
14243 for(i=0; i<B; i++) Array[i] = i - 3;
14244 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14245 L[i] = 4;
14246 return (Array[1] != -2 || L[2] != 3)
14248 return 0;
14250 _ACEOF
14251 if ac_fn_c_try_run "$LINENO"; then :
14252 ac_cv_c_gcc_strength_bug="no"
14253 else
14254 ac_cv_c_gcc_strength_bug="yes"
14256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14257 conftest.$ac_objext conftest.beam conftest.$ac_ext
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14262 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14263 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14264 then
14265 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14269 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14270 if ${ac_cv_cflags__fno_builtin+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_wine_try_cflags_saved=$CFLAGS
14274 CFLAGS="$CFLAGS -fno-builtin"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 int main(int argc, char **argv) { return 0; }
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"; then :
14280 ac_cv_cflags__fno_builtin=yes
14281 else
14282 ac_cv_cflags__fno_builtin=no
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 CFLAGS=$ac_wine_try_cflags_saved
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14289 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14290 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14291 BUILTINFLAG="-fno-builtin"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14295 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14296 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 ac_wine_try_cflags_saved=$CFLAGS
14300 CFLAGS="$CFLAGS -fno-strict-aliasing"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14303 int main(int argc, char **argv) { return 0; }
14304 _ACEOF
14305 if ac_fn_c_try_link "$LINENO"; then :
14306 ac_cv_cflags__fno_strict_aliasing=yes
14307 else
14308 ac_cv_cflags__fno_strict_aliasing=no
14310 rm -f core conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14312 CFLAGS=$ac_wine_try_cflags_saved
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14315 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14316 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14317 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14320 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14321 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14322 $as_echo_n "(cached) " >&6
14323 else
14324 ac_wine_try_cflags_saved=$CFLAGS
14325 CFLAGS="$CFLAGS -fexcess-precision=standard"
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 int main(int argc, char **argv) { return 0; }
14329 _ACEOF
14330 if ac_fn_c_try_link "$LINENO"; then :
14331 ac_cv_cflags__fexcess_precision_standard=yes
14332 else
14333 ac_cv_cflags__fexcess_precision_standard=no
14335 rm -f core conftest.err conftest.$ac_objext \
14336 conftest$ac_exeext conftest.$ac_ext
14337 CFLAGS=$ac_wine_try_cflags_saved
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14340 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14341 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14342 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14345 saved_CFLAGS=$CFLAGS
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14347 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14348 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_wine_try_cflags_saved=$CFLAGS
14352 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 int main(int argc, char **argv) { return 0; }
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_cflags__Werror_unknown_warning_option=yes
14359 else
14360 ac_cv_cflags__Werror_unknown_warning_option=no
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 CFLAGS=$ac_wine_try_cflags_saved
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14367 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14368 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14369 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14372 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14373 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 ac_wine_try_cflags_saved=$CFLAGS
14377 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 int main(int argc, char **argv) { return 0; }
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_cflags__Wdeclaration_after_statement=yes
14384 else
14385 ac_cv_cflags__Wdeclaration_after_statement=no
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14389 CFLAGS=$ac_wine_try_cflags_saved
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14392 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14393 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14394 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14397 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14398 if ${ac_cv_cflags__Wempty_body+:} false; then :
14399 $as_echo_n "(cached) " >&6
14400 else
14401 ac_wine_try_cflags_saved=$CFLAGS
14402 CFLAGS="$CFLAGS -Wempty-body"
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 int main(int argc, char **argv) { return 0; }
14406 _ACEOF
14407 if ac_fn_c_try_link "$LINENO"; then :
14408 ac_cv_cflags__Wempty_body=yes
14409 else
14410 ac_cv_cflags__Wempty_body=no
14412 rm -f core conftest.err conftest.$ac_objext \
14413 conftest$ac_exeext conftest.$ac_ext
14414 CFLAGS=$ac_wine_try_cflags_saved
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14417 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14418 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14419 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14422 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14423 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14424 $as_echo_n "(cached) " >&6
14425 else
14426 ac_wine_try_cflags_saved=$CFLAGS
14427 CFLAGS="$CFLAGS -Wignored-qualifiers"
14428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14430 int main(int argc, char **argv) { return 0; }
14431 _ACEOF
14432 if ac_fn_c_try_link "$LINENO"; then :
14433 ac_cv_cflags__Wignored_qualifiers=yes
14434 else
14435 ac_cv_cflags__Wignored_qualifiers=no
14437 rm -f core conftest.err conftest.$ac_objext \
14438 conftest$ac_exeext conftest.$ac_ext
14439 CFLAGS=$ac_wine_try_cflags_saved
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14442 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14443 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14444 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14447 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14448 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 ac_wine_try_cflags_saved=$CFLAGS
14452 CFLAGS="$CFLAGS -Wshift-overflow=2"
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14455 int main(int argc, char **argv) { return 0; }
14456 _ACEOF
14457 if ac_fn_c_try_link "$LINENO"; then :
14458 ac_cv_cflags__Wshift_overflow_2=yes
14459 else
14460 ac_cv_cflags__Wshift_overflow_2=no
14462 rm -f core conftest.err conftest.$ac_objext \
14463 conftest$ac_exeext conftest.$ac_ext
14464 CFLAGS=$ac_wine_try_cflags_saved
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14467 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14468 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14469 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14472 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14473 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_wine_try_cflags_saved=$CFLAGS
14477 CFLAGS="$CFLAGS -Wstrict-prototypes"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14480 int main(int argc, char **argv) { return 0; }
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_cflags__Wstrict_prototypes=yes
14484 else
14485 ac_cv_cflags__Wstrict_prototypes=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 CFLAGS=$ac_wine_try_cflags_saved
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14492 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14493 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14494 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14497 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14498 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 ac_wine_try_cflags_saved=$CFLAGS
14502 CFLAGS="$CFLAGS -Wtype-limits"
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 int main(int argc, char **argv) { return 0; }
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508 ac_cv_cflags__Wtype_limits=yes
14509 else
14510 ac_cv_cflags__Wtype_limits=no
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14514 CFLAGS=$ac_wine_try_cflags_saved
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14517 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14518 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14519 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14522 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14523 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14524 $as_echo_n "(cached) " >&6
14525 else
14526 ac_wine_try_cflags_saved=$CFLAGS
14527 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 int main(int argc, char **argv) { return 0; }
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 ac_cv_cflags__Wunused_but_set_parameter=yes
14534 else
14535 ac_cv_cflags__Wunused_but_set_parameter=no
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 CFLAGS=$ac_wine_try_cflags_saved
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14542 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14543 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14544 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14547 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14548 if ${ac_cv_cflags__Wvla+:} false; then :
14549 $as_echo_n "(cached) " >&6
14550 else
14551 ac_wine_try_cflags_saved=$CFLAGS
14552 CFLAGS="$CFLAGS -Wvla"
14553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14555 int main(int argc, char **argv) { return 0; }
14556 _ACEOF
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 ac_cv_cflags__Wvla=yes
14559 else
14560 ac_cv_cflags__Wvla=no
14562 rm -f core conftest.err conftest.$ac_objext \
14563 conftest$ac_exeext conftest.$ac_ext
14564 CFLAGS=$ac_wine_try_cflags_saved
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14567 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14568 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14569 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14572 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14573 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 ac_wine_try_cflags_saved=$CFLAGS
14577 CFLAGS="$CFLAGS -Wwrite-strings"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14580 int main(int argc, char **argv) { return 0; }
14581 _ACEOF
14582 if ac_fn_c_try_link "$LINENO"; then :
14583 ac_cv_cflags__Wwrite_strings=yes
14584 else
14585 ac_cv_cflags__Wwrite_strings=no
14587 rm -f core conftest.err conftest.$ac_objext \
14588 conftest$ac_exeext conftest.$ac_ext
14589 CFLAGS=$ac_wine_try_cflags_saved
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14592 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14593 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14594 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14598 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14599 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 ac_wine_try_cflags_saved=$CFLAGS
14603 CFLAGS="$CFLAGS -Wpointer-arith"
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14606 int main(int argc, char **argv) { return 0; }
14607 _ACEOF
14608 if ac_fn_c_try_link "$LINENO"; then :
14609 ac_cv_cflags__Wpointer_arith=yes
14610 else
14611 ac_cv_cflags__Wpointer_arith=no
14613 rm -f core conftest.err conftest.$ac_objext \
14614 conftest$ac_exeext conftest.$ac_ext
14615 CFLAGS=$ac_wine_try_cflags_saved
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14618 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14619 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14620 saved_string_h_CFLAGS=$CFLAGS
14621 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14623 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14624 if ${ac_cv_c_string_h_warnings+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 #include <string.h>
14631 main ()
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_compile "$LINENO"; then :
14639 ac_cv_c_string_h_warnings=no
14640 else
14641 ac_cv_c_string_h_warnings=yes
14643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14646 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14647 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14648 CFLAGS=$saved_string_h_CFLAGS
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14652 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14653 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 ac_wine_try_cflags_saved=$CFLAGS
14657 CFLAGS="$CFLAGS -Wlogical-op"
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14660 int main(int argc, char **argv) { return 0; }
14661 _ACEOF
14662 if ac_fn_c_try_link "$LINENO"; then :
14663 ac_cv_cflags__Wlogical_op=yes
14664 else
14665 ac_cv_cflags__Wlogical_op=no
14667 rm -f core conftest.err conftest.$ac_objext \
14668 conftest$ac_exeext conftest.$ac_ext
14669 CFLAGS=$ac_wine_try_cflags_saved
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14672 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14673 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14674 saved_string_h_CFLAGS=$CFLAGS
14675 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14677 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14678 if ${ac_cv_c_logicalop_noisy+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14683 #include <string.h>
14684 char*f(const char *h,char n) {return strchr(h,n);}
14686 main ()
14690 return 0;
14692 _ACEOF
14693 if ac_fn_c_try_compile "$LINENO"; then :
14694 ac_cv_c_logicalop_noisy=no
14695 else
14696 ac_cv_c_logicalop_noisy=yes
14698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14701 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14702 CFLAGS=$saved_string_h_CFLAGS
14703 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14706 CFLAGS=$saved_CFLAGS
14708 for ac_flag in $CFLAGS; do
14709 case $ac_flag in
14710 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14711 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14712 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_wine_try_cflags_saved=$CFLAGS
14716 CFLAGS="$CFLAGS -gdwarf-2"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14719 int main(int argc, char **argv) { return 0; }
14720 _ACEOF
14721 if ac_fn_c_try_link "$LINENO"; then :
14722 ac_cv_cflags__gdwarf_2=yes
14723 else
14724 ac_cv_cflags__gdwarf_2=no
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14728 CFLAGS=$ac_wine_try_cflags_saved
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14731 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14732 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14733 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14736 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14737 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 ac_wine_try_cflags_saved=$CFLAGS
14741 CFLAGS="$CFLAGS -gstrict-dwarf"
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14744 int main(int argc, char **argv) { return 0; }
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"; then :
14747 ac_cv_cflags__gstrict_dwarf=yes
14748 else
14749 ac_cv_cflags__gstrict_dwarf=no
14751 rm -f core conftest.err conftest.$ac_objext \
14752 conftest$ac_exeext conftest.$ac_ext
14753 CFLAGS=$ac_wine_try_cflags_saved
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14756 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14757 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14758 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14759 fi ;;
14760 esac
14761 done
14763 case $host_cpu in
14764 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14765 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14766 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 ac_wine_try_cflags_saved=$CFLAGS
14770 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14773 int main(int argc, char **argv) { return 0; }
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"; then :
14776 ac_cv_cflags__fno_omit_frame_pointer=yes
14777 else
14778 ac_cv_cflags__fno_omit_frame_pointer=no
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 CFLAGS=$ac_wine_try_cflags_saved
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14785 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14786 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14787 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14788 fi ;;
14789 esac
14791 case $host in
14792 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14793 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14794 if ${ac_cv_cflags__Wno_format+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_wine_try_cflags_saved=$CFLAGS
14798 CFLAGS="$CFLAGS -Wno-format"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14801 int main(int argc, char **argv) { return 0; }
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_cflags__Wno_format=yes
14805 else
14806 ac_cv_cflags__Wno_format=no
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 CFLAGS=$ac_wine_try_cflags_saved
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14813 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14814 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14815 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14816 fi ;;
14817 esac
14819 if test "x$enable_maintainer_mode" = "xyes"
14820 then
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14822 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14823 if ${ac_cv_cflags__Werror+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 ac_wine_try_cflags_saved=$CFLAGS
14827 CFLAGS="$CFLAGS -Werror"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14830 int main(int argc, char **argv) { return 0; }
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_cflags__Werror=yes
14834 else
14835 ac_cv_cflags__Werror=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 CFLAGS=$ac_wine_try_cflags_saved
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14842 $as_echo "$ac_cv_cflags__Werror" >&6; }
14843 if test "x$ac_cv_cflags__Werror" = xyes; then :
14844 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14848 saved_CFLAGS="$CFLAGS"
14849 CFLAGS="$CFLAGS -Werror"
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14851 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14852 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14859 main ()
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_compile "$LINENO"; then :
14867 ac_cv_have_ms_hook_prologue="yes"
14868 else
14869 ac_cv_have_ms_hook_prologue="no"
14871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14874 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14875 CFLAGS="$saved_CFLAGS"
14876 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14877 then
14879 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14881 else
14882 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14889 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14890 if ${ac_cv_c_fortify_enabled+:} false; then :
14891 $as_echo_n "(cached) " >&6
14892 else
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14895 #include <string.h>
14897 main ()
14899 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14900 #error Fortify enabled
14901 #endif
14903 return 0;
14905 _ACEOF
14906 if ac_fn_c_try_compile "$LINENO"; then :
14907 ac_cv_c_fortify_enabled=no
14908 else
14909 ac_cv_c_fortify_enabled=yes
14911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14914 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14915 if test "$ac_cv_c_fortify_enabled" = yes
14916 then
14917 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14922 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14923 if ${ac_cv_c_extern_prefix+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 extern int ac_test;
14930 main ()
14932 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14934 return 0;
14936 _ACEOF
14937 if ac_fn_c_try_link "$LINENO"; then :
14938 ac_cv_c_extern_prefix="yes"
14939 else
14940 ac_cv_c_extern_prefix="no"
14942 rm -f core conftest.err conftest.$ac_objext \
14943 conftest$ac_exeext conftest.$ac_ext
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14946 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14948 case $host_cpu in
14949 *i[3456789]86*)
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14951 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14952 if ${ac_cv_c_stdcall_suffix+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 #ifndef _MSC_VER
14958 #define __stdcall __attribute__((__stdcall__))
14959 #endif
14960 int __stdcall ac_test(int i) { return i; }
14962 main ()
14964 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 ac_cv_c_stdcall_suffix="yes"
14971 else
14972 ac_cv_c_stdcall_suffix="no"
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14978 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14979 *) ac_cv_c_stdcall_suffix="no" ;;
14980 esac
14983 if test "$ac_cv_c_extern_prefix" = "yes"
14984 then
14985 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14987 asm_name_prefix="_"
14988 else
14989 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14991 asm_name_prefix=""
14995 if test "$ac_cv_c_stdcall_suffix" = "yes"
14996 then
14997 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14999 else
15000 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15006 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15007 if ${ac_cv_asm_func_def+:} false; then :
15008 $as_echo_n "(cached) " >&6
15009 else
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15014 main ()
15016 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 ac_cv_asm_func_def=".def"
15023 else
15024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15028 main ()
15030 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15032 return 0;
15034 _ACEOF
15035 if ac_fn_c_try_link "$LINENO"; then :
15036 ac_cv_asm_func_def=".type @function"
15037 else
15038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15042 main ()
15044 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"; then :
15050 ac_cv_asm_func_def=".type 2"
15051 else
15052 ac_cv_asm_func_def="unknown"
15054 rm -f core conftest.err conftest.$ac_objext \
15055 conftest$ac_exeext conftest.$ac_ext
15057 rm -f core conftest.err conftest.$ac_objext \
15058 conftest$ac_exeext conftest.$ac_ext
15060 rm -f core conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15064 $as_echo "$ac_cv_asm_func_def" >&6; }
15067 case "$ac_cv_asm_func_def" in
15068 ".def")
15069 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15071 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15072 ".type @function")
15073 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15075 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15076 ".type 2")
15077 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15079 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15081 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15083 asm_func_header="" ;;
15084 esac
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15087 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15088 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15089 $as_echo_n "(cached) " >&6
15090 else
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 asm(".text\n\t.long 0");
15095 main ()
15099 return 0;
15101 _ACEOF
15102 if ac_fn_c_try_compile "$LINENO"; then :
15103 ac_cv_c_asm_outside_funcs="yes"
15104 else
15105 ac_cv_c_asm_outside_funcs="no"
15107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15110 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15113 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15114 if ${ac_cv_c_dot_previous+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15121 main ()
15123 asm(".text\nac_test:\t.long 0\n\t.previous");
15125 return 0;
15127 _ACEOF
15128 if ac_fn_c_try_link "$LINENO"; then :
15129 ac_cv_c_dot_previous="yes"
15130 else
15131 ac_cv_c_dot_previous="no"
15133 rm -f core conftest.err conftest.$ac_objext \
15134 conftest$ac_exeext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15137 $as_echo "$ac_cv_c_dot_previous" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15140 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15141 if ${ac_cv_c_cfi_support+:} false; then :
15142 $as_echo_n "(cached) " >&6
15143 else
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15146 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15148 main ()
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_compile "$LINENO"; then :
15156 ac_cv_c_cfi_support="yes"
15157 else
15158 ac_cv_c_cfi_support="no"
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15163 $as_echo "$ac_cv_c_cfi_support" >&6; }
15165 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15166 asm_func_trailer=""
15167 if test "$ac_cv_c_dot_previous" = "yes"
15168 then
15169 asm_func_trailer="\\n\\t.previous"
15171 if test "$ac_cv_c_cfi_support" = "yes"
15172 then
15173 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15174 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15176 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15178 UNWINDFLAGS=-fasynchronous-unwind-tables
15180 else
15181 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15183 if test "x$enable_win64" = "xyes"
15184 then
15185 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15189 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15192 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15193 then
15194 cat >>confdefs.h <<_ACEOF
15195 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15196 _ACEOF
15198 else
15199 cat >>confdefs.h <<_ACEOF
15200 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15201 _ACEOF
15205 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15208 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15212 case $build_os in
15213 cygwin*|mingw32*) TOOLSEXT=".exe"
15215 esac
15217 case $host_os in
15218 linux-android*) ;;
15219 linux*)
15220 case $host_cpu in
15221 *i[3456789]86*|x86_64*)
15222 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15223 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15225 esac
15227 esac
15230 ac_save_CFLAGS="$CFLAGS"
15231 CFLAGS="$CFLAGS $BUILTINFLAG"
15232 for ac_func in \
15233 __res_get_state \
15234 __res_getservers \
15235 _finite \
15236 _isnan \
15237 _pclose \
15238 _popen \
15239 _snprintf \
15240 _spawnvp \
15241 _strdup \
15242 _stricmp \
15243 _strnicmp \
15244 _strtoi64 \
15245 _strtoui64 \
15246 _vsnprintf \
15247 asctime_r \
15248 chsize \
15249 dlopen \
15250 epoll_create \
15251 ffs \
15252 finitef \
15253 fnmatch \
15254 fork \
15255 fpclass \
15256 fstatfs \
15257 fstatvfs \
15258 ftruncate \
15259 futimens \
15260 futimes \
15261 futimesat \
15262 getattrlist \
15263 getopt_long_only \
15264 getpwuid \
15265 gettimeofday \
15266 getuid \
15267 if_nameindex \
15268 isnanf \
15269 kqueue \
15270 lstat \
15271 memmove \
15272 mmap \
15273 pclose \
15274 pipe2 \
15275 poll \
15276 popen \
15277 port_create \
15278 prctl \
15279 pread \
15280 proc_pidinfo \
15281 pwrite \
15282 readdir \
15283 readlink \
15284 sched_yield \
15285 select \
15286 setproctitle \
15287 setprogname \
15288 setrlimit \
15289 settimeofday \
15290 sigaltstack \
15291 sigprocmask \
15292 snprintf \
15293 statfs \
15294 statvfs \
15295 strcasecmp \
15296 strdup \
15297 strerror \
15298 strncasecmp \
15299 strtold \
15300 strtoll \
15301 strtoull \
15302 symlink \
15303 sysinfo \
15304 tcdrain \
15305 thr_kill2 \
15306 timegm \
15307 usleep \
15308 vsnprintf
15310 do :
15311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15313 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15314 cat >>confdefs.h <<_ACEOF
15315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15316 _ACEOF
15319 done
15321 CFLAGS="$ac_save_CFLAGS"
15323 if test "$ac_cv_func_dlopen" = no
15324 then
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15327 if ${ac_cv_lib_dl_dlopen+:} false; then :
15328 $as_echo_n "(cached) " >&6
15329 else
15330 ac_check_lib_save_LIBS=$LIBS
15331 LIBS="-ldl $LIBS"
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15335 /* Override any GCC internal prototype to avoid an error.
15336 Use char because int might match the return type of a GCC
15337 builtin and then its argument prototype would still apply. */
15338 #ifdef __cplusplus
15339 extern "C"
15340 #endif
15341 char dlopen ();
15343 main ()
15345 return dlopen ();
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"; then :
15351 ac_cv_lib_dl_dlopen=yes
15352 else
15353 ac_cv_lib_dl_dlopen=no
15355 rm -f core conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15357 LIBS=$ac_check_lib_save_LIBS
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15361 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15362 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15363 DL_LIBS="-ldl"
15368 ac_wine_check_funcs_save_LIBS="$LIBS"
15369 LIBS="$LIBS $DL_LIBS"
15370 for ac_func in dladdr
15371 do :
15372 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15373 if test "x$ac_cv_func_dladdr" = xyes; then :
15374 cat >>confdefs.h <<_ACEOF
15375 #define HAVE_DLADDR 1
15376 _ACEOF
15379 done
15381 LIBS="$ac_wine_check_funcs_save_LIBS"
15383 if test "$ac_cv_func_poll" = no
15384 then
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15386 $as_echo_n "checking for poll in -lpoll... " >&6; }
15387 if ${ac_cv_lib_poll_poll+:} false; then :
15388 $as_echo_n "(cached) " >&6
15389 else
15390 ac_check_lib_save_LIBS=$LIBS
15391 LIBS="-lpoll $LIBS"
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15395 /* Override any GCC internal prototype to avoid an error.
15396 Use char because int might match the return type of a GCC
15397 builtin and then its argument prototype would still apply. */
15398 #ifdef __cplusplus
15399 extern "C"
15400 #endif
15401 char poll ();
15403 main ()
15405 return poll ();
15407 return 0;
15409 _ACEOF
15410 if ac_fn_c_try_link "$LINENO"; then :
15411 ac_cv_lib_poll_poll=yes
15412 else
15413 ac_cv_lib_poll_poll=no
15415 rm -f core conftest.err conftest.$ac_objext \
15416 conftest$ac_exeext conftest.$ac_ext
15417 LIBS=$ac_check_lib_save_LIBS
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15420 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15421 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15423 POLL_LIBS="-lpoll"
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15430 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15431 if ${ac_cv_search_gethostbyname+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433 else
15434 ac_func_search_save_LIBS=$LIBS
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 #ifdef __cplusplus
15442 extern "C"
15443 #endif
15444 char gethostbyname ();
15446 main ()
15448 return gethostbyname ();
15450 return 0;
15452 _ACEOF
15453 for ac_lib in '' nsl; do
15454 if test -z "$ac_lib"; then
15455 ac_res="none required"
15456 else
15457 ac_res=-l$ac_lib
15458 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15460 if ac_fn_c_try_link "$LINENO"; then :
15461 ac_cv_search_gethostbyname=$ac_res
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext
15465 if ${ac_cv_search_gethostbyname+:} false; then :
15466 break
15468 done
15469 if ${ac_cv_search_gethostbyname+:} false; then :
15471 else
15472 ac_cv_search_gethostbyname=no
15474 rm conftest.$ac_ext
15475 LIBS=$ac_func_search_save_LIBS
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15478 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15479 ac_res=$ac_cv_search_gethostbyname
15480 if test "$ac_res" != no; then :
15481 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15487 $as_echo_n "checking for library containing connect... " >&6; }
15488 if ${ac_cv_search_connect+:} false; then :
15489 $as_echo_n "(cached) " >&6
15490 else
15491 ac_func_search_save_LIBS=$LIBS
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15498 #ifdef __cplusplus
15499 extern "C"
15500 #endif
15501 char connect ();
15503 main ()
15505 return connect ();
15507 return 0;
15509 _ACEOF
15510 for ac_lib in '' socket; do
15511 if test -z "$ac_lib"; then
15512 ac_res="none required"
15513 else
15514 ac_res=-l$ac_lib
15515 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15517 if ac_fn_c_try_link "$LINENO"; then :
15518 ac_cv_search_connect=$ac_res
15520 rm -f core conftest.err conftest.$ac_objext \
15521 conftest$ac_exeext
15522 if ${ac_cv_search_connect+:} false; then :
15523 break
15525 done
15526 if ${ac_cv_search_connect+:} false; then :
15528 else
15529 ac_cv_search_connect=no
15531 rm conftest.$ac_ext
15532 LIBS=$ac_func_search_save_LIBS
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15535 $as_echo "$ac_cv_search_connect" >&6; }
15536 ac_res=$ac_cv_search_connect
15537 if test "$ac_res" != no; then :
15538 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15544 $as_echo_n "checking for library containing inet_aton... " >&6; }
15545 if ${ac_cv_search_inet_aton+:} false; then :
15546 $as_echo_n "(cached) " >&6
15547 else
15548 ac_func_search_save_LIBS=$LIBS
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 #ifdef __cplusplus
15556 extern "C"
15557 #endif
15558 char inet_aton ();
15560 main ()
15562 return inet_aton ();
15564 return 0;
15566 _ACEOF
15567 for ac_lib in '' resolv; do
15568 if test -z "$ac_lib"; then
15569 ac_res="none required"
15570 else
15571 ac_res=-l$ac_lib
15572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15574 if ac_fn_c_try_link "$LINENO"; then :
15575 ac_cv_search_inet_aton=$ac_res
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext
15579 if ${ac_cv_search_inet_aton+:} false; then :
15580 break
15582 done
15583 if ${ac_cv_search_inet_aton+:} false; then :
15585 else
15586 ac_cv_search_inet_aton=no
15588 rm conftest.$ac_ext
15589 LIBS=$ac_func_search_save_LIBS
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15592 $as_echo "$ac_cv_search_inet_aton" >&6; }
15593 ac_res=$ac_cv_search_inet_aton
15594 if test "$ac_res" != no; then :
15595 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15600 for ac_func in \
15601 getaddrinfo \
15602 getnameinfo \
15603 getnetbyname \
15604 getprotobyname \
15605 getprotobynumber \
15606 getservbyport \
15607 inet_addr \
15608 inet_network \
15609 inet_ntop \
15610 inet_pton \
15611 sendmsg \
15612 socketpair \
15614 do :
15615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15617 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15618 cat >>confdefs.h <<_ACEOF
15619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15620 _ACEOF
15623 done
15626 ac_save_LIBS=$LIBS
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15628 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15629 if ${ac_cv_search_clock_gettime+:} false; then :
15630 $as_echo_n "(cached) " >&6
15631 else
15632 ac_func_search_save_LIBS=$LIBS
15633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 #ifdef __cplusplus
15640 extern "C"
15641 #endif
15642 char clock_gettime ();
15644 main ()
15646 return clock_gettime ();
15648 return 0;
15650 _ACEOF
15651 for ac_lib in '' rt; do
15652 if test -z "$ac_lib"; then
15653 ac_res="none required"
15654 else
15655 ac_res=-l$ac_lib
15656 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15658 if ac_fn_c_try_link "$LINENO"; then :
15659 ac_cv_search_clock_gettime=$ac_res
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext
15663 if ${ac_cv_search_clock_gettime+:} false; then :
15664 break
15666 done
15667 if ${ac_cv_search_clock_gettime+:} false; then :
15669 else
15670 ac_cv_search_clock_gettime=no
15672 rm conftest.$ac_ext
15673 LIBS=$ac_func_search_save_LIBS
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15676 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15677 ac_res=$ac_cv_search_clock_gettime
15678 if test "$ac_res" != no; then :
15679 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15681 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15683 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15687 LIBS=$ac_save_LIBS
15689 LDAP_LIBS=""
15691 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15692 then
15693 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15695 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15697 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15698 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15699 $as_echo_n "(cached) " >&6
15700 else
15701 ac_check_lib_save_LIBS=$LIBS
15702 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15709 #ifdef __cplusplus
15710 extern "C"
15711 #endif
15712 char ldap_initialize ();
15714 main ()
15716 return ldap_initialize ();
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"; then :
15722 ac_cv_lib_ldap_r_ldap_initialize=yes
15723 else
15724 ac_cv_lib_ldap_r_ldap_initialize=no
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15728 LIBS=$ac_check_lib_save_LIBS
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15731 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15732 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15734 $as_echo_n "checking for ber_init in -llber... " >&6; }
15735 if ${ac_cv_lib_lber_ber_init+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_check_lib_save_LIBS=$LIBS
15739 LIBS="-llber $PTHREAD_LIBS $LIBS"
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15743 /* Override any GCC internal prototype to avoid an error.
15744 Use char because int might match the return type of a GCC
15745 builtin and then its argument prototype would still apply. */
15746 #ifdef __cplusplus
15747 extern "C"
15748 #endif
15749 char ber_init ();
15751 main ()
15753 return ber_init ();
15755 return 0;
15757 _ACEOF
15758 if ac_fn_c_try_link "$LINENO"; then :
15759 ac_cv_lib_lber_ber_init=yes
15760 else
15761 ac_cv_lib_lber_ber_init=no
15763 rm -f core conftest.err conftest.$ac_objext \
15764 conftest$ac_exeext conftest.$ac_ext
15765 LIBS=$ac_check_lib_save_LIBS
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15768 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15769 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15771 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15773 LDAP_LIBS="-lldap_r -llber"
15780 ac_wine_check_funcs_save_LIBS="$LIBS"
15781 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15782 for ac_func in \
15783 ldap_count_references \
15784 ldap_first_reference \
15785 ldap_next_reference \
15786 ldap_parse_reference \
15787 ldap_parse_sort_control \
15788 ldap_parse_sortresponse_control \
15789 ldap_parse_vlv_control \
15790 ldap_parse_vlvresponse_control
15791 do :
15792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15797 _ACEOF
15800 done
15802 LIBS="$ac_wine_check_funcs_save_LIBS"
15804 if test "x$LDAP_LIBS" = "x"; then :
15805 case "x$with_ldap" in
15806 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15807 xno) ;;
15808 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15809 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15810 esac
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15815 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15816 if ${wine_cv_one_arg_mkdir+:} false; then :
15817 $as_echo_n "(cached) " >&6
15818 else
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #include <sys/stat.h>
15823 main ()
15825 mkdir("foo");
15827 return 0;
15829 _ACEOF
15830 if ac_fn_c_try_compile "$LINENO"; then :
15831 wine_cv_one_arg_mkdir=yes
15832 else
15833 wine_cv_one_arg_mkdir=no
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15838 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15839 if test "$wine_cv_one_arg_mkdir" = "yes"
15840 then
15842 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15847 $as_echo_n "checking for sched_setaffinity... " >&6; }
15848 if ${wine_cv_have_sched_setaffinity+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15853 #define _GNU_SOURCE
15854 #include <sched.h>
15856 main ()
15858 sched_setaffinity(0, 0, 0);
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"; then :
15864 wine_cv_have_sched_setaffinity=yes
15865 else
15866 wine_cv_have_sched_setaffinity=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15872 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15873 if test "$wine_cv_have_sched_setaffinity" = "yes"
15874 then
15876 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15881 $as_echo_n "checking for fallocate... " >&6; }
15882 if ${wine_cv_have_fallocate+:} false; then :
15883 $as_echo_n "(cached) " >&6
15884 else
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15887 #define _GNU_SOURCE
15888 #include <fcntl.h>
15890 main ()
15892 fallocate(-1, 0, 0, 0);
15894 return 0;
15896 _ACEOF
15897 if ac_fn_c_try_link "$LINENO"; then :
15898 wine_cv_have_fallocate=yes
15899 else
15900 wine_cv_have_fallocate=no
15902 rm -f core conftest.err conftest.$ac_objext \
15903 conftest$ac_exeext conftest.$ac_ext
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15906 $as_echo "$wine_cv_have_fallocate" >&6; }
15907 if test "$wine_cv_have_fallocate" = "yes"
15908 then
15910 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15916 $as_echo_n "checking for inline... " >&6; }
15917 if ${ac_cv_c_inline+:} false; then :
15918 $as_echo_n "(cached) " >&6
15919 else
15920 ac_cv_c_inline=no
15921 for ac_kw in inline __inline__ __inline; do
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 #ifndef __cplusplus
15925 typedef int foo_t;
15926 static $ac_kw foo_t static_foo () {return 0; }
15927 $ac_kw foo_t foo () {return 0; }
15928 #endif
15930 _ACEOF
15931 if ac_fn_c_try_compile "$LINENO"; then :
15932 ac_cv_c_inline=$ac_kw
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 test "$ac_cv_c_inline" != no && break
15936 done
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15940 $as_echo "$ac_cv_c_inline" >&6; }
15942 case $ac_cv_c_inline in
15943 inline | yes) ;;
15945 case $ac_cv_c_inline in
15946 no) ac_val=;;
15947 *) ac_val=$ac_cv_c_inline;;
15948 esac
15949 cat >>confdefs.h <<_ACEOF
15950 #ifndef __cplusplus
15951 #define inline $ac_val
15952 #endif
15953 _ACEOF
15955 esac
15957 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15958 if test "x$ac_cv_type_mode_t" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_MODE_T 1
15962 _ACEOF
15966 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15967 if test "x$ac_cv_type_off_t" = xyes; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define HAVE_OFF_T 1
15971 _ACEOF
15975 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15976 if test "x$ac_cv_type_pid_t" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_PID_T 1
15980 _ACEOF
15984 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15985 if test "x$ac_cv_type_size_t" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_SIZE_T 1
15989 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15994 if test "x$ac_cv_type_ssize_t" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_SSIZE_T 1
15998 _ACEOF
16002 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16003 if test "x$ac_cv_type_long_long" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_LONG_LONG 1
16007 _ACEOF
16011 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16012 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_FSBLKCNT_T 1
16016 _ACEOF
16020 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16021 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_FSFILCNT_T 1
16025 _ACEOF
16030 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16031 #include <signal.h>
16033 if test "x$ac_cv_type_sigset_t" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_SIGSET_T 1
16037 _ACEOF
16042 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16044 if test "x$ac_cv_type_request_sense" = xyes; then :
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_REQUEST_SENSE 1
16048 _ACEOF
16054 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16055 #ifdef HAVE_SYS_SOCKET_H
16056 #include <sys/socket.h>
16057 #endif
16058 #ifdef HAVE_SYS_SOCKETVAR_H
16059 #include <sys/socketvar.h>
16060 #endif
16061 #ifdef HAVE_NET_ROUTE_H
16062 #include <net/route.h>
16063 #endif
16064 #ifdef HAVE_NETINET_IN_H
16065 #include <netinet/in.h>
16066 #endif
16067 #ifdef HAVE_NETINET_IN_SYSTM_H
16068 #include <netinet/in_systm.h>
16069 #endif
16070 #ifdef HAVE_NETINET_IP_H
16071 #include <netinet/ip.h>
16072 #endif
16073 #ifdef HAVE_NETINET_IN_PCB_H
16074 #include <netinet/in_pcb.h>
16075 #endif
16077 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_XINPGEN 1
16081 _ACEOF
16087 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16088 #include <link.h>
16089 #endif
16090 #ifdef HAVE_SYS_LINK_H
16091 #include <sys/link.h>
16092 #endif
16094 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_STRUCT_R_DEBUG 1
16098 _ACEOF
16102 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16103 #include <link.h>
16104 #endif
16105 #ifdef HAVE_SYS_LINK_H
16106 #include <sys/link.h>
16107 #endif
16109 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_LINK_MAP 1
16113 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16120 #include <linux/input.h>
16121 #endif
16123 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16127 _ACEOF
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16134 $as_echo_n "checking for sigaddset... " >&6; }
16135 if ${wine_cv_have_sigaddset+:} false; then :
16136 $as_echo_n "(cached) " >&6
16137 else
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140 #include <signal.h>
16142 main ()
16144 sigset_t set; sigaddset(&set,SIGTERM);
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 wine_cv_have_sigaddset=yes
16151 else
16152 wine_cv_have_sigaddset=no
16154 rm -f core conftest.err conftest.$ac_objext \
16155 conftest$ac_exeext conftest.$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16158 $as_echo "$wine_cv_have_sigaddset" >&6; }
16159 if test "$wine_cv_have_sigaddset" = "yes"
16160 then
16162 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16168 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16169 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #include <netdb.h>
16176 main ()
16179 char *name=0;
16180 struct hostent he;
16181 struct hostent *result;
16182 char *buf=0;
16183 int bufsize=0;
16184 int errnr;
16185 char *addr=0;
16186 int addrlen=0;
16187 int addrtype=0;
16188 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16189 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16192 return 0;
16194 _ACEOF
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 wine_cv_linux_gethostbyname_r_6=yes
16197 else
16198 wine_cv_linux_gethostbyname_r_6=no
16201 rm -f core conftest.err conftest.$ac_objext \
16202 conftest$ac_exeext conftest.$ac_ext
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16206 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16207 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16208 then
16210 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16214 if test "$ac_cv_header_linux_joystick_h" = "yes"
16215 then
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16217 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16218 if ${wine_cv_linux_joystick_22_api+:} false; then :
16219 $as_echo_n "(cached) " >&6
16220 else
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16224 #include <sys/ioctl.h>
16225 #include <sys/types.h>
16226 #include <linux/joystick.h>
16228 struct js_event blub;
16229 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16230 #error "no 2.2 header"
16231 #endif
16234 main ()
16236 /*empty*/
16238 return 0;
16240 _ACEOF
16241 if ac_fn_c_try_compile "$LINENO"; then :
16242 wine_cv_linux_joystick_22_api=yes
16243 else
16244 wine_cv_linux_joystick_22_api=no
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16250 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16251 if test "$wine_cv_linux_joystick_22_api" = "yes"
16252 then
16254 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16260 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16261 #ifdef HAVE_SYS_PARAM_H
16262 # include <sys/param.h>
16263 #endif
16264 #ifdef HAVE_SYS_MOUNT_H
16265 # include <sys/mount.h>
16266 #endif
16267 #ifdef HAVE_SYS_VFS_H
16268 # include <sys/vfs.h>
16269 #endif
16270 #ifdef HAVE_SYS_STATFS_H
16271 # include <sys/statfs.h>
16272 #endif
16274 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define HAVE_STRUCT_STATFS_F_BFREE 1
16278 _ACEOF
16282 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16283 #ifdef HAVE_SYS_PARAM_H
16284 # include <sys/param.h>
16285 #endif
16286 #ifdef HAVE_SYS_MOUNT_H
16287 # include <sys/mount.h>
16288 #endif
16289 #ifdef HAVE_SYS_VFS_H
16290 # include <sys/vfs.h>
16291 #endif
16292 #ifdef HAVE_SYS_STATFS_H
16293 # include <sys/statfs.h>
16294 #endif
16296 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16300 _ACEOF
16304 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16305 #ifdef HAVE_SYS_PARAM_H
16306 # include <sys/param.h>
16307 #endif
16308 #ifdef HAVE_SYS_MOUNT_H
16309 # include <sys/mount.h>
16310 #endif
16311 #ifdef HAVE_SYS_VFS_H
16312 # include <sys/vfs.h>
16313 #endif
16314 #ifdef HAVE_SYS_STATFS_H
16315 # include <sys/statfs.h>
16316 #endif
16318 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16322 _ACEOF
16326 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16327 #ifdef HAVE_SYS_PARAM_H
16328 # include <sys/param.h>
16329 #endif
16330 #ifdef HAVE_SYS_MOUNT_H
16331 # include <sys/mount.h>
16332 #endif
16333 #ifdef HAVE_SYS_VFS_H
16334 # include <sys/vfs.h>
16335 #endif
16336 #ifdef HAVE_SYS_STATFS_H
16337 # include <sys/statfs.h>
16338 #endif
16340 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16342 cat >>confdefs.h <<_ACEOF
16343 #define HAVE_STRUCT_STATFS_F_FFREE 1
16344 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16349 #ifdef HAVE_SYS_PARAM_H
16350 # include <sys/param.h>
16351 #endif
16352 #ifdef HAVE_SYS_MOUNT_H
16353 # include <sys/mount.h>
16354 #endif
16355 #ifdef HAVE_SYS_VFS_H
16356 # include <sys/vfs.h>
16357 #endif
16358 #ifdef HAVE_SYS_STATFS_H
16359 # include <sys/statfs.h>
16360 #endif
16362 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16371 #ifdef HAVE_SYS_PARAM_H
16372 # include <sys/param.h>
16373 #endif
16374 #ifdef HAVE_SYS_MOUNT_H
16375 # include <sys/mount.h>
16376 #endif
16377 #ifdef HAVE_SYS_VFS_H
16378 # include <sys/vfs.h>
16379 #endif
16380 #ifdef HAVE_SYS_STATFS_H
16381 # include <sys/statfs.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16388 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16395 #include <sys/statvfs.h>
16396 #endif
16398 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16402 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16409 #include <dirent.h>
16410 #endif
16412 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16416 _ACEOF
16422 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16423 #ifdef HAVE_SYS_SOCKET_H
16424 # include <sys/socket.h>
16425 #endif
16426 #ifdef HAVE_SYS_UN_H
16427 # include <sys/un.h>
16428 #endif
16430 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16434 _ACEOF
16438 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16439 #ifdef HAVE_SYS_SOCKET_H
16440 # include <sys/socket.h>
16441 #endif
16442 #ifdef HAVE_SYS_UN_H
16443 # include <sys/un.h>
16444 #endif
16446 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16448 cat >>confdefs.h <<_ACEOF
16449 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16450 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16455 #ifdef HAVE_SYS_SOCKET_H
16456 # include <sys/socket.h>
16457 #endif
16458 #ifdef HAVE_SYS_UN_H
16459 # include <sys/un.h>
16460 #endif
16462 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16466 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16473 #ifdef HAVE_SCSI_SG_H
16474 #include <scsi/sg.h>
16475 #endif
16477 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_SCSIREQ_T_CMD 1
16481 _ACEOF
16485 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>
16486 #ifdef HAVE_SCSI_SG_H
16487 #include <scsi/sg.h>
16488 #endif
16490 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16492 cat >>confdefs.h <<_ACEOF
16493 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16494 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16502 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_SIGINFO_T_SI_FD 1
16506 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16513 #ifdef HAVE_SYS_MTIO_H
16514 #include <sys/mtio.h>
16515 #endif
16517 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16519 cat >>confdefs.h <<_ACEOF
16520 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16521 _ACEOF
16525 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16526 #ifdef HAVE_SYS_MTIO_H
16527 #include <sys/mtio.h>
16528 #endif
16530 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16534 _ACEOF
16538 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16539 #ifdef HAVE_SYS_MTIO_H
16540 #include <sys/mtio.h>
16541 #endif
16543 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16554 #include <getopt.h>
16555 #endif
16557 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_OPTION_NAME 1
16561 _ACEOF
16567 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16568 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16570 cat >>confdefs.h <<_ACEOF
16571 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16572 _ACEOF
16576 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16577 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_STAT_ST_MTIM 1
16581 _ACEOF
16585 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16586 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16590 _ACEOF
16594 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16595 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16597 cat >>confdefs.h <<_ACEOF
16598 #define HAVE_STRUCT_STAT_ST_CTIM 1
16599 _ACEOF
16603 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16604 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16608 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16613 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_STAT_ST_ATIM 1
16617 _ACEOF
16621 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16622 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16631 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16633 cat >>confdefs.h <<_ACEOF
16634 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16635 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16658 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16662 _ACEOF
16666 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16667 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16671 _ACEOF
16677 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
16678 #include <sys/types.h>
16679 #endif
16680 #ifdef HAVE_NETINET_IN_H
16681 #include <netinet/in.h>
16682 #endif
16684 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16688 _ACEOF
16694 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16695 #include <resolv.h>
16696 #endif
16698 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16700 cat >>confdefs.h <<_ACEOF
16701 #define HAVE_STRUCT___RES_STATE 1
16702 _ACEOF
16708 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
16709 #include <resolv.h>
16710 #endif
16712 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16716 _ACEOF
16722 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16723 #include <sys/types.h>
16724 #endif
16725 #ifdef HAVE_NETINET_IN_H
16726 # include <netinet/in.h>
16727 #endif
16728 #ifdef HAVE_ARPA_NAMESER_H
16729 # include <arpa/nameser.h>
16730 #endif
16732 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16734 cat >>confdefs.h <<_ACEOF
16735 #define HAVE_NS_MSG__MSG_PTR 1
16736 _ACEOF
16742 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16743 #include <sys/types.h>
16744 #endif
16745 #ifdef HAVE_NETINET_IP_H
16746 #include <netinet/ip.h>
16747 #endif
16748 #ifdef HAVE_NETINET_IP_ICMP_H
16749 #include <netinet/ip_icmp.h>
16750 #endif
16751 #ifdef HAVE_NETINET_ICMP_VAR_H
16752 #include <netinet/icmp_var.h>
16753 #endif
16755 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16757 cat >>confdefs.h <<_ACEOF
16758 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16759 _ACEOF
16765 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16766 #include <sys/types.h>
16767 #endif
16768 #ifdef HAVE_ALIAS_H
16769 #include <alias.h>
16770 #endif
16771 #ifdef HAVE_SYS_SOCKET_H
16772 #include <sys/socket.h>
16773 #endif
16774 #ifdef HAVE_SYS_SOCKETVAR_H
16775 #include <sys/socketvar.h>
16776 #endif
16777 #ifdef HAVE_SYS_TIMEOUT_H
16778 #include <sys/timeout.h>
16779 #endif
16780 #ifdef HAVE_NETINET_IN_H
16781 #include <netinet/in.h>
16782 #endif
16783 #ifdef HAVE_NETINET_IN_SYSTM_H
16784 #include <netinet/in_systm.h>
16785 #endif
16786 #ifdef HAVE_NETINET_IP_H
16787 #include <netinet/ip.h>
16788 #endif
16789 #ifdef HAVE_NETINET_IP_VAR_H
16790 #include <netinet/ip_var.h>
16791 #endif
16792 #ifdef HAVE_NETINET_IP_ICMP_H
16793 #include <netinet/ip_icmp.h>
16794 #endif
16795 #ifdef HAVE_NETINET_ICMP_VAR_H
16796 #include <netinet/icmp_var.h>
16797 #endif
16799 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16801 cat >>confdefs.h <<_ACEOF
16802 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16803 _ACEOF
16809 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16810 #include <sys/types.h>
16811 #endif
16812 #ifdef HAVE_SYS_SOCKETVAR_H
16813 #include <sys/socketvar.h>
16814 #endif
16815 #ifdef HAVE_NETINET_IN_H
16816 #include <netinet/in.h>
16817 #endif
16818 #ifdef HAVE_NETINET_IP_VAR_H
16819 #include <netinet/ip_var.h>
16820 #endif
16822 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16826 _ACEOF
16832 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
16833 #include <netinet/ip_var.h>
16834 #endif
16836 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16840 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16847 #include <sys/types.h>
16848 #endif
16849 #ifdef HAVE_SYS_SOCKETVAR_H
16850 #include <sys/socketvar.h>
16851 #endif
16852 #ifdef HAVE_NETINET_IN_H
16853 #include <netinet/in.h>
16854 #endif
16855 #ifdef HAVE_NETINET_TCP_H
16856 #include <netinet/tcp.h>
16857 #endif
16858 #ifdef HAVE_NETINET_TCP_VAR_H
16859 #include <netinet/tcp_var.h>
16860 #endif
16862 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16864 cat >>confdefs.h <<_ACEOF
16865 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16866 _ACEOF
16872 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
16873 #include <netinet/tcp_var.h>
16874 #endif
16876 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16880 _ACEOF
16886 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16887 #include <sys/types.h>
16888 #endif
16889 #ifdef HAVE_NETINET_IN_H
16890 #include <netinet/in.h>
16891 #endif
16892 #ifdef HAVE_NETINET_IP_VAR_H
16893 #include <netinet/ip_var.h>
16894 #endif
16895 #ifdef HAVE_NETINET_UDP_H
16896 #include <netinet/udp.h>
16897 #endif
16898 #ifdef HAVE_NETINET_UDP_VAR_H
16899 #include <netinet/udp_var.h>
16900 #endif
16902 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16906 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16913 #include <sys/types.h>
16914 #endif
16915 #ifdef HAVE_NET_IF_H
16916 # include <net/if.h>
16917 #endif
16919 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16921 cat >>confdefs.h <<_ACEOF
16922 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16923 _ACEOF
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16930 $as_echo_n "checking for timezone variable... " >&6; }
16931 if ${ac_cv_have_timezone+:} false; then :
16932 $as_echo_n "(cached) " >&6
16933 else
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16936 #include <time.h>
16938 main ()
16940 timezone = 1
16942 return 0;
16944 _ACEOF
16945 if ac_fn_c_try_link "$LINENO"; then :
16946 ac_cv_have_timezone="yes"
16947 else
16948 ac_cv_have_timezone="no"
16950 rm -f core conftest.err conftest.$ac_objext \
16951 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16954 $as_echo "$ac_cv_have_timezone" >&6; }
16955 if test "$ac_cv_have_timezone" = "yes"
16956 then
16958 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16962 $as_echo_n "checking for daylight variable... " >&6; }
16963 if ${ac_cv_have_daylight+:} false; then :
16964 $as_echo_n "(cached) " >&6
16965 else
16966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #include <time.h>
16970 main ()
16972 daylight = 1
16974 return 0;
16976 _ACEOF
16977 if ac_fn_c_try_link "$LINENO"; then :
16978 ac_cv_have_daylight="yes"
16979 else
16980 ac_cv_have_daylight="no"
16982 rm -f core conftest.err conftest.$ac_objext \
16983 conftest$ac_exeext conftest.$ac_ext
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16986 $as_echo "$ac_cv_have_daylight" >&6; }
16987 if test "$ac_cv_have_daylight" = "yes"
16988 then
16990 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16994 ac_save_LIBS="$LIBS"
16995 LIBS="$LIBS -lm"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16997 $as_echo_n "checking for isfinite... " >&6; }
16998 if ${ac_cv_have_isfinite+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #define _GNU_SOURCE
17004 #include <math.h>
17006 main ()
17008 float f = 0.0; return isfinite(f)
17010 return 0;
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_have_isfinite="yes"
17015 else
17016 ac_cv_have_isfinite="no"
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17022 $as_echo "$ac_cv_have_isfinite" >&6; }
17023 if test "$ac_cv_have_isfinite" = "yes"
17024 then
17026 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17031 $as_echo_n "checking for isinf... " >&6; }
17032 if ${ac_cv_have_isinf+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 #include <math.h>
17039 main ()
17041 float f = 0.0; return isinf(f)
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"; then :
17047 ac_cv_have_isinf="yes"
17048 else
17049 ac_cv_have_isinf="no"
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17055 $as_echo "$ac_cv_have_isinf" >&6; }
17056 if test "$ac_cv_have_isinf" = "yes"
17057 then
17059 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17064 $as_echo_n "checking for isnan... " >&6; }
17065 if ${ac_cv_have_isnan+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <math.h>
17072 main ()
17074 float f = 0.0; return isnan(f)
17076 return 0;
17078 _ACEOF
17079 if ac_fn_c_try_link "$LINENO"; then :
17080 ac_cv_have_isnan="yes"
17081 else
17082 ac_cv_have_isnan="no"
17084 rm -f core conftest.err conftest.$ac_objext \
17085 conftest$ac_exeext conftest.$ac_ext
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17088 $as_echo "$ac_cv_have_isnan" >&6; }
17089 if test "$ac_cv_have_isnan" = "yes"
17090 then
17092 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17096 for ac_func in \
17097 asinh \
17098 asinhf \
17099 cbrt \
17100 cbrtf \
17101 erf \
17102 erff \
17103 exp2 \
17104 exp2f \
17105 lgamma \
17106 lgammaf \
17107 llrint \
17108 llrintf \
17109 llround \
17110 llroundf \
17111 log2 \
17112 log2f \
17113 lrint \
17114 lrintf \
17115 lround \
17116 lroundf \
17117 powl \
17118 remainder \
17119 remainderf \
17120 rint \
17121 rintf \
17122 round \
17123 roundf \
17124 trunc \
17125 truncf
17127 do :
17128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17131 cat >>confdefs.h <<_ACEOF
17132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17133 _ACEOF
17136 done
17138 LIBS="$ac_save_LIBS"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17141 $as_echo_n "checking for __builtin_clz... " >&6; }
17142 if ${ac_cv_have___builtin_clz+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17149 main ()
17151 return __builtin_clz(1)
17153 return 0;
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_have___builtin_clz="yes"
17158 else
17159 ac_cv_have___builtin_clz="no"
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17165 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17166 if test "$ac_cv_have___builtin_clz" = "yes"
17167 then
17169 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17174 $as_echo_n "checking for __builtin_popcount... " >&6; }
17175 if ${ac_cv_have___builtin_popcount+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17182 main ()
17184 return __builtin_popcount(1)
17186 return 0;
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_have___builtin_popcount="yes"
17191 else
17192 ac_cv_have___builtin_popcount="no"
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17198 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17199 if test "$ac_cv_have___builtin_popcount" = "yes"
17200 then
17202 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17207 case $host_cpu in
17208 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17209 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17210 if ${ac_cv_cpp_def___i386__+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 #ifndef __i386__
17217 #endif
17218 _ACEOF
17219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17220 $EGREP "yes" >/dev/null 2>&1; then :
17221 ac_cv_cpp_def___i386__=yes
17222 else
17223 ac_cv_cpp_def___i386__=no
17225 rm -f conftest*
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17229 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17230 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17231 CFLAGS="$CFLAGS -D__i386__"
17232 LINTFLAGS="$LINTFLAGS -D__i386__"
17233 fi ;;
17234 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17235 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17236 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17237 $as_echo_n "(cached) " >&6
17238 else
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 #ifndef __x86_64__
17243 #endif
17244 _ACEOF
17245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17246 $EGREP "yes" >/dev/null 2>&1; then :
17247 ac_cv_cpp_def___x86_64__=yes
17248 else
17249 ac_cv_cpp_def___x86_64__=no
17251 rm -f conftest*
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17255 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17256 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17257 CFLAGS="$CFLAGS -D__x86_64__"
17258 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17259 fi ;;
17260 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17261 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17262 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 #ifndef __sparc64__
17269 #endif
17270 _ACEOF
17271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17272 $EGREP "yes" >/dev/null 2>&1; then :
17273 ac_cv_cpp_def___sparc64__=yes
17274 else
17275 ac_cv_cpp_def___sparc64__=no
17277 rm -f conftest*
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17281 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17282 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17283 CFLAGS="$CFLAGS -D__sparc64__"
17284 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17285 fi ;;
17286 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17287 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17288 if ${ac_cv_cpp_def___sparc__+:} false; then :
17289 $as_echo_n "(cached) " >&6
17290 else
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17293 #ifndef __sparc__
17295 #endif
17296 _ACEOF
17297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17298 $EGREP "yes" >/dev/null 2>&1; then :
17299 ac_cv_cpp_def___sparc__=yes
17300 else
17301 ac_cv_cpp_def___sparc__=no
17303 rm -f conftest*
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17307 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17308 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17309 CFLAGS="$CFLAGS -D__sparc__"
17310 LINTFLAGS="$LINTFLAGS -D__sparc__"
17311 fi ;;
17312 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17313 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17314 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #ifndef __powerpc64__
17321 #endif
17322 _ACEOF
17323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17324 $EGREP "yes" >/dev/null 2>&1; then :
17325 ac_cv_cpp_def___powerpc64__=yes
17326 else
17327 ac_cv_cpp_def___powerpc64__=no
17329 rm -f conftest*
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17333 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17334 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17335 CFLAGS="$CFLAGS -D__powerpc64__"
17336 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17337 fi ;;
17338 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17339 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17340 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17341 $as_echo_n "(cached) " >&6
17342 else
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17345 #ifndef __powerpc__
17347 #endif
17348 _ACEOF
17349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17350 $EGREP "yes" >/dev/null 2>&1; then :
17351 ac_cv_cpp_def___powerpc__=yes
17352 else
17353 ac_cv_cpp_def___powerpc__=no
17355 rm -f conftest*
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17359 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17360 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17361 CFLAGS="$CFLAGS -D__powerpc__"
17362 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17363 fi ;;
17364 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17365 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17366 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #ifndef __aarch64__
17373 #endif
17374 _ACEOF
17375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17376 $EGREP "yes" >/dev/null 2>&1; then :
17377 ac_cv_cpp_def___aarch64__=yes
17378 else
17379 ac_cv_cpp_def___aarch64__=no
17381 rm -f conftest*
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17385 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17386 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17387 CFLAGS="$CFLAGS -D__aarch64__"
17388 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17389 fi ;;
17390 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17391 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17392 if ${ac_cv_cpp_def___arm__+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #ifndef __arm__
17399 #endif
17400 _ACEOF
17401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17402 $EGREP "yes" >/dev/null 2>&1; then :
17403 ac_cv_cpp_def___arm__=yes
17404 else
17405 ac_cv_cpp_def___arm__=no
17407 rm -f conftest*
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17411 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17412 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17413 CFLAGS="$CFLAGS -D__arm__"
17414 LINTFLAGS="$LINTFLAGS -D__arm__"
17415 fi ;;
17416 esac
17418 case $host_vendor in
17419 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17420 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17421 if ${ac_cv_cpp_def___sun__+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #ifndef __sun__
17428 #endif
17429 _ACEOF
17430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17431 $EGREP "yes" >/dev/null 2>&1; then :
17432 ac_cv_cpp_def___sun__=yes
17433 else
17434 ac_cv_cpp_def___sun__=no
17436 rm -f conftest*
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17440 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17441 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17442 CFLAGS="$CFLAGS -D__sun__"
17443 LINTFLAGS="$LINTFLAGS -D__sun__"
17444 fi ;;
17445 esac
17451 ac_config_commands="$ac_config_commands include/stamp-h"
17453 $as_echo_n "creating Makefile rules..." >&6
17455 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17456 SOCKET_LIBS = $SOCKET_LIBS
17457 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17458 IOKIT_LIBS = $IOKIT_LIBS
17459 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17460 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17461 CORESERVICES_LIBS = $CORESERVICES_LIBS
17462 APPKIT_LIBS = $APPKIT_LIBS
17463 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17464 SECURITY_LIBS = $SECURITY_LIBS
17465 COREAUDIO_LIBS = $COREAUDIO_LIBS
17466 OPENAL_LIBS = $OPENAL_LIBS
17467 OPENCL_LIBS = $OPENCL_LIBS
17468 QUICKTIME_LIBS = $QUICKTIME_LIBS
17469 CARBON_LIBS = $CARBON_LIBS
17470 PTHREAD_LIBS = $PTHREAD_LIBS
17471 X_CFLAGS = $X_CFLAGS
17472 X_PRE_LIBS = $X_PRE_LIBS
17473 X_LIBS = $X_LIBS
17474 X_EXTRA_LIBS = $X_EXTRA_LIBS
17475 PCAP_LIBS = $PCAP_LIBS
17476 XML2_CFLAGS = $XML2_CFLAGS
17477 XML2_LIBS = $XML2_LIBS
17478 XSLT_CFLAGS = $XSLT_CFLAGS
17479 XSLT_LIBS = $XSLT_LIBS
17480 DBUS_CFLAGS = $DBUS_CFLAGS
17481 DBUS_LIBS = $DBUS_LIBS
17482 HAL_CFLAGS = $HAL_CFLAGS
17483 HAL_LIBS = $HAL_LIBS
17484 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17485 GNUTLS_LIBS = $GNUTLS_LIBS
17486 SANE_CFLAGS = $SANE_CFLAGS
17487 SANE_LIBS = $SANE_LIBS
17488 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17489 GPHOTO2_LIBS = $GPHOTO2_LIBS
17490 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17491 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17492 RESOLV_LIBS = $RESOLV_LIBS
17493 LCMS2_CFLAGS = $LCMS2_CFLAGS
17494 LCMS2_LIBS = $LCMS2_LIBS
17495 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17496 FREETYPE_LIBS = $FREETYPE_LIBS
17497 Z_LIBS = $Z_LIBS
17498 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17499 PULSE_CFLAGS = $PULSE_CFLAGS
17500 PULSE_LIBS = $PULSE_LIBS
17501 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17502 GSTREAMER_LIBS = $GSTREAMER_LIBS
17503 ALSA_LIBS = $ALSA_LIBS
17504 OSS4_CFLAGS = $OSS4_CFLAGS
17505 UDEV_CFLAGS = $UDEV_CFLAGS
17506 UDEV_LIBS = $UDEV_LIBS
17507 CAPI20_CFLAGS = $CAPI20_CFLAGS
17508 CAPI20_LIBS = $CAPI20_LIBS
17509 CUPS_CFLAGS = $CUPS_CFLAGS
17510 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17511 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17512 JPEG_CFLAGS = $JPEG_CFLAGS
17513 JPEG_LIBS = $JPEG_LIBS
17514 PNG_CFLAGS = $PNG_CFLAGS
17515 PNG_LIBS = $PNG_LIBS
17516 TIFF_CFLAGS = $TIFF_CFLAGS
17517 TIFF_LIBS = $TIFF_LIBS
17518 MPG123_CFLAGS = $MPG123_CFLAGS
17519 MPG123_LIBS = $MPG123_LIBS
17520 KSTAT_LIBS = $KSTAT_LIBS
17521 PROCSTAT_LIBS = $PROCSTAT_LIBS
17522 NETAPI_CFLAGS = $NETAPI_CFLAGS
17523 NETAPI_LIBS = $NETAPI_LIBS
17524 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17525 DL_LIBS = $DL_LIBS
17526 POLL_LIBS = $POLL_LIBS
17527 RT_LIBS = $RT_LIBS
17528 LDAP_LIBS = $LDAP_LIBS
17533 wine_fn_append_rule "
17534 # Rules automatically generated by configure
17536 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17538 .INIT: Makefile
17539 .MAKEFILEDEPS:
17540 all: Makefile
17541 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17542 @./config.status Make.tmp Makefile
17543 depend: \$(MAKEDEP) dummy
17544 \$(MAKEDEP)"
17546 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17547 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17549 if test "x$enable_fonts" != xno; then
17550 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17551 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17552 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17553 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17554 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17555 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17557 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17558 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17559 ac_config_links="$ac_config_links wine:tools/winewrapper"
17560 wine_fn_config_symlink wine
17561 if test "x$enable_win64" != xno; then
17562 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17563 wine_fn_config_symlink wine64
17566 wine_fn_config_dll acledit enable_acledit
17567 wine_fn_config_dll aclui enable_aclui implib
17568 wine_fn_config_dll activeds enable_activeds implib
17569 wine_fn_config_dll actxprxy enable_actxprxy clean
17570 wine_fn_config_lib adsiid
17571 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17572 wine_fn_config_test dlls/advapi32/tests advapi32_test
17573 wine_fn_config_dll advpack enable_advpack implib
17574 wine_fn_config_test dlls/advpack/tests advpack_test
17575 wine_fn_config_dll amstream enable_amstream clean
17576 wine_fn_config_test dlls/amstream/tests amstream_test
17577 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17587 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17589 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17593 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17596 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17598 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17600 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17601 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17602 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17603 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17609 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17611 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17613 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17615 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17618 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17619 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17620 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17622 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17623 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17624 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17630 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17631 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17634 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17638 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17642 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17643 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17656 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17660 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17663 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17676 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17677 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17683 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17684 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17685 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17686 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17687 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17688 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17689 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17690 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17691 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17692 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17693 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17694 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17698 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17699 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17700 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17701 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17702 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17703 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17704 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17705 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17706 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17707 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17708 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17709 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17710 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17711 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17712 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17713 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17714 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17715 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17716 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17717 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17718 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17719 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17720 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17721 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17722 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17723 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17724 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17725 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17726 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17727 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17728 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17729 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17730 wine_fn_config_dll apphelp enable_apphelp
17731 wine_fn_config_test dlls/apphelp/tests apphelp_test
17732 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17733 wine_fn_config_dll atl enable_atl clean,implib
17734 wine_fn_config_test dlls/atl/tests atl_test
17735 wine_fn_config_dll atl100 enable_atl100 clean,implib
17736 wine_fn_config_test dlls/atl100/tests atl100_test
17737 wine_fn_config_dll atl110 enable_atl110 clean
17738 wine_fn_config_dll atl80 enable_atl80 clean,implib
17739 wine_fn_config_test dlls/atl80/tests atl80_test
17740 wine_fn_config_dll atl90 enable_atl90 clean
17741 wine_fn_config_dll authz enable_authz
17742 wine_fn_config_dll avicap32 enable_avicap32 implib
17743 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17744 wine_fn_config_test dlls/avifil32/tests avifil32_test
17745 wine_fn_config_dll avifile.dll16 enable_win16
17746 wine_fn_config_dll avrt enable_avrt implib
17747 wine_fn_config_dll bcrypt enable_bcrypt implib
17748 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17749 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17750 wine_fn_config_dll browseui enable_browseui clean
17751 wine_fn_config_test dlls/browseui/tests browseui_test
17752 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17753 wine_fn_config_dll cabinet enable_cabinet implib
17754 wine_fn_config_test dlls/cabinet/tests cabinet_test
17755 wine_fn_config_dll capi2032 enable_capi2032 implib
17756 wine_fn_config_dll cards enable_cards implib
17757 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17758 wine_fn_config_dll clusapi enable_clusapi implib
17759 wine_fn_config_dll combase enable_combase
17760 wine_fn_config_test dlls/combase/tests combase_test
17761 wine_fn_config_dll comcat enable_comcat
17762 wine_fn_config_test dlls/comcat/tests comcat_test
17763 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17764 wine_fn_config_test dlls/comctl32/tests comctl32_test
17765 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17766 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17767 wine_fn_config_dll comm.drv16 enable_win16
17768 wine_fn_config_dll commdlg.dll16 enable_win16
17769 wine_fn_config_dll compobj.dll16 enable_win16
17770 wine_fn_config_dll compstui enable_compstui implib
17771 wine_fn_config_dll comsvcs enable_comsvcs implib
17772 wine_fn_config_dll concrt140 enable_concrt140
17773 wine_fn_config_dll connect enable_connect
17774 wine_fn_config_dll credui enable_credui clean,implib
17775 wine_fn_config_test dlls/credui/tests credui_test
17776 wine_fn_config_dll crtdll enable_crtdll
17777 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17778 wine_fn_config_test dlls/crypt32/tests crypt32_test
17779 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17780 wine_fn_config_dll cryptdll enable_cryptdll implib
17781 wine_fn_config_dll cryptext enable_cryptext
17782 wine_fn_config_dll cryptnet enable_cryptnet implib
17783 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17784 wine_fn_config_dll cryptui enable_cryptui clean,implib
17785 wine_fn_config_test dlls/cryptui/tests cryptui_test
17786 wine_fn_config_dll ctapi32 enable_ctapi32
17787 wine_fn_config_dll ctl3d.dll16 enable_win16
17788 wine_fn_config_dll ctl3d32 enable_ctl3d32
17789 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17790 wine_fn_config_dll d2d1 enable_d2d1 implib
17791 wine_fn_config_test dlls/d2d1/tests d2d1_test
17792 wine_fn_config_dll d3d10 enable_d3d10 implib
17793 wine_fn_config_test dlls/d3d10/tests d3d10_test
17794 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17795 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17796 wine_fn_config_dll d3d10core enable_d3d10core implib
17797 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17798 wine_fn_config_dll d3d11 enable_d3d11 implib
17799 wine_fn_config_test dlls/d3d11/tests d3d11_test
17800 wine_fn_config_dll d3d8 enable_d3d8 implib
17801 wine_fn_config_test dlls/d3d8/tests d3d8_test
17802 wine_fn_config_dll d3d9 enable_d3d9 implib
17803 wine_fn_config_test dlls/d3d9/tests d3d9_test
17804 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17805 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17806 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17807 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17808 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17809 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17810 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17811 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17812 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17813 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17814 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17815 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17816 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17817 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17818 wine_fn_config_dll d3dim enable_d3dim
17819 wine_fn_config_dll d3drm enable_d3drm implib
17820 wine_fn_config_test dlls/d3drm/tests d3drm_test
17821 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17822 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17823 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17824 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17825 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17826 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17827 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17828 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17829 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17830 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17831 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17832 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17833 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17834 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17835 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17836 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17837 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17838 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17839 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17840 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17841 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17842 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17843 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17844 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17845 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17846 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17847 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17848 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17849 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17850 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17851 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17852 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17853 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17854 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17855 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17856 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17857 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17858 wine_fn_config_dll davclnt enable_davclnt
17859 wine_fn_config_dll dbgeng enable_dbgeng implib
17860 wine_fn_config_dll dbghelp enable_dbghelp implib
17861 wine_fn_config_dll dciman32 enable_dciman32 implib
17862 wine_fn_config_dll ddeml.dll16 enable_win16
17863 wine_fn_config_dll ddraw enable_ddraw clean,implib
17864 wine_fn_config_test dlls/ddraw/tests ddraw_test
17865 wine_fn_config_dll ddrawex enable_ddrawex clean
17866 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17867 wine_fn_config_dll devenum enable_devenum clean
17868 wine_fn_config_test dlls/devenum/tests devenum_test
17869 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17870 wine_fn_config_dll difxapi enable_difxapi
17871 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17872 wine_fn_config_test dlls/dinput/tests dinput_test
17873 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17874 wine_fn_config_test dlls/dinput8/tests dinput8_test
17875 wine_fn_config_dll dispdib.dll16 enable_win16
17876 wine_fn_config_dll dispex enable_dispex clean
17877 wine_fn_config_test dlls/dispex/tests dispex_test
17878 wine_fn_config_dll display.drv16 enable_win16
17879 wine_fn_config_dll dmband enable_dmband clean
17880 wine_fn_config_test dlls/dmband/tests dmband_test
17881 wine_fn_config_dll dmcompos enable_dmcompos clean
17882 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17883 wine_fn_config_dll dmime enable_dmime clean
17884 wine_fn_config_test dlls/dmime/tests dmime_test
17885 wine_fn_config_dll dmloader enable_dmloader clean
17886 wine_fn_config_test dlls/dmloader/tests dmloader_test
17887 wine_fn_config_dll dmscript enable_dmscript clean
17888 wine_fn_config_test dlls/dmscript/tests dmscript_test
17889 wine_fn_config_dll dmstyle enable_dmstyle clean
17890 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17891 wine_fn_config_dll dmsynth enable_dmsynth clean
17892 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17893 wine_fn_config_dll dmusic enable_dmusic clean
17894 wine_fn_config_test dlls/dmusic/tests dmusic_test
17895 wine_fn_config_dll dmusic32 enable_dmusic32
17896 wine_fn_config_dll dnsapi enable_dnsapi implib
17897 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17898 wine_fn_config_dll dplay enable_dplay
17899 wine_fn_config_dll dplayx enable_dplayx clean,implib
17900 wine_fn_config_test dlls/dplayx/tests dplayx_test
17901 wine_fn_config_dll dpnaddr enable_dpnaddr
17902 wine_fn_config_dll dpnet enable_dpnet clean,implib
17903 wine_fn_config_test dlls/dpnet/tests dpnet_test
17904 wine_fn_config_dll dpnhpast enable_dpnhpast
17905 wine_fn_config_dll dpnlobby enable_dpnlobby
17906 wine_fn_config_dll dpvoice enable_dpvoice clean
17907 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17908 wine_fn_config_dll dpwsockx enable_dpwsockx
17909 wine_fn_config_dll drmclien enable_drmclien
17910 wine_fn_config_dll dsound enable_dsound clean,implib
17911 wine_fn_config_test dlls/dsound/tests dsound_test
17912 wine_fn_config_dll dssenh enable_dssenh
17913 wine_fn_config_test dlls/dssenh/tests dssenh_test
17914 wine_fn_config_dll dswave enable_dswave clean
17915 wine_fn_config_test dlls/dswave/tests dswave_test
17916 wine_fn_config_dll dwmapi enable_dwmapi implib
17917 wine_fn_config_dll dwrite enable_dwrite implib
17918 wine_fn_config_test dlls/dwrite/tests dwrite_test
17919 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17920 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17921 wine_fn_config_lib dxerr8
17922 wine_fn_config_lib dxerr9
17923 wine_fn_config_dll dxgi enable_dxgi implib
17924 wine_fn_config_test dlls/dxgi/tests dxgi_test
17925 wine_fn_config_lib dxguid
17926 wine_fn_config_dll dxva2 enable_dxva2
17927 wine_fn_config_dll esent enable_esent
17928 wine_fn_config_dll evr enable_evr
17929 wine_fn_config_dll explorerframe enable_explorerframe clean
17930 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17931 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17932 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17933 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17934 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17935 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17936 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17937 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17938 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17939 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17940 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17941 wine_fn_config_dll faultrep enable_faultrep implib
17942 wine_fn_config_test dlls/faultrep/tests faultrep_test
17943 wine_fn_config_dll fltlib enable_fltlib
17944 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17945 wine_fn_config_dll fntcache enable_fntcache
17946 wine_fn_config_dll fontsub enable_fontsub
17947 wine_fn_config_dll fusion enable_fusion
17948 wine_fn_config_test dlls/fusion/tests fusion_test
17949 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17950 wine_fn_config_dll gameux enable_gameux clean
17951 wine_fn_config_test dlls/gameux/tests gameux_test
17952 wine_fn_config_dll gdi.exe16 enable_win16
17953 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17954 wine_fn_config_test dlls/gdi32/tests gdi32_test
17955 wine_fn_config_dll gdiplus enable_gdiplus implib
17956 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17957 wine_fn_config_dll glu32 enable_glu32 implib
17958 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17959 wine_fn_config_dll gpkcsp enable_gpkcsp
17960 wine_fn_config_dll hal enable_hal
17961 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17962 wine_fn_config_dll hid enable_hid implib
17963 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17964 wine_fn_config_dll hlink enable_hlink clean,implib
17965 wine_fn_config_test dlls/hlink/tests hlink_test
17966 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17967 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17968 wine_fn_config_dll httpapi enable_httpapi
17969 wine_fn_config_dll iccvid enable_iccvid clean
17970 wine_fn_config_dll icmp enable_icmp
17971 wine_fn_config_dll ieframe enable_ieframe clean,implib
17972 wine_fn_config_test dlls/ieframe/tests ieframe_test
17973 wine_fn_config_dll ifsmgr.vxd enable_win16
17974 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17975 wine_fn_config_dll imagehlp enable_imagehlp implib
17976 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17977 wine_fn_config_dll imm.dll16 enable_win16
17978 wine_fn_config_dll imm32 enable_imm32 implib
17979 wine_fn_config_test dlls/imm32/tests imm32_test
17980 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17981 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17982 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17983 wine_fn_config_dll inetmib1 enable_inetmib1
17984 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17985 wine_fn_config_dll infosoft enable_infosoft clean
17986 wine_fn_config_test dlls/infosoft/tests infosoft_test
17987 wine_fn_config_dll initpki enable_initpki
17988 wine_fn_config_dll inkobj enable_inkobj
17989 wine_fn_config_dll inseng enable_inseng clean
17990 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17991 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17992 wine_fn_config_dll iprop enable_iprop
17993 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17994 wine_fn_config_dll itircl enable_itircl
17995 wine_fn_config_dll itss enable_itss clean
17996 wine_fn_config_test dlls/itss/tests itss_test
17997 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17998 wine_fn_config_dll jscript enable_jscript clean
17999 wine_fn_config_test dlls/jscript/tests jscript_test
18000 wine_fn_config_dll jsproxy enable_jsproxy implib
18001 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18002 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18003 wine_fn_config_test dlls/kernel32/tests kernel32_test
18004 wine_fn_config_dll kernelbase enable_kernelbase
18005 wine_fn_config_dll keyboard.drv16 enable_win16
18006 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18007 wine_fn_config_dll ksuser enable_ksuser
18008 wine_fn_config_dll ktmw32 enable_ktmw32
18009 wine_fn_config_dll loadperf enable_loadperf implib
18010 wine_fn_config_dll localspl enable_localspl clean
18011 wine_fn_config_test dlls/localspl/tests localspl_test
18012 wine_fn_config_dll localui enable_localui clean
18013 wine_fn_config_test dlls/localui/tests localui_test
18014 wine_fn_config_dll lz32 enable_lz32 implib
18015 wine_fn_config_test dlls/lz32/tests lz32_test
18016 wine_fn_config_dll lzexpand.dll16 enable_win16
18017 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18018 wine_fn_config_test dlls/mapi32/tests mapi32_test
18019 wine_fn_config_dll mapistub enable_mapistub
18020 wine_fn_config_dll mciavi32 enable_mciavi32
18021 wine_fn_config_dll mcicda enable_mcicda
18022 wine_fn_config_dll mciqtz32 enable_mciqtz32
18023 wine_fn_config_dll mciseq enable_mciseq
18024 wine_fn_config_dll mciwave enable_mciwave
18025 wine_fn_config_dll mf enable_mf
18026 wine_fn_config_dll mfplat enable_mfplat
18027 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18028 wine_fn_config_dll mgmtapi enable_mgmtapi
18029 wine_fn_config_dll midimap enable_midimap
18030 wine_fn_config_dll mlang enable_mlang clean,implib
18031 wine_fn_config_test dlls/mlang/tests mlang_test
18032 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18033 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18034 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18035 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18036 wine_fn_config_dll mmdevldr.vxd enable_win16
18037 wine_fn_config_dll mmsystem.dll16 enable_win16
18038 wine_fn_config_dll monodebg.vxd enable_win16
18039 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18040 wine_fn_config_dll mouse.drv16 enable_win16
18041 wine_fn_config_dll mpr enable_mpr clean,implib
18042 wine_fn_config_test dlls/mpr/tests mpr_test
18043 wine_fn_config_dll mprapi enable_mprapi implib
18044 wine_fn_config_dll msacm.dll16 enable_win16
18045 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18046 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18047 wine_fn_config_test dlls/msacm32/tests msacm32_test
18048 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18049 wine_fn_config_dll msasn1 enable_msasn1 implib
18050 wine_fn_config_dll mscat32 enable_mscat32
18051 wine_fn_config_dll mscms enable_mscms implib
18052 wine_fn_config_test dlls/mscms/tests mscms_test
18053 wine_fn_config_dll mscoree enable_mscoree clean
18054 wine_fn_config_test dlls/mscoree/tests mscoree_test
18055 wine_fn_config_dll msctf enable_msctf clean
18056 wine_fn_config_test dlls/msctf/tests msctf_test
18057 wine_fn_config_dll msctfp enable_msctfp clean
18058 wine_fn_config_dll msdaps enable_msdaps clean
18059 wine_fn_config_dll msdelta enable_msdelta
18060 wine_fn_config_dll msdmo enable_msdmo implib
18061 wine_fn_config_test dlls/msdmo/tests msdmo_test
18062 wine_fn_config_dll msdrm enable_msdrm
18063 wine_fn_config_dll msftedit enable_msftedit
18064 wine_fn_config_dll msg711.acm enable_msg711_acm
18065 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18066 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18067 wine_fn_config_dll mshtml enable_mshtml clean,implib
18068 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18069 wine_fn_config_dll msi enable_msi clean,implib
18070 wine_fn_config_test dlls/msi/tests msi_test
18071 wine_fn_config_dll msident enable_msident clean
18072 wine_fn_config_dll msimg32 enable_msimg32 implib
18073 wine_fn_config_dll msimsg enable_msimsg
18074 wine_fn_config_dll msimtf enable_msimtf clean
18075 wine_fn_config_dll msisip enable_msisip
18076 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18077 wine_fn_config_dll msls31 enable_msls31
18078 wine_fn_config_dll msnet32 enable_msnet32
18079 wine_fn_config_dll mspatcha enable_mspatcha implib
18080 wine_fn_config_dll msports enable_msports
18081 wine_fn_config_dll msrle32 enable_msrle32 clean
18082 wine_fn_config_test dlls/msrle32/tests msrle32_test
18083 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18084 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18085 wine_fn_config_dll mssign32 enable_mssign32
18086 wine_fn_config_dll mssip32 enable_mssip32
18087 wine_fn_config_dll mstask enable_mstask clean
18088 wine_fn_config_test dlls/mstask/tests mstask_test
18089 wine_fn_config_dll msvcirt enable_msvcirt
18090 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18091 wine_fn_config_dll msvcm80 enable_msvcm80
18092 wine_fn_config_dll msvcm90 enable_msvcm90
18093 wine_fn_config_dll msvcp100 enable_msvcp100
18094 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18095 wine_fn_config_dll msvcp110 enable_msvcp110
18096 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18097 wine_fn_config_dll msvcp120 enable_msvcp120
18098 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18099 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18100 wine_fn_config_dll msvcp140 enable_msvcp140
18101 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18102 wine_fn_config_dll msvcp60 enable_msvcp60
18103 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18104 wine_fn_config_dll msvcp70 enable_msvcp70
18105 wine_fn_config_dll msvcp71 enable_msvcp71
18106 wine_fn_config_dll msvcp80 enable_msvcp80
18107 wine_fn_config_dll msvcp90 enable_msvcp90
18108 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18109 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18110 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18111 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18112 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18113 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18114 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18115 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18116 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18117 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18118 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18119 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18120 wine_fn_config_dll msvcrt enable_msvcrt implib
18121 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18122 wine_fn_config_dll msvcrt20 enable_msvcrt20
18123 wine_fn_config_dll msvcrt40 enable_msvcrt40
18124 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18125 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18126 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18127 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18128 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18129 wine_fn_config_dll msvideo.dll16 enable_win16
18130 wine_fn_config_dll mswsock enable_mswsock implib
18131 wine_fn_config_dll msxml enable_msxml clean
18132 wine_fn_config_dll msxml2 enable_msxml2 clean
18133 wine_fn_config_dll msxml3 enable_msxml3 clean
18134 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18135 wine_fn_config_dll msxml4 enable_msxml4 clean
18136 wine_fn_config_dll msxml6 enable_msxml6 clean
18137 wine_fn_config_dll ncrypt enable_ncrypt
18138 wine_fn_config_dll nddeapi enable_nddeapi implib
18139 wine_fn_config_dll ndis.sys enable_ndis_sys
18140 wine_fn_config_dll netapi32 enable_netapi32 implib
18141 wine_fn_config_test dlls/netapi32/tests netapi32_test
18142 wine_fn_config_dll netcfgx enable_netcfgx clean
18143 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18144 wine_fn_config_dll netprofm enable_netprofm clean
18145 wine_fn_config_test dlls/netprofm/tests netprofm_test
18146 wine_fn_config_dll newdev enable_newdev implib
18147 wine_fn_config_dll normaliz enable_normaliz implib
18148 wine_fn_config_dll npmshtml enable_npmshtml
18149 wine_fn_config_dll npptools enable_npptools
18150 wine_fn_config_dll ntdll enable_ntdll implib
18151 wine_fn_config_test dlls/ntdll/tests ntdll_test
18152 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18153 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18154 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18155 wine_fn_config_dll ntprint enable_ntprint
18156 wine_fn_config_test dlls/ntprint/tests ntprint_test
18157 wine_fn_config_dll objsel enable_objsel clean
18158 wine_fn_config_dll odbc32 enable_odbc32 implib
18159 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18160 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18161 wine_fn_config_dll odbccu32 enable_odbccu32
18162 wine_fn_config_dll ole2.dll16 enable_win16
18163 wine_fn_config_dll ole2conv.dll16 enable_win16
18164 wine_fn_config_dll ole2disp.dll16 enable_win16
18165 wine_fn_config_dll ole2nls.dll16 enable_win16
18166 wine_fn_config_dll ole2prox.dll16 enable_win16
18167 wine_fn_config_dll ole2thk.dll16 enable_win16
18168 wine_fn_config_dll ole32 enable_ole32 clean,implib
18169 wine_fn_config_test dlls/ole32/tests ole32_test
18170 wine_fn_config_dll oleacc enable_oleacc clean,implib
18171 wine_fn_config_test dlls/oleacc/tests oleacc_test
18172 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18173 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18174 wine_fn_config_dll olecli.dll16 enable_win16
18175 wine_fn_config_dll olecli32 enable_olecli32 implib
18176 wine_fn_config_dll oledb32 enable_oledb32 clean
18177 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18178 wine_fn_config_dll oledlg enable_oledlg clean,implib
18179 wine_fn_config_test dlls/oledlg/tests oledlg_test
18180 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18181 wine_fn_config_dll olesvr.dll16 enable_win16
18182 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18183 wine_fn_config_dll olethk32 enable_olethk32
18184 wine_fn_config_dll openal32 enable_openal32
18185 wine_fn_config_dll opencl enable_opencl
18186 wine_fn_config_dll opengl32 enable_opengl32 implib
18187 wine_fn_config_test dlls/opengl32/tests opengl32_test
18188 wine_fn_config_dll packager enable_packager clean
18189 wine_fn_config_test dlls/packager/tests packager_test
18190 wine_fn_config_dll pdh enable_pdh implib
18191 wine_fn_config_test dlls/pdh/tests pdh_test
18192 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18193 wine_fn_config_dll pidgen enable_pidgen
18194 wine_fn_config_dll powrprof enable_powrprof implib
18195 wine_fn_config_dll printui enable_printui
18196 wine_fn_config_dll prntvpt enable_prntvpt
18197 wine_fn_config_dll propsys enable_propsys clean,implib
18198 wine_fn_config_test dlls/propsys/tests propsys_test
18199 wine_fn_config_dll psapi enable_psapi implib
18200 wine_fn_config_test dlls/psapi/tests psapi_test
18201 wine_fn_config_dll pstorec enable_pstorec clean
18202 wine_fn_config_dll qcap enable_qcap
18203 wine_fn_config_test dlls/qcap/tests qcap_test
18204 wine_fn_config_dll qedit enable_qedit clean
18205 wine_fn_config_test dlls/qedit/tests qedit_test
18206 wine_fn_config_dll qmgr enable_qmgr clean
18207 wine_fn_config_test dlls/qmgr/tests qmgr_test
18208 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18209 wine_fn_config_dll quartz enable_quartz clean,implib
18210 wine_fn_config_test dlls/quartz/tests quartz_test clean
18211 wine_fn_config_dll query enable_query
18212 wine_fn_config_dll rasapi16.dll16 enable_win16
18213 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18214 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18215 wine_fn_config_dll rasdlg enable_rasdlg implib
18216 wine_fn_config_dll regapi enable_regapi
18217 wine_fn_config_dll resutils enable_resutils implib
18218 wine_fn_config_dll riched20 enable_riched20 clean,implib
18219 wine_fn_config_test dlls/riched20/tests riched20_test
18220 wine_fn_config_dll riched32 enable_riched32
18221 wine_fn_config_test dlls/riched32/tests riched32_test
18222 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18223 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18224 wine_fn_config_dll rsabase enable_rsabase
18225 wine_fn_config_dll rsaenh enable_rsaenh implib
18226 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18227 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18228 wine_fn_config_dll rtutils enable_rtutils implib
18229 wine_fn_config_dll samlib enable_samlib
18230 wine_fn_config_dll sane.ds enable_sane_ds clean
18231 wine_fn_config_dll scarddlg enable_scarddlg
18232 wine_fn_config_dll sccbase enable_sccbase
18233 wine_fn_config_dll schannel enable_schannel
18234 wine_fn_config_test dlls/schannel/tests schannel_test
18235 wine_fn_config_dll schedsvc enable_schedsvc clean
18236 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18237 wine_fn_config_dll scrrun enable_scrrun clean
18238 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18239 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18240 wine_fn_config_dll secur32 enable_secur32 implib
18241 wine_fn_config_test dlls/secur32/tests secur32_test
18242 wine_fn_config_dll security enable_security
18243 wine_fn_config_dll sensapi enable_sensapi implib
18244 wine_fn_config_dll serialui enable_serialui clean
18245 wine_fn_config_test dlls/serialui/tests serialui_test
18246 wine_fn_config_dll setupapi enable_setupapi clean,implib
18247 wine_fn_config_test dlls/setupapi/tests setupapi_test
18248 wine_fn_config_dll setupx.dll16 enable_win16
18249 wine_fn_config_dll sfc enable_sfc implib
18250 wine_fn_config_dll sfc_os enable_sfc_os implib
18251 wine_fn_config_dll shdoclc enable_shdoclc clean
18252 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18253 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18254 wine_fn_config_dll shell.dll16 enable_win16
18255 wine_fn_config_dll shell32 enable_shell32 clean,implib
18256 wine_fn_config_test dlls/shell32/tests shell32_test
18257 wine_fn_config_dll shfolder enable_shfolder implib
18258 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18259 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18260 wine_fn_config_dll slbcsp enable_slbcsp
18261 wine_fn_config_dll slc enable_slc implib
18262 wine_fn_config_test dlls/slc/tests slc_test
18263 wine_fn_config_dll snmpapi enable_snmpapi implib
18264 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18265 wine_fn_config_dll softpub enable_softpub
18266 wine_fn_config_dll sound.drv16 enable_win16
18267 wine_fn_config_dll spoolss enable_spoolss implib
18268 wine_fn_config_test dlls/spoolss/tests spoolss_test
18269 wine_fn_config_dll sspicli enable_sspicli
18270 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18271 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18272 wine_fn_config_dll sti enable_sti clean,implib
18273 wine_fn_config_test dlls/sti/tests sti_test
18274 wine_fn_config_dll storage.dll16 enable_win16
18275 wine_fn_config_dll stress.dll16 enable_win16
18276 wine_fn_config_lib strmbase
18277 wine_fn_config_lib strmiids
18278 wine_fn_config_dll svrapi enable_svrapi
18279 wine_fn_config_dll sxs enable_sxs implib
18280 wine_fn_config_test dlls/sxs/tests sxs_test
18281 wine_fn_config_dll system.drv16 enable_win16
18282 wine_fn_config_dll t2embed enable_t2embed implib
18283 wine_fn_config_test dlls/t2embed/tests t2embed_test
18284 wine_fn_config_dll tapi32 enable_tapi32 implib
18285 wine_fn_config_dll taskschd enable_taskschd clean
18286 wine_fn_config_test dlls/taskschd/tests taskschd_test
18287 wine_fn_config_dll tdi.sys enable_tdi_sys
18288 wine_fn_config_dll toolhelp.dll16 enable_win16
18289 wine_fn_config_dll traffic enable_traffic
18290 wine_fn_config_dll twain.dll16 enable_win16
18291 wine_fn_config_dll twain_32 enable_twain_32
18292 wine_fn_config_test dlls/twain_32/tests twain_32_test
18293 wine_fn_config_dll typelib.dll16 enable_win16
18294 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18295 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18296 wine_fn_config_dll unicows enable_unicows implib
18297 wine_fn_config_dll updspapi enable_updspapi
18298 wine_fn_config_dll url enable_url implib
18299 wine_fn_config_dll urlmon enable_urlmon clean,implib
18300 wine_fn_config_test dlls/urlmon/tests urlmon_test
18301 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18302 wine_fn_config_dll user.exe16 enable_win16
18303 wine_fn_config_dll user32 enable_user32 clean,implib
18304 wine_fn_config_test dlls/user32/tests user32_test
18305 wine_fn_config_dll userenv enable_userenv implib
18306 wine_fn_config_test dlls/userenv/tests userenv_test
18307 wine_fn_config_dll usp10 enable_usp10 implib
18308 wine_fn_config_test dlls/usp10/tests usp10_test
18309 wine_fn_config_lib uuid
18310 wine_fn_config_dll uxtheme enable_uxtheme implib
18311 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18312 wine_fn_config_dll vbscript enable_vbscript clean
18313 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18314 wine_fn_config_dll vcomp enable_vcomp
18315 wine_fn_config_test dlls/vcomp/tests vcomp_test
18316 wine_fn_config_dll vcomp100 enable_vcomp100
18317 wine_fn_config_dll vcomp110 enable_vcomp110
18318 wine_fn_config_dll vcomp120 enable_vcomp120
18319 wine_fn_config_dll vcomp140 enable_vcomp140
18320 wine_fn_config_dll vcomp90 enable_vcomp90
18321 wine_fn_config_dll vcruntime140 enable_vcruntime140
18322 wine_fn_config_dll vdhcp.vxd enable_win16
18323 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18324 wine_fn_config_dll ver.dll16 enable_win16
18325 wine_fn_config_dll version enable_version implib
18326 wine_fn_config_test dlls/version/tests version_test
18327 wine_fn_config_dll vmm.vxd enable_win16
18328 wine_fn_config_dll vnbt.vxd enable_win16
18329 wine_fn_config_dll vnetbios.vxd enable_win16
18330 wine_fn_config_dll vssapi enable_vssapi
18331 wine_fn_config_dll vtdapi.vxd enable_win16
18332 wine_fn_config_dll vwin32.vxd enable_win16
18333 wine_fn_config_dll w32skrnl enable_win16
18334 wine_fn_config_dll w32sys.dll16 enable_win16
18335 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18336 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18337 wine_fn_config_dll wbemprox enable_wbemprox clean
18338 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18339 wine_fn_config_dll webservices enable_webservices implib
18340 wine_fn_config_test dlls/webservices/tests webservices_test
18341 wine_fn_config_dll wer enable_wer implib
18342 wine_fn_config_test dlls/wer/tests wer_test
18343 wine_fn_config_dll wevtapi enable_wevtapi
18344 wine_fn_config_dll wiaservc enable_wiaservc clean
18345 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18346 wine_fn_config_dll wimgapi enable_wimgapi
18347 wine_fn_config_dll win32s16.dll16 enable_win16
18348 wine_fn_config_dll win87em.dll16 enable_win16
18349 wine_fn_config_dll winaspi.dll16 enable_win16
18350 wine_fn_config_dll windebug.dll16 enable_win16
18351 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18352 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18353 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18354 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18355 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18356 wine_fn_config_dll winebus.sys enable_winebus_sys
18357 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18358 wine_fn_config_lib winecrt0
18359 wine_fn_config_dll wined3d enable_wined3d implib
18360 wine_fn_config_dll winegstreamer enable_winegstreamer
18361 wine_fn_config_dll winehid.sys enable_winehid_sys
18362 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18363 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18364 wine_fn_config_dll winemapi enable_winemapi
18365 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18366 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18367 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18368 wine_fn_config_dll wineps16.drv16 enable_win16
18369 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18370 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18371 wine_fn_config_dll winex11.drv enable_winex11_drv
18372 wine_fn_config_dll wing.dll16 enable_win16
18373 wine_fn_config_dll wing32 enable_wing32
18374 wine_fn_config_dll winhttp enable_winhttp clean,implib
18375 wine_fn_config_test dlls/winhttp/tests winhttp_test
18376 wine_fn_config_dll wininet enable_wininet clean,implib
18377 wine_fn_config_test dlls/wininet/tests wininet_test
18378 wine_fn_config_dll winmm enable_winmm clean,implib
18379 wine_fn_config_test dlls/winmm/tests winmm_test
18380 wine_fn_config_dll winnls.dll16 enable_win16
18381 wine_fn_config_dll winnls32 enable_winnls32 implib
18382 wine_fn_config_dll winscard enable_winscard implib
18383 wine_fn_config_dll winsock.dll16 enable_win16
18384 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18385 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18386 wine_fn_config_dll winsta enable_winsta
18387 wine_fn_config_dll wintab.dll16 enable_win16
18388 wine_fn_config_dll wintab32 enable_wintab32 implib
18389 wine_fn_config_test dlls/wintab32/tests wintab32_test
18390 wine_fn_config_dll wintrust enable_wintrust implib
18391 wine_fn_config_test dlls/wintrust/tests wintrust_test
18392 wine_fn_config_dll wlanapi enable_wlanapi
18393 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18394 wine_fn_config_test dlls/wldap32/tests wldap32_test
18395 wine_fn_config_dll wmasf enable_wmasf
18396 wine_fn_config_dll wmi enable_wmi
18397 wine_fn_config_dll wmiutils enable_wmiutils clean
18398 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18399 wine_fn_config_dll wmp enable_wmp clean
18400 wine_fn_config_test dlls/wmp/tests wmp_test
18401 wine_fn_config_dll wmvcore enable_wmvcore
18402 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18403 wine_fn_config_dll wow32 enable_win16 implib
18404 wine_fn_config_dll wpc enable_wpc clean
18405 wine_fn_config_test dlls/wpc/tests wpc_test
18406 wine_fn_config_dll wpcap enable_wpcap
18407 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18408 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18409 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18410 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18411 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18412 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18413 wine_fn_config_dll wsock32 enable_wsock32 implib
18414 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18415 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18416 wine_fn_config_dll wuapi enable_wuapi clean
18417 wine_fn_config_dll wuaueng enable_wuaueng
18418 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18419 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18420 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18421 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18422 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18423 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18424 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18425 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18426 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18427 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18428 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18429 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18430 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18431 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18432 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18433 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18434 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18435 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18436 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18437 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18438 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18439 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18440 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18441 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18442 wine_fn_config_dll xinput1_1 enable_xinput1_1
18443 wine_fn_config_dll xinput1_2 enable_xinput1_2
18444 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18445 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18446 wine_fn_config_dll xinput1_4 enable_xinput1_4
18447 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18448 wine_fn_config_dll xmllite enable_xmllite implib
18449 wine_fn_config_test dlls/xmllite/tests xmllite_test
18450 wine_fn_config_dll xolehlp enable_xolehlp
18451 wine_fn_config_dll xpsprint enable_xpsprint
18452 wine_fn_config_dll xpssvcs enable_xpssvcs
18453 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18454 wine_fn_config_makefile include enable_include clean,install-dev
18455 wine_fn_config_makefile libs/port enable_libs_port
18456 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18457 wine_fn_config_makefile libs/wpp enable_libs_wpp
18458 wine_fn_config_makefile loader enable_loader clean,install-lib
18459 wine_fn_config_makefile po enable_po clean
18460 wine_fn_config_program arp enable_arp install
18461 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18462 wine_fn_config_program attrib enable_attrib clean,install
18463 wine_fn_config_program cabarc enable_cabarc install
18464 wine_fn_config_program cacls enable_cacls install
18465 wine_fn_config_program clock enable_clock clean,install
18466 wine_fn_config_program cmd enable_cmd clean,install
18467 wine_fn_config_test programs/cmd/tests cmd.exe_test
18468 wine_fn_config_program conhost enable_conhost install
18469 wine_fn_config_program control enable_control install
18470 wine_fn_config_program cscript enable_cscript clean,install
18471 wine_fn_config_program dpnsvr enable_dpnsvr install
18472 wine_fn_config_program dxdiag enable_dxdiag clean,install
18473 wine_fn_config_program eject enable_eject install
18474 wine_fn_config_program expand enable_expand install
18475 wine_fn_config_program explorer enable_explorer clean,install
18476 wine_fn_config_program extrac32 enable_extrac32 install
18477 wine_fn_config_program findstr enable_findstr install
18478 wine_fn_config_program fsutil enable_fsutil install
18479 wine_fn_config_program hh enable_hh install
18480 wine_fn_config_program hostname enable_hostname clean,install
18481 wine_fn_config_program icacls enable_icacls install
18482 wine_fn_config_program icinfo enable_icinfo install
18483 wine_fn_config_program iexplore enable_iexplore install
18484 wine_fn_config_program ipconfig enable_ipconfig clean,install
18485 wine_fn_config_program lodctr enable_lodctr install
18486 wine_fn_config_program mofcomp enable_mofcomp install
18487 wine_fn_config_program mshta enable_mshta install
18488 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18489 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18490 wine_fn_config_program net enable_net clean,install
18491 wine_fn_config_program netsh enable_netsh install
18492 wine_fn_config_program netstat enable_netstat clean,install
18493 wine_fn_config_program ngen enable_ngen install
18494 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18495 wine_fn_config_program oleview enable_oleview clean,install
18496 wine_fn_config_program ping enable_ping install
18497 wine_fn_config_program plugplay enable_plugplay install
18498 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18499 wine_fn_config_program progman enable_progman clean,install
18500 wine_fn_config_program reg enable_reg clean,install
18501 wine_fn_config_test programs/reg/tests reg.exe_test
18502 wine_fn_config_program regasm enable_regasm install
18503 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18504 wine_fn_config_test programs/regedit/tests regedit.exe_test
18505 wine_fn_config_program regsvcs enable_regsvcs install
18506 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18507 wine_fn_config_program rpcss enable_rpcss clean,install
18508 wine_fn_config_program rundll.exe16 enable_win16 install
18509 wine_fn_config_program rundll32 enable_rundll32 install
18510 wine_fn_config_program sc enable_sc install
18511 wine_fn_config_program schtasks enable_schtasks install
18512 wine_fn_config_program sdbinst enable_sdbinst install
18513 wine_fn_config_program secedit enable_secedit install
18514 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18515 wine_fn_config_program services enable_services clean,install
18516 wine_fn_config_test programs/services/tests services.exe_test
18517 wine_fn_config_program shutdown enable_shutdown install
18518 wine_fn_config_program spoolsv enable_spoolsv install
18519 wine_fn_config_program start enable_start clean,install
18520 wine_fn_config_program subst enable_subst install
18521 wine_fn_config_program svchost enable_svchost install
18522 wine_fn_config_program systeminfo enable_systeminfo install
18523 wine_fn_config_program taskkill enable_taskkill clean,install
18524 wine_fn_config_program tasklist enable_tasklist install
18525 wine_fn_config_program taskmgr enable_taskmgr clean,install
18526 wine_fn_config_program termsv enable_termsv install
18527 wine_fn_config_program uninstaller enable_uninstaller clean,install
18528 wine_fn_config_program unlodctr enable_unlodctr install
18529 wine_fn_config_program view enable_view clean,install
18530 wine_fn_config_program wevtutil enable_wevtutil install
18531 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18532 wine_fn_config_program winebrowser enable_winebrowser install
18533 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18534 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18535 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18536 wine_fn_config_program winedevice enable_winedevice install
18537 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18538 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18539 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18540 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18541 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18542 wine_fn_config_program winetest enable_winetest clean
18543 wine_fn_config_program winevdm enable_win16 install
18544 wine_fn_config_program winhelp.exe16 enable_win16 install
18545 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18546 wine_fn_config_program winoldap.mod16 enable_win16 install
18547 wine_fn_config_program winver enable_winver install
18548 wine_fn_config_program wmic enable_wmic clean,install
18549 wine_fn_config_program wmplayer enable_wmplayer install
18550 wine_fn_config_program wordpad enable_wordpad clean,install
18551 wine_fn_config_program write enable_write clean,install
18552 wine_fn_config_program wscript enable_wscript clean,install
18553 wine_fn_config_test programs/wscript/tests wscript.exe_test
18554 wine_fn_config_program wusa enable_wusa install
18555 wine_fn_config_program xcopy enable_xcopy clean,install
18556 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18557 wine_fn_config_makefile server enable_server clean,install-lib
18558 wine_fn_config_tool tools clean
18559 wine_fn_config_tool tools/sfnt2fon clean
18560 wine_fn_config_tool tools/widl clean,install-dev
18561 wine_fn_config_tool tools/winebuild clean,install-dev
18562 wine_fn_config_tool tools/winedump clean,install-dev
18563 wine_fn_config_tool tools/winegcc clean,install-dev
18564 wine_fn_config_tool tools/winemaker clean,install-dev
18565 wine_fn_config_tool tools/wmc clean,install-dev
18566 wine_fn_config_tool tools/wrc clean,install-dev
18569 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18570 wine_fn_append_file CONFIGURE_TARGETS "tags"
18571 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18572 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18573 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18574 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18575 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18576 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18578 if test "x$enable_tools" != xno
18579 then
18580 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18581 ac_config_commands="$ac_config_commands tools/makedep"
18585 ac_config_commands="$ac_config_commands Makefile"
18588 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18592 if test "x$enable_maintainer_mode" = xyes
18593 then
18594 wine_fn_append_rule "configure: configure.ac aclocal.m4
18595 autoconf --warnings=all
18596 include/config.h.in: include/stamp-h.in
18597 include/stamp-h.in: configure.ac aclocal.m4
18598 autoheader --warnings=all
18599 @echo timestamp > \$@"
18602 if test "x$enable_tools" != xno
18603 then
18604 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18605 @./config.status tools/makedep
18606 Makefile: tools/makedep$ac_exeext"
18607 else
18608 wine_fn_append_rule "\$(MAKEDEP):
18609 @echo \"You need to run make in $TOOLSDIR first\" && false"
18612 if test -n "$with_wine64"
18613 then
18614 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18615 fonts server:
18616 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18617 $with_wine64/loader/wine:
18618 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18619 $with_wine64/loader/wine-preloader:
18620 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18621 clean::
18622 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18623 else
18624 WINELOADER_INSTALL="wine.inf"
18626 wine_fn_append_rule "install install-lib::
18627 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18628 uninstall::
18629 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18630 case $host_os in
18631 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18632 *) wine_fn_append_rule "install install-lib::
18633 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18634 uninstall::
18635 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18636 esac
18639 $as_echo " done" >&6
18640 cat >confcache <<\_ACEOF
18641 # This file is a shell script that caches the results of configure
18642 # tests run on this system so they can be shared between configure
18643 # scripts and configure runs, see configure's option --config-cache.
18644 # It is not useful on other systems. If it contains results you don't
18645 # want to keep, you may remove or edit it.
18647 # config.status only pays attention to the cache file if you give it
18648 # the --recheck option to rerun configure.
18650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18652 # following values.
18654 _ACEOF
18656 # The following way of writing the cache mishandles newlines in values,
18657 # but we know of no workaround that is simple, portable, and efficient.
18658 # So, we kill variables containing newlines.
18659 # Ultrix sh set writes to stderr and can't be redirected directly,
18660 # and sets the high bit in the cache file unless we assign to the vars.
18662 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18663 eval ac_val=\$$ac_var
18664 case $ac_val in #(
18665 *${as_nl}*)
18666 case $ac_var in #(
18667 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18668 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18669 esac
18670 case $ac_var in #(
18671 _ | IFS | as_nl) ;; #(
18672 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18673 *) { eval $ac_var=; unset $ac_var;} ;;
18674 esac ;;
18675 esac
18676 done
18678 (set) 2>&1 |
18679 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18680 *${as_nl}ac_space=\ *)
18681 # `set' does not quote correctly, so add quotes: double-quote
18682 # substitution turns \\\\ into \\, and sed turns \\ into \.
18683 sed -n \
18684 "s/'/'\\\\''/g;
18685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18686 ;; #(
18688 # `set' quotes correctly as required by POSIX, so do not add quotes.
18689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18691 esac |
18692 sort
18694 sed '
18695 /^ac_cv_env_/b end
18696 t clear
18697 :clear
18698 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18699 t end
18700 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18701 :end' >>confcache
18702 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18703 if test -w "$cache_file"; then
18704 if test "x$cache_file" != "x/dev/null"; then
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18706 $as_echo "$as_me: updating cache $cache_file" >&6;}
18707 if test ! -f "$cache_file" || test -h "$cache_file"; then
18708 cat confcache >"$cache_file"
18709 else
18710 case $cache_file in #(
18711 */* | ?:*)
18712 mv -f confcache "$cache_file"$$ &&
18713 mv -f "$cache_file"$$ "$cache_file" ;; #(
18715 mv -f confcache "$cache_file" ;;
18716 esac
18719 else
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18721 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18724 rm -f confcache
18726 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18727 # Let make expand exec_prefix.
18728 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18730 DEFS=-DHAVE_CONFIG_H
18732 ac_libobjs=
18733 ac_ltlibobjs=
18735 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18736 # 1. Remove the extension, and $U if already installed.
18737 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18738 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18740 # will be set to the directory where LIBOBJS objects are built.
18741 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18742 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18743 done
18744 LIBOBJS=$ac_libobjs
18746 LTLIBOBJS=$ac_ltlibobjs
18750 : "${CONFIG_STATUS=./config.status}"
18751 ac_write_fail=0
18752 ac_clean_files_save=$ac_clean_files
18753 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18755 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18756 as_write_fail=0
18757 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18758 #! $SHELL
18759 # Generated by $as_me.
18760 # Run this file to recreate the current configuration.
18761 # Compiler output produced by configure, useful for debugging
18762 # configure, is in config.log if it exists.
18764 debug=false
18765 ac_cs_recheck=false
18766 ac_cs_silent=false
18768 SHELL=\${CONFIG_SHELL-$SHELL}
18769 export SHELL
18770 _ASEOF
18771 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18772 ## -------------------- ##
18773 ## M4sh Initialization. ##
18774 ## -------------------- ##
18776 # Be more Bourne compatible
18777 DUALCASE=1; export DUALCASE # for MKS sh
18778 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18779 emulate sh
18780 NULLCMD=:
18781 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18782 # is contrary to our usage. Disable this feature.
18783 alias -g '${1+"$@"}'='"$@"'
18784 setopt NO_GLOB_SUBST
18785 else
18786 case `(set -o) 2>/dev/null` in #(
18787 *posix*) :
18788 set -o posix ;; #(
18789 *) :
18791 esac
18795 as_nl='
18797 export as_nl
18798 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18799 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18800 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18801 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18802 # Prefer a ksh shell builtin over an external printf program on Solaris,
18803 # but without wasting forks for bash or zsh.
18804 if test -z "$BASH_VERSION$ZSH_VERSION" \
18805 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18806 as_echo='print -r --'
18807 as_echo_n='print -rn --'
18808 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18809 as_echo='printf %s\n'
18810 as_echo_n='printf %s'
18811 else
18812 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18813 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18814 as_echo_n='/usr/ucb/echo -n'
18815 else
18816 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18817 as_echo_n_body='eval
18818 arg=$1;
18819 case $arg in #(
18820 *"$as_nl"*)
18821 expr "X$arg" : "X\\(.*\\)$as_nl";
18822 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18823 esac;
18824 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18826 export as_echo_n_body
18827 as_echo_n='sh -c $as_echo_n_body as_echo'
18829 export as_echo_body
18830 as_echo='sh -c $as_echo_body as_echo'
18833 # The user is always right.
18834 if test "${PATH_SEPARATOR+set}" != set; then
18835 PATH_SEPARATOR=:
18836 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18837 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18838 PATH_SEPARATOR=';'
18843 # IFS
18844 # We need space, tab and new line, in precisely that order. Quoting is
18845 # there to prevent editors from complaining about space-tab.
18846 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18847 # splitting by setting IFS to empty value.)
18848 IFS=" "" $as_nl"
18850 # Find who we are. Look in the path if we contain no directory separator.
18851 as_myself=
18852 case $0 in #((
18853 *[\\/]* ) as_myself=$0 ;;
18854 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18855 for as_dir in $PATH
18857 IFS=$as_save_IFS
18858 test -z "$as_dir" && as_dir=.
18859 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18860 done
18861 IFS=$as_save_IFS
18864 esac
18865 # We did not find ourselves, most probably we were run as `sh COMMAND'
18866 # in which case we are not to be found in the path.
18867 if test "x$as_myself" = x; then
18868 as_myself=$0
18870 if test ! -f "$as_myself"; then
18871 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18872 exit 1
18875 # Unset variables that we do not need and which cause bugs (e.g. in
18876 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18877 # suppresses any "Segmentation fault" message there. '((' could
18878 # trigger a bug in pdksh 5.2.14.
18879 for as_var in BASH_ENV ENV MAIL MAILPATH
18880 do eval test x\${$as_var+set} = xset \
18881 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18882 done
18883 PS1='$ '
18884 PS2='> '
18885 PS4='+ '
18887 # NLS nuisances.
18888 LC_ALL=C
18889 export LC_ALL
18890 LANGUAGE=C
18891 export LANGUAGE
18893 # CDPATH.
18894 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18897 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18898 # ----------------------------------------
18899 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18900 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18901 # script with STATUS, using 1 if that was 0.
18902 as_fn_error ()
18904 as_status=$1; test $as_status -eq 0 && as_status=1
18905 if test "$4"; then
18906 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18907 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18909 $as_echo "$as_me: error: $2" >&2
18910 as_fn_exit $as_status
18911 } # as_fn_error
18914 # as_fn_set_status STATUS
18915 # -----------------------
18916 # Set $? to STATUS, without forking.
18917 as_fn_set_status ()
18919 return $1
18920 } # as_fn_set_status
18922 # as_fn_exit STATUS
18923 # -----------------
18924 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18925 as_fn_exit ()
18927 set +e
18928 as_fn_set_status $1
18929 exit $1
18930 } # as_fn_exit
18932 # as_fn_unset VAR
18933 # ---------------
18934 # Portably unset VAR.
18935 as_fn_unset ()
18937 { eval $1=; unset $1;}
18939 as_unset=as_fn_unset
18940 # as_fn_append VAR VALUE
18941 # ----------------------
18942 # Append the text in VALUE to the end of the definition contained in VAR. Take
18943 # advantage of any shell optimizations that allow amortized linear growth over
18944 # repeated appends, instead of the typical quadratic growth present in naive
18945 # implementations.
18946 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18947 eval 'as_fn_append ()
18949 eval $1+=\$2
18951 else
18952 as_fn_append ()
18954 eval $1=\$$1\$2
18956 fi # as_fn_append
18958 # as_fn_arith ARG...
18959 # ------------------
18960 # Perform arithmetic evaluation on the ARGs, and store the result in the
18961 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18962 # must be portable across $(()) and expr.
18963 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18964 eval 'as_fn_arith ()
18966 as_val=$(( $* ))
18968 else
18969 as_fn_arith ()
18971 as_val=`expr "$@" || test $? -eq 1`
18973 fi # as_fn_arith
18976 if expr a : '\(a\)' >/dev/null 2>&1 &&
18977 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18978 as_expr=expr
18979 else
18980 as_expr=false
18983 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18984 as_basename=basename
18985 else
18986 as_basename=false
18989 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18990 as_dirname=dirname
18991 else
18992 as_dirname=false
18995 as_me=`$as_basename -- "$0" ||
18996 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18997 X"$0" : 'X\(//\)$' \| \
18998 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18999 $as_echo X/"$0" |
19000 sed '/^.*\/\([^/][^/]*\)\/*$/{
19001 s//\1/
19004 /^X\/\(\/\/\)$/{
19005 s//\1/
19008 /^X\/\(\/\).*/{
19009 s//\1/
19012 s/.*/./; q'`
19014 # Avoid depending upon Character Ranges.
19015 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19016 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19017 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19018 as_cr_digits='0123456789'
19019 as_cr_alnum=$as_cr_Letters$as_cr_digits
19021 ECHO_C= ECHO_N= ECHO_T=
19022 case `echo -n x` in #(((((
19023 -n*)
19024 case `echo 'xy\c'` in
19025 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19026 xy) ECHO_C='\c';;
19027 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19028 ECHO_T=' ';;
19029 esac;;
19031 ECHO_N='-n';;
19032 esac
19034 rm -f conf$$ conf$$.exe conf$$.file
19035 if test -d conf$$.dir; then
19036 rm -f conf$$.dir/conf$$.file
19037 else
19038 rm -f conf$$.dir
19039 mkdir conf$$.dir 2>/dev/null
19041 if (echo >conf$$.file) 2>/dev/null; then
19042 if ln -s conf$$.file conf$$ 2>/dev/null; then
19043 as_ln_s='ln -s'
19044 # ... but there are two gotchas:
19045 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19046 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19047 # In both cases, we have to default to `cp -pR'.
19048 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19049 as_ln_s='cp -pR'
19050 elif ln conf$$.file conf$$ 2>/dev/null; then
19051 as_ln_s=ln
19052 else
19053 as_ln_s='cp -pR'
19055 else
19056 as_ln_s='cp -pR'
19058 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19059 rmdir conf$$.dir 2>/dev/null
19062 # as_fn_mkdir_p
19063 # -------------
19064 # Create "$as_dir" as a directory, including parents if necessary.
19065 as_fn_mkdir_p ()
19068 case $as_dir in #(
19069 -*) as_dir=./$as_dir;;
19070 esac
19071 test -d "$as_dir" || eval $as_mkdir_p || {
19072 as_dirs=
19073 while :; do
19074 case $as_dir in #(
19075 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19076 *) as_qdir=$as_dir;;
19077 esac
19078 as_dirs="'$as_qdir' $as_dirs"
19079 as_dir=`$as_dirname -- "$as_dir" ||
19080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19081 X"$as_dir" : 'X\(//\)[^/]' \| \
19082 X"$as_dir" : 'X\(//\)$' \| \
19083 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19084 $as_echo X"$as_dir" |
19085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19086 s//\1/
19089 /^X\(\/\/\)[^/].*/{
19090 s//\1/
19093 /^X\(\/\/\)$/{
19094 s//\1/
19097 /^X\(\/\).*/{
19098 s//\1/
19101 s/.*/./; q'`
19102 test -d "$as_dir" && break
19103 done
19104 test -z "$as_dirs" || eval "mkdir $as_dirs"
19105 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19108 } # as_fn_mkdir_p
19109 if mkdir -p . 2>/dev/null; then
19110 as_mkdir_p='mkdir -p "$as_dir"'
19111 else
19112 test -d ./-p && rmdir ./-p
19113 as_mkdir_p=false
19117 # as_fn_executable_p FILE
19118 # -----------------------
19119 # Test if FILE is an executable regular file.
19120 as_fn_executable_p ()
19122 test -f "$1" && test -x "$1"
19123 } # as_fn_executable_p
19124 as_test_x='test -x'
19125 as_executable_p=as_fn_executable_p
19127 # Sed expression to map a string onto a valid CPP name.
19128 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19130 # Sed expression to map a string onto a valid variable name.
19131 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19134 exec 6>&1
19135 ## ----------------------------------- ##
19136 ## Main body of $CONFIG_STATUS script. ##
19137 ## ----------------------------------- ##
19138 _ASEOF
19139 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19142 # Save the log message, to keep $0 and so on meaningful, and to
19143 # report actual input values of CONFIG_FILES etc. instead of their
19144 # values after options handling.
19145 ac_log="
19146 This file was extended by Wine $as_me 1.9.22, which was
19147 generated by GNU Autoconf 2.69. Invocation command line was
19149 CONFIG_FILES = $CONFIG_FILES
19150 CONFIG_HEADERS = $CONFIG_HEADERS
19151 CONFIG_LINKS = $CONFIG_LINKS
19152 CONFIG_COMMANDS = $CONFIG_COMMANDS
19153 $ $0 $@
19155 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19158 _ACEOF
19160 case $ac_config_files in *"
19161 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19162 esac
19164 case $ac_config_headers in *"
19165 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19166 esac
19169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19170 # Files that config.status was made for.
19171 config_files="$ac_config_files"
19172 config_headers="$ac_config_headers"
19173 config_links="$ac_config_links"
19174 config_commands="$ac_config_commands"
19176 _ACEOF
19178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19179 ac_cs_usage="\
19180 \`$as_me' instantiates files and other configuration actions
19181 from templates according to the current configuration. Unless the files
19182 and actions are specified as TAGs, all are instantiated by default.
19184 Usage: $0 [OPTION]... [TAG]...
19186 -h, --help print this help, then exit
19187 -V, --version print version number and configuration settings, then exit
19188 --config print configuration, then exit
19189 -q, --quiet, --silent
19190 do not print progress messages
19191 -d, --debug don't remove temporary files
19192 --recheck update $as_me by reconfiguring in the same conditions
19193 --file=FILE[:TEMPLATE]
19194 instantiate the configuration file FILE
19195 --header=FILE[:TEMPLATE]
19196 instantiate the configuration header FILE
19198 Configuration files:
19199 $config_files
19201 Configuration headers:
19202 $config_headers
19204 Configuration links:
19205 $config_links
19207 Configuration commands:
19208 $config_commands
19210 Report bugs to <wine-devel@winehq.org>.
19211 Wine home page: <http://www.winehq.org>."
19213 _ACEOF
19214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19215 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19216 ac_cs_version="\\
19217 Wine config.status 1.9.22
19218 configured by $0, generated by GNU Autoconf 2.69,
19219 with options \\"\$ac_cs_config\\"
19221 Copyright (C) 2012 Free Software Foundation, Inc.
19222 This config.status script is free software; the Free Software Foundation
19223 gives unlimited permission to copy, distribute and modify it."
19225 ac_pwd='$ac_pwd'
19226 srcdir='$srcdir'
19227 test -n "\$AWK" || AWK=awk
19228 _ACEOF
19230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19231 # The default lists apply if the user does not specify any file.
19232 ac_need_defaults=:
19233 while test $# != 0
19235 case $1 in
19236 --*=?*)
19237 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19238 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19239 ac_shift=:
19241 --*=)
19242 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19243 ac_optarg=
19244 ac_shift=:
19247 ac_option=$1
19248 ac_optarg=$2
19249 ac_shift=shift
19251 esac
19253 case $ac_option in
19254 # Handling of the options.
19255 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19256 ac_cs_recheck=: ;;
19257 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19258 $as_echo "$ac_cs_version"; exit ;;
19259 --config | --confi | --conf | --con | --co | --c )
19260 $as_echo "$ac_cs_config"; exit ;;
19261 --debug | --debu | --deb | --de | --d | -d )
19262 debug=: ;;
19263 --file | --fil | --fi | --f )
19264 $ac_shift
19265 case $ac_optarg in
19266 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19267 '') as_fn_error $? "missing file argument" ;;
19268 esac
19269 as_fn_append CONFIG_FILES " '$ac_optarg'"
19270 ac_need_defaults=false;;
19271 --header | --heade | --head | --hea )
19272 $ac_shift
19273 case $ac_optarg in
19274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19275 esac
19276 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19277 ac_need_defaults=false;;
19278 --he | --h)
19279 # Conflict between --help and --header
19280 as_fn_error $? "ambiguous option: \`$1'
19281 Try \`$0 --help' for more information.";;
19282 --help | --hel | -h )
19283 $as_echo "$ac_cs_usage"; exit ;;
19284 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19285 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19286 ac_cs_silent=: ;;
19288 # This is an error.
19289 -*) as_fn_error $? "unrecognized option: \`$1'
19290 Try \`$0 --help' for more information." ;;
19292 *) as_fn_append ac_config_targets " $1"
19293 ac_need_defaults=false ;;
19295 esac
19296 shift
19297 done
19299 ac_configure_extra_args=
19301 if $ac_cs_silent; then
19302 exec 6>/dev/null
19303 ac_configure_extra_args="$ac_configure_extra_args --silent"
19306 _ACEOF
19307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19308 if \$ac_cs_recheck; then
19309 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19310 shift
19311 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19312 CONFIG_SHELL='$SHELL'
19313 export CONFIG_SHELL
19314 exec "\$@"
19317 _ACEOF
19318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19319 exec 5>>config.log
19321 echo
19322 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19323 ## Running $as_me. ##
19324 _ASBOX
19325 $as_echo "$ac_log"
19326 } >&5
19328 _ACEOF
19329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19331 # INIT-COMMANDS
19333 wine_fn_output_makedep ()
19335 as_dir=tools; as_fn_mkdir_p
19336 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19338 wine_fn_output_makefile ()
19340 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19341 `cat $wine_rules_file`
19342 _WINE_EOF
19343 as_fn_error $? "could not create Makefile" "$LINENO" 5
19346 _ACEOF
19348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19350 # Handling of arguments.
19351 for ac_config_target in $ac_config_targets
19353 case $ac_config_target in
19354 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19355 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19356 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19357 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19358 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19359 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19360 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19361 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19362 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19363 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19364 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19365 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19366 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19368 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19369 esac
19370 done
19373 # If the user did not use the arguments to specify the items to instantiate,
19374 # then the envvar interface is used. Set only those that are not.
19375 # We use the long form for the default assignment because of an extremely
19376 # bizarre bug on SunOS 4.1.3.
19377 if $ac_need_defaults; then
19378 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19379 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19380 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19381 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19384 # Have a temporary directory for convenience. Make it in the build tree
19385 # simply because there is no reason against having it here, and in addition,
19386 # creating and moving files from /tmp can sometimes cause problems.
19387 # Hook for its removal unless debugging.
19388 # Note that there is a small window in which the directory will not be cleaned:
19389 # after its creation but before its name has been assigned to `$tmp'.
19390 $debug ||
19392 tmp= ac_tmp=
19393 trap 'exit_status=$?
19394 : "${ac_tmp:=$tmp}"
19395 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19397 trap 'as_fn_exit 1' 1 2 13 15
19399 # Create a (secure) tmp directory for tmp files.
19402 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19403 test -d "$tmp"
19404 } ||
19406 tmp=./conf$$-$RANDOM
19407 (umask 077 && mkdir "$tmp")
19408 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19409 ac_tmp=$tmp
19411 # Set up the scripts for CONFIG_FILES section.
19412 # No need to generate them if there are no CONFIG_FILES.
19413 # This happens for instance with `./config.status config.h'.
19414 if test -n "$CONFIG_FILES"; then
19417 ac_cr=`echo X | tr X '\015'`
19418 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19419 # But we know of no other shell where ac_cr would be empty at this
19420 # point, so we can use a bashism as a fallback.
19421 if test "x$ac_cr" = x; then
19422 eval ac_cr=\$\'\\r\'
19424 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19425 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19426 ac_cs_awk_cr='\\r'
19427 else
19428 ac_cs_awk_cr=$ac_cr
19431 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19432 _ACEOF
19436 echo "cat >conf$$subs.awk <<_ACEOF" &&
19437 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19438 echo "_ACEOF"
19439 } >conf$$subs.sh ||
19440 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19441 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19442 ac_delim='%!_!# '
19443 for ac_last_try in false false false false false :; do
19444 . ./conf$$subs.sh ||
19445 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19447 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19448 if test $ac_delim_n = $ac_delim_num; then
19449 break
19450 elif $ac_last_try; then
19451 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19452 else
19453 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19455 done
19456 rm -f conf$$subs.sh
19458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19459 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19460 _ACEOF
19461 sed -n '
19463 s/^/S["/; s/!.*/"]=/
19466 s/^[^!]*!//
19467 :repl
19468 t repl
19469 s/'"$ac_delim"'$//
19470 t delim
19473 s/\(.\{148\}\)..*/\1/
19474 t more1
19475 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19478 b repl
19479 :more1
19480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19483 s/.\{148\}//
19484 t nl
19485 :delim
19487 s/\(.\{148\}\)..*/\1/
19488 t more2
19489 s/["\\]/\\&/g; s/^/"/; s/$/"/
19492 :more2
19493 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19496 s/.\{148\}//
19497 t delim
19498 ' <conf$$subs.awk | sed '
19499 /^[^""]/{
19501 s/\n//
19503 ' >>$CONFIG_STATUS || ac_write_fail=1
19504 rm -f conf$$subs.awk
19505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19506 _ACAWK
19507 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19508 for (key in S) S_is_set[key] = 1
19509 FS = "\a"
19513 line = $ 0
19514 nfields = split(line, field, "@")
19515 substed = 0
19516 len = length(field[1])
19517 for (i = 2; i < nfields; i++) {
19518 key = field[i]
19519 keylen = length(key)
19520 if (S_is_set[key]) {
19521 value = S[key]
19522 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19523 len += length(value) + length(field[++i])
19524 substed = 1
19525 } else
19526 len += 1 + keylen
19529 print line
19532 _ACAWK
19533 _ACEOF
19534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19535 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19536 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19537 else
19539 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19540 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19541 _ACEOF
19543 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19544 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19545 # trailing colons and then remove the whole line if VPATH becomes empty
19546 # (actually we leave an empty line to preserve line numbers).
19547 if test "x$srcdir" = x.; then
19548 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19550 s///
19551 s/^/:/
19552 s/[ ]*$/:/
19553 s/:\$(srcdir):/:/g
19554 s/:\${srcdir}:/:/g
19555 s/:@srcdir@:/:/g
19556 s/^:*//
19557 s/:*$//
19559 s/\(=[ ]*\).*/\1/
19561 s/\n//
19562 s/^[^=]*=[ ]*$//
19566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19567 fi # test -n "$CONFIG_FILES"
19569 # Set up the scripts for CONFIG_HEADERS section.
19570 # No need to generate them if there are no CONFIG_HEADERS.
19571 # This happens for instance with `./config.status Makefile'.
19572 if test -n "$CONFIG_HEADERS"; then
19573 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19574 BEGIN {
19575 _ACEOF
19577 # Transform confdefs.h into an awk script `defines.awk', embedded as
19578 # here-document in config.status, that substitutes the proper values into
19579 # config.h.in to produce config.h.
19581 # Create a delimiter string that does not exist in confdefs.h, to ease
19582 # handling of long lines.
19583 ac_delim='%!_!# '
19584 for ac_last_try in false false :; do
19585 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19586 if test -z "$ac_tt"; then
19587 break
19588 elif $ac_last_try; then
19589 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19590 else
19591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19593 done
19595 # For the awk script, D is an array of macro values keyed by name,
19596 # likewise P contains macro parameters if any. Preserve backslash
19597 # newline sequences.
19599 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19600 sed -n '
19601 s/.\{148\}/&'"$ac_delim"'/g
19602 t rset
19603 :rset
19604 s/^[ ]*#[ ]*define[ ][ ]*/ /
19605 t def
19607 :def
19608 s/\\$//
19609 t bsnl
19610 s/["\\]/\\&/g
19611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19612 D["\1"]=" \3"/p
19613 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19615 :bsnl
19616 s/["\\]/\\&/g
19617 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19618 D["\1"]=" \3\\\\\\n"\\/p
19619 t cont
19620 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19621 t cont
19623 :cont
19625 s/.\{148\}/&'"$ac_delim"'/g
19626 t clear
19627 :clear
19628 s/\\$//
19629 t bsnlc
19630 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19632 :bsnlc
19633 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19634 b cont
19635 ' <confdefs.h | sed '
19636 s/'"$ac_delim"'/"\\\
19637 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19640 for (key in D) D_is_set[key] = 1
19641 FS = "\a"
19643 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19644 line = \$ 0
19645 split(line, arg, " ")
19646 if (arg[1] == "#") {
19647 defundef = arg[2]
19648 mac1 = arg[3]
19649 } else {
19650 defundef = substr(arg[1], 2)
19651 mac1 = arg[2]
19653 split(mac1, mac2, "(") #)
19654 macro = mac2[1]
19655 prefix = substr(line, 1, index(line, defundef) - 1)
19656 if (D_is_set[macro]) {
19657 # Preserve the white space surrounding the "#".
19658 print prefix "define", macro P[macro] D[macro]
19659 next
19660 } else {
19661 # Replace #undef with comments. This is necessary, for example,
19662 # in the case of _POSIX_SOURCE, which is predefined and required
19663 # on some systems where configure will not decide to define it.
19664 if (defundef == "undef") {
19665 print "/*", prefix defundef, macro, "*/"
19666 next
19670 { print }
19671 _ACAWK
19672 _ACEOF
19673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19674 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19675 fi # test -n "$CONFIG_HEADERS"
19678 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19679 shift
19680 for ac_tag
19682 case $ac_tag in
19683 :[FHLC]) ac_mode=$ac_tag; continue;;
19684 esac
19685 case $ac_mode$ac_tag in
19686 :[FHL]*:*);;
19687 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19688 :[FH]-) ac_tag=-:-;;
19689 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19690 esac
19691 ac_save_IFS=$IFS
19692 IFS=:
19693 set x $ac_tag
19694 IFS=$ac_save_IFS
19695 shift
19696 ac_file=$1
19697 shift
19699 case $ac_mode in
19700 :L) ac_source=$1;;
19701 :[FH])
19702 ac_file_inputs=
19703 for ac_f
19705 case $ac_f in
19706 -) ac_f="$ac_tmp/stdin";;
19707 *) # Look for the file first in the build tree, then in the source tree
19708 # (if the path is not absolute). The absolute path cannot be DOS-style,
19709 # because $ac_f cannot contain `:'.
19710 test -f "$ac_f" ||
19711 case $ac_f in
19712 [\\/$]*) false;;
19713 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19714 esac ||
19715 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19716 esac
19717 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19718 as_fn_append ac_file_inputs " '$ac_f'"
19719 done
19721 # Let's still pretend it is `configure' which instantiates (i.e., don't
19722 # use $as_me), people would be surprised to read:
19723 # /* config.h. Generated by config.status. */
19724 configure_input='Generated from '`
19725 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19726 `' by configure.'
19727 if test x"$ac_file" != x-; then
19728 configure_input="$ac_file. $configure_input"
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19730 $as_echo "$as_me: creating $ac_file" >&6;}
19732 # Neutralize special characters interpreted by sed in replacement strings.
19733 case $configure_input in #(
19734 *\&* | *\|* | *\\* )
19735 ac_sed_conf_input=`$as_echo "$configure_input" |
19736 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19737 *) ac_sed_conf_input=$configure_input;;
19738 esac
19740 case $ac_tag in
19741 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19742 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19743 esac
19745 esac
19747 ac_dir=`$as_dirname -- "$ac_file" ||
19748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19749 X"$ac_file" : 'X\(//\)[^/]' \| \
19750 X"$ac_file" : 'X\(//\)$' \| \
19751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19752 $as_echo X"$ac_file" |
19753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19754 s//\1/
19757 /^X\(\/\/\)[^/].*/{
19758 s//\1/
19761 /^X\(\/\/\)$/{
19762 s//\1/
19765 /^X\(\/\).*/{
19766 s//\1/
19769 s/.*/./; q'`
19770 as_dir="$ac_dir"; as_fn_mkdir_p
19771 ac_builddir=.
19773 case "$ac_dir" in
19774 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19776 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19777 # A ".." for each directory in $ac_dir_suffix.
19778 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19779 case $ac_top_builddir_sub in
19780 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19781 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19782 esac ;;
19783 esac
19784 ac_abs_top_builddir=$ac_pwd
19785 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19786 # for backward compatibility:
19787 ac_top_builddir=$ac_top_build_prefix
19789 case $srcdir in
19790 .) # We are building in place.
19791 ac_srcdir=.
19792 ac_top_srcdir=$ac_top_builddir_sub
19793 ac_abs_top_srcdir=$ac_pwd ;;
19794 [\\/]* | ?:[\\/]* ) # Absolute name.
19795 ac_srcdir=$srcdir$ac_dir_suffix;
19796 ac_top_srcdir=$srcdir
19797 ac_abs_top_srcdir=$srcdir ;;
19798 *) # Relative name.
19799 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19800 ac_top_srcdir=$ac_top_build_prefix$srcdir
19801 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19802 esac
19803 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19806 case $ac_mode in
19809 # CONFIG_FILE
19812 _ACEOF
19814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19815 # If the template does not know about datarootdir, expand it.
19816 # FIXME: This hack should be removed a few years after 2.60.
19817 ac_datarootdir_hack=; ac_datarootdir_seen=
19818 ac_sed_dataroot='
19819 /datarootdir/ {
19823 /@datadir@/p
19824 /@docdir@/p
19825 /@infodir@/p
19826 /@localedir@/p
19827 /@mandir@/p'
19828 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19829 *datarootdir*) ac_datarootdir_seen=yes;;
19830 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19832 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19833 _ACEOF
19834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19835 ac_datarootdir_hack='
19836 s&@datadir@&$datadir&g
19837 s&@docdir@&$docdir&g
19838 s&@infodir@&$infodir&g
19839 s&@localedir@&$localedir&g
19840 s&@mandir@&$mandir&g
19841 s&\\\${datarootdir}&$datarootdir&g' ;;
19842 esac
19843 _ACEOF
19845 # Neutralize VPATH when `$srcdir' = `.'.
19846 # Shell code in configure.ac might set extrasub.
19847 # FIXME: do we really want to maintain this feature?
19848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19849 ac_sed_extra="$ac_vpsub
19850 $extrasub
19851 _ACEOF
19852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19855 s|@configure_input@|$ac_sed_conf_input|;t t
19856 s&@top_builddir@&$ac_top_builddir_sub&;t t
19857 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19858 s&@srcdir@&$ac_srcdir&;t t
19859 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19860 s&@top_srcdir@&$ac_top_srcdir&;t t
19861 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19862 s&@builddir@&$ac_builddir&;t t
19863 s&@abs_builddir@&$ac_abs_builddir&;t t
19864 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19865 $ac_datarootdir_hack
19867 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19868 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19870 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19871 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19872 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19873 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19875 which seems to be undefined. Please make sure it is defined" >&5
19876 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19877 which seems to be undefined. Please make sure it is defined" >&2;}
19879 rm -f "$ac_tmp/stdin"
19880 case $ac_file in
19881 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19882 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19883 esac \
19884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19888 # CONFIG_HEADER
19890 if test x"$ac_file" != x-; then
19892 $as_echo "/* $configure_input */" \
19893 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19894 } >"$ac_tmp/config.h" \
19895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19896 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19898 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19899 else
19900 rm -f "$ac_file"
19901 mv "$ac_tmp/config.h" "$ac_file" \
19902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19904 else
19905 $as_echo "/* $configure_input */" \
19906 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19907 || as_fn_error $? "could not create -" "$LINENO" 5
19912 # CONFIG_LINK
19915 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19917 else
19918 # Prefer the file from the source tree if names are identical.
19919 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19920 ac_source=$srcdir/$ac_source
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19924 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19926 if test ! -r "$ac_source"; then
19927 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19929 rm -f "$ac_file"
19931 # Try a relative symlink, then a hard link, then a copy.
19932 case $ac_source in
19933 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19934 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19935 esac
19936 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19937 ln "$ac_source" "$ac_file" 2>/dev/null ||
19938 cp -p "$ac_source" "$ac_file" ||
19939 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19942 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19943 $as_echo "$as_me: executing $ac_file commands" >&6;}
19945 esac
19948 case $ac_file$ac_mode in
19949 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19950 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19951 "Makefile":C) wine_fn_output_makefile Makefile ;;
19953 esac
19954 done # for ac_tag
19957 as_fn_exit 0
19958 _ACEOF
19959 ac_clean_files=$ac_clean_files_save
19961 test $ac_write_fail = 0 ||
19962 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19965 # configure is writing to config.log, and then calls config.status.
19966 # config.status does its own redirection, appending to config.log.
19967 # Unfortunately, on DOS this fails, as config.log is still kept open
19968 # by configure, so config.status won't be able to write to it; its
19969 # output is simply discarded. So we exec the FD to /dev/null,
19970 # effectively closing config.log, so it can be properly (re)opened and
19971 # appended to by config.status. When coming back to configure, we
19972 # need to make the FD available again.
19973 if test "$no_create" != yes; then
19974 ac_cs_success=:
19975 ac_config_status_args=
19976 test "$silent" = yes &&
19977 ac_config_status_args="$ac_config_status_args --quiet"
19978 exec 5>/dev/null
19979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19980 exec 5>>config.log
19981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19982 # would make configure fail if this is the last instruction.
19983 $ac_cs_success || as_fn_exit 1
19985 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19987 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19991 if test "$no_create" = "yes"
19992 then
19993 exit 0
19996 ac_save_IFS="$IFS"
19997 if test "x$wine_notices" != x; then
19998 echo >&6
19999 IFS="|"
20000 for msg in $wine_notices; do
20001 IFS="$ac_save_IFS"
20002 if ${msg:+false} :; then :
20004 else
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20006 $as_echo "$as_me: $msg" >&6;}
20008 done
20010 IFS="|"
20011 for msg in $wine_warnings; do
20012 IFS="$ac_save_IFS"
20013 if ${msg:+false} :; then :
20015 else
20016 echo >&2
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20018 $as_echo "$as_me: WARNING: $msg" >&2;}
20020 done
20021 IFS="$ac_save_IFS"
20023 $as_echo "
20024 $as_me: Finished. Do '${ac_make}' to compile Wine.
20025 " >&6