api-ms-win-core-com-private-l1-1-0: Add dll.
[wine.git] / configure
blob762db42b3078ab551e1166277419a45e056298a2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.23.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.23'
584 PACKAGE_STRING='Wine 1.9.23'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_com_private_l1_1_0
886 enable_api_ms_win_core_console_l1_1_0
887 enable_api_ms_win_core_console_l2_1_0
888 enable_api_ms_win_core_datetime_l1_1_0
889 enable_api_ms_win_core_datetime_l1_1_1
890 enable_api_ms_win_core_debug_l1_1_0
891 enable_api_ms_win_core_debug_l1_1_1
892 enable_api_ms_win_core_delayload_l1_1_0
893 enable_api_ms_win_core_delayload_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_0
895 enable_api_ms_win_core_errorhandling_l1_1_1
896 enable_api_ms_win_core_errorhandling_l1_1_2
897 enable_api_ms_win_core_fibers_l1_1_0
898 enable_api_ms_win_core_fibers_l1_1_1
899 enable_api_ms_win_core_file_l1_1_0
900 enable_api_ms_win_core_file_l1_2_0
901 enable_api_ms_win_core_file_l1_2_1
902 enable_api_ms_win_core_file_l2_1_0
903 enable_api_ms_win_core_file_l2_1_1
904 enable_api_ms_win_core_handle_l1_1_0
905 enable_api_ms_win_core_heap_l1_1_0
906 enable_api_ms_win_core_heap_l1_2_0
907 enable_api_ms_win_core_heap_obsolete_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_2_0
910 enable_api_ms_win_core_io_l1_1_0
911 enable_api_ms_win_core_io_l1_1_1
912 enable_api_ms_win_core_job_l1_1_0
913 enable_api_ms_win_core_job_l2_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_1
916 enable_api_ms_win_core_kernel32_private_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_1_0
918 enable_api_ms_win_core_libraryloader_l1_1_1
919 enable_api_ms_win_core_libraryloader_l1_2_0
920 enable_api_ms_win_core_libraryloader_l1_2_2
921 enable_api_ms_win_core_localization_l1_1_0
922 enable_api_ms_win_core_localization_l1_2_0
923 enable_api_ms_win_core_localization_l1_2_1
924 enable_api_ms_win_core_localization_l2_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_2_0
927 enable_api_ms_win_core_localization_private_l1_1_0
928 enable_api_ms_win_core_localregistry_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_1
931 enable_api_ms_win_core_memory_l1_1_2
932 enable_api_ms_win_core_misc_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_2_0
935 enable_api_ms_win_core_namespace_l1_1_0
936 enable_api_ms_win_core_normalization_l1_1_0
937 enable_api_ms_win_core_path_l1_1_0
938 enable_api_ms_win_core_privateprofile_l1_1_1
939 enable_api_ms_win_core_processenvironment_l1_1_0
940 enable_api_ms_win_core_processenvironment_l1_2_0
941 enable_api_ms_win_core_processthreads_l1_1_0
942 enable_api_ms_win_core_processthreads_l1_1_1
943 enable_api_ms_win_core_processthreads_l1_1_2
944 enable_api_ms_win_core_profile_l1_1_0
945 enable_api_ms_win_core_psapi_l1_1_0
946 enable_api_ms_win_core_psapi_obsolete_l1_1_0
947 enable_api_ms_win_core_realtime_l1_1_0
948 enable_api_ms_win_core_registry_l1_1_0
949 enable_api_ms_win_core_registryuserspecific_l1_1_0
950 enable_api_ms_win_core_rtlsupport_l1_1_0
951 enable_api_ms_win_core_rtlsupport_l1_2_0
952 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
953 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
954 enable_api_ms_win_core_sidebyside_l1_1_0
955 enable_api_ms_win_core_string_l1_1_0
956 enable_api_ms_win_core_string_l2_1_0
957 enable_api_ms_win_core_string_obsolete_l1_1_0
958 enable_api_ms_win_core_stringansi_l1_1_0
959 enable_api_ms_win_core_synch_l1_1_0
960 enable_api_ms_win_core_synch_l1_2_0
961 enable_api_ms_win_core_sysinfo_l1_1_0
962 enable_api_ms_win_core_sysinfo_l1_2_0
963 enable_api_ms_win_core_sysinfo_l1_2_1
964 enable_api_ms_win_core_threadpool_l1_1_0
965 enable_api_ms_win_core_threadpool_l1_2_0
966 enable_api_ms_win_core_threadpool_legacy_l1_1_0
967 enable_api_ms_win_core_timezone_l1_1_0
968 enable_api_ms_win_core_toolhelp_l1_1_0
969 enable_api_ms_win_core_url_l1_1_0
970 enable_api_ms_win_core_util_l1_1_0
971 enable_api_ms_win_core_version_l1_1_0
972 enable_api_ms_win_core_version_private_l1_1_0
973 enable_api_ms_win_core_versionansi_l1_1_0
974 enable_api_ms_win_core_windowserrorreporting_l1_1_0
975 enable_api_ms_win_core_winrt_error_l1_1_0
976 enable_api_ms_win_core_winrt_error_l1_1_1
977 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
978 enable_api_ms_win_core_winrt_l1_1_0
979 enable_api_ms_win_core_winrt_registration_l1_1_0
980 enable_api_ms_win_core_winrt_string_l1_1_0
981 enable_api_ms_win_core_wow64_l1_1_0
982 enable_api_ms_win_core_xstate_l1_1_0
983 enable_api_ms_win_core_xstate_l2_1_0
984 enable_api_ms_win_crt_conio_l1_1_0
985 enable_api_ms_win_crt_convert_l1_1_0
986 enable_api_ms_win_crt_environment_l1_1_0
987 enable_api_ms_win_crt_filesystem_l1_1_0
988 enable_api_ms_win_crt_heap_l1_1_0
989 enable_api_ms_win_crt_locale_l1_1_0
990 enable_api_ms_win_crt_math_l1_1_0
991 enable_api_ms_win_crt_multibyte_l1_1_0
992 enable_api_ms_win_crt_private_l1_1_0
993 enable_api_ms_win_crt_process_l1_1_0
994 enable_api_ms_win_crt_runtime_l1_1_0
995 enable_api_ms_win_crt_stdio_l1_1_0
996 enable_api_ms_win_crt_string_l1_1_0
997 enable_api_ms_win_crt_time_l1_1_0
998 enable_api_ms_win_crt_utility_l1_1_0
999 enable_api_ms_win_downlevel_advapi32_l1_1_0
1000 enable_api_ms_win_downlevel_advapi32_l2_1_0
1001 enable_api_ms_win_downlevel_normaliz_l1_1_0
1002 enable_api_ms_win_downlevel_ole32_l1_1_0
1003 enable_api_ms_win_downlevel_shell32_l1_1_0
1004 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1005 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1006 enable_api_ms_win_downlevel_user32_l1_1_0
1007 enable_api_ms_win_downlevel_version_l1_1_0
1008 enable_api_ms_win_dx_d3dkmt_l1_1_0
1009 enable_api_ms_win_eventing_classicprovider_l1_1_0
1010 enable_api_ms_win_eventing_consumer_l1_1_0
1011 enable_api_ms_win_eventing_controller_l1_1_0
1012 enable_api_ms_win_eventing_provider_l1_1_0
1013 enable_api_ms_win_eventlog_legacy_l1_1_0
1014 enable_api_ms_win_ntuser_dc_access_l1_1_0
1015 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1016 enable_api_ms_win_security_audit_l1_1_1
1017 enable_api_ms_win_security_base_l1_1_0
1018 enable_api_ms_win_security_base_l1_2_0
1019 enable_api_ms_win_security_base_private_l1_1_1
1020 enable_api_ms_win_security_lsalookup_l1_1_0
1021 enable_api_ms_win_security_lsalookup_l1_1_1
1022 enable_api_ms_win_security_lsalookup_l2_1_1
1023 enable_api_ms_win_security_lsapolicy_l1_1_0
1024 enable_api_ms_win_security_sddl_l1_1_0
1025 enable_api_ms_win_service_core_l1_1_0
1026 enable_api_ms_win_service_core_l1_1_1
1027 enable_api_ms_win_service_management_l1_1_0
1028 enable_api_ms_win_service_management_l2_1_0
1029 enable_api_ms_win_service_private_l1_1_1
1030 enable_api_ms_win_service_winsvc_l1_1_0
1031 enable_api_ms_win_service_winsvc_l1_2_0
1032 enable_api_ms_win_shell_shellcom_l1_1_0
1033 enable_api_ms_win_shell_shellfolders_l1_1_0
1034 enable_apphelp
1035 enable_appwiz_cpl
1036 enable_atl
1037 enable_atl100
1038 enable_atl110
1039 enable_atl80
1040 enable_atl90
1041 enable_authz
1042 enable_avicap32
1043 enable_avifil32
1044 enable_avrt
1045 enable_bcrypt
1046 enable_bluetoothapis
1047 enable_browseui
1048 enable_bthprops_cpl
1049 enable_cabinet
1050 enable_capi2032
1051 enable_cards
1052 enable_cfgmgr32
1053 enable_clusapi
1054 enable_combase
1055 enable_comcat
1056 enable_comctl32
1057 enable_comdlg32
1058 enable_compstui
1059 enable_comsvcs
1060 enable_concrt140
1061 enable_connect
1062 enable_credui
1063 enable_crtdll
1064 enable_crypt32
1065 enable_cryptdlg
1066 enable_cryptdll
1067 enable_cryptext
1068 enable_cryptnet
1069 enable_cryptui
1070 enable_ctapi32
1071 enable_ctl3d32
1072 enable_d2d1
1073 enable_d3d10
1074 enable_d3d10_1
1075 enable_d3d10core
1076 enable_d3d11
1077 enable_d3d8
1078 enable_d3d9
1079 enable_d3dcompiler_33
1080 enable_d3dcompiler_34
1081 enable_d3dcompiler_35
1082 enable_d3dcompiler_36
1083 enable_d3dcompiler_37
1084 enable_d3dcompiler_38
1085 enable_d3dcompiler_39
1086 enable_d3dcompiler_40
1087 enable_d3dcompiler_41
1088 enable_d3dcompiler_42
1089 enable_d3dcompiler_43
1090 enable_d3dcompiler_46
1091 enable_d3dcompiler_47
1092 enable_d3dim
1093 enable_d3drm
1094 enable_d3dx10_33
1095 enable_d3dx10_34
1096 enable_d3dx10_35
1097 enable_d3dx10_36
1098 enable_d3dx10_37
1099 enable_d3dx10_38
1100 enable_d3dx10_39
1101 enable_d3dx10_40
1102 enable_d3dx10_41
1103 enable_d3dx10_42
1104 enable_d3dx10_43
1105 enable_d3dx11_42
1106 enable_d3dx11_43
1107 enable_d3dx9_24
1108 enable_d3dx9_25
1109 enable_d3dx9_26
1110 enable_d3dx9_27
1111 enable_d3dx9_28
1112 enable_d3dx9_29
1113 enable_d3dx9_30
1114 enable_d3dx9_31
1115 enable_d3dx9_32
1116 enable_d3dx9_33
1117 enable_d3dx9_34
1118 enable_d3dx9_35
1119 enable_d3dx9_36
1120 enable_d3dx9_37
1121 enable_d3dx9_38
1122 enable_d3dx9_39
1123 enable_d3dx9_40
1124 enable_d3dx9_41
1125 enable_d3dx9_42
1126 enable_d3dx9_43
1127 enable_d3dxof
1128 enable_davclnt
1129 enable_dbgeng
1130 enable_dbghelp
1131 enable_dciman32
1132 enable_ddraw
1133 enable_ddrawex
1134 enable_devenum
1135 enable_dhcpcsvc
1136 enable_difxapi
1137 enable_dinput
1138 enable_dinput8
1139 enable_dispex
1140 enable_dmband
1141 enable_dmcompos
1142 enable_dmime
1143 enable_dmloader
1144 enable_dmscript
1145 enable_dmstyle
1146 enable_dmsynth
1147 enable_dmusic
1148 enable_dmusic32
1149 enable_dnsapi
1150 enable_dplay
1151 enable_dplayx
1152 enable_dpnaddr
1153 enable_dpnet
1154 enable_dpnhpast
1155 enable_dpnlobby
1156 enable_dpvoice
1157 enable_dpwsockx
1158 enable_drmclien
1159 enable_dsound
1160 enable_dssenh
1161 enable_dswave
1162 enable_dwmapi
1163 enable_dwrite
1164 enable_dxdiagn
1165 enable_dxgi
1166 enable_dxva2
1167 enable_esent
1168 enable_evr
1169 enable_explorerframe
1170 enable_ext_ms_win_gdi_dc_create_l1_1_1
1171 enable_ext_ms_win_gdi_dc_l1_2_0
1172 enable_ext_ms_win_gdi_devcaps_l1_1_0
1173 enable_ext_ms_win_gdi_draw_l1_1_1
1174 enable_ext_ms_win_gdi_render_l1_1_0
1175 enable_ext_ms_win_kernel32_package_current_l1_1_0
1176 enable_ext_ms_win_ntuser_message_l1_1_1
1177 enable_ext_ms_win_ntuser_private_l1_1_1
1178 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1179 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1180 enable_ext_ms_win_ntuser_window_l1_1_1
1181 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1182 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1183 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1184 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1185 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1186 enable_faultrep
1187 enable_fltlib
1188 enable_fltmgr_sys
1189 enable_fntcache
1190 enable_fontsub
1191 enable_fusion
1192 enable_fwpuclnt
1193 enable_gameux
1194 enable_gdi32
1195 enable_gdiplus
1196 enable_glu32
1197 enable_gphoto2_ds
1198 enable_gpkcsp
1199 enable_hal
1200 enable_hhctrl_ocx
1201 enable_hid
1202 enable_hidclass_sys
1203 enable_hlink
1204 enable_hnetcfg
1205 enable_httpapi
1206 enable_iccvid
1207 enable_icmp
1208 enable_ieframe
1209 enable_imaadp32_acm
1210 enable_imagehlp
1211 enable_imm32
1212 enable_inetcomm
1213 enable_inetcpl_cpl
1214 enable_inetmib1
1215 enable_infosoft
1216 enable_initpki
1217 enable_inkobj
1218 enable_inseng
1219 enable_iphlpapi
1220 enable_iprop
1221 enable_irprops_cpl
1222 enable_itircl
1223 enable_itss
1224 enable_joy_cpl
1225 enable_jscript
1226 enable_jsproxy
1227 enable_kernel32
1228 enable_kernelbase
1229 enable_ksuser
1230 enable_ktmw32
1231 enable_loadperf
1232 enable_localspl
1233 enable_localui
1234 enable_lz32
1235 enable_mapi32
1236 enable_mapistub
1237 enable_mciavi32
1238 enable_mcicda
1239 enable_mciqtz32
1240 enable_mciseq
1241 enable_mciwave
1242 enable_mf
1243 enable_mfplat
1244 enable_mfreadwrite
1245 enable_mgmtapi
1246 enable_midimap
1247 enable_mlang
1248 enable_mmcndmgr
1249 enable_mmdevapi
1250 enable_mountmgr_sys
1251 enable_mpr
1252 enable_mprapi
1253 enable_msacm32_drv
1254 enable_msacm32
1255 enable_msadp32_acm
1256 enable_msasn1
1257 enable_mscat32
1258 enable_mscms
1259 enable_mscoree
1260 enable_msctf
1261 enable_msctfp
1262 enable_msdaps
1263 enable_msdelta
1264 enable_msdmo
1265 enable_msdrm
1266 enable_msftedit
1267 enable_msg711_acm
1268 enable_msgsm32_acm
1269 enable_mshtml_tlb
1270 enable_mshtml
1271 enable_msi
1272 enable_msident
1273 enable_msimg32
1274 enable_msimsg
1275 enable_msimtf
1276 enable_msisip
1277 enable_msisys_ocx
1278 enable_msls31
1279 enable_msnet32
1280 enable_mspatcha
1281 enable_msports
1282 enable_msrle32
1283 enable_msscript_ocx
1284 enable_mssign32
1285 enable_mssip32
1286 enable_mstask
1287 enable_msvcirt
1288 enable_msvcm80
1289 enable_msvcm90
1290 enable_msvcp100
1291 enable_msvcp110
1292 enable_msvcp120
1293 enable_msvcp120_app
1294 enable_msvcp140
1295 enable_msvcp60
1296 enable_msvcp70
1297 enable_msvcp71
1298 enable_msvcp80
1299 enable_msvcp90
1300 enable_msvcr100
1301 enable_msvcr110
1302 enable_msvcr120
1303 enable_msvcr120_app
1304 enable_msvcr70
1305 enable_msvcr71
1306 enable_msvcr80
1307 enable_msvcr90
1308 enable_msvcrt
1309 enable_msvcrt20
1310 enable_msvcrt40
1311 enable_msvcrtd
1312 enable_msvfw32
1313 enable_msvidc32
1314 enable_mswsock
1315 enable_msxml
1316 enable_msxml2
1317 enable_msxml3
1318 enable_msxml4
1319 enable_msxml6
1320 enable_ncrypt
1321 enable_nddeapi
1322 enable_ndis_sys
1323 enable_netapi32
1324 enable_netcfgx
1325 enable_netprofm
1326 enable_newdev
1327 enable_normaliz
1328 enable_npmshtml
1329 enable_npptools
1330 enable_ntdll
1331 enable_ntdsapi
1332 enable_ntoskrnl_exe
1333 enable_ntprint
1334 enable_objsel
1335 enable_odbc32
1336 enable_odbccp32
1337 enable_odbccu32
1338 enable_ole32
1339 enable_oleacc
1340 enable_oleaut32
1341 enable_olecli32
1342 enable_oledb32
1343 enable_oledlg
1344 enable_olepro32
1345 enable_olesvr32
1346 enable_olethk32
1347 enable_openal32
1348 enable_opencl
1349 enable_opengl32
1350 enable_packager
1351 enable_pdh
1352 enable_photometadatahandler
1353 enable_pidgen
1354 enable_powrprof
1355 enable_printui
1356 enable_prntvpt
1357 enable_propsys
1358 enable_psapi
1359 enable_pstorec
1360 enable_qcap
1361 enable_qedit
1362 enable_qmgr
1363 enable_qmgrprxy
1364 enable_quartz
1365 enable_query
1366 enable_rasapi32
1367 enable_rasdlg
1368 enable_regapi
1369 enable_resutils
1370 enable_riched20
1371 enable_riched32
1372 enable_rpcrt4
1373 enable_rsabase
1374 enable_rsaenh
1375 enable_rstrtmgr
1376 enable_rtutils
1377 enable_samlib
1378 enable_sane_ds
1379 enable_scarddlg
1380 enable_sccbase
1381 enable_schannel
1382 enable_schedsvc
1383 enable_scrrun
1384 enable_scsiport_sys
1385 enable_secur32
1386 enable_security
1387 enable_sensapi
1388 enable_serialui
1389 enable_setupapi
1390 enable_sfc
1391 enable_sfc_os
1392 enable_shdoclc
1393 enable_shdocvw
1394 enable_shell32
1395 enable_shfolder
1396 enable_shlwapi
1397 enable_slbcsp
1398 enable_slc
1399 enable_snmpapi
1400 enable_softpub
1401 enable_spoolss
1402 enable_sspicli
1403 enable_stdole2_tlb
1404 enable_stdole32_tlb
1405 enable_sti
1406 enable_svrapi
1407 enable_sxs
1408 enable_t2embed
1409 enable_tapi32
1410 enable_taskschd
1411 enable_tdi_sys
1412 enable_traffic
1413 enable_twain_32
1414 enable_ucrtbase
1415 enable_unicows
1416 enable_updspapi
1417 enable_url
1418 enable_urlmon
1419 enable_usbd_sys
1420 enable_user32
1421 enable_userenv
1422 enable_usp10
1423 enable_uxtheme
1424 enable_vbscript
1425 enable_vcomp
1426 enable_vcomp100
1427 enable_vcomp110
1428 enable_vcomp120
1429 enable_vcomp140
1430 enable_vcomp90
1431 enable_vcruntime140
1432 enable_vdmdbg
1433 enable_version
1434 enable_vssapi
1435 enable_wbemdisp
1436 enable_wbemprox
1437 enable_webservices
1438 enable_wer
1439 enable_wevtapi
1440 enable_wiaservc
1441 enable_wimgapi
1442 enable_windowscodecs
1443 enable_windowscodecsext
1444 enable_winealsa_drv
1445 enable_winebus_sys
1446 enable_winecoreaudio_drv
1447 enable_wined3d
1448 enable_winegstreamer
1449 enable_winehid_sys
1450 enable_winejoystick_drv
1451 enable_winemac_drv
1452 enable_winemapi
1453 enable_winemp3_acm
1454 enable_wineoss_drv
1455 enable_wineps_drv
1456 enable_winepulse_drv
1457 enable_wineqtdecoder
1458 enable_winex11_drv
1459 enable_wing32
1460 enable_winhttp
1461 enable_wininet
1462 enable_winmm
1463 enable_winnls32
1464 enable_winscard
1465 enable_winspool_drv
1466 enable_winsta
1467 enable_wintab32
1468 enable_wintrust
1469 enable_wlanapi
1470 enable_wldap32
1471 enable_wmasf
1472 enable_wmi
1473 enable_wmiutils
1474 enable_wmp
1475 enable_wmvcore
1476 enable_wnaspi32
1477 enable_wpc
1478 enable_wpcap
1479 enable_ws2_32
1480 enable_wshom_ocx
1481 enable_wsnmp32
1482 enable_wsock32
1483 enable_wtsapi32
1484 enable_wuapi
1485 enable_wuaueng
1486 enable_x3daudio1_0
1487 enable_x3daudio1_1
1488 enable_x3daudio1_2
1489 enable_x3daudio1_3
1490 enable_x3daudio1_4
1491 enable_x3daudio1_5
1492 enable_x3daudio1_6
1493 enable_x3daudio1_7
1494 enable_xapofx1_1
1495 enable_xapofx1_2
1496 enable_xapofx1_3
1497 enable_xapofx1_4
1498 enable_xapofx1_5
1499 enable_xaudio2_0
1500 enable_xaudio2_1
1501 enable_xaudio2_2
1502 enable_xaudio2_3
1503 enable_xaudio2_4
1504 enable_xaudio2_5
1505 enable_xaudio2_6
1506 enable_xaudio2_7
1507 enable_xaudio2_8
1508 enable_xaudio2_9
1509 enable_xinput1_1
1510 enable_xinput1_2
1511 enable_xinput1_3
1512 enable_xinput1_4
1513 enable_xinput9_1_0
1514 enable_xmllite
1515 enable_xolehlp
1516 enable_xpsprint
1517 enable_xpssvcs
1518 enable_fonts
1519 enable_include
1520 enable_libs_port
1521 enable_libs_wine
1522 enable_libs_wpp
1523 enable_loader
1524 enable_po
1525 enable_arp
1526 enable_aspnet_regiis
1527 enable_attrib
1528 enable_cabarc
1529 enable_cacls
1530 enable_clock
1531 enable_cmd
1532 enable_conhost
1533 enable_control
1534 enable_cscript
1535 enable_dpnsvr
1536 enable_dxdiag
1537 enable_eject
1538 enable_expand
1539 enable_explorer
1540 enable_extrac32
1541 enable_findstr
1542 enable_fsutil
1543 enable_hh
1544 enable_hostname
1545 enable_icacls
1546 enable_icinfo
1547 enable_iexplore
1548 enable_ipconfig
1549 enable_lodctr
1550 enable_mofcomp
1551 enable_mshta
1552 enable_msiexec
1553 enable_msinfo32
1554 enable_net
1555 enable_netsh
1556 enable_netstat
1557 enable_ngen
1558 enable_notepad
1559 enable_oleview
1560 enable_ping
1561 enable_plugplay
1562 enable_presentationfontcache
1563 enable_progman
1564 enable_reg
1565 enable_regasm
1566 enable_regedit
1567 enable_regsvcs
1568 enable_regsvr32
1569 enable_rpcss
1570 enable_rundll32
1571 enable_sc
1572 enable_schtasks
1573 enable_sdbinst
1574 enable_secedit
1575 enable_servicemodelreg
1576 enable_services
1577 enable_shutdown
1578 enable_spoolsv
1579 enable_start
1580 enable_subst
1581 enable_svchost
1582 enable_systeminfo
1583 enable_taskkill
1584 enable_tasklist
1585 enable_taskmgr
1586 enable_termsv
1587 enable_uninstaller
1588 enable_unlodctr
1589 enable_view
1590 enable_wevtutil
1591 enable_wineboot
1592 enable_winebrowser
1593 enable_winecfg
1594 enable_wineconsole
1595 enable_winedbg
1596 enable_winedevice
1597 enable_winefile
1598 enable_winemenubuilder
1599 enable_winemine
1600 enable_winemsibuilder
1601 enable_winepath
1602 enable_winetest
1603 enable_winhlp32
1604 enable_winver
1605 enable_wmic
1606 enable_wmplayer
1607 enable_wordpad
1608 enable_write
1609 enable_wscript
1610 enable_wusa
1611 enable_xcopy
1612 enable_server
1613 enable_tools
1615 ac_precious_vars='build_alias
1616 host_alias
1617 target_alias
1619 CFLAGS
1620 LDFLAGS
1621 LIBS
1622 CPPFLAGS
1624 CXXFLAGS
1627 XMKMF
1628 XML2_CFLAGS
1629 XML2_LIBS
1630 XSLT_CFLAGS
1631 XSLT_LIBS
1632 DBUS_CFLAGS
1633 DBUS_LIBS
1634 HAL_CFLAGS
1635 HAL_LIBS
1636 GNUTLS_CFLAGS
1637 GNUTLS_LIBS
1638 SANE_CFLAGS
1639 SANE_LIBS
1640 GPHOTO2_CFLAGS
1641 GPHOTO2_LIBS
1642 GPHOTO2_PORT_CFLAGS
1643 GPHOTO2_PORT_LIBS
1644 LCMS2_CFLAGS
1645 LCMS2_LIBS
1646 FREETYPE_CFLAGS
1647 FREETYPE_LIBS
1648 PULSE_CFLAGS
1649 PULSE_LIBS
1650 GSTREAMER_CFLAGS
1651 GSTREAMER_LIBS
1652 UDEV_CFLAGS
1653 UDEV_LIBS
1654 CAPI20_CFLAGS
1655 CAPI20_LIBS
1656 FONTCONFIG_CFLAGS
1657 FONTCONFIG_LIBS
1658 JPEG_CFLAGS
1659 JPEG_LIBS
1660 PNG_CFLAGS
1661 PNG_LIBS
1662 TIFF_CFLAGS
1663 TIFF_LIBS
1664 MPG123_CFLAGS
1665 MPG123_LIBS
1666 NETAPI_CFLAGS
1667 NETAPI_LIBS'
1670 # Initialize some variables set by options.
1671 ac_init_help=
1672 ac_init_version=false
1673 ac_unrecognized_opts=
1674 ac_unrecognized_sep=
1675 # The variables have the same names as the options, with
1676 # dashes changed to underlines.
1677 cache_file=/dev/null
1678 exec_prefix=NONE
1679 no_create=
1680 no_recursion=
1681 prefix=NONE
1682 program_prefix=NONE
1683 program_suffix=NONE
1684 program_transform_name=s,x,x,
1685 silent=
1686 site=
1687 srcdir=
1688 verbose=
1689 x_includes=NONE
1690 x_libraries=NONE
1692 # Installation directory options.
1693 # These are left unexpanded so users can "make install exec_prefix=/foo"
1694 # and all the variables that are supposed to be based on exec_prefix
1695 # by default will actually change.
1696 # Use braces instead of parens because sh, perl, etc. also accept them.
1697 # (The list follows the same order as the GNU Coding Standards.)
1698 bindir='${exec_prefix}/bin'
1699 sbindir='${exec_prefix}/sbin'
1700 libexecdir='${exec_prefix}/libexec'
1701 datarootdir='${prefix}/share'
1702 datadir='${datarootdir}'
1703 sysconfdir='${prefix}/etc'
1704 sharedstatedir='${prefix}/com'
1705 localstatedir='${prefix}/var'
1706 runstatedir='${localstatedir}/run'
1707 includedir='${prefix}/include'
1708 oldincludedir='/usr/include'
1709 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1710 infodir='${datarootdir}/info'
1711 htmldir='${docdir}'
1712 dvidir='${docdir}'
1713 pdfdir='${docdir}'
1714 psdir='${docdir}'
1715 libdir='${exec_prefix}/lib'
1716 localedir='${datarootdir}/locale'
1717 mandir='${datarootdir}/man'
1719 ac_prev=
1720 ac_dashdash=
1721 for ac_option
1723 # If the previous option needs an argument, assign it.
1724 if test -n "$ac_prev"; then
1725 eval $ac_prev=\$ac_option
1726 ac_prev=
1727 continue
1730 case $ac_option in
1731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1732 *=) ac_optarg= ;;
1733 *) ac_optarg=yes ;;
1734 esac
1736 # Accept the important Cygnus configure options, so we can diagnose typos.
1738 case $ac_dashdash$ac_option in
1740 ac_dashdash=yes ;;
1742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1743 ac_prev=bindir ;;
1744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1745 bindir=$ac_optarg ;;
1747 -build | --build | --buil | --bui | --bu)
1748 ac_prev=build_alias ;;
1749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1750 build_alias=$ac_optarg ;;
1752 -cache-file | --cache-file | --cache-fil | --cache-fi \
1753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1754 ac_prev=cache_file ;;
1755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1757 cache_file=$ac_optarg ;;
1759 --config-cache | -C)
1760 cache_file=config.cache ;;
1762 -datadir | --datadir | --datadi | --datad)
1763 ac_prev=datadir ;;
1764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1765 datadir=$ac_optarg ;;
1767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1768 | --dataroo | --dataro | --datar)
1769 ac_prev=datarootdir ;;
1770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1772 datarootdir=$ac_optarg ;;
1774 -disable-* | --disable-*)
1775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1778 as_fn_error $? "invalid feature name: $ac_useropt"
1779 ac_useropt_orig=$ac_useropt
1780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781 case $ac_user_opts in
1783 "enable_$ac_useropt"
1784 "*) ;;
1785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1786 ac_unrecognized_sep=', ';;
1787 esac
1788 eval enable_$ac_useropt=no ;;
1790 -docdir | --docdir | --docdi | --doc | --do)
1791 ac_prev=docdir ;;
1792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1793 docdir=$ac_optarg ;;
1795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1796 ac_prev=dvidir ;;
1797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1798 dvidir=$ac_optarg ;;
1800 -enable-* | --enable-*)
1801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1802 # Reject names that are not valid shell variable names.
1803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1804 as_fn_error $? "invalid feature name: $ac_useropt"
1805 ac_useropt_orig=$ac_useropt
1806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1807 case $ac_user_opts in
1809 "enable_$ac_useropt"
1810 "*) ;;
1811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1812 ac_unrecognized_sep=', ';;
1813 esac
1814 eval enable_$ac_useropt=\$ac_optarg ;;
1816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1818 | --exec | --exe | --ex)
1819 ac_prev=exec_prefix ;;
1820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1822 | --exec=* | --exe=* | --ex=*)
1823 exec_prefix=$ac_optarg ;;
1825 -gas | --gas | --ga | --g)
1826 # Obsolete; use --with-gas.
1827 with_gas=yes ;;
1829 -help | --help | --hel | --he | -h)
1830 ac_init_help=long ;;
1831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1832 ac_init_help=recursive ;;
1833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1834 ac_init_help=short ;;
1836 -host | --host | --hos | --ho)
1837 ac_prev=host_alias ;;
1838 -host=* | --host=* | --hos=* | --ho=*)
1839 host_alias=$ac_optarg ;;
1841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1842 ac_prev=htmldir ;;
1843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1844 | --ht=*)
1845 htmldir=$ac_optarg ;;
1847 -includedir | --includedir | --includedi | --included | --include \
1848 | --includ | --inclu | --incl | --inc)
1849 ac_prev=includedir ;;
1850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1851 | --includ=* | --inclu=* | --incl=* | --inc=*)
1852 includedir=$ac_optarg ;;
1854 -infodir | --infodir | --infodi | --infod | --info | --inf)
1855 ac_prev=infodir ;;
1856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1857 infodir=$ac_optarg ;;
1859 -libdir | --libdir | --libdi | --libd)
1860 ac_prev=libdir ;;
1861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1862 libdir=$ac_optarg ;;
1864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1865 | --libexe | --libex | --libe)
1866 ac_prev=libexecdir ;;
1867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1868 | --libexe=* | --libex=* | --libe=*)
1869 libexecdir=$ac_optarg ;;
1871 -localedir | --localedir | --localedi | --localed | --locale)
1872 ac_prev=localedir ;;
1873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1874 localedir=$ac_optarg ;;
1876 -localstatedir | --localstatedir | --localstatedi | --localstated \
1877 | --localstate | --localstat | --localsta | --localst | --locals)
1878 ac_prev=localstatedir ;;
1879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1881 localstatedir=$ac_optarg ;;
1883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1884 ac_prev=mandir ;;
1885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1886 mandir=$ac_optarg ;;
1888 -nfp | --nfp | --nf)
1889 # Obsolete; use --without-fp.
1890 with_fp=no ;;
1892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1893 | --no-cr | --no-c | -n)
1894 no_create=yes ;;
1896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1898 no_recursion=yes ;;
1900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1902 | --oldin | --oldi | --old | --ol | --o)
1903 ac_prev=oldincludedir ;;
1904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1907 oldincludedir=$ac_optarg ;;
1909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1910 ac_prev=prefix ;;
1911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1912 prefix=$ac_optarg ;;
1914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1915 | --program-pre | --program-pr | --program-p)
1916 ac_prev=program_prefix ;;
1917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1919 program_prefix=$ac_optarg ;;
1921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1922 | --program-suf | --program-su | --program-s)
1923 ac_prev=program_suffix ;;
1924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1926 program_suffix=$ac_optarg ;;
1928 -program-transform-name | --program-transform-name \
1929 | --program-transform-nam | --program-transform-na \
1930 | --program-transform-n | --program-transform- \
1931 | --program-transform | --program-transfor \
1932 | --program-transfo | --program-transf \
1933 | --program-trans | --program-tran \
1934 | --progr-tra | --program-tr | --program-t)
1935 ac_prev=program_transform_name ;;
1936 -program-transform-name=* | --program-transform-name=* \
1937 | --program-transform-nam=* | --program-transform-na=* \
1938 | --program-transform-n=* | --program-transform-=* \
1939 | --program-transform=* | --program-transfor=* \
1940 | --program-transfo=* | --program-transf=* \
1941 | --program-trans=* | --program-tran=* \
1942 | --progr-tra=* | --program-tr=* | --program-t=*)
1943 program_transform_name=$ac_optarg ;;
1945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1946 ac_prev=pdfdir ;;
1947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1948 pdfdir=$ac_optarg ;;
1950 -psdir | --psdir | --psdi | --psd | --ps)
1951 ac_prev=psdir ;;
1952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1953 psdir=$ac_optarg ;;
1955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1956 | -silent | --silent | --silen | --sile | --sil)
1957 silent=yes ;;
1959 -runstatedir | --runstatedir | --runstatedi | --runstated \
1960 | --runstate | --runstat | --runsta | --runst | --runs \
1961 | --run | --ru | --r)
1962 ac_prev=runstatedir ;;
1963 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1964 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1965 | --run=* | --ru=* | --r=*)
1966 runstatedir=$ac_optarg ;;
1968 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1969 ac_prev=sbindir ;;
1970 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1971 | --sbi=* | --sb=*)
1972 sbindir=$ac_optarg ;;
1974 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1975 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1976 | --sharedst | --shareds | --shared | --share | --shar \
1977 | --sha | --sh)
1978 ac_prev=sharedstatedir ;;
1979 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1980 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1981 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1982 | --sha=* | --sh=*)
1983 sharedstatedir=$ac_optarg ;;
1985 -site | --site | --sit)
1986 ac_prev=site ;;
1987 -site=* | --site=* | --sit=*)
1988 site=$ac_optarg ;;
1990 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1991 ac_prev=srcdir ;;
1992 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1993 srcdir=$ac_optarg ;;
1995 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1996 | --syscon | --sysco | --sysc | --sys | --sy)
1997 ac_prev=sysconfdir ;;
1998 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1999 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2000 sysconfdir=$ac_optarg ;;
2002 -target | --target | --targe | --targ | --tar | --ta | --t)
2003 ac_prev=target_alias ;;
2004 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2005 target_alias=$ac_optarg ;;
2007 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2008 verbose=yes ;;
2010 -version | --version | --versio | --versi | --vers | -V)
2011 ac_init_version=: ;;
2013 -with-* | --with-*)
2014 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2015 # Reject names that are not valid shell variable names.
2016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2017 as_fn_error $? "invalid package name: $ac_useropt"
2018 ac_useropt_orig=$ac_useropt
2019 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2020 case $ac_user_opts in
2022 "with_$ac_useropt"
2023 "*) ;;
2024 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2025 ac_unrecognized_sep=', ';;
2026 esac
2027 eval with_$ac_useropt=\$ac_optarg ;;
2029 -without-* | --without-*)
2030 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2031 # Reject names that are not valid shell variable names.
2032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2033 as_fn_error $? "invalid package name: $ac_useropt"
2034 ac_useropt_orig=$ac_useropt
2035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2036 case $ac_user_opts in
2038 "with_$ac_useropt"
2039 "*) ;;
2040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2041 ac_unrecognized_sep=', ';;
2042 esac
2043 eval with_$ac_useropt=no ;;
2045 --x)
2046 # Obsolete; use --with-x.
2047 with_x=yes ;;
2049 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2050 | --x-incl | --x-inc | --x-in | --x-i)
2051 ac_prev=x_includes ;;
2052 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2053 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2054 x_includes=$ac_optarg ;;
2056 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2057 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2058 ac_prev=x_libraries ;;
2059 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2060 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2061 x_libraries=$ac_optarg ;;
2063 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2064 Try \`$0 --help' for more information"
2067 *=*)
2068 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2069 # Reject names that are not valid shell variable names.
2070 case $ac_envvar in #(
2071 '' | [0-9]* | *[!_$as_cr_alnum]* )
2072 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2073 esac
2074 eval $ac_envvar=\$ac_optarg
2075 export $ac_envvar ;;
2078 # FIXME: should be removed in autoconf 3.0.
2079 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2081 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2082 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2085 esac
2086 done
2088 if test -n "$ac_prev"; then
2089 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2090 as_fn_error $? "missing argument to $ac_option"
2093 if test -n "$ac_unrecognized_opts"; then
2094 case $enable_option_checking in
2095 no) ;;
2096 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2097 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2098 esac
2101 # Check all directory arguments for consistency.
2102 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2103 datadir sysconfdir sharedstatedir localstatedir includedir \
2104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2105 libdir localedir mandir runstatedir
2107 eval ac_val=\$$ac_var
2108 # Remove trailing slashes.
2109 case $ac_val in
2110 */ )
2111 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2112 eval $ac_var=\$ac_val;;
2113 esac
2114 # Be sure to have absolute directory names.
2115 case $ac_val in
2116 [\\/$]* | ?:[\\/]* ) continue;;
2117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2118 esac
2119 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2120 done
2122 # There might be people who depend on the old broken behavior: `$host'
2123 # used to hold the argument of --host etc.
2124 # FIXME: To remove some day.
2125 build=$build_alias
2126 host=$host_alias
2127 target=$target_alias
2129 # FIXME: To remove some day.
2130 if test "x$host_alias" != x; then
2131 if test "x$build_alias" = x; then
2132 cross_compiling=maybe
2133 elif test "x$build_alias" != "x$host_alias"; then
2134 cross_compiling=yes
2138 ac_tool_prefix=
2139 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2141 test "$silent" = yes && exec 6>/dev/null
2144 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2145 ac_ls_di=`ls -di .` &&
2146 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2147 as_fn_error $? "working directory cannot be determined"
2148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2149 as_fn_error $? "pwd does not report name of working directory"
2152 # Find the source files, if location was not specified.
2153 if test -z "$srcdir"; then
2154 ac_srcdir_defaulted=yes
2155 # Try the directory containing this script, then the parent directory.
2156 ac_confdir=`$as_dirname -- "$as_myself" ||
2157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2158 X"$as_myself" : 'X\(//\)[^/]' \| \
2159 X"$as_myself" : 'X\(//\)$' \| \
2160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2161 $as_echo X"$as_myself" |
2162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2163 s//\1/
2166 /^X\(\/\/\)[^/].*/{
2167 s//\1/
2170 /^X\(\/\/\)$/{
2171 s//\1/
2174 /^X\(\/\).*/{
2175 s//\1/
2178 s/.*/./; q'`
2179 srcdir=$ac_confdir
2180 if test ! -r "$srcdir/$ac_unique_file"; then
2181 srcdir=..
2183 else
2184 ac_srcdir_defaulted=no
2186 if test ! -r "$srcdir/$ac_unique_file"; then
2187 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2188 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2190 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2191 ac_abs_confdir=`(
2192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2193 pwd)`
2194 # When building in place, set srcdir=.
2195 if test "$ac_abs_confdir" = "$ac_pwd"; then
2196 srcdir=.
2198 # Remove unnecessary trailing slashes from srcdir.
2199 # Double slashes in file names in object file debugging info
2200 # mess up M-x gdb in Emacs.
2201 case $srcdir in
2202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2203 esac
2204 for ac_var in $ac_precious_vars; do
2205 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2206 eval ac_env_${ac_var}_value=\$${ac_var}
2207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2208 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2209 done
2212 # Report the --help message.
2214 if test "$ac_init_help" = "long"; then
2215 # Omit some internal or obsolete options to make the list less imposing.
2216 # This message is too long to be a string in the A/UX 3.1 sh.
2217 cat <<_ACEOF
2218 \`configure' configures Wine 1.9.23 to adapt to many kinds of systems.
2220 Usage: $0 [OPTION]... [VAR=VALUE]...
2222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2223 VAR=VALUE. See below for descriptions of some of the useful variables.
2225 Defaults for the options are specified in brackets.
2227 Configuration:
2228 -h, --help display this help and exit
2229 --help=short display options specific to this package
2230 --help=recursive display the short help of all the included packages
2231 -V, --version display version information and exit
2232 -q, --quiet, --silent do not print \`checking ...' messages
2233 --cache-file=FILE cache test results in FILE [disabled]
2234 -C, --config-cache alias for \`--cache-file=config.cache'
2235 -n, --no-create do not create output files
2236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2238 Installation directories:
2239 --prefix=PREFIX install architecture-independent files in PREFIX
2240 [$ac_default_prefix]
2241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2242 [PREFIX]
2244 By default, \`make install' will install all the files in
2245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2247 for instance \`--prefix=\$HOME'.
2249 For better control, use the options below.
2251 Fine tuning of the installation directories:
2252 --bindir=DIR user executables [EPREFIX/bin]
2253 --sbindir=DIR system admin executables [EPREFIX/sbin]
2254 --libexecdir=DIR program executables [EPREFIX/libexec]
2255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2258 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2259 --libdir=DIR object code libraries [EPREFIX/lib]
2260 --includedir=DIR C header files [PREFIX/include]
2261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2264 --infodir=DIR info documentation [DATAROOTDIR/info]
2265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2266 --mandir=DIR man documentation [DATAROOTDIR/man]
2267 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2268 --htmldir=DIR html documentation [DOCDIR]
2269 --dvidir=DIR dvi documentation [DOCDIR]
2270 --pdfdir=DIR pdf documentation [DOCDIR]
2271 --psdir=DIR ps documentation [DOCDIR]
2272 _ACEOF
2274 cat <<\_ACEOF
2276 X features:
2277 --x-includes=DIR X include files are in DIR
2278 --x-libraries=DIR X library files are in DIR
2280 System types:
2281 --build=BUILD configure for building on BUILD [guessed]
2282 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2283 _ACEOF
2286 if test -n "$ac_init_help"; then
2287 case $ac_init_help in
2288 short | recursive ) echo "Configuration of Wine 1.9.23:";;
2289 esac
2290 cat <<\_ACEOF
2292 Optional Features:
2293 --disable-option-checking ignore unrecognized --enable/--with options
2294 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2295 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2296 --disable-win16 do not include Win16 support
2297 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2298 binaries)
2299 --disable-tests do not build the regression tests
2300 --enable-maintainer-mode
2301 enable maintainer-specific build rules
2302 --disable-largefile omit support for large files
2304 Optional Packages:
2305 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2306 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2307 --without-alsa do not use the Alsa sound support
2308 --without-capi do not use CAPI (ISDN support)
2309 --without-cms do not use CMS (color management support)
2310 --without-coreaudio do not use the CoreAudio sound support
2311 --without-cups do not use CUPS
2312 --without-curses do not use (n)curses
2313 --without-dbus do not use DBus (dynamic device support)
2314 --without-fontconfig do not use fontconfig
2315 --without-freetype do not use the FreeType library
2316 --without-gettext do not use gettext
2317 --with-gettextpo use the GetTextPO library to rebuild po files
2318 --without-gphoto do not use gphoto (Digital Camera support)
2319 --without-glu do not use the GLU library
2320 --without-gnutls do not use GnuTLS (schannel support)
2321 --without-gsm do not use libgsm (GSM 06.10 codec support)
2322 --without-gstreamer do not use GStreamer (codecs support)
2323 --without-hal do not use HAL (dynamic device support)
2324 --without-jpeg do not use JPEG
2325 --without-ldap do not use LDAP
2326 --without-mpg123 do not use the mpg123 library
2327 --without-netapi do not use the Samba NetAPI library
2328 --without-openal do not use OpenAL
2329 --without-opencl do not use OpenCL
2330 --without-opengl do not use OpenGL
2331 --without-osmesa do not use the OSMesa library
2332 --without-oss do not use the OSS sound support
2333 --without-pcap do not use the Packet Capture library
2334 --without-png do not use PNG
2335 --without-pthread do not use the pthread library
2336 --without-pulse do not use PulseAudio sound support
2337 --without-sane do not use SANE (scanner support)
2338 --without-tiff do not use TIFF
2339 --without-udev do not use udev (plug and play support)
2340 --without-v4l do not use v4l1 (v4l support)
2341 --without-xcomposite do not use the Xcomposite extension
2342 --without-xcursor do not use the Xcursor extension
2343 --without-xinerama do not use Xinerama (multi-monitor support)
2344 --without-xinput do not use the Xinput extension
2345 --without-xinput2 do not use the Xinput 2 extension
2346 --without-xml do not use XML
2347 --without-xrandr do not use Xrandr (resolution changes)
2348 --without-xrender do not use the Xrender extension
2349 --without-xshape do not use the Xshape extension
2350 --without-xshm do not use XShm (shared memory extension)
2351 --without-xslt do not use XSLT
2352 --without-xxf86vm do not use XFree video mode extension
2353 --without-zlib do not use Zlib (data compression)
2354 --with-wine-tools=DIR use Wine tools from directory DIR
2355 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2356 --with-x use the X Window System
2358 Some influential environment variables:
2359 CC C compiler command
2360 CFLAGS C compiler flags
2361 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2362 nonstandard directory <lib dir>
2363 LIBS libraries to pass to the linker, e.g. -l<library>
2364 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2365 you have headers in a nonstandard directory <include dir>
2366 CXX C++ compiler command
2367 CXXFLAGS C++ compiler flags
2368 CPP C preprocessor
2369 XMKMF Path to xmkmf, Makefile generator for X Window System
2370 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2371 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2372 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2373 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2374 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2375 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2376 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2377 HAL_LIBS Linker flags for hal, overriding pkg-config
2378 GNUTLS_CFLAGS
2379 C compiler flags for gnutls, overriding pkg-config
2380 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2381 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2382 SANE_LIBS Linker flags for libsane, overriding pkg-config
2383 GPHOTO2_CFLAGS
2384 C compiler flags for libgphoto2, overriding pkg-config
2385 GPHOTO2_LIBS
2386 Linker flags for libgphoto2, overriding pkg-config
2387 GPHOTO2_PORT_CFLAGS
2388 C compiler flags for libgphoto2_port, overriding pkg-config
2389 GPHOTO2_PORT_LIBS
2390 Linker flags for libgphoto2_port, overriding pkg-config
2391 LCMS2_CFLAGS
2392 C compiler flags for lcms2, overriding pkg-config
2393 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2394 FREETYPE_CFLAGS
2395 C compiler flags for freetype2, overriding pkg-config
2396 FREETYPE_LIBS
2397 Linker flags for freetype2, overriding pkg-config
2398 PULSE_CFLAGS
2399 C compiler flags for libpulse, overriding pkg-config
2400 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2401 GSTREAMER_CFLAGS
2402 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2403 gstreamer-audio-1.0, overriding pkg-config
2404 GSTREAMER_LIBS
2405 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2406 gstreamer-audio-1.0, overriding pkg-config
2407 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2408 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2409 CAPI20_CFLAGS
2410 C compiler flags for capi20, overriding pkg-config
2411 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2412 FONTCONFIG_CFLAGS
2413 C compiler flags for fontconfig, overriding pkg-config
2414 FONTCONFIG_LIBS
2415 Linker flags for fontconfig, overriding pkg-config
2416 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2417 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2418 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2419 PNG_LIBS Linker flags for libpng, overriding pkg-config
2420 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2421 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2422 MPG123_CFLAGS
2423 C compiler flags for libmpg123, overriding pkg-config
2424 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2425 NETAPI_CFLAGS
2426 C compiler flags for netapi, overriding pkg-config
2427 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2429 Use these variables to override the choices made by `configure' or to help
2430 it to find libraries and programs with nonstandard names/locations.
2432 Report bugs to <wine-devel@winehq.org>.
2433 Wine home page: <http://www.winehq.org>.
2434 _ACEOF
2435 ac_status=$?
2438 if test "$ac_init_help" = "recursive"; then
2439 # If there are subdirs, report their specific --help.
2440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2441 test -d "$ac_dir" ||
2442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2443 continue
2444 ac_builddir=.
2446 case "$ac_dir" in
2447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2449 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2450 # A ".." for each directory in $ac_dir_suffix.
2451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2452 case $ac_top_builddir_sub in
2453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2455 esac ;;
2456 esac
2457 ac_abs_top_builddir=$ac_pwd
2458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2459 # for backward compatibility:
2460 ac_top_builddir=$ac_top_build_prefix
2462 case $srcdir in
2463 .) # We are building in place.
2464 ac_srcdir=.
2465 ac_top_srcdir=$ac_top_builddir_sub
2466 ac_abs_top_srcdir=$ac_pwd ;;
2467 [\\/]* | ?:[\\/]* ) # Absolute name.
2468 ac_srcdir=$srcdir$ac_dir_suffix;
2469 ac_top_srcdir=$srcdir
2470 ac_abs_top_srcdir=$srcdir ;;
2471 *) # Relative name.
2472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2473 ac_top_srcdir=$ac_top_build_prefix$srcdir
2474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2475 esac
2476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2478 cd "$ac_dir" || { ac_status=$?; continue; }
2479 # Check for guested configure.
2480 if test -f "$ac_srcdir/configure.gnu"; then
2481 echo &&
2482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2483 elif test -f "$ac_srcdir/configure"; then
2484 echo &&
2485 $SHELL "$ac_srcdir/configure" --help=recursive
2486 else
2487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2488 fi || ac_status=$?
2489 cd "$ac_pwd" || { ac_status=$?; break; }
2490 done
2493 test -n "$ac_init_help" && exit $ac_status
2494 if $ac_init_version; then
2495 cat <<\_ACEOF
2496 Wine configure 1.9.23
2497 generated by GNU Autoconf 2.69
2499 Copyright (C) 2012 Free Software Foundation, Inc.
2500 This configure script is free software; the Free Software Foundation
2501 gives unlimited permission to copy, distribute and modify it.
2502 _ACEOF
2503 exit
2506 ## ------------------------ ##
2507 ## Autoconf initialization. ##
2508 ## ------------------------ ##
2510 # ac_fn_c_try_compile LINENO
2511 # --------------------------
2512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2513 ac_fn_c_try_compile ()
2515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2516 rm -f conftest.$ac_objext
2517 if { { ac_try="$ac_compile"
2518 case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2523 $as_echo "$ac_try_echo"; } >&5
2524 (eval "$ac_compile") 2>conftest.err
2525 ac_status=$?
2526 if test -s conftest.err; then
2527 grep -v '^ *+' conftest.err >conftest.er1
2528 cat conftest.er1 >&5
2529 mv -f conftest.er1 conftest.err
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && {
2533 test -z "$ac_c_werror_flag" ||
2534 test ! -s conftest.err
2535 } && test -s conftest.$ac_objext; then :
2536 ac_retval=0
2537 else
2538 $as_echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2541 ac_retval=1
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2544 as_fn_set_status $ac_retval
2546 } # ac_fn_c_try_compile
2548 # ac_fn_cxx_try_compile LINENO
2549 # ----------------------------
2550 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2551 ac_fn_cxx_try_compile ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 rm -f conftest.$ac_objext
2555 if { { ac_try="$ac_compile"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_compile") 2>conftest.err
2563 ac_status=$?
2564 if test -s conftest.err; then
2565 grep -v '^ *+' conftest.err >conftest.er1
2566 cat conftest.er1 >&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && {
2571 test -z "$ac_cxx_werror_flag" ||
2572 test ! -s conftest.err
2573 } && test -s conftest.$ac_objext; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=1
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_cxx_try_compile
2586 # ac_fn_c_try_link LINENO
2587 # -----------------------
2588 # Try to link conftest.$ac_ext, and return whether this succeeded.
2589 ac_fn_c_try_link ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 rm -f conftest.$ac_objext conftest$ac_exeext
2593 if { { ac_try="$ac_link"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599 $as_echo "$ac_try_echo"; } >&5
2600 (eval "$ac_link") 2>conftest.err
2601 ac_status=$?
2602 if test -s conftest.err; then
2603 grep -v '^ *+' conftest.err >conftest.er1
2604 cat conftest.er1 >&5
2605 mv -f conftest.er1 conftest.err
2607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2608 test $ac_status = 0; } && {
2609 test -z "$ac_c_werror_flag" ||
2610 test ! -s conftest.err
2611 } && test -s conftest$ac_exeext && {
2612 test "$cross_compiling" = yes ||
2613 test -x conftest$ac_exeext
2614 }; then :
2615 ac_retval=0
2616 else
2617 $as_echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2620 ac_retval=1
2622 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2623 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2624 # interfere with the next link command; also delete a directory that is
2625 # left behind by Apple's compiler. We do this before executing the actions.
2626 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2628 as_fn_set_status $ac_retval
2630 } # ac_fn_c_try_link
2632 # ac_fn_c_try_cpp LINENO
2633 # ----------------------
2634 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2635 ac_fn_c_try_cpp ()
2637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2638 if { { ac_try="$ac_cpp conftest.$ac_ext"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2646 ac_status=$?
2647 if test -s conftest.err; then
2648 grep -v '^ *+' conftest.err >conftest.er1
2649 cat conftest.er1 >&5
2650 mv -f conftest.er1 conftest.err
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } > conftest.i && {
2654 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2655 test ! -s conftest.err
2656 }; then :
2657 ac_retval=0
2658 else
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2662 ac_retval=1
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 as_fn_set_status $ac_retval
2667 } # ac_fn_c_try_cpp
2669 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2670 # -------------------------------------------------------
2671 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2672 # the include files in INCLUDES and setting the cache variable VAR
2673 # accordingly.
2674 ac_fn_c_check_header_mongrel ()
2676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677 if eval \${$3+:} false; then :
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2679 $as_echo_n "checking for $2... " >&6; }
2680 if eval \${$3+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 eval ac_res=\$$3
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2686 else
2687 # Is the header compilable?
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2689 $as_echo_n "checking $2 usability... " >&6; }
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2693 #include <$2>
2694 _ACEOF
2695 if ac_fn_c_try_compile "$LINENO"; then :
2696 ac_header_compiler=yes
2697 else
2698 ac_header_compiler=no
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2702 $as_echo "$ac_header_compiler" >&6; }
2704 # Is the header present?
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2706 $as_echo_n "checking $2 presence... " >&6; }
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2709 #include <$2>
2710 _ACEOF
2711 if ac_fn_c_try_cpp "$LINENO"; then :
2712 ac_header_preproc=yes
2713 else
2714 ac_header_preproc=no
2716 rm -f conftest.err conftest.i conftest.$ac_ext
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2718 $as_echo "$ac_header_preproc" >&6; }
2720 # So? What about this header?
2721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2722 yes:no: )
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2724 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2726 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2728 no:yes:* )
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2730 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2732 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2734 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2736 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2739 ( $as_echo "## ------------------------------------ ##
2740 ## Report this to wine-devel@winehq.org ##
2741 ## ------------------------------------ ##"
2742 ) | sed "s/^/$as_me: WARNING: /" >&2
2744 esac
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2746 $as_echo_n "checking for $2... " >&6; }
2747 if eval \${$3+:} false; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 eval "$3=\$ac_header_compiler"
2752 eval ac_res=\$$3
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2754 $as_echo "$ac_res" >&6; }
2756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 } # ac_fn_c_check_header_mongrel
2760 # ac_fn_c_try_run LINENO
2761 # ----------------------
2762 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2763 # that executables *can* be run.
2764 ac_fn_c_try_run ()
2766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2767 if { { ac_try="$ac_link"
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_link") 2>&5
2775 ac_status=$?
2776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2778 { { case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 $as_echo "$ac_try_echo"; } >&5
2784 (eval "$ac_try") 2>&5
2785 ac_status=$?
2786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; }; }; then :
2788 ac_retval=0
2789 else
2790 $as_echo "$as_me: program exited with status $ac_status" >&5
2791 $as_echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2794 ac_retval=$ac_status
2796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 as_fn_set_status $ac_retval
2800 } # ac_fn_c_try_run
2802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2803 # -------------------------------------------------------
2804 # Tests whether HEADER exists and can be compiled using the include files in
2805 # INCLUDES, setting the cache variable VAR accordingly.
2806 ac_fn_c_check_header_compile ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 $as_echo_n "checking for $2... " >&6; }
2811 if eval \${$3+:} false; then :
2812 $as_echo_n "(cached) " >&6
2813 else
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2817 #include <$2>
2818 _ACEOF
2819 if ac_fn_c_try_compile "$LINENO"; then :
2820 eval "$3=yes"
2821 else
2822 eval "$3=no"
2824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 eval ac_res=\$$3
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2828 $as_echo "$ac_res" >&6; }
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 } # ac_fn_c_check_header_compile
2833 # ac_fn_c_check_func LINENO FUNC VAR
2834 # ----------------------------------
2835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2836 ac_fn_c_check_func ()
2838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2840 $as_echo_n "checking for $2... " >&6; }
2841 if eval \${$3+:} false; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2848 #define $2 innocuous_$2
2850 /* System header to define __stub macros and hopefully few prototypes,
2851 which can conflict with char $2 (); below.
2852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2853 <limits.h> exists even on freestanding compilers. */
2855 #ifdef __STDC__
2856 # include <limits.h>
2857 #else
2858 # include <assert.h>
2859 #endif
2861 #undef $2
2863 /* Override any GCC internal prototype to avoid an error.
2864 Use char because int might match the return type of a GCC
2865 builtin and then its argument prototype would still apply. */
2866 #ifdef __cplusplus
2867 extern "C"
2868 #endif
2869 char $2 ();
2870 /* The GNU C library defines this for functions which it implements
2871 to always fail with ENOSYS. Some functions are actually named
2872 something starting with __ and the normal name is an alias. */
2873 #if defined __stub_$2 || defined __stub___$2
2874 choke me
2875 #endif
2878 main ()
2880 return $2 ();
2882 return 0;
2884 _ACEOF
2885 if ac_fn_c_try_link "$LINENO"; then :
2886 eval "$3=yes"
2887 else
2888 eval "$3=no"
2890 rm -f core conftest.err conftest.$ac_objext \
2891 conftest$ac_exeext conftest.$ac_ext
2893 eval ac_res=\$$3
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2895 $as_echo "$ac_res" >&6; }
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2898 } # ac_fn_c_check_func
2900 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2901 # ----------------------------------------------------
2902 # Tries to find if the field MEMBER exists in type AGGR, after including
2903 # INCLUDES, setting cache variable VAR accordingly.
2904 ac_fn_c_check_member ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2908 $as_echo_n "checking for $2.$3... " >&6; }
2909 if eval \${$4+:} false; then :
2910 $as_echo_n "(cached) " >&6
2911 else
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2916 main ()
2918 static $2 ac_aggr;
2919 if (ac_aggr.$3)
2920 return 0;
2922 return 0;
2924 _ACEOF
2925 if ac_fn_c_try_compile "$LINENO"; then :
2926 eval "$4=yes"
2927 else
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2932 main ()
2934 static $2 ac_aggr;
2935 if (sizeof ac_aggr.$3)
2936 return 0;
2938 return 0;
2940 _ACEOF
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 eval "$4=yes"
2943 else
2944 eval "$4=no"
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 eval ac_res=\$$4
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2955 } # ac_fn_c_check_member
2957 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2958 # -------------------------------------------
2959 # Tests whether TYPE exists after having included INCLUDES, setting cache
2960 # variable VAR accordingly.
2961 ac_fn_c_check_type ()
2963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2965 $as_echo_n "checking for $2... " >&6; }
2966 if eval \${$3+:} false; then :
2967 $as_echo_n "(cached) " >&6
2968 else
2969 eval "$3=no"
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2974 main ()
2976 if (sizeof ($2))
2977 return 0;
2979 return 0;
2981 _ACEOF
2982 if ac_fn_c_try_compile "$LINENO"; then :
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2987 main ()
2989 if (sizeof (($2)))
2990 return 0;
2992 return 0;
2994 _ACEOF
2995 if ac_fn_c_try_compile "$LINENO"; then :
2997 else
2998 eval "$3=yes"
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 eval ac_res=\$$3
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3006 $as_echo "$ac_res" >&6; }
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 } # ac_fn_c_check_type
3010 cat >config.log <<_ACEOF
3011 This file contains any messages produced by compilers while
3012 running configure, to aid debugging if configure makes a mistake.
3014 It was created by Wine $as_me 1.9.23, which was
3015 generated by GNU Autoconf 2.69. Invocation command line was
3017 $ $0 $@
3019 _ACEOF
3020 exec 5>>config.log
3022 cat <<_ASUNAME
3023 ## --------- ##
3024 ## Platform. ##
3025 ## --------- ##
3027 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3028 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3029 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3030 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3031 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3033 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3034 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3036 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3037 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3038 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3039 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3040 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3041 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3042 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3044 _ASUNAME
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 $as_echo "PATH: $as_dir"
3052 done
3053 IFS=$as_save_IFS
3055 } >&5
3057 cat >&5 <<_ACEOF
3060 ## ----------- ##
3061 ## Core tests. ##
3062 ## ----------- ##
3064 _ACEOF
3067 # Keep a trace of the command line.
3068 # Strip out --no-create and --no-recursion so they do not pile up.
3069 # Strip out --silent because we don't want to record it for future runs.
3070 # Also quote any args containing shell meta-characters.
3071 # Make two passes to allow for proper duplicate-argument suppression.
3072 ac_configure_args=
3073 ac_configure_args0=
3074 ac_configure_args1=
3075 ac_must_keep_next=false
3076 for ac_pass in 1 2
3078 for ac_arg
3080 case $ac_arg in
3081 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3083 | -silent | --silent | --silen | --sile | --sil)
3084 continue ;;
3085 *\'*)
3086 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3087 esac
3088 case $ac_pass in
3089 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3091 as_fn_append ac_configure_args1 " '$ac_arg'"
3092 if test $ac_must_keep_next = true; then
3093 ac_must_keep_next=false # Got value, back to normal.
3094 else
3095 case $ac_arg in
3096 *=* | --config-cache | -C | -disable-* | --disable-* \
3097 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3098 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3099 | -with-* | --with-* | -without-* | --without-* | --x)
3100 case "$ac_configure_args0 " in
3101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3102 esac
3104 -* ) ac_must_keep_next=true ;;
3105 esac
3107 as_fn_append ac_configure_args " '$ac_arg'"
3109 esac
3110 done
3111 done
3112 { ac_configure_args0=; unset ac_configure_args0;}
3113 { ac_configure_args1=; unset ac_configure_args1;}
3115 # When interrupted or exit'd, cleanup temporary files, and complete
3116 # config.log. We remove comments because anyway the quotes in there
3117 # would cause problems or look ugly.
3118 # WARNING: Use '\'' to represent an apostrophe within the trap.
3119 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3120 trap 'exit_status=$?
3121 # Save into config.log some information that might help in debugging.
3123 echo
3125 $as_echo "## ---------------- ##
3126 ## Cache variables. ##
3127 ## ---------------- ##"
3128 echo
3129 # The following way of writing the cache mishandles newlines in values,
3131 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3132 eval ac_val=\$$ac_var
3133 case $ac_val in #(
3134 *${as_nl}*)
3135 case $ac_var in #(
3136 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3137 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3138 esac
3139 case $ac_var in #(
3140 _ | IFS | as_nl) ;; #(
3141 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3142 *) { eval $ac_var=; unset $ac_var;} ;;
3143 esac ;;
3144 esac
3145 done
3146 (set) 2>&1 |
3147 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3148 *${as_nl}ac_space=\ *)
3149 sed -n \
3150 "s/'\''/'\''\\\\'\'''\''/g;
3151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3152 ;; #(
3154 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3156 esac |
3157 sort
3159 echo
3161 $as_echo "## ----------------- ##
3162 ## Output variables. ##
3163 ## ----------------- ##"
3164 echo
3165 for ac_var in $ac_subst_vars
3167 eval ac_val=\$$ac_var
3168 case $ac_val in
3169 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3170 esac
3171 $as_echo "$ac_var='\''$ac_val'\''"
3172 done | sort
3173 echo
3175 if test -n "$ac_subst_files"; then
3176 $as_echo "## ------------------- ##
3177 ## File substitutions. ##
3178 ## ------------------- ##"
3179 echo
3180 for ac_var in $ac_subst_files
3182 eval ac_val=\$$ac_var
3183 case $ac_val in
3184 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3185 esac
3186 $as_echo "$ac_var='\''$ac_val'\''"
3187 done | sort
3188 echo
3191 if test -s confdefs.h; then
3192 $as_echo "## ----------- ##
3193 ## confdefs.h. ##
3194 ## ----------- ##"
3195 echo
3196 cat confdefs.h
3197 echo
3199 test "$ac_signal" != 0 &&
3200 $as_echo "$as_me: caught signal $ac_signal"
3201 $as_echo "$as_me: exit $exit_status"
3202 } >&5
3203 rm -f core *.core core.conftest.* &&
3204 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3205 exit $exit_status
3207 for ac_signal in 1 2 13 15; do
3208 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3209 done
3210 ac_signal=0
3212 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3213 rm -f -r conftest* confdefs.h
3215 $as_echo "/* confdefs.h */" > confdefs.h
3217 # Predefined preprocessor variables.
3219 cat >>confdefs.h <<_ACEOF
3220 #define PACKAGE_NAME "$PACKAGE_NAME"
3221 _ACEOF
3223 cat >>confdefs.h <<_ACEOF
3224 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3225 _ACEOF
3227 cat >>confdefs.h <<_ACEOF
3228 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3229 _ACEOF
3231 cat >>confdefs.h <<_ACEOF
3232 #define PACKAGE_STRING "$PACKAGE_STRING"
3233 _ACEOF
3235 cat >>confdefs.h <<_ACEOF
3236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3237 _ACEOF
3239 cat >>confdefs.h <<_ACEOF
3240 #define PACKAGE_URL "$PACKAGE_URL"
3241 _ACEOF
3244 # Let the site file select an alternate cache file if it wants to.
3245 # Prefer an explicitly selected file to automatically selected ones.
3246 ac_site_file1=NONE
3247 ac_site_file2=NONE
3248 if test -n "$CONFIG_SITE"; then
3249 # We do not want a PATH search for config.site.
3250 case $CONFIG_SITE in #((
3251 -*) ac_site_file1=./$CONFIG_SITE;;
3252 */*) ac_site_file1=$CONFIG_SITE;;
3253 *) ac_site_file1=./$CONFIG_SITE;;
3254 esac
3255 elif test "x$prefix" != xNONE; then
3256 ac_site_file1=$prefix/share/config.site
3257 ac_site_file2=$prefix/etc/config.site
3258 else
3259 ac_site_file1=$ac_default_prefix/share/config.site
3260 ac_site_file2=$ac_default_prefix/etc/config.site
3262 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3264 test "x$ac_site_file" = xNONE && continue
3265 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3267 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3268 sed 's/^/| /' "$ac_site_file" >&5
3269 . "$ac_site_file" \
3270 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "failed to load site script $ac_site_file
3273 See \`config.log' for more details" "$LINENO" 5; }
3275 done
3277 if test -r "$cache_file"; then
3278 # Some versions of bash will fail to source /dev/null (special files
3279 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3280 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3282 $as_echo "$as_me: loading cache $cache_file" >&6;}
3283 case $cache_file in
3284 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3285 *) . "./$cache_file";;
3286 esac
3288 else
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3290 $as_echo "$as_me: creating cache $cache_file" >&6;}
3291 >$cache_file
3294 # Check that the precious variables saved in the cache have kept the same
3295 # value.
3296 ac_cache_corrupted=false
3297 for ac_var in $ac_precious_vars; do
3298 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3299 eval ac_new_set=\$ac_env_${ac_var}_set
3300 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3301 eval ac_new_val=\$ac_env_${ac_var}_value
3302 case $ac_old_set,$ac_new_set in
3303 set,)
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3305 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3306 ac_cache_corrupted=: ;;
3307 ,set)
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3309 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3310 ac_cache_corrupted=: ;;
3311 ,);;
3313 if test "x$ac_old_val" != "x$ac_new_val"; then
3314 # differences in whitespace do not lead to failure.
3315 ac_old_val_w=`echo x $ac_old_val`
3316 ac_new_val_w=`echo x $ac_new_val`
3317 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3319 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3320 ac_cache_corrupted=:
3321 else
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3323 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3324 eval $ac_var=\$ac_old_val
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3327 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3329 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3330 fi;;
3331 esac
3332 # Pass precious variables to config.status.
3333 if test "$ac_new_set" = set; then
3334 case $ac_new_val in
3335 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3336 *) ac_arg=$ac_var=$ac_new_val ;;
3337 esac
3338 case " $ac_configure_args " in
3339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3340 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3341 esac
3343 done
3344 if $ac_cache_corrupted; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3348 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3349 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3351 ## -------------------- ##
3352 ## Main body of script. ##
3353 ## -------------------- ##
3355 ac_ext=c
3356 ac_cpp='$CPP $CPPFLAGS'
3357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363 ac_config_headers="$ac_config_headers include/config.h"
3365 ac_aux_dir=
3366 for ac_dir in tools "$srcdir"/tools; do
3367 if test -f "$ac_dir/install-sh"; then
3368 ac_aux_dir=$ac_dir
3369 ac_install_sh="$ac_aux_dir/install-sh -c"
3370 break
3371 elif test -f "$ac_dir/install.sh"; then
3372 ac_aux_dir=$ac_dir
3373 ac_install_sh="$ac_aux_dir/install.sh -c"
3374 break
3375 elif test -f "$ac_dir/shtool"; then
3376 ac_aux_dir=$ac_dir
3377 ac_install_sh="$ac_aux_dir/shtool install -c"
3378 break
3380 done
3381 if test -z "$ac_aux_dir"; then
3382 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3385 # These three variables are undocumented and unsupported,
3386 # and are intended to be withdrawn in a future Autoconf release.
3387 # They can cause serious problems if a builder's source tree is in a directory
3388 # whose full name contains unusual characters.
3389 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3390 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3391 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3395 libwine_version="1.0"
3399 # Check whether --enable-win16 was given.
3400 if test "${enable_win16+set}" = set; then :
3401 enableval=$enable_win16;
3404 # Check whether --enable-win64 was given.
3405 if test "${enable_win64+set}" = set; then :
3406 enableval=$enable_win64;
3409 # Check whether --enable-tests was given.
3410 if test "${enable_tests+set}" = set; then :
3411 enableval=$enable_tests;
3414 # Check whether --enable-maintainer-mode was given.
3415 if test "${enable_maintainer_mode+set}" = set; then :
3416 enableval=$enable_maintainer_mode;
3421 # Check whether --with-alsa was given.
3422 if test "${with_alsa+set}" = set; then :
3423 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3427 # Check whether --with-capi was given.
3428 if test "${with_capi+set}" = set; then :
3429 withval=$with_capi;
3433 # Check whether --with-cms was given.
3434 if test "${with_cms+set}" = set; then :
3435 withval=$with_cms;
3439 # Check whether --with-coreaudio was given.
3440 if test "${with_coreaudio+set}" = set; then :
3441 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3445 # Check whether --with-cups was given.
3446 if test "${with_cups+set}" = set; then :
3447 withval=$with_cups;
3451 # Check whether --with-curses was given.
3452 if test "${with_curses+set}" = set; then :
3453 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3457 # Check whether --with-dbus was given.
3458 if test "${with_dbus+set}" = set; then :
3459 withval=$with_dbus;
3463 # Check whether --with-fontconfig was given.
3464 if test "${with_fontconfig+set}" = set; then :
3465 withval=$with_fontconfig;
3469 # Check whether --with-freetype was given.
3470 if test "${with_freetype+set}" = set; then :
3471 withval=$with_freetype;
3475 # Check whether --with-gettext was given.
3476 if test "${with_gettext+set}" = set; then :
3477 withval=$with_gettext;
3481 # Check whether --with-gettextpo was given.
3482 if test "${with_gettextpo+set}" = set; then :
3483 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3487 # Check whether --with-gphoto was given.
3488 if test "${with_gphoto+set}" = set; then :
3489 withval=$with_gphoto;
3493 # Check whether --with-glu was given.
3494 if test "${with_glu+set}" = set; then :
3495 withval=$with_glu;
3499 # Check whether --with-gnutls was given.
3500 if test "${with_gnutls+set}" = set; then :
3501 withval=$with_gnutls;
3505 # Check whether --with-gsm was given.
3506 if test "${with_gsm+set}" = set; then :
3507 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3511 # Check whether --with-gstreamer was given.
3512 if test "${with_gstreamer+set}" = set; then :
3513 withval=$with_gstreamer;
3517 # Check whether --with-hal was given.
3518 if test "${with_hal+set}" = set; then :
3519 withval=$with_hal;
3523 # Check whether --with-jpeg was given.
3524 if test "${with_jpeg+set}" = set; then :
3525 withval=$with_jpeg;
3529 # Check whether --with-ldap was given.
3530 if test "${with_ldap+set}" = set; then :
3531 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3535 # Check whether --with-mpg123 was given.
3536 if test "${with_mpg123+set}" = set; then :
3537 withval=$with_mpg123;
3541 # Check whether --with-netapi was given.
3542 if test "${with_netapi+set}" = set; then :
3543 withval=$with_netapi;
3547 # Check whether --with-openal was given.
3548 if test "${with_openal+set}" = set; then :
3549 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3553 # Check whether --with-opencl was given.
3554 if test "${with_opencl+set}" = set; then :
3555 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3559 # Check whether --with-opengl was given.
3560 if test "${with_opengl+set}" = set; then :
3561 withval=$with_opengl;
3565 # Check whether --with-osmesa was given.
3566 if test "${with_osmesa+set}" = set; then :
3567 withval=$with_osmesa;
3571 # Check whether --with-oss was given.
3572 if test "${with_oss+set}" = set; then :
3573 withval=$with_oss;
3577 # Check whether --with-pcap was given.
3578 if test "${with_pcap+set}" = set; then :
3579 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3583 # Check whether --with-png was given.
3584 if test "${with_png+set}" = set; then :
3585 withval=$with_png;
3589 # Check whether --with-pthread was given.
3590 if test "${with_pthread+set}" = set; then :
3591 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3595 # Check whether --with-pulse was given.
3596 if test "${with_pulse+set}" = set; then :
3597 withval=$with_pulse;
3601 # Check whether --with-sane was given.
3602 if test "${with_sane+set}" = set; then :
3603 withval=$with_sane;
3607 # Check whether --with-tiff was given.
3608 if test "${with_tiff+set}" = set; then :
3609 withval=$with_tiff;
3613 # Check whether --with-udev was given.
3614 if test "${with_udev+set}" = set; then :
3615 withval=$with_udev;
3619 # Check whether --with-v4l was given.
3620 if test "${with_v4l+set}" = set; then :
3621 withval=$with_v4l;
3625 # Check whether --with-xcomposite was given.
3626 if test "${with_xcomposite+set}" = set; then :
3627 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3631 # Check whether --with-xcursor was given.
3632 if test "${with_xcursor+set}" = set; then :
3633 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3637 # Check whether --with-xinerama was given.
3638 if test "${with_xinerama+set}" = set; then :
3639 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3643 # Check whether --with-xinput was given.
3644 if test "${with_xinput+set}" = set; then :
3645 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3649 # Check whether --with-xinput2 was given.
3650 if test "${with_xinput2+set}" = set; then :
3651 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3655 # Check whether --with-xml was given.
3656 if test "${with_xml+set}" = set; then :
3657 withval=$with_xml;
3661 # Check whether --with-xrandr was given.
3662 if test "${with_xrandr+set}" = set; then :
3663 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3667 # Check whether --with-xrender was given.
3668 if test "${with_xrender+set}" = set; then :
3669 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3673 # Check whether --with-xshape was given.
3674 if test "${with_xshape+set}" = set; then :
3675 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3679 # Check whether --with-xshm was given.
3680 if test "${with_xshm+set}" = set; then :
3681 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3685 # Check whether --with-xslt was given.
3686 if test "${with_xslt+set}" = set; then :
3687 withval=$with_xslt;
3691 # Check whether --with-xxf86vm was given.
3692 if test "${with_xxf86vm+set}" = set; then :
3693 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
3697 # Check whether --with-zlib was given.
3698 if test "${with_zlib+set}" = set; then :
3699 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3704 # Check whether --with-wine-tools was given.
3705 if test "${with_wine_tools+set}" = set; then :
3706 withval=$with_wine_tools;
3710 # Check whether --with-wine64 was given.
3711 if test "${with_wine64+set}" = set; then :
3712 withval=$with_wine64;
3716 # Make sure we can run config.sub.
3717 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3718 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3721 $as_echo_n "checking build system type... " >&6; }
3722 if ${ac_cv_build+:} false; then :
3723 $as_echo_n "(cached) " >&6
3724 else
3725 ac_build_alias=$build_alias
3726 test "x$ac_build_alias" = x &&
3727 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3728 test "x$ac_build_alias" = x &&
3729 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3730 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3735 $as_echo "$ac_cv_build" >&6; }
3736 case $ac_cv_build in
3737 *-*-*) ;;
3738 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3739 esac
3740 build=$ac_cv_build
3741 ac_save_IFS=$IFS; IFS='-'
3742 set x $ac_cv_build
3743 shift
3744 build_cpu=$1
3745 build_vendor=$2
3746 shift; shift
3747 # Remember, the first character of IFS is used to create $*,
3748 # except with old shells:
3749 build_os=$*
3750 IFS=$ac_save_IFS
3751 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3755 $as_echo_n "checking host system type... " >&6; }
3756 if ${ac_cv_host+:} false; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test "x$host_alias" = x; then
3760 ac_cv_host=$ac_cv_build
3761 else
3762 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3768 $as_echo "$ac_cv_host" >&6; }
3769 case $ac_cv_host in
3770 *-*-*) ;;
3771 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3772 esac
3773 host=$ac_cv_host
3774 ac_save_IFS=$IFS; IFS='-'
3775 set x $ac_cv_host
3776 shift
3777 host_cpu=$1
3778 host_vendor=$2
3779 shift; shift
3780 # Remember, the first character of IFS is used to create $*,
3781 # except with old shells:
3782 host_os=$*
3783 IFS=$ac_save_IFS
3784 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3788 case "$srcdir" in
3789 .) ;;
3790 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3791 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3792 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3793 fi ;;
3794 esac
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3799 set x ${MAKE-make}
3800 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3801 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 cat >conftest.make <<\_ACEOF
3805 SHELL = /bin/sh
3806 all:
3807 @echo '@@@%%%=$(MAKE)=@@@%%%'
3808 _ACEOF
3809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3811 *@@@%%%=?*=@@@%%%*)
3812 eval ac_cv_prog_make_${ac_make}_set=yes;;
3814 eval ac_cv_prog_make_${ac_make}_set=no;;
3815 esac
3816 rm -f conftest.make
3818 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3820 $as_echo "yes" >&6; }
3821 SET_MAKE=
3822 else
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 SET_MAKE="MAKE=${MAKE-make}"
3828 ac_ext=c
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 if test -n "$ac_tool_prefix"; then
3834 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3835 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_CC+:} false; then :
3839 $as_echo_n "(cached) " >&6
3840 else
3841 if test -n "$CC"; then
3842 ac_cv_prog_CC="$CC" # Let the user override the test.
3843 else
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 for as_dir in $PATH
3847 IFS=$as_save_IFS
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 break 2
3855 done
3856 done
3857 IFS=$as_save_IFS
3861 CC=$ac_cv_prog_CC
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3864 $as_echo "$CC" >&6; }
3865 else
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3872 if test -z "$ac_cv_prog_CC"; then
3873 ac_ct_CC=$CC
3874 # Extract the first word of "gcc", so it can be a program name with args.
3875 set dummy gcc; ac_word=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 if test -n "$ac_ct_CC"; then
3882 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_CC="gcc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3897 IFS=$as_save_IFS
3901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3902 if test -n "$ac_ct_CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3904 $as_echo "$ac_ct_CC" >&6; }
3905 else
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3921 else
3922 CC="$ac_cv_prog_CC"
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3928 set dummy ${ac_tool_prefix}cc; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_CC+:} false; then :
3932 $as_echo_n "(cached) " >&6
3933 else
3934 if test -n "$CC"; then
3935 ac_cv_prog_CC="$CC" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3940 IFS=$as_save_IFS
3941 test -z "$as_dir" && as_dir=.
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944 ac_cv_prog_CC="${ac_tool_prefix}cc"
3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 break 2
3948 done
3949 done
3950 IFS=$as_save_IFS
3954 CC=$ac_cv_prog_CC
3955 if test -n "$CC"; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3957 $as_echo "$CC" >&6; }
3958 else
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3966 if test -z "$CC"; then
3967 # Extract the first word of "cc", so it can be a program name with args.
3968 set dummy cc; ac_word=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if ${ac_cv_prog_CC+:} false; then :
3972 $as_echo_n "(cached) " >&6
3973 else
3974 if test -n "$CC"; then
3975 ac_cv_prog_CC="$CC" # Let the user override the test.
3976 else
3977 ac_prog_rejected=no
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH
3981 IFS=$as_save_IFS
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3986 ac_prog_rejected=yes
3987 continue
3989 ac_cv_prog_CC="cc"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 break 2
3993 done
3994 done
3995 IFS=$as_save_IFS
3997 if test $ac_prog_rejected = yes; then
3998 # We found a bogon in the path, so make sure we never use it.
3999 set dummy $ac_cv_prog_CC
4000 shift
4001 if test $# != 0; then
4002 # We chose a different compiler from the bogus one.
4003 # However, it has the same basename, so the bogon will be chosen
4004 # first if we set CC to just the basename; use the full file name.
4005 shift
4006 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4011 CC=$ac_cv_prog_CC
4012 if test -n "$CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4014 $as_echo "$CC" >&6; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4022 if test -z "$CC"; then
4023 if test -n "$ac_tool_prefix"; then
4024 for ac_prog in cl.exe
4026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false; then :
4031 $as_echo_n "(cached) " >&6
4032 else
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC="$CC" # Let the user override the test.
4035 else
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4039 IFS=$as_save_IFS
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4047 done
4048 done
4049 IFS=$as_save_IFS
4053 CC=$ac_cv_prog_CC
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4057 else
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$CC" && break
4064 done
4066 if test -z "$CC"; then
4067 ac_ct_CC=$CC
4068 for ac_prog in cl.exe
4070 # Extract the first word of "$ac_prog", so it can be a program name with args.
4071 set dummy $ac_prog; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 if test -n "$ac_ct_CC"; then
4078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4079 else
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 for as_dir in $PATH
4083 IFS=$as_save_IFS
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_ac_ct_CC="$ac_prog"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 break 2
4091 done
4092 done
4093 IFS=$as_save_IFS
4097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 $as_echo "$ac_ct_CC" >&6; }
4101 else
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4107 test -n "$ac_ct_CC" && break
4108 done
4110 if test "x$ac_ct_CC" = x; then
4111 CC=""
4112 else
4113 case $cross_compiling:$ac_tool_warned in
4114 yes:)
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned=yes ;;
4118 esac
4119 CC=$ac_ct_CC
4126 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error $? "no acceptable C compiler found in \$PATH
4129 See \`config.log' for more details" "$LINENO" 5; }
4131 # Provide some information about the compiler.
4132 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4133 set X $ac_compile
4134 ac_compiler=$2
4135 for ac_option in --version -v -V -qversion; do
4136 { { ac_try="$ac_compiler $ac_option >&5"
4137 case "(($ac_try" in
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4140 esac
4141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4142 $as_echo "$ac_try_echo"; } >&5
4143 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4144 ac_status=$?
4145 if test -s conftest.err; then
4146 sed '10a\
4147 ... rest of stderr output deleted ...
4148 10q' conftest.err >conftest.er1
4149 cat conftest.er1 >&5
4151 rm -f conftest.er1 conftest.err
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }
4154 done
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4164 return 0;
4166 _ACEOF
4167 ac_clean_files_save=$ac_clean_files
4168 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4169 # Try to create an executable without -o first, disregard a.out.
4170 # It will help us diagnose broken compilers, and finding out an intuition
4171 # of exeext.
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4173 $as_echo_n "checking whether the C compiler works... " >&6; }
4174 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4176 # The possible output files:
4177 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4179 ac_rmfiles=
4180 for ac_file in $ac_files
4182 case $ac_file in
4183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4184 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4185 esac
4186 done
4187 rm -f $ac_rmfiles
4189 if { { ac_try="$ac_link_default"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4195 $as_echo "$ac_try_echo"; } >&5
4196 (eval "$ac_link_default") 2>&5
4197 ac_status=$?
4198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4199 test $ac_status = 0; }; then :
4200 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4201 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4202 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4203 # so that the user can short-circuit this test for compilers unknown to
4204 # Autoconf.
4205 for ac_file in $ac_files ''
4207 test -f "$ac_file" || continue
4208 case $ac_file in
4209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4211 [ab].out )
4212 # We found the default executable, but exeext='' is most
4213 # certainly right.
4214 break;;
4215 *.* )
4216 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4217 then :; else
4218 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4220 # We set ac_cv_exeext here because the later test for it is not
4221 # safe: cross compilers may not add the suffix if given an `-o'
4222 # argument, so we may need to know it at that point already.
4223 # Even if this section looks crufty: it has the advantage of
4224 # actually working.
4225 break;;
4227 break;;
4228 esac
4229 done
4230 test "$ac_cv_exeext" = no && ac_cv_exeext=
4232 else
4233 ac_file=''
4235 if test -z "$ac_file"; then :
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4238 $as_echo "$as_me: failed program was:" >&5
4239 sed 's/^/| /' conftest.$ac_ext >&5
4241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4243 as_fn_error 77 "C compiler cannot create executables
4244 See \`config.log' for more details" "$LINENO" 5; }
4245 else
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4247 $as_echo "yes" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4250 $as_echo_n "checking for C compiler default output file name... " >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4252 $as_echo "$ac_file" >&6; }
4253 ac_exeext=$ac_cv_exeext
4255 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4256 ac_clean_files=$ac_clean_files_save
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4258 $as_echo_n "checking for suffix of executables... " >&6; }
4259 if { { ac_try="$ac_link"
4260 case "(($ac_try" in
4261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262 *) ac_try_echo=$ac_try;;
4263 esac
4264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4265 $as_echo "$ac_try_echo"; } >&5
4266 (eval "$ac_link") 2>&5
4267 ac_status=$?
4268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4269 test $ac_status = 0; }; then :
4270 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4271 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4272 # work properly (i.e., refer to `conftest.exe'), while it won't with
4273 # `rm'.
4274 for ac_file in conftest.exe conftest conftest.*; do
4275 test -f "$ac_file" || continue
4276 case $ac_file in
4277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4278 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4279 break;;
4280 * ) break;;
4281 esac
4282 done
4283 else
4284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4287 See \`config.log' for more details" "$LINENO" 5; }
4289 rm -f conftest conftest$ac_cv_exeext
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4291 $as_echo "$ac_cv_exeext" >&6; }
4293 rm -f conftest.$ac_ext
4294 EXEEXT=$ac_cv_exeext
4295 ac_exeext=$EXEEXT
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4298 #include <stdio.h>
4300 main ()
4302 FILE *f = fopen ("conftest.out", "w");
4303 return ferror (f) || fclose (f) != 0;
4306 return 0;
4308 _ACEOF
4309 ac_clean_files="$ac_clean_files conftest.out"
4310 # Check that the compiler produces executables we can run. If not, either
4311 # the compiler is broken, or we cross compile.
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4313 $as_echo_n "checking whether we are cross compiling... " >&6; }
4314 if test "$cross_compiling" != yes; then
4315 { { ac_try="$ac_link"
4316 case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4319 esac
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_link") 2>&5
4323 ac_status=$?
4324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4325 test $ac_status = 0; }
4326 if { ac_try='./conftest$ac_cv_exeext'
4327 { { case "(($ac_try" in
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4330 esac
4331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 $as_echo "$ac_try_echo"; } >&5
4333 (eval "$ac_try") 2>&5
4334 ac_status=$?
4335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 test $ac_status = 0; }; }; then
4337 cross_compiling=no
4338 else
4339 if test "$cross_compiling" = maybe; then
4340 cross_compiling=yes
4341 else
4342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4344 as_fn_error $? "cannot run C compiled programs.
4345 If you meant to cross compile, use \`--host'.
4346 See \`config.log' for more details" "$LINENO" 5; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4351 $as_echo "$cross_compiling" >&6; }
4353 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4354 ac_clean_files=$ac_clean_files_save
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4356 $as_echo_n "checking for suffix of object files... " >&6; }
4357 if ${ac_cv_objext+:} false; then :
4358 $as_echo_n "(cached) " >&6
4359 else
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 main ()
4368 return 0;
4370 _ACEOF
4371 rm -f conftest.o conftest.obj
4372 if { { ac_try="$ac_compile"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_compile") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 for ac_file in conftest.o conftest.obj conftest.*; do
4384 test -f "$ac_file" || continue;
4385 case $ac_file in
4386 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4387 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4388 break;;
4389 esac
4390 done
4391 else
4392 $as_echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4397 as_fn_error $? "cannot compute suffix of object files: cannot compile
4398 See \`config.log' for more details" "$LINENO" 5; }
4400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4403 $as_echo "$ac_cv_objext" >&6; }
4404 OBJEXT=$ac_cv_objext
4405 ac_objext=$OBJEXT
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4407 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4408 if ${ac_cv_c_compiler_gnu+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4415 main ()
4417 #ifndef __GNUC__
4418 choke me
4419 #endif
4422 return 0;
4424 _ACEOF
4425 if ac_fn_c_try_compile "$LINENO"; then :
4426 ac_compiler_gnu=yes
4427 else
4428 ac_compiler_gnu=no
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4435 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4436 if test $ac_compiler_gnu = yes; then
4437 GCC=yes
4438 else
4439 GCC=
4441 ac_test_CFLAGS=${CFLAGS+set}
4442 ac_save_CFLAGS=$CFLAGS
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4444 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4445 if ${ac_cv_prog_cc_g+:} false; then :
4446 $as_echo_n "(cached) " >&6
4447 else
4448 ac_save_c_werror_flag=$ac_c_werror_flag
4449 ac_c_werror_flag=yes
4450 ac_cv_prog_cc_g=no
4451 CFLAGS="-g"
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4456 main ()
4460 return 0;
4462 _ACEOF
4463 if ac_fn_c_try_compile "$LINENO"; then :
4464 ac_cv_prog_cc_g=yes
4465 else
4466 CFLAGS=""
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4471 main ()
4475 return 0;
4477 _ACEOF
4478 if ac_fn_c_try_compile "$LINENO"; then :
4480 else
4481 ac_c_werror_flag=$ac_save_c_werror_flag
4482 CFLAGS="-g"
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4487 main ()
4491 return 0;
4493 _ACEOF
4494 if ac_fn_c_try_compile "$LINENO"; then :
4495 ac_cv_prog_cc_g=yes
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4502 ac_c_werror_flag=$ac_save_c_werror_flag
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4505 $as_echo "$ac_cv_prog_cc_g" >&6; }
4506 if test "$ac_test_CFLAGS" = set; then
4507 CFLAGS=$ac_save_CFLAGS
4508 elif test $ac_cv_prog_cc_g = yes; then
4509 if test "$GCC" = yes; then
4510 CFLAGS="-g -O2"
4511 else
4512 CFLAGS="-g"
4514 else
4515 if test "$GCC" = yes; then
4516 CFLAGS="-O2"
4517 else
4518 CFLAGS=
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4522 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4523 if ${ac_cv_prog_cc_c89+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525 else
4526 ac_cv_prog_cc_c89=no
4527 ac_save_CC=$CC
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4530 #include <stdarg.h>
4531 #include <stdio.h>
4532 struct stat;
4533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4534 struct buf { int x; };
4535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4536 static char *e (p, i)
4537 char **p;
4538 int i;
4540 return p[i];
4542 static char *f (char * (*g) (char **, int), char **p, ...)
4544 char *s;
4545 va_list v;
4546 va_start (v,p);
4547 s = g (p, va_arg (v,int));
4548 va_end (v);
4549 return s;
4552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4553 function prototypes and stuff, but not '\xHH' hex character constants.
4554 These don't provoke an error unfortunately, instead are silently treated
4555 as 'x'. The following induces an error, until -std is added to get
4556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4557 array size at least. It's necessary to write '\x00'==0 to get something
4558 that's true only with -std. */
4559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4561 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4562 inside strings and character constants. */
4563 #define FOO(x) 'x'
4564 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4566 int test (int i, double x);
4567 struct s1 {int (*f) (int a);};
4568 struct s2 {int (*f) (double a);};
4569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4570 int argc;
4571 char **argv;
4573 main ()
4575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4577 return 0;
4579 _ACEOF
4580 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4581 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4583 CC="$ac_save_CC $ac_arg"
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 ac_cv_prog_cc_c89=$ac_arg
4587 rm -f core conftest.err conftest.$ac_objext
4588 test "x$ac_cv_prog_cc_c89" != "xno" && break
4589 done
4590 rm -f conftest.$ac_ext
4591 CC=$ac_save_CC
4594 # AC_CACHE_VAL
4595 case "x$ac_cv_prog_cc_c89" in
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4598 $as_echo "none needed" >&6; } ;;
4599 xno)
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4601 $as_echo "unsupported" >&6; } ;;
4603 CC="$CC $ac_cv_prog_cc_c89"
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4605 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4606 esac
4607 if test "x$ac_cv_prog_cc_c89" != xno; then :
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 ac_ext=cpp
4618 ac_cpp='$CXXCPP $CPPFLAGS'
4619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4622 if test -z "$CXX"; then
4623 if test -n "$CCC"; then
4624 CXX=$CCC
4625 else
4626 if test -n "$ac_tool_prefix"; then
4627 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if ${ac_cv_prog_CXX+:} false; then :
4634 $as_echo_n "(cached) " >&6
4635 else
4636 if test -n "$CXX"; then
4637 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 break 2
4650 done
4651 done
4652 IFS=$as_save_IFS
4656 CXX=$ac_cv_prog_CXX
4657 if test -n "$CXX"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4659 $as_echo "$CXX" >&6; }
4660 else
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4666 test -n "$CXX" && break
4667 done
4669 if test -z "$CXX"; then
4670 ac_ct_CXX=$CXX
4671 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4673 # Extract the first word of "$ac_prog", so it can be a program name with args.
4674 set dummy $ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4678 $as_echo_n "(cached) " >&6
4679 else
4680 if test -n "$ac_ct_CXX"; then
4681 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4682 else
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 for as_dir in $PATH
4686 IFS=$as_save_IFS
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_ac_ct_CXX="$ac_prog"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 break 2
4694 done
4695 done
4696 IFS=$as_save_IFS
4700 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4701 if test -n "$ac_ct_CXX"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4703 $as_echo "$ac_ct_CXX" >&6; }
4704 else
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4710 test -n "$ac_ct_CXX" && break
4711 done
4713 if test "x$ac_ct_CXX" = x; then
4714 CXX="g++"
4715 else
4716 case $cross_compiling:$ac_tool_warned in
4717 yes:)
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned=yes ;;
4721 esac
4722 CXX=$ac_ct_CXX
4728 # Provide some information about the compiler.
4729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4730 set X $ac_compile
4731 ac_compiler=$2
4732 for ac_option in --version -v -V -qversion; do
4733 { { ac_try="$ac_compiler $ac_option >&5"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739 $as_echo "$ac_try_echo"; } >&5
4740 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4741 ac_status=$?
4742 if test -s conftest.err; then
4743 sed '10a\
4744 ... rest of stderr output deleted ...
4745 10q' conftest.err >conftest.er1
4746 cat conftest.er1 >&5
4748 rm -f conftest.er1 conftest.err
4749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750 test $ac_status = 0; }
4751 done
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4754 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4755 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4762 main ()
4764 #ifndef __GNUC__
4765 choke me
4766 #endif
4769 return 0;
4771 _ACEOF
4772 if ac_fn_cxx_try_compile "$LINENO"; then :
4773 ac_compiler_gnu=yes
4774 else
4775 ac_compiler_gnu=no
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4782 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4783 if test $ac_compiler_gnu = yes; then
4784 GXX=yes
4785 else
4786 GXX=
4788 ac_test_CXXFLAGS=${CXXFLAGS+set}
4789 ac_save_CXXFLAGS=$CXXFLAGS
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4791 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4792 if ${ac_cv_prog_cxx_g+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4796 ac_cxx_werror_flag=yes
4797 ac_cv_prog_cxx_g=no
4798 CXXFLAGS="-g"
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4803 main ()
4807 return 0;
4809 _ACEOF
4810 if ac_fn_cxx_try_compile "$LINENO"; then :
4811 ac_cv_prog_cxx_g=yes
4812 else
4813 CXXFLAGS=""
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4818 main ()
4822 return 0;
4824 _ACEOF
4825 if ac_fn_cxx_try_compile "$LINENO"; then :
4827 else
4828 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4829 CXXFLAGS="-g"
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4834 main ()
4838 return 0;
4840 _ACEOF
4841 if ac_fn_cxx_try_compile "$LINENO"; then :
4842 ac_cv_prog_cxx_g=yes
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4852 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4853 if test "$ac_test_CXXFLAGS" = set; then
4854 CXXFLAGS=$ac_save_CXXFLAGS
4855 elif test $ac_cv_prog_cxx_g = yes; then
4856 if test "$GXX" = yes; then
4857 CXXFLAGS="-g -O2"
4858 else
4859 CXXFLAGS="-g"
4861 else
4862 if test "$GXX" = yes; then
4863 CXXFLAGS="-O2"
4864 else
4865 CXXFLAGS=
4868 ac_ext=c
4869 ac_cpp='$CPP $CPPFLAGS'
4870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4874 if test -n "$ac_tool_prefix"; then
4875 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4876 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_CPPBIN+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 if test -n "$CPPBIN"; then
4883 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4884 else
4885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4888 IFS=$as_save_IFS
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 break 2
4896 done
4897 done
4898 IFS=$as_save_IFS
4902 CPPBIN=$ac_cv_prog_CPPBIN
4903 if test -n "$CPPBIN"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4905 $as_echo "$CPPBIN" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4913 if test -z "$ac_cv_prog_CPPBIN"; then
4914 ac_ct_CPPBIN=$CPPBIN
4915 # Extract the first word of "cpp", so it can be a program name with args.
4916 set dummy cpp; ac_word=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4920 $as_echo_n "(cached) " >&6
4921 else
4922 if test -n "$ac_ct_CPPBIN"; then
4923 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 test -z "$as_dir" && as_dir=.
4930 for ac_exec_ext in '' $ac_executable_extensions; do
4931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932 ac_cv_prog_ac_ct_CPPBIN="cpp"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 break 2
4936 done
4937 done
4938 IFS=$as_save_IFS
4942 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4943 if test -n "$ac_ct_CPPBIN"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4945 $as_echo "$ac_ct_CPPBIN" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4951 if test "x$ac_ct_CPPBIN" = x; then
4952 CPPBIN="cpp"
4953 else
4954 case $cross_compiling:$ac_tool_warned in
4955 yes:)
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned=yes ;;
4959 esac
4960 CPPBIN=$ac_ct_CPPBIN
4962 else
4963 CPPBIN="$ac_cv_prog_CPPBIN"
4967 cat >>confdefs.h <<_ACEOF
4968 #define EXEEXT "$ac_exeext"
4969 _ACEOF
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4973 set dummy ${ac_tool_prefix}ld; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_LD+:} false; then :
4977 $as_echo_n "(cached) " >&6
4978 else
4979 if test -n "$LD"; then
4980 ac_cv_prog_LD="$LD" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_LD="${ac_tool_prefix}ld"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 LD=$ac_cv_prog_LD
5000 if test -n "$LD"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5002 $as_echo "$LD" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5010 if test -z "$ac_cv_prog_LD"; then
5011 ac_ct_LD=$LD
5012 # Extract the first word of "ld", so it can be a program name with args.
5013 set dummy ld; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$ac_ct_LD"; then
5020 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_ac_ct_LD="ld"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5040 if test -n "$ac_ct_LD"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5042 $as_echo "$ac_ct_LD" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5048 if test "x$ac_ct_LD" = x; then
5049 LD=""
5050 else
5051 case $cross_compiling:$ac_tool_warned in
5052 yes:)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5055 ac_tool_warned=yes ;;
5056 esac
5057 LD=$ac_ct_LD
5059 else
5060 LD="$ac_cv_prog_LD"
5064 case $host in
5065 *-darwin*)
5066 with_fontconfig=${with_fontconfig:-no}
5068 *-mingw32*|*-cygwin*)
5069 enable_win16=${enable_win16:-no}
5070 CFLAGS="$CFLAGS -D_WIN32"
5072 esac
5074 case $host in
5075 x86_64*|amd64*)
5076 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5077 then
5078 CC="$CC -m32"
5079 CXX="$CXX -m32"
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5081 $as_echo_n "checking whether $CC works... " >&6; }
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5087 main ()
5091 return 0;
5093 _ACEOF
5094 if ac_fn_c_try_link "$LINENO"; then :
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5100 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5102 rm -f core conftest.err conftest.$ac_objext \
5103 conftest$ac_exeext conftest.$ac_ext
5104 host_cpu="i386"
5105 notice_platform="32-bit "
5106 TARGETFLAGS="-m32"
5108 enable_win16=${enable_win16:-yes}
5109 else
5110 if test "x${GCC}" = "xyes"
5111 then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5113 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <stdarg.h>
5118 main ()
5120 void func(__builtin_ms_va_list *args);
5122 return 0;
5124 _ACEOF
5125 if ac_fn_c_try_compile "$LINENO"; then :
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5127 $as_echo "yes" >&6; }
5128 else
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5131 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5135 CC="$CC -m64"
5136 CXX="$CXX -m64"
5137 host_cpu="x86_64"
5138 notice_platform="64-bit "
5139 TARGETFLAGS="-m64"
5143 arm*)
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5145 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148 int ac_test(int i) { return i; }
5150 main ()
5152 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_link "$LINENO"; then :
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5165 rm -f core conftest.err conftest.$ac_objext \
5166 conftest$ac_exeext conftest.$ac_ext
5167 CFLAGS="$CFLAGS -marm"
5168 TARGETFLAGS="-marm"
5171 i[3456789]86*)
5172 enable_win16=${enable_win16:-yes}
5174 esac
5176 enable_win16=${enable_win16:-no}
5177 enable_win64=${enable_win64:-no}
5179 enable_winetest=${enable_winetest:-$enable_tests}
5181 if test -n "$with_wine64"
5182 then
5183 if test "x$enable_win64" = "xyes"
5184 then
5185 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5186 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5188 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5189 You should create a separate build directory and run configure from there." "$LINENO" 5
5190 enable_fonts=${enable_fonts:-no}
5191 enable_server=${enable_server:-no}
5192 elif test "x$enable_win64" = "xyes"
5193 then
5194 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5198 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5199 if ${wine_cv_toolsdir+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 wine_cv_toolsdir="$with_wine_tools"
5203 if test -z "$with_wine_tools"; then
5204 if test "$cross_compiling" = "yes"; then
5205 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5206 elif test -n "$with_wine64"; then
5207 wine_cv_toolsdir="$with_wine64"
5210 if test -z "$wine_cv_toolsdir"; then
5211 wine_makedep=tools/makedep
5212 wine_cv_toolsdir="\$(top_builddir)"
5213 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5214 wine_makedep=$wine_cv_toolsdir/tools/makedep
5215 case "$wine_cv_toolsdir" in
5216 /*) ;;
5217 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5218 esac
5219 enable_tools=${enable_tools:-no}
5220 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5221 else
5222 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5226 $as_echo "$wine_cv_toolsdir" >&6; }
5227 TOOLSDIR=$wine_cv_toolsdir
5229 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5230 then
5231 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5235 for ac_prog in flex
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_FLEX+:} false; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_FLEX="$ac_prog"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5267 $as_echo "$FLEX" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5274 test -n "$FLEX" && break
5275 done
5276 test -n "$FLEX" || FLEX="none"
5278 if test "$FLEX" = "none"
5279 then
5280 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5283 $as_echo_n "checking whether flex is recent enough... " >&6; }
5284 cat >conftest.l <<EOF
5285 %top{
5286 #include "prediluvian.h"
5290 if $FLEX -t conftest.l >/dev/null 2>&5
5291 then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5300 for ac_prog in bison
5302 # Extract the first word of "$ac_prog", so it can be a program name with args.
5303 set dummy $ac_prog; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_BISON+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$BISON"; then
5310 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_BISON="$ac_prog"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 BISON=$ac_cv_prog_BISON
5330 if test -n "$BISON"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5332 $as_echo "$BISON" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5339 test -n "$BISON" && break
5340 done
5341 test -n "$BISON" || BISON="none"
5343 if test "$BISON" = "none"
5344 then
5345 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5348 if test -n "$ac_tool_prefix"; then
5349 for ac_prog in ar gar
5351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_AR+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$AR"; then
5359 ac_cv_prog_AR="$AR" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 AR=$ac_cv_prog_AR
5379 if test -n "$AR"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5381 $as_echo "$AR" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5388 test -n "$AR" && break
5389 done
5391 if test -z "$AR"; then
5392 ac_ct_AR=$AR
5393 for ac_prog in ar gar
5395 # Extract the first word of "$ac_prog", so it can be a program name with args.
5396 set dummy $ac_prog; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$ac_ct_AR"; then
5403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_AR="$ac_prog"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5416 done
5417 done
5418 IFS=$as_save_IFS
5422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5423 if test -n "$ac_ct_AR"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5425 $as_echo "$ac_ct_AR" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5432 test -n "$ac_ct_AR" && break
5433 done
5435 if test "x$ac_ct_AR" = x; then
5436 AR="ar"
5437 else
5438 case $cross_compiling:$ac_tool_warned in
5439 yes:)
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5442 ac_tool_warned=yes ;;
5443 esac
5444 AR=$ac_ct_AR
5448 if test -n "$ac_tool_prefix"; then
5449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5450 set dummy ${ac_tool_prefix}strip; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if ${ac_cv_prog_STRIP+:} false; then :
5454 $as_echo_n "(cached) " >&6
5455 else
5456 if test -n "$STRIP"; then
5457 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5458 else
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH
5462 IFS=$as_save_IFS
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 break 2
5470 done
5471 done
5472 IFS=$as_save_IFS
5476 STRIP=$ac_cv_prog_STRIP
5477 if test -n "$STRIP"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5479 $as_echo "$STRIP" >&6; }
5480 else
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5487 if test -z "$ac_cv_prog_STRIP"; then
5488 ac_ct_STRIP=$STRIP
5489 # Extract the first word of "strip", so it can be a program name with args.
5490 set dummy strip; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -n "$ac_ct_STRIP"; then
5497 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_ac_ct_STRIP="strip"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5517 if test -n "$ac_ct_STRIP"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5519 $as_echo "$ac_ct_STRIP" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5525 if test "x$ac_ct_STRIP" = x; then
5526 STRIP="strip"
5527 else
5528 case $cross_compiling:$ac_tool_warned in
5529 yes:)
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5532 ac_tool_warned=yes ;;
5533 esac
5534 STRIP=$ac_ct_STRIP
5536 else
5537 STRIP="$ac_cv_prog_STRIP"
5540 ARFLAGS=rc
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_RANLIB+:} false; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -n "$RANLIB"; then
5551 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 RANLIB=$ac_cv_prog_RANLIB
5571 if test -n "$RANLIB"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5573 $as_echo "$RANLIB" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_RANLIB"; then
5582 ac_ct_RANLIB=$RANLIB
5583 # Extract the first word of "ranlib", so it can be a program name with args.
5584 set dummy ranlib; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -n "$ac_ct_RANLIB"; then
5591 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_RANLIB="ranlib"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5611 if test -n "$ac_ct_RANLIB"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5613 $as_echo "$ac_ct_RANLIB" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_RANLIB" = x; then
5620 RANLIB=":"
5621 else
5622 case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5627 esac
5628 RANLIB=$ac_ct_RANLIB
5630 else
5631 RANLIB="$ac_cv_prog_RANLIB"
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5635 $as_echo_n "checking whether ln -s works... " >&6; }
5636 LN_S=$as_ln_s
5637 if test "$LN_S" = "ln -s"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5642 $as_echo "no, using $LN_S" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5646 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5647 if ${ac_cv_path_GREP+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -z "$GREP"; then
5651 ac_path_GREP_found=false
5652 # Loop through the user's path and test for each of PROGNAME-LIST
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_prog in grep ggrep; do
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5661 as_fn_executable_p "$ac_path_GREP" || continue
5662 # Check for GNU ac_path_GREP and select it if it is found.
5663 # Check for GNU $ac_path_GREP
5664 case `"$ac_path_GREP" --version 2>&1` in
5665 *GNU*)
5666 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5668 ac_count=0
5669 $as_echo_n 0123456789 >"conftest.in"
5670 while :
5672 cat "conftest.in" "conftest.in" >"conftest.tmp"
5673 mv "conftest.tmp" "conftest.in"
5674 cp "conftest.in" "conftest.nl"
5675 $as_echo 'GREP' >> "conftest.nl"
5676 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5677 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5678 as_fn_arith $ac_count + 1 && ac_count=$as_val
5679 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5680 # Best one so far, save it but keep looking for a better one
5681 ac_cv_path_GREP="$ac_path_GREP"
5682 ac_path_GREP_max=$ac_count
5684 # 10*(2^10) chars as input seems more than enough
5685 test $ac_count -gt 10 && break
5686 done
5687 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5688 esac
5690 $ac_path_GREP_found && break 3
5691 done
5692 done
5693 done
5694 IFS=$as_save_IFS
5695 if test -z "$ac_cv_path_GREP"; then
5696 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5698 else
5699 ac_cv_path_GREP=$GREP
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5704 $as_echo "$ac_cv_path_GREP" >&6; }
5705 GREP="$ac_cv_path_GREP"
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5709 $as_echo_n "checking for egrep... " >&6; }
5710 if ${ac_cv_path_EGREP+:} false; then :
5711 $as_echo_n "(cached) " >&6
5712 else
5713 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5714 then ac_cv_path_EGREP="$GREP -E"
5715 else
5716 if test -z "$EGREP"; then
5717 ac_path_EGREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in egrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5727 as_fn_executable_p "$ac_path_EGREP" || continue
5728 # Check for GNU ac_path_EGREP and select it if it is found.
5729 # Check for GNU $ac_path_EGREP
5730 case `"$ac_path_EGREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5734 ac_count=0
5735 $as_echo_n 0123456789 >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 $as_echo 'EGREP' >> "conftest.nl"
5742 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 as_fn_arith $ac_count + 1 && ac_count=$as_val
5745 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_EGREP="$ac_path_EGREP"
5748 ac_path_EGREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5756 $ac_path_EGREP_found && break 3
5757 done
5758 done
5759 done
5760 IFS=$as_save_IFS
5761 if test -z "$ac_cv_path_EGREP"; then
5762 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5764 else
5765 ac_cv_path_EGREP=$EGREP
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5771 $as_echo "$ac_cv_path_EGREP" >&6; }
5772 EGREP="$ac_cv_path_EGREP"
5775 # Extract the first word of "ldconfig", so it can be a program name with args.
5776 set dummy ldconfig; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_path_LDCONFIG+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 case $LDCONFIG in
5783 [\\/]* | ?:[\\/]*)
5784 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in /sbin /usr/sbin $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5802 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5804 esac
5806 LDCONFIG=$ac_cv_path_LDCONFIG
5807 if test -n "$LDCONFIG"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5809 $as_echo "$LDCONFIG" >&6; }
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 for ac_prog in msgfmt
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy $ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_MSGFMT+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$MSGFMT"; then
5826 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_MSGFMT="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 MSGFMT=$ac_cv_prog_MSGFMT
5846 if test -n "$MSGFMT"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5848 $as_echo "$MSGFMT" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$MSGFMT" && break
5856 done
5857 test -n "$MSGFMT" || MSGFMT="false"
5859 if ${ac_tool_prefix+:} false; then :
5860 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5861 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 if test -n "$PKG_CONFIG"; then
5868 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5888 if test -n "$PKG_CONFIG"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5890 $as_echo "$PKG_CONFIG" >&6; }
5891 else
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5898 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5899 if test "x$cross_compiling" = xyes; then :
5901 else
5902 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5903 # Extract the first word of "pkg-config", so it can be a program name with args.
5904 set dummy pkg-config; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 if test -n "$PKG_CONFIG"; then
5911 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5916 IFS=$as_save_IFS
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_PKG_CONFIG="pkg-config"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 break 2
5924 done
5925 done
5926 IFS=$as_save_IFS
5930 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5931 if test -n "$PKG_CONFIG"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5933 $as_echo "$PKG_CONFIG" >&6; }
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5941 else
5942 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5945 if test "x$enable_maintainer_mode" != "xyes"
5946 then
5947 FONTFORGE=""
5948 RSVG=""
5949 CONVERT=""
5950 ICOTOOL=""
5951 else
5952 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5953 for ac_prog in fontforge
5955 # Extract the first word of "$ac_prog", so it can be a program name with args.
5956 set dummy $ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_FONTFORGE+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 if test -n "$FONTFORGE"; then
5963 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_FONTFORGE="$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 FONTFORGE=$ac_cv_prog_FONTFORGE
5983 if test -n "$FONTFORGE"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5985 $as_echo "$FONTFORGE" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$FONTFORGE" && break
5993 done
5994 test -n "$FONTFORGE" || FONTFORGE="false"
5996 for ac_prog in rsvg-convert rsvg
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_RSVG+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$RSVG"; then
6006 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_RSVG="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 RSVG=$ac_cv_prog_RSVG
6026 if test -n "$RSVG"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6028 $as_echo "$RSVG" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$RSVG" && break
6036 done
6037 test -n "$RSVG" || RSVG="false"
6039 for ac_prog in convert
6041 # Extract the first word of "$ac_prog", so it can be a program name with args.
6042 set dummy $ac_prog; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if ${ac_cv_prog_CONVERT+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 if test -n "$CONVERT"; then
6049 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6050 else
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 for as_dir in $PATH
6054 IFS=$as_save_IFS
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_CONVERT="$ac_prog"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 break 2
6062 done
6063 done
6064 IFS=$as_save_IFS
6068 CONVERT=$ac_cv_prog_CONVERT
6069 if test -n "$CONVERT"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6071 $as_echo "$CONVERT" >&6; }
6072 else
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 $as_echo "no" >&6; }
6078 test -n "$CONVERT" && break
6079 done
6080 test -n "$CONVERT" || CONVERT="false"
6082 for ac_prog in icotool
6084 # Extract the first word of "$ac_prog", so it can be a program name with args.
6085 set dummy $ac_prog; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_ICOTOOL+:} false; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 if test -n "$ICOTOOL"; then
6092 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_ICOTOOL="$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 ICOTOOL=$ac_cv_prog_ICOTOOL
6112 if test -n "$ICOTOOL"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6114 $as_echo "$ICOTOOL" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$ICOTOOL" && break
6122 done
6123 test -n "$ICOTOOL" || ICOTOOL="false"
6125 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6126 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6128 if test "$CONVERT" = false
6129 then
6130 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6133 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6134 convert_version=`convert --version | head -n1`
6135 if test "x$convert_version" != "x"
6136 then
6137 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6138 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6139 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6140 then
6141 CONVERT=false
6144 if test "$CONVERT" = false
6145 then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6147 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6148 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6149 else
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6151 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6155 if test "$ICOTOOL" = false
6156 then
6157 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6158 else
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6160 $as_echo_n "checking for recent enough icotool... " >&6; }
6161 icotool_version=`icotool --version | head -n1`
6162 if test "x$icotool_version" != "x"
6163 then
6164 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6165 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6166 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6167 then
6168 ICOTOOL=false
6169 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6172 if test "$ICOTOOL" = false
6173 then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6175 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6176 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6179 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6183 with_gettext=yes
6184 with_gettextpo=yes
6185 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6188 test "x$with_gettext" != xno || MSGFMT=false
6189 if test "$MSGFMT" != "false"
6190 then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6192 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6193 cat >conftest.po <<EOF
6194 # comment
6195 msgctxt "ctxt"
6196 msgid "id"
6197 msgstr "str"
6199 if $MSGFMT -o /dev/null conftest.po 2>&5
6200 then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6202 $as_echo "yes" >&6; }
6203 else
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6206 MSGFMT=false
6209 if test "$MSGFMT" = false; then :
6210 case "x$with_gettext" in
6211 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6212 xno) ;;
6213 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6214 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6215 esac
6216 enable_po=${enable_po:-no}
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6221 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6222 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 ac_check_lib_save_LIBS=$LIBS
6226 LIBS="-li386 $LIBS"
6227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6230 /* Override any GCC internal prototype to avoid an error.
6231 Use char because int might match the return type of a GCC
6232 builtin and then its argument prototype would still apply. */
6233 #ifdef __cplusplus
6234 extern "C"
6235 #endif
6236 char i386_set_ldt ();
6238 main ()
6240 return i386_set_ldt ();
6242 return 0;
6244 _ACEOF
6245 if ac_fn_c_try_link "$LINENO"; then :
6246 ac_cv_lib_i386_i386_set_ldt=yes
6247 else
6248 ac_cv_lib_i386_i386_set_ldt=no
6250 rm -f core conftest.err conftest.$ac_objext \
6251 conftest$ac_exeext conftest.$ac_ext
6252 LIBS=$ac_check_lib_save_LIBS
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6255 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6256 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6257 cat >>confdefs.h <<_ACEOF
6258 #define HAVE_LIBI386 1
6259 _ACEOF
6261 LIBS="-li386 $LIBS"
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6266 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6267 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6268 $as_echo_n "(cached) " >&6
6269 else
6270 ac_check_lib_save_LIBS=$LIBS
6271 LIBS="-lossaudio $LIBS"
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6275 /* Override any GCC internal prototype to avoid an error.
6276 Use char because int might match the return type of a GCC
6277 builtin and then its argument prototype would still apply. */
6278 #ifdef __cplusplus
6279 extern "C"
6280 #endif
6281 char _oss_ioctl ();
6283 main ()
6285 return _oss_ioctl ();
6287 return 0;
6289 _ACEOF
6290 if ac_fn_c_try_link "$LINENO"; then :
6291 ac_cv_lib_ossaudio__oss_ioctl=yes
6292 else
6293 ac_cv_lib_ossaudio__oss_ioctl=no
6295 rm -f core conftest.err conftest.$ac_objext \
6296 conftest$ac_exeext conftest.$ac_ext
6297 LIBS=$ac_check_lib_save_LIBS
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6300 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6301 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6302 cat >>confdefs.h <<_ACEOF
6303 #define HAVE_LIBOSSAUDIO 1
6304 _ACEOF
6306 LIBS="-lossaudio $LIBS"
6311 OPENGL_LIBS=""
6315 # Check whether --enable-largefile was given.
6316 if test "${enable_largefile+set}" = set; then :
6317 enableval=$enable_largefile;
6320 if test "$enable_largefile" != no; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6323 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6324 if ${ac_cv_sys_largefile_CC+:} false; then :
6325 $as_echo_n "(cached) " >&6
6326 else
6327 ac_cv_sys_largefile_CC=no
6328 if test "$GCC" != yes; then
6329 ac_save_CC=$CC
6330 while :; do
6331 # IRIX 6.2 and later do not support large files by default,
6332 # so use the C compiler's -n32 option if that helps.
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <sys/types.h>
6336 /* Check that off_t can represent 2**63 - 1 correctly.
6337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6338 since some C++ compilers masquerading as C compilers
6339 incorrectly reject 9223372036854775807. */
6340 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6342 && LARGE_OFF_T % 2147483647 == 1)
6343 ? 1 : -1];
6345 main ()
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_compile "$LINENO"; then :
6353 break
6355 rm -f core conftest.err conftest.$ac_objext
6356 CC="$CC -n32"
6357 if ac_fn_c_try_compile "$LINENO"; then :
6358 ac_cv_sys_largefile_CC=' -n32'; break
6360 rm -f core conftest.err conftest.$ac_objext
6361 break
6362 done
6363 CC=$ac_save_CC
6364 rm -f conftest.$ac_ext
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6368 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6369 if test "$ac_cv_sys_largefile_CC" != no; then
6370 CC=$CC$ac_cv_sys_largefile_CC
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6374 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6375 if ${ac_cv_sys_file_offset_bits+:} false; then :
6376 $as_echo_n "(cached) " >&6
6377 else
6378 while :; do
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6389 ? 1 : -1];
6391 main ()
6395 return 0;
6397 _ACEOF
6398 if ac_fn_c_try_compile "$LINENO"; then :
6399 ac_cv_sys_file_offset_bits=no; break
6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #define _FILE_OFFSET_BITS 64
6405 #include <sys/types.h>
6406 /* Check that off_t can represent 2**63 - 1 correctly.
6407 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6408 since some C++ compilers masquerading as C compilers
6409 incorrectly reject 9223372036854775807. */
6410 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6411 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6412 && LARGE_OFF_T % 2147483647 == 1)
6413 ? 1 : -1];
6415 main ()
6419 return 0;
6421 _ACEOF
6422 if ac_fn_c_try_compile "$LINENO"; then :
6423 ac_cv_sys_file_offset_bits=64; break
6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6426 ac_cv_sys_file_offset_bits=unknown
6427 break
6428 done
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6431 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6432 case $ac_cv_sys_file_offset_bits in #(
6433 no | unknown) ;;
6435 cat >>confdefs.h <<_ACEOF
6436 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6437 _ACEOF
6439 esac
6440 rm -rf conftest*
6441 if test $ac_cv_sys_file_offset_bits = unknown; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6443 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6444 if ${ac_cv_sys_large_files+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 while :; do
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #include <sys/types.h>
6451 /* Check that off_t can represent 2**63 - 1 correctly.
6452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6453 since some C++ compilers masquerading as C compilers
6454 incorrectly reject 9223372036854775807. */
6455 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6457 && LARGE_OFF_T % 2147483647 == 1)
6458 ? 1 : -1];
6460 main ()
6464 return 0;
6466 _ACEOF
6467 if ac_fn_c_try_compile "$LINENO"; then :
6468 ac_cv_sys_large_files=no; break
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #define _LARGE_FILES 1
6474 #include <sys/types.h>
6475 /* Check that off_t can represent 2**63 - 1 correctly.
6476 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6477 since some C++ compilers masquerading as C compilers
6478 incorrectly reject 9223372036854775807. */
6479 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6480 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6481 && LARGE_OFF_T % 2147483647 == 1)
6482 ? 1 : -1];
6484 main ()
6488 return 0;
6490 _ACEOF
6491 if ac_fn_c_try_compile "$LINENO"; then :
6492 ac_cv_sys_large_files=1; break
6494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6495 ac_cv_sys_large_files=unknown
6496 break
6497 done
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6500 $as_echo "$ac_cv_sys_large_files" >&6; }
6501 case $ac_cv_sys_large_files in #(
6502 no | unknown) ;;
6504 cat >>confdefs.h <<_ACEOF
6505 #define _LARGE_FILES $ac_cv_sys_large_files
6506 _ACEOF
6508 esac
6509 rm -rf conftest*
6516 ac_ext=c
6517 ac_cpp='$CPP $CPPFLAGS'
6518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6522 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6523 # On Suns, sometimes $CPP names a directory.
6524 if test -n "$CPP" && test -d "$CPP"; then
6525 CPP=
6527 if test -z "$CPP"; then
6528 if ${ac_cv_prog_CPP+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 # Double quotes because CPP needs to be expanded
6532 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6534 ac_preproc_ok=false
6535 for ac_c_preproc_warn_flag in '' yes
6537 # Use a header file that comes with gcc, so configuring glibc
6538 # with a fresh cross-compiler works.
6539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6540 # <limits.h> exists even on freestanding compilers.
6541 # On the NeXT, cc -E runs the code through the compiler's parser,
6542 # not just through cpp. "Syntax error" is here to catch this case.
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545 #ifdef __STDC__
6546 # include <limits.h>
6547 #else
6548 # include <assert.h>
6549 #endif
6550 Syntax error
6551 _ACEOF
6552 if ac_fn_c_try_cpp "$LINENO"; then :
6554 else
6555 # Broken: fails on valid input.
6556 continue
6558 rm -f conftest.err conftest.i conftest.$ac_ext
6560 # OK, works on sane cases. Now check whether nonexistent headers
6561 # can be detected and how.
6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563 /* end confdefs.h. */
6564 #include <ac_nonexistent.h>
6565 _ACEOF
6566 if ac_fn_c_try_cpp "$LINENO"; then :
6567 # Broken: success on invalid input.
6568 continue
6569 else
6570 # Passes both tests.
6571 ac_preproc_ok=:
6572 break
6574 rm -f conftest.err conftest.i conftest.$ac_ext
6576 done
6577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6578 rm -f conftest.i conftest.err conftest.$ac_ext
6579 if $ac_preproc_ok; then :
6580 break
6583 done
6584 ac_cv_prog_CPP=$CPP
6587 CPP=$ac_cv_prog_CPP
6588 else
6589 ac_cv_prog_CPP=$CPP
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6592 $as_echo "$CPP" >&6; }
6593 ac_preproc_ok=false
6594 for ac_c_preproc_warn_flag in '' yes
6596 # Use a header file that comes with gcc, so configuring glibc
6597 # with a fresh cross-compiler works.
6598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6599 # <limits.h> exists even on freestanding compilers.
6600 # On the NeXT, cc -E runs the code through the compiler's parser,
6601 # not just through cpp. "Syntax error" is here to catch this case.
6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6604 #ifdef __STDC__
6605 # include <limits.h>
6606 #else
6607 # include <assert.h>
6608 #endif
6609 Syntax error
6610 _ACEOF
6611 if ac_fn_c_try_cpp "$LINENO"; then :
6613 else
6614 # Broken: fails on valid input.
6615 continue
6617 rm -f conftest.err conftest.i conftest.$ac_ext
6619 # OK, works on sane cases. Now check whether nonexistent headers
6620 # can be detected and how.
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ac_nonexistent.h>
6624 _ACEOF
6625 if ac_fn_c_try_cpp "$LINENO"; then :
6626 # Broken: success on invalid input.
6627 continue
6628 else
6629 # Passes both tests.
6630 ac_preproc_ok=:
6631 break
6633 rm -f conftest.err conftest.i conftest.$ac_ext
6635 done
6636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6637 rm -f conftest.i conftest.err conftest.$ac_ext
6638 if $ac_preproc_ok; then :
6640 else
6641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6643 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6644 See \`config.log' for more details" "$LINENO" 5; }
6647 ac_ext=c
6648 ac_cpp='$CPP $CPPFLAGS'
6649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6655 $as_echo_n "checking for ANSI C header files... " >&6; }
6656 if ${ac_cv_header_stdc+:} false; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <stdlib.h>
6662 #include <stdarg.h>
6663 #include <string.h>
6664 #include <float.h>
6667 main ()
6671 return 0;
6673 _ACEOF
6674 if ac_fn_c_try_compile "$LINENO"; then :
6675 ac_cv_header_stdc=yes
6676 else
6677 ac_cv_header_stdc=no
6679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6681 if test $ac_cv_header_stdc = yes; then
6682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6685 #include <string.h>
6687 _ACEOF
6688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6689 $EGREP "memchr" >/dev/null 2>&1; then :
6691 else
6692 ac_cv_header_stdc=no
6694 rm -f conftest*
6698 if test $ac_cv_header_stdc = yes; then
6699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702 #include <stdlib.h>
6704 _ACEOF
6705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6706 $EGREP "free" >/dev/null 2>&1; then :
6708 else
6709 ac_cv_header_stdc=no
6711 rm -f conftest*
6715 if test $ac_cv_header_stdc = yes; then
6716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6717 if test "$cross_compiling" = yes; then :
6719 else
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <ctype.h>
6723 #include <stdlib.h>
6724 #if ((' ' & 0x0FF) == 0x020)
6725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6727 #else
6728 # define ISLOWER(c) \
6729 (('a' <= (c) && (c) <= 'i') \
6730 || ('j' <= (c) && (c) <= 'r') \
6731 || ('s' <= (c) && (c) <= 'z'))
6732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6733 #endif
6735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6737 main ()
6739 int i;
6740 for (i = 0; i < 256; i++)
6741 if (XOR (islower (i), ISLOWER (i))
6742 || toupper (i) != TOUPPER (i))
6743 return 2;
6744 return 0;
6746 _ACEOF
6747 if ac_fn_c_try_run "$LINENO"; then :
6749 else
6750 ac_cv_header_stdc=no
6752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6753 conftest.$ac_objext conftest.beam conftest.$ac_ext
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6759 $as_echo "$ac_cv_header_stdc" >&6; }
6760 if test $ac_cv_header_stdc = yes; then
6762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6767 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6768 inttypes.h stdint.h unistd.h
6769 do :
6770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6771 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6774 cat >>confdefs.h <<_ACEOF
6775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6776 _ACEOF
6780 done
6783 for ac_header in \
6784 AL/al.h \
6785 ApplicationServices/ApplicationServices.h \
6786 AudioToolbox/AudioConverter.h \
6787 AudioUnit/AudioUnit.h \
6788 AudioUnit/AudioComponent.h \
6789 CL/cl.h \
6790 Carbon/Carbon.h \
6791 CommonCrypto/CommonDigest.h \
6792 CoreAudio/CoreAudio.h \
6793 CoreServices/CoreServices.h \
6794 DiskArbitration/DiskArbitration.h \
6795 IOKit/IOKitLib.h \
6796 IOKit/hid/IOHIDLib.h \
6797 OpenAL/al.h \
6798 OpenCL/opencl.h \
6799 QuickTime/ImageCompression.h \
6800 Security/Security.h \
6801 alias.h \
6802 alsa/asoundlib.h \
6803 arpa/inet.h \
6804 arpa/nameser.h \
6805 asm/types.h \
6806 asm/user.h \
6807 curses.h \
6808 direct.h \
6809 dirent.h \
6810 dlfcn.h \
6811 elf.h \
6812 float.h \
6813 fnmatch.h \
6814 getopt.h \
6815 gettext-po.h \
6816 grp.h \
6817 gsm.h \
6818 gsm/gsm.h \
6819 ieeefp.h \
6820 inet/mib2.h \
6821 io.h \
6822 kstat.h \
6823 lber.h \
6824 ldap.h \
6825 libproc.h \
6826 link.h \
6827 linux/cdrom.h \
6828 linux/compiler.h \
6829 linux/filter.h \
6830 linux/hdreg.h \
6831 linux/hidraw.h \
6832 linux/input.h \
6833 linux/ioctl.h \
6834 linux/joystick.h \
6835 linux/major.h \
6836 linux/param.h \
6837 linux/serial.h \
6838 linux/types.h \
6839 linux/ucdrom.h \
6840 lwp.h \
6841 mach-o/nlist.h \
6842 mach-o/loader.h \
6843 mach/mach.h \
6844 mach/machine.h \
6845 machine/cpu.h \
6846 machine/limits.h \
6847 machine/sysarch.h \
6848 mntent.h \
6849 ncurses.h \
6850 netdb.h \
6851 netinet/in.h \
6852 netinet/in_systm.h \
6853 netinet/tcp.h \
6854 netinet/tcp_fsm.h \
6855 pcap/pcap.h \
6856 poll.h \
6857 port.h \
6858 process.h \
6859 pthread.h \
6860 pwd.h \
6861 sched.h \
6862 scsi/scsi.h \
6863 scsi/scsi_ioctl.h \
6864 scsi/sg.h \
6865 stdbool.h \
6866 stdint.h \
6867 stropts.h \
6868 sys/asoundlib.h \
6869 sys/attr.h \
6870 sys/cdio.h \
6871 sys/elf32.h \
6872 sys/epoll.h \
6873 sys/event.h \
6874 sys/exec_elf.h \
6875 sys/filio.h \
6876 sys/inotify.h \
6877 sys/ioctl.h \
6878 sys/ipc.h \
6879 sys/limits.h \
6880 sys/link.h \
6881 sys/mman.h \
6882 sys/modem.h \
6883 sys/msg.h \
6884 sys/mtio.h \
6885 sys/param.h \
6886 sys/poll.h \
6887 sys/prctl.h \
6888 sys/protosw.h \
6889 sys/ptrace.h \
6890 sys/queue.h \
6891 sys/resource.h \
6892 sys/scsiio.h \
6893 sys/shm.h \
6894 sys/signal.h \
6895 sys/socket.h \
6896 sys/socketvar.h \
6897 sys/sockio.h \
6898 sys/statvfs.h \
6899 sys/strtio.h \
6900 sys/syscall.h \
6901 sys/sysinfo.h \
6902 sys/tihdr.h \
6903 sys/time.h \
6904 sys/timeout.h \
6905 sys/times.h \
6906 sys/uio.h \
6907 sys/user.h \
6908 sys/utsname.h \
6909 sys/vm86.h \
6910 sys/vnode.h \
6911 sys/wait.h \
6912 syscall.h \
6913 termios.h \
6914 unistd.h \
6915 utime.h \
6916 valgrind/memcheck.h \
6917 valgrind/valgrind.h \
6918 zlib.h
6920 do :
6921 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6923 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6924 cat >>confdefs.h <<_ACEOF
6925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6926 _ACEOF
6930 done
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6933 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6934 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6941 main ()
6943 return makedev(0, 0);
6945 return 0;
6947 _ACEOF
6948 if ac_fn_c_try_link "$LINENO"; then :
6949 ac_cv_header_sys_types_h_makedev=yes
6950 else
6951 ac_cv_header_sys_types_h_makedev=no
6953 rm -f core conftest.err conftest.$ac_objext \
6954 conftest$ac_exeext conftest.$ac_ext
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6958 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6960 if test $ac_cv_header_sys_types_h_makedev = no; then
6961 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6962 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6964 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6970 if test $ac_cv_header_sys_mkdev_h = no; then
6971 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6972 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6974 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6983 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6984 if ${ac_cv_header_stat_broken+:} false; then :
6985 $as_echo_n "(cached) " >&6
6986 else
6987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 #include <sys/stat.h>
6992 #if defined S_ISBLK && defined S_IFDIR
6993 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6994 #endif
6996 #if defined S_ISBLK && defined S_IFCHR
6997 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6998 #endif
7000 #if defined S_ISLNK && defined S_IFREG
7001 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7002 #endif
7004 #if defined S_ISSOCK && defined S_IFREG
7005 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7006 #endif
7008 _ACEOF
7009 if ac_fn_c_try_compile "$LINENO"; then :
7010 ac_cv_header_stat_broken=no
7011 else
7012 ac_cv_header_stat_broken=yes
7014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7017 $as_echo "$ac_cv_header_stat_broken" >&6; }
7018 if test $ac_cv_header_stat_broken = yes; then
7020 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7026 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7027 do :
7028 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7029 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7030 #ifdef HAVE_SYS_PARAM_H
7031 # include <sys/param.h>
7032 #endif
7034 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7035 cat >>confdefs.h <<_ACEOF
7036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7037 _ACEOF
7041 done
7044 for ac_header in \
7045 netinet/ip.h \
7046 net/if.h \
7047 net/if_arp.h \
7048 net/if_dl.h \
7049 net/if_types.h \
7050 net/route.h \
7051 netinet/if_ether.h \
7052 netinet/if_inarp.h \
7053 netinet/in_pcb.h \
7054 netinet/ip_icmp.h \
7055 netinet/ip_var.h \
7056 netinet/udp.h \
7057 netipx/ipx.h \
7058 sys/un.h \
7060 do :
7061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7063 #ifdef HAVE_SYS_SOCKET_H
7064 # include <sys/socket.h>
7065 #endif
7066 #ifdef HAVE_SYS_SOCKETVAR_H
7067 # include <sys/socketvar.h>
7068 #endif
7069 #ifdef HAVE_NET_ROUTE_H
7070 # include <net/route.h>
7071 #endif
7072 #ifdef HAVE_NETINET_IN_H
7073 # include <netinet/in.h>
7074 #endif
7075 #ifdef HAVE_NETINET_IN_SYSTM_H
7076 # include <netinet/in_systm.h>
7077 #endif
7078 #ifdef HAVE_NET_IF_H
7079 # include <net/if.h>
7080 #endif
7081 #ifdef HAVE_NETINET_IP_H
7082 # include <netinet/ip.h>
7083 #endif
7085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 _ACEOF
7092 done
7095 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7096 do :
7097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7098 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7099 #ifdef HAVE_ALIAS_H
7100 # include <alias.h>
7101 #endif
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7104 #endif
7105 #ifdef HAVE_SYS_SOCKETVAR_H
7106 # include <sys/socketvar.h>
7107 #endif
7108 #ifdef HAVE_SYS_TIMEOUT_H
7109 # include <sys/timeout.h>
7110 #endif
7111 #ifdef HAVE_NETINET_IN_H
7112 # include <netinet/in.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IN_SYSTM_H
7115 # include <netinet/in_systm.h>
7116 #endif
7117 #ifdef HAVE_NETINET_IP_H
7118 # include <netinet/ip.h>
7119 #endif
7120 #ifdef HAVE_NETINET_IP_VAR_H
7121 # include <netinet/ip_var.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IP_ICMP_H
7124 # include <netinet/ip_icmp.h>
7125 #endif
7126 #ifdef HAVE_NETINET_UDP_H
7127 # include <netinet/udp.h>
7128 #endif
7129 #ifdef HAVE_NETINET_TCP_H
7130 # include <netinet/tcp.h>
7131 #endif
7132 #ifdef HAVE_NETINET_TCP_TIMER_H
7133 #include <netinet/tcp_timer.h>
7134 #endif
7136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137 cat >>confdefs.h <<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139 _ACEOF
7143 done
7146 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7147 do :
7148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7149 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7150 #ifdef HAVE_ASM_TYPES_H
7151 # include <asm/types.h>
7152 #endif
7153 #ifdef HAVE_SYS_SOCKET_H
7154 # include <sys/socket.h>
7155 #endif
7156 #ifdef HAVE_LINUX_TYPES_H
7157 # include <linux/types.h>
7158 #endif
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7163 _ACEOF
7167 done
7170 for ac_header in mach-o/dyld_images.h
7171 do :
7172 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7173 # include <stdbool.h>
7174 #endif
7175 #ifdef HAVE_STDINT_H
7176 # include <stdint.h>
7177 #endif
7179 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7182 _ACEOF
7186 done
7189 for ac_header in resolv.h
7190 do :
7191 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7192 #ifdef HAVE_SYS_SOCKET_H
7193 # include <sys/socket.h>
7194 #endif
7195 #ifdef HAVE_NETINET_IN_H
7196 # include <netinet/in.h>
7197 #endif
7198 #ifdef HAVE_ARPA_NAMESER_H
7199 # include <arpa/nameser.h>
7200 #endif
7202 if test "x$ac_cv_header_resolv_h" = xyes; then :
7203 cat >>confdefs.h <<_ACEOF
7204 #define HAVE_RESOLV_H 1
7205 _ACEOF
7209 done
7212 for ac_header in ifaddrs.h
7213 do :
7214 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7216 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_IFADDRS_H 1
7219 _ACEOF
7223 done
7226 for ac_header in sys/ucontext.h
7227 do :
7228 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7230 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7231 cat >>confdefs.h <<_ACEOF
7232 #define HAVE_SYS_UCONTEXT_H 1
7233 _ACEOF
7237 done
7240 for ac_header in sys/thr.h
7241 do :
7242 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7243 #ifdef HAVE_SYS_UCONTEXT_H
7244 #include <sys/ucontext.h>
7245 #endif
7247 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7248 cat >>confdefs.h <<_ACEOF
7249 #define HAVE_SYS_THR_H 1
7250 _ACEOF
7254 done
7257 for ac_header in pthread_np.h
7258 do :
7259 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7260 #include <pthread.h>
7261 #endif
7263 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7264 cat >>confdefs.h <<_ACEOF
7265 #define HAVE_PTHREAD_NP_H 1
7266 _ACEOF
7270 done
7273 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7274 do :
7275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7276 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7277 #include <sys/time.h>
7278 #endif
7279 #include <sys/types.h>
7280 #ifdef HAVE_ASM_TYPES_H
7281 #include <asm/types.h>
7282 #endif
7284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7287 _ACEOF
7291 done
7294 for ac_header in libprocstat.h
7295 do :
7296 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7297 #include <sys/param.h>
7298 #endif
7299 #ifdef HAVE_SYS_QUEUE_H
7300 #include <sys/queue.h>
7301 #endif
7302 #ifdef HAVE_SYS_SOCKET_H
7303 #include <sys/socket.h>
7304 #endif
7306 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_LIBPROCSTAT_H 1
7309 _ACEOF
7313 done
7317 dlldir="\${libdir}/wine"
7319 DLLFLAGS="-D_REENTRANT"
7321 LDRPATH_INSTALL=""
7323 LDRPATH_LOCAL=""
7325 LDEXECFLAGS=""
7327 LIBEXT="so"
7328 DLLEXT=".so"
7329 IMPLIBEXT="def"
7330 # Extract the first word of "ldd", so it can be a program name with args.
7331 set dummy ldd; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_path_LDD+:} false; then :
7335 $as_echo_n "(cached) " >&6
7336 else
7337 case $LDD in
7338 [\\/]* | ?:[\\/]*)
7339 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 as_dummy="/sbin:/usr/sbin:$PATH"
7344 for as_dir in $as_dummy
7346 IFS=$as_save_IFS
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7350 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 break 2
7354 done
7355 done
7356 IFS=$as_save_IFS
7358 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7360 esac
7362 LDD=$ac_cv_path_LDD
7363 if test -n "$LDD"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7365 $as_echo "$LDD" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}otool; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_OTOOL+:} false; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$OTOOL"; then
7381 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7390 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 OTOOL=$ac_cv_prog_OTOOL
7401 if test -n "$OTOOL"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7403 $as_echo "$OTOOL" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_OTOOL"; then
7412 ac_ct_OTOOL=$OTOOL
7413 # Extract the first word of "otool", so it can be a program name with args.
7414 set dummy otool; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_OTOOL"; then
7421 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430 ac_cv_prog_ac_ct_OTOOL="otool"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7441 if test -n "$ac_ct_OTOOL"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7443 $as_echo "$ac_ct_OTOOL" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_OTOOL" = x; then
7450 OTOOL="otool"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 OTOOL=$ac_ct_OTOOL
7460 else
7461 OTOOL="$ac_cv_prog_OTOOL"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_READELF+:} false; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$READELF"; then
7473 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7482 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 READELF=$ac_cv_prog_READELF
7493 if test -n "$READELF"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7495 $as_echo "$READELF" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_READELF"; then
7504 ac_ct_READELF=$READELF
7505 # Extract the first word of "readelf", so it can be a program name with args.
7506 set dummy readelf; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_READELF"; then
7513 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_READELF="readelf"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7533 if test -n "$ac_ct_READELF"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7535 $as_echo "$ac_ct_READELF" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_READELF" = x; then
7542 READELF="true"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 READELF=$ac_ct_READELF
7552 else
7553 READELF="$ac_cv_prog_READELF"
7556 wine_rules_file=conf$$rules.make
7557 rm -f $wine_rules_file
7558 SUBDIRS=""
7560 DISABLED_SUBDIRS=""
7562 CONFIGURE_TARGETS=""
7564 ALL_TEST_RESOURCES=""
7567 wine_fn_append_file ()
7569 as_fn_append $1 " \\$as_nl $2"
7572 wine_fn_append_rule ()
7574 $as_echo "$1" >>$wine_rules_file
7577 wine_fn_has_flag ()
7579 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7582 wine_fn_all_rules ()
7584 wine_fn_append_file SUBDIRS $ac_dir
7585 wine_fn_append_rule \
7586 "all: $ac_dir
7587 .PHONY: $ac_dir
7588 $ac_dir: dummy
7589 @cd $ac_dir && \$(MAKE)"
7592 wine_fn_install_rules ()
7594 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7596 wine_fn_append_rule \
7597 ".PHONY: $ac_dir/install $ac_dir/uninstall
7598 $ac_dir/install:: $ac_dir
7599 @cd $ac_dir && \$(MAKE) install
7600 $ac_dir/uninstall::
7601 @cd $ac_dir && \$(MAKE) uninstall
7602 install:: $ac_dir/install
7603 __uninstall__: $ac_dir/uninstall"
7605 if wine_fn_has_flag install-lib
7606 then
7607 wine_fn_append_rule \
7608 ".PHONY: $ac_dir/install-lib
7609 $ac_dir/install-lib:: $ac_dir
7610 @cd $ac_dir && \$(MAKE) install-lib
7611 install-lib:: $ac_dir/install-lib"
7614 if wine_fn_has_flag install-dev
7615 then
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install-dev
7618 $ac_dir/install-dev:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install-dev
7620 install-dev:: $ac_dir/install-dev"
7624 wine_fn_clean_rules ()
7626 ac_clean=$@
7628 if wine_fn_has_flag clean
7629 then
7630 wine_fn_append_rule \
7631 "$ac_dir/clean: dummy
7632 @cd $ac_dir && \$(MAKE) clean"
7633 else
7634 wine_fn_append_rule \
7635 "$ac_dir/clean: dummy
7636 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7638 wine_fn_append_rule \
7639 "__clean__: $ac_dir/clean
7640 .PHONY: $ac_dir/clean"
7643 wine_fn_disabled_rules ()
7645 ac_clean=$@
7647 wine_fn_append_file SUBDIRS $ac_dir
7648 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7649 wine_fn_append_rule \
7650 "__clean__: $ac_dir/clean
7651 .PHONY: $ac_dir/clean
7652 $ac_dir/clean: dummy
7653 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7656 wine_fn_config_makefile ()
7658 ac_dir=$1
7659 ac_enable=$2
7660 ac_flags=$3
7662 case $ac_dir in
7663 fonts|server) test -z "$with_wine64" || return ;;
7664 esac
7665 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7666 wine_fn_disabled_rules; return
7668 wine_fn_all_rules
7669 wine_fn_install_rules
7670 wine_fn_clean_rules
7673 wine_fn_config_lib ()
7675 ac_name=$1
7676 ac_flags=$2
7677 ac_dir=dlls/$ac_name
7678 ac_deps="include"
7680 if test "x$enable_tools" = xno; then :
7682 else
7683 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7685 wine_fn_all_rules
7686 wine_fn_clean_rules
7688 wine_fn_append_rule \
7689 ".PHONY: $ac_dir/install $ac_dir/uninstall
7690 $ac_dir/install:: $ac_dir
7691 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7692 $ac_dir/uninstall::
7693 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7694 install install-dev:: $ac_dir/install
7695 __uninstall__: $ac_dir/uninstall
7696 __builddeps__: $ac_dir
7697 $ac_dir: $ac_deps"
7700 wine_fn_config_dll ()
7702 ac_name=$1
7703 ac_dir=dlls/$ac_name
7704 ac_enable=$2
7705 ac_flags=$3
7706 ac_implib=${4:-$ac_name}
7707 ac_file=$ac_dir/lib$ac_implib
7708 ac_dll=$ac_name
7709 ac_deps="include"
7710 ac_implibflags=""
7712 if test "x$enable_tools" = xno; then :
7714 else
7715 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7717 case $ac_name in
7718 *16) ac_implibflags=" -m16" ;;
7719 *.*) ;;
7720 *) ac_dll=$ac_dll.dll ;;
7721 esac
7723 ac_clean=
7724 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7725 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7727 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7728 if test "$ac_enable" != enable_win16
7729 then
7730 wine_fn_clean_rules $ac_clean
7731 wine_fn_append_file SUBDIRS $ac_dir
7732 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7733 else
7734 wine_fn_disabled_rules $ac_clean
7735 return
7737 else
7738 wine_fn_all_rules
7739 wine_fn_clean_rules $ac_clean
7740 wine_fn_append_rule \
7741 "$ac_dir: __builddeps__
7742 manpages htmlpages sgmlpages xmlpages::
7743 @cd $ac_dir && \$(MAKE) \$@
7744 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7745 install install-lib:: $ac_dir/install-lib
7746 __uninstall__: $ac_dir/uninstall"
7747 if test -n "$DLLEXT"
7748 then
7749 wine_fn_append_rule \
7750 "$ac_dir/install-lib:: $ac_dir
7751 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7752 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7753 $ac_dir/uninstall::
7754 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7755 else
7756 wine_fn_append_rule \
7757 "$ac_dir/install-lib:: $ac_dir
7758 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7759 $ac_dir/uninstall::
7760 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7764 if wine_fn_has_flag staticimplib
7765 then
7766 wine_fn_append_rule \
7767 "__builddeps__: $ac_file.a
7768 $ac_file.a $ac_file.cross.a: $ac_deps
7769 $ac_file.a: dummy
7770 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7771 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7772 $ac_dir/install-dev:: $ac_file.a
7773 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7774 $ac_dir/uninstall::
7775 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7776 install install-dev:: $ac_dir/install-dev
7777 __uninstall__: $ac_dir/uninstall"
7779 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7780 then
7781 wine_fn_append_rule \
7782 "__builddeps__: $ac_file.cross.a
7783 $ac_file.cross.a: dummy
7784 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7787 elif wine_fn_has_flag implib
7788 then
7789 wine_fn_append_rule \
7790 "__builddeps__: $ac_file.$IMPLIBEXT
7791 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7792 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7793 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7794 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7795 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7796 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7797 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7798 $ac_dir/uninstall::
7799 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7800 install install-dev:: $ac_dir/install-dev
7801 __uninstall__: $ac_dir/uninstall"
7802 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7803 then
7804 wine_fn_append_rule \
7805 "__builddeps__: $ac_file.cross.a
7806 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7807 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7812 wine_fn_config_program ()
7814 ac_name=$1
7815 ac_dir=programs/$ac_name
7816 ac_enable=$2
7817 ac_flags=$3
7818 ac_program=$ac_name
7820 case $ac_name in
7821 *.*) ;;
7822 *) ac_program=$ac_program.exe ;;
7823 esac
7825 ac_clean=
7826 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7827 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7829 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7830 wine_fn_disabled_rules $ac_clean; return
7833 wine_fn_all_rules
7834 wine_fn_clean_rules $ac_clean
7835 wine_fn_append_rule "$ac_dir: __builddeps__"
7837 wine_fn_has_flag install || return
7838 wine_fn_append_rule \
7839 ".PHONY: $ac_dir/install $ac_dir/uninstall
7840 install install-lib:: $ac_dir/install
7841 __uninstall__: $ac_dir/uninstall"
7843 if test -n "$DLLEXT"
7844 then
7845 wine_fn_append_rule \
7846 "$ac_dir/install:: $ac_dir
7847 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7848 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7849 $ac_dir/uninstall::
7850 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7852 if test -z "$with_wine64" && wine_fn_has_flag installbin
7853 then
7854 wine_fn_append_rule \
7855 "$ac_dir/install:: __tooldeps__
7856 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7857 $ac_dir/uninstall::
7858 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7860 else
7861 wine_fn_append_rule \
7862 "$ac_dir/install:: $ac_dir
7863 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7864 $ac_dir/uninstall::
7865 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7868 if test -z "$with_wine64" && wine_fn_has_flag manpage
7869 then
7870 wine_fn_append_rule \
7871 "$ac_dir/install:: $ac_dir
7872 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7873 $ac_dir/uninstall::
7874 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7878 wine_fn_config_test ()
7880 ac_dir=$1
7881 ac_name=$2
7882 ac_flags=$3
7884 ac_clean=
7885 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7886 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7888 if test "x$enable_tests" = xno; then :
7889 wine_fn_disabled_rules $ac_clean; return
7892 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7893 wine_fn_all_rules
7894 wine_fn_clean_rules $ac_clean
7896 wine_fn_append_rule \
7897 "$ac_dir: __builddeps__
7898 programs/winetest: $ac_dir
7899 check test: $ac_dir/test
7900 .PHONY: $ac_dir/test
7901 $ac_dir/test: dummy
7902 @cd $ac_dir && \$(MAKE) test
7903 testclean::
7904 \$(RM) $ac_dir/*.ok"
7906 if test -n "$CROSSTARGET"
7907 then
7908 wine_fn_append_rule \
7909 "crosstest: $ac_dir/crosstest
7910 .PHONY: $ac_dir/crosstest
7911 $ac_dir/crosstest: __builddeps__ dummy
7912 @cd $ac_dir && \$(MAKE) crosstest"
7916 wine_fn_config_tool ()
7918 ac_dir=$1
7919 ac_flags=$2
7920 if test "x$enable_tools" = xno; then :
7921 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7924 wine_fn_all_rules
7925 wine_fn_install_rules
7926 wine_fn_clean_rules
7928 wine_fn_append_rule "__tooldeps__: $ac_dir"
7929 wine_fn_append_rule "$ac_dir: libs/port"
7930 case $ac_dir in
7931 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7932 esac
7935 wine_fn_config_symlink ()
7937 ac_linkdir=
7938 if test "x$1" = "x-d"
7939 then
7940 ac_linkdir=$2
7941 shift; shift
7943 ac_links=$@
7944 wine_fn_append_rule \
7945 "$ac_links:
7946 @./config.status \$@"
7947 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7948 test -n "$ac_linkdir" || return
7949 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7952 wine_binary="wine"
7953 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7954 WINELOADER_PROGRAMS="$wine_binary"
7956 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7958 case $host_os in
7959 cygwin*|mingw32*)
7960 if test -n "$ac_tool_prefix"; then
7961 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7962 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_DLLTOOL+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 if test -n "$DLLTOOL"; then
7969 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7982 done
7983 done
7984 IFS=$as_save_IFS
7988 DLLTOOL=$ac_cv_prog_DLLTOOL
7989 if test -n "$DLLTOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7991 $as_echo "$DLLTOOL" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7999 if test -z "$ac_cv_prog_DLLTOOL"; then
8000 ac_ct_DLLTOOL=$DLLTOOL
8001 # Extract the first word of "dlltool", so it can be a program name with args.
8002 set dummy dlltool; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$ac_ct_DLLTOOL"; then
8009 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8022 done
8023 done
8024 IFS=$as_save_IFS
8028 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8029 if test -n "$ac_ct_DLLTOOL"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8031 $as_echo "$ac_ct_DLLTOOL" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8037 if test "x$ac_ct_DLLTOOL" = x; then
8038 DLLTOOL="false"
8039 else
8040 case $cross_compiling:$ac_tool_warned in
8041 yes:)
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8044 ac_tool_warned=yes ;;
8045 esac
8046 DLLTOOL=$ac_ct_DLLTOOL
8048 else
8049 DLLTOOL="$ac_cv_prog_DLLTOOL"
8052 LIBEXT="dll"
8053 DLLEXT=""
8054 IMPLIBEXT="a"
8055 enable_iphlpapi=${enable_iphlpapi:-no}
8056 enable_kernel32=${enable_kernel32:-no}
8057 enable_msvcrt=${enable_msvcrt:-no}
8058 enable_ntdll=${enable_ntdll:-no}
8059 enable_ws2_32=${enable_ws2_32:-no}
8060 enable_loader=${enable_loader:-no}
8061 enable_server=${enable_server:-no}
8062 with_x=${with_x:-no}
8063 with_pthread=${with_pthread:-no}
8065 crtlibs=""
8066 case $host_os in
8067 mingw32*)
8068 crtlibs="-lmsvcrt"
8069 SOCKET_LIBS="-lws2_32"
8071 esac
8073 LIBWINE_SHAREDLIB="libwine.dll"
8075 LIBWINE_IMPORTLIB="libwine.a"
8077 LIBWINE_INSTALL_LIB="libwine.dll"
8079 LIBWINE_INSTALL_DEV="libwine.a"
8081 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8083 LIBWINE_DEPENDS="wine.def"
8087 darwin*|macosx*)
8088 for ac_header in libunwind.h
8089 do :
8090 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8092 cat >>confdefs.h <<_ACEOF
8093 #define HAVE_LIBUNWIND_H 1
8094 _ACEOF
8098 done
8100 LIBEXT="dylib"
8101 DLLFLAGS="$DLLFLAGS -fPIC"
8102 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8103 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8104 COREFOUNDATION_LIBS="-framework CoreFoundation"
8106 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8108 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8110 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8112 CORESERVICES_LIBS="-framework CoreServices"
8114 APPKIT_LIBS="-framework AppKit"
8116 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8118 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8119 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 ac_wine_try_cflags_saved=$CFLAGS
8123 CFLAGS="$CFLAGS -Wl,-no_pie"
8124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8126 int main(int argc, char **argv) { return 0; }
8127 _ACEOF
8128 if ac_fn_c_try_link "$LINENO"; then :
8129 ac_cv_cflags__Wl__no_pie=yes
8130 else
8131 ac_cv_cflags__Wl__no_pie=no
8133 rm -f core conftest.err conftest.$ac_objext \
8134 conftest$ac_exeext conftest.$ac_ext
8135 CFLAGS=$ac_wine_try_cflags_saved
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8138 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8139 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8140 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8142 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8143 then
8144 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8147 if test "$ac_cv_header_Security_Security_h" = "yes"
8148 then
8149 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8151 ac_save_LIBS="$LIBS"
8152 LIBS="$LIBS $SECURITY_LIBS"
8153 for ac_func in SSLCopyPeerCertificates
8154 do :
8155 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8156 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8157 cat >>confdefs.h <<_ACEOF
8158 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8159 _ACEOF
8162 done
8164 LIBS="$ac_save_LIBS"
8165 with_gnutls=${with_gnutls:-no}
8167 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8168 then
8169 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8170 then
8171 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8173 else
8174 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8177 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8178 ac_save_LIBS="$LIBS"
8179 LIBS="$LIBS $COREAUDIO_LIBS"
8180 for ac_func in AUGraphAddNode
8181 do :
8182 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8183 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8184 cat >>confdefs.h <<_ACEOF
8185 #define HAVE_AUGRAPHADDNODE 1
8186 _ACEOF
8189 done
8191 LIBS="$ac_save_LIBS"
8193 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8194 then
8195 OPENAL_LIBS="-framework OpenAL"
8198 cat >>confdefs.h <<_ACEOF
8199 #define HAVE_OPENAL 1
8200 _ACEOF
8202 ac_cv_lib_openal=yes
8204 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8205 then
8206 OPENCL_LIBS="-framework OpenCL"
8208 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8210 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8211 then
8212 ac_save_LIBS="$LIBS"
8213 LIBS="$LIBS $IOKIT_LIBS"
8214 for ac_func in IOHIDManagerCreate
8215 do :
8216 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8217 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_IOHIDMANAGERCREATE 1
8220 _ACEOF
8223 done
8225 LIBS="$ac_save_LIBS"
8227 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8228 then
8229 ac_save_LIBS="$LIBS"
8230 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8232 $as_echo_n "checking for the QuickTime framework... " >&6; }
8233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 #include <QuickTime/ImageCompression.h>
8237 main ()
8239 CodecManagerVersion(NULL);
8241 return 0;
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8246 $as_echo "yes" >&6; }
8247 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8249 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8250 else
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252 $as_echo "no" >&6; }
8253 ac_cv_header_QuickTime_ImageCompression_h=no
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 LIBS="$ac_save_LIBS"
8259 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8260 then
8261 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8263 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8264 then
8265 CARBON_LIBS="-framework Carbon"
8269 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8270 then
8271 ac_save_LIBS="$LIBS"
8272 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8273 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8274 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8275 enable_winemac_drv=${enable_winemac_drv:-yes}
8278 LIBS="$ac_save_LIBS"
8281 if test "x$enable_win16" = "xyes"
8282 then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8284 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8285 if test "$cross_compiling" = yes; then :
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8287 $as_echo "cross-compiling, assuming yes" >&6; }
8288 else
8289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 asm(".text\n"
8292 "bad:\tnop;nop\n"
8293 "good:\tnop;nop\n\t"
8294 ".globl _testfunc\n"
8295 "_testfunc:\tcallw good");
8296 extern void testfunc();
8298 main ()
8300 unsigned short *p = (unsigned short *)testfunc;
8301 return p[0] != 0xe866 || p[1] != 0xfffa
8303 return 0;
8305 _ACEOF
8306 if ac_fn_c_try_run "$LINENO"; then :
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 $as_echo "yes" >&6; }
8309 else
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311 $as_echo "no" >&6; }
8312 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
8314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8315 conftest.$ac_objext conftest.beam conftest.$ac_ext
8320 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8322 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8324 LIBWINE_INSTALL_DEV="libwine.dylib"
8326 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8328 WINELOADER_DEPENDS="wine_info.plist"
8332 linux-android*)
8333 DLLFLAGS="$DLLFLAGS -fPIC"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8335 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8336 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8337 $as_echo_n "(cached) " >&6
8338 else
8339 ac_wine_try_cflags_saved=$CFLAGS
8340 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8343 int main(int argc, char **argv) { return 0; }
8344 _ACEOF
8345 if ac_fn_c_try_link "$LINENO"; then :
8346 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8347 else
8348 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8350 rm -f core conftest.err conftest.$ac_objext \
8351 conftest$ac_exeext conftest.$ac_ext
8352 CFLAGS=$ac_wine_try_cflags_saved
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8355 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8356 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8357 LDEXECFLAGS="-Wl,--export-dynamic"
8359 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8362 if eval \${$as_ac_var+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 eval "$as_ac_var=yes"
8373 else
8374 eval "$as_ac_var=no"
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 eval ac_res=\$$as_ac_var
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8382 $as_echo "$ac_res" >&6; }
8383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8384 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8385 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8386 else
8387 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8389 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8390 if eval \${$as_ac_var+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 int main(int argc, char **argv) { return 0; }
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 eval "$as_ac_var=yes"
8401 else
8402 eval "$as_ac_var=no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 eval ac_res=\$$as_ac_var
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8410 $as_echo "$ac_res" >&6; }
8411 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8412 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8413 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8418 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8419 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__Wl___enable_new_dtags=yes
8430 else
8431 ac_cv_cflags__Wl___enable_new_dtags=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8438 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8439 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8440 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8443 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8444 if ${ac_cv_cflags__Wl__pie+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -Wl,-pie"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__Wl__pie=yes
8455 else
8456 ac_cv_cflags__Wl__pie=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8463 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8464 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8465 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8468 LIBWINE_SHAREDLIB="libwine.so"
8470 LIBWINE_INSTALL_LIB="libwine.so"
8472 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8477 DLLFLAGS="$DLLFLAGS -fPIC"
8478 LDEXECFLAGS=""
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8480 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8481 if ${ac_cv_c_dll_gnuelf+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 void myfunc() {}
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_c_dll_gnuelf="yes"
8492 else
8493 ac_cv_c_dll_gnuelf="no"
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8500 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8501 if test "$ac_cv_c_dll_gnuelf" = "yes"
8502 then
8503 LIBWINE_LDFLAGS="-shared"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8517 else
8518 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8527 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8542 else
8543 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8552 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8556 echo '{ global: *; };' >conftest.map
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8559 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8570 else
8571 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8578 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8579 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8580 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8582 rm -f conftest.map
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8585 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8586 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8597 else
8598 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8605 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8606 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8607 LDEXECFLAGS="-Wl,--export-dynamic"
8610 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8613 if eval \${$as_ac_var+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 eval "$as_ac_var=yes"
8624 else
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 eval ac_res=\$$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8635 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8637 else
8638 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8640 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8641 if eval \${$as_ac_var+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 eval "$as_ac_var=yes"
8652 else
8653 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 eval ac_res=\$$as_ac_var
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8661 $as_echo "$ac_res" >&6; }
8662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8670 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl___enable_new_dtags=yes
8681 else
8682 ac_cv_cflags__Wl___enable_new_dtags=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8689 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8690 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8691 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8694 case $host_cpu in
8695 *i[3456789]86* | x86_64)
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8698 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8709 else
8710 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8717 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8718 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8719 case $host_os in
8720 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8721 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8722 esac
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8725 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8726 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8737 else
8738 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8745 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8746 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8747 case $host_os in
8748 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8749 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8750 esac
8752 # Extract the first word of "prelink", so it can be a program name with args.
8753 set dummy prelink; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_PRELINK+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 case $PRELINK in
8760 [\\/]* | ?:[\\/]*)
8761 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in /sbin /usr/sbin $PATH
8767 IFS=$as_save_IFS
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 break 2
8775 done
8776 done
8777 IFS=$as_save_IFS
8779 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8781 esac
8783 PRELINK=$ac_cv_path_PRELINK
8784 if test -n "$PRELINK"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8786 $as_echo "$PRELINK" >&6; }
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8793 if test "x$PRELINK" = xfalse
8794 then
8795 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8800 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8811 else
8812 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8819 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8820 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8821 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8824 esac
8826 else
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8828 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8829 if ${ac_cv_c_dll_unixware+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 void myfunc() {}
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_c_dll_unixware="yes"
8840 else
8841 ac_cv_c_dll_unixware="no"
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8848 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8849 if test "$ac_cv_c_dll_unixware" = "yes"
8850 then
8851 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8854 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8856 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8858 LIBWINE_INSTALL_DEV="libwine.so"
8860 LIBWINE_DEPENDS="wine.map"
8863 esac
8865 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8866 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8867 enable_winemac_drv=${enable_winemac_drv:-no}
8868 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8870 CROSSTARGET=""
8872 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8873 then
8874 case "$host_cpu" in
8875 arm*)
8876 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8877 i[3456789]86*)
8878 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
8879 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8880 mingw32-gcc" ;;
8881 x86_64)
8882 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
8883 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8885 ac_prefix_list="" ;;
8886 esac
8887 for ac_prog in $ac_prefix_list
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy $ac_prog; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_CROSSCC+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 if test -n "$CROSSCC"; then
8897 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8898 else
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in $PATH
8902 IFS=$as_save_IFS
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_CROSSCC="$ac_prog"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 break 2
8910 done
8911 done
8912 IFS=$as_save_IFS
8916 CROSSCC=$ac_cv_prog_CROSSCC
8917 if test -n "$CROSSCC"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8919 $as_echo "$CROSSCC" >&6; }
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8926 test -n "$CROSSCC" && break
8927 done
8928 test -n "$CROSSCC" || CROSSCC="false"
8930 if test "$CROSSCC" != "false"
8931 then
8932 ac_save_CC="$CC"
8933 CC="$CROSSCC"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8935 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8940 main ()
8944 return 0;
8946 _ACEOF
8947 if ac_fn_c_try_compile "$LINENO"; then :
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8949 $as_echo "yes" >&6; }
8950 set x $CROSSCC
8951 shift
8952 while test $# -ge 1
8954 case "$1" in
8955 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8956 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8957 esac
8958 shift
8959 done
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965 CC="$ac_save_CC"
8970 if test "$ac_cv_header_pthread_h" = "yes"
8971 then
8972 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8973 if test "x$ac_cv_func_pthread_create" = xyes; then :
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8977 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8978 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-lpthread $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8989 #ifdef __cplusplus
8990 extern "C"
8991 #endif
8992 char pthread_create ();
8994 main ()
8996 return pthread_create ();
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_pthread_pthread_create=yes
9003 else
9004 ac_cv_lib_pthread_pthread_create=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9011 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9012 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9013 PTHREAD_LIBS="-lpthread"
9020 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9021 case "x$with_pthread" in
9022 xno) ;;
9023 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9024 Wine cannot support threads without libpthread.
9025 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9026 esac
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9032 $as_echo_n "checking for X... " >&6; }
9035 # Check whether --with-x was given.
9036 if test "${with_x+set}" = set; then :
9037 withval=$with_x;
9040 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9041 if test "x$with_x" = xno; then
9042 # The user explicitly disabled X.
9043 have_x=disabled
9044 else
9045 case $x_includes,$x_libraries in #(
9046 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9047 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9048 $as_echo_n "(cached) " >&6
9049 else
9050 # One or both of the vars are not set, and there is no cached value.
9051 ac_x_includes=no ac_x_libraries=no
9052 rm -f -r conftest.dir
9053 if mkdir conftest.dir; then
9054 cd conftest.dir
9055 cat >Imakefile <<'_ACEOF'
9056 incroot:
9057 @echo incroot='${INCROOT}'
9058 usrlibdir:
9059 @echo usrlibdir='${USRLIBDIR}'
9060 libdir:
9061 @echo libdir='${LIBDIR}'
9062 _ACEOF
9063 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9065 for ac_var in incroot usrlibdir libdir; do
9066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9067 done
9068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9069 for ac_extension in a so sl dylib la dll; do
9070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9072 ac_im_usrlibdir=$ac_im_libdir; break
9074 done
9075 # Screen out bogus values from the imake configuration. They are
9076 # bogus both because they are the default anyway, and because
9077 # using them would break gcc on systems where it needs fixed includes.
9078 case $ac_im_incroot in
9079 /usr/include) ac_x_includes= ;;
9080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9081 esac
9082 case $ac_im_usrlibdir in
9083 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9085 esac
9087 cd ..
9088 rm -f -r conftest.dir
9091 # Standard set of common directories for X headers.
9092 # Check X11 before X11Rn because it is often a symlink to the current release.
9093 ac_x_header_dirs='
9094 /usr/X11/include
9095 /usr/X11R7/include
9096 /usr/X11R6/include
9097 /usr/X11R5/include
9098 /usr/X11R4/include
9100 /usr/include/X11
9101 /usr/include/X11R7
9102 /usr/include/X11R6
9103 /usr/include/X11R5
9104 /usr/include/X11R4
9106 /usr/local/X11/include
9107 /usr/local/X11R7/include
9108 /usr/local/X11R6/include
9109 /usr/local/X11R5/include
9110 /usr/local/X11R4/include
9112 /usr/local/include/X11
9113 /usr/local/include/X11R7
9114 /usr/local/include/X11R6
9115 /usr/local/include/X11R5
9116 /usr/local/include/X11R4
9118 /usr/X386/include
9119 /usr/x386/include
9120 /usr/XFree86/include/X11
9122 /usr/include
9123 /usr/local/include
9124 /usr/unsupported/include
9125 /usr/athena/include
9126 /usr/local/x11r5/include
9127 /usr/lpp/Xamples/include
9129 /usr/openwin/include
9130 /usr/openwin/share/include'
9132 if test "$ac_x_includes" = no; then
9133 # Guess where to find include files, by looking for Xlib.h.
9134 # First, try using that file with no special directory specified.
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9138 _ACEOF
9139 if ac_fn_c_try_cpp "$LINENO"; then :
9140 # We can compile using X headers with no special include directory.
9141 ac_x_includes=
9142 else
9143 for ac_dir in $ac_x_header_dirs; do
9144 if test -r "$ac_dir/X11/Xlib.h"; then
9145 ac_x_includes=$ac_dir
9146 break
9148 done
9150 rm -f conftest.err conftest.i conftest.$ac_ext
9151 fi # $ac_x_includes = no
9153 if test "$ac_x_libraries" = no; then
9154 # Check for the libraries.
9155 # See if we find them without any special options.
9156 # Don't add to $LIBS permanently.
9157 ac_save_LIBS=$LIBS
9158 LIBS="-lX11 $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 #include <X11/Xlib.h>
9163 main ()
9165 XrmInitialize ()
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 LIBS=$ac_save_LIBS
9172 # We can link X programs with no special library path.
9173 ac_x_libraries=
9174 else
9175 LIBS=$ac_save_LIBS
9176 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9178 # Don't even attempt the hair of trying to link an X program!
9179 for ac_extension in a so sl dylib la dll; do
9180 if test -r "$ac_dir/libX11.$ac_extension"; then
9181 ac_x_libraries=$ac_dir
9182 break 2
9184 done
9185 done
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 fi # $ac_x_libraries = no
9191 case $ac_x_includes,$ac_x_libraries in #(
9192 no,* | *,no | *\'*)
9193 # Didn't find X, or a directory has "'" in its name.
9194 ac_cv_have_x="have_x=no";; #(
9196 # Record where we found X for the cache.
9197 ac_cv_have_x="have_x=yes\
9198 ac_x_includes='$ac_x_includes'\
9199 ac_x_libraries='$ac_x_libraries'"
9200 esac
9202 ;; #(
9203 *) have_x=yes;;
9204 esac
9205 eval "$ac_cv_have_x"
9206 fi # $with_x != no
9208 if test "$have_x" != yes; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9210 $as_echo "$have_x" >&6; }
9211 no_x=yes
9212 else
9213 # If each of the values was on the command line, it overrides each guess.
9214 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9215 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9216 # Update the cache value to reflect the command line values.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$x_includes'\
9219 ac_x_libraries='$x_libraries'"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9221 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9224 if test "$no_x" = yes; then
9225 # Not all programs may use this symbol, but it does not hurt to define it.
9227 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9229 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9230 else
9231 if test -n "$x_includes"; then
9232 X_CFLAGS="$X_CFLAGS -I$x_includes"
9235 # It would also be nice to do this for all -L options, not just this one.
9236 if test -n "$x_libraries"; then
9237 X_LIBS="$X_LIBS -L$x_libraries"
9238 # For Solaris; some versions of Sun CC require a space after -R and
9239 # others require no space. Words are not sufficient . . . .
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9241 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9242 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9243 ac_xsave_c_werror_flag=$ac_c_werror_flag
9244 ac_c_werror_flag=yes
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9249 main ()
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9259 X_LIBS="$X_LIBS -R$x_libraries"
9260 else
9261 LIBS="$ac_xsave_LIBS -R $x_libraries"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9266 main ()
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9275 $as_echo "yes" >&6; }
9276 X_LIBS="$X_LIBS -R $x_libraries"
9277 else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9279 $as_echo "neither works" >&6; }
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9284 rm -f core conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 ac_c_werror_flag=$ac_xsave_c_werror_flag
9287 LIBS=$ac_xsave_LIBS
9290 # Check for system-dependent libraries X programs must link with.
9291 # Do this before checking for the system-independent R6 libraries
9292 # (-lICE), since we may need -lsocket or whatever for X linking.
9294 if test "$ISC" = yes; then
9295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9296 else
9297 # Martyn Johnson says this is needed for Ultrix, if the X
9298 # libraries were built with DECnet support. And Karl Berry says
9299 # the Alpha needs dnet_stub (dnet does not exist).
9300 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char XOpenDisplay ();
9312 main ()
9314 return XOpenDisplay ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9321 else
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9323 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9324 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-ldnet $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char dnet_ntoa ();
9340 main ()
9342 return dnet_ntoa ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 ac_cv_lib_dnet_dnet_ntoa=yes
9349 else
9350 ac_cv_lib_dnet_dnet_ntoa=no
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9357 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9358 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9359 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9362 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9364 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9365 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-ldnet_stub $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char dnet_ntoa ();
9381 main ()
9383 return dnet_ntoa ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9390 else
9391 ac_cv_lib_dnet_stub_dnet_ntoa=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9398 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9399 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS="$ac_xsave_LIBS"
9409 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9410 # to get the SysV transport functions.
9411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9412 # needs -lnsl.
9413 # The nsl library prevents programs from opening the X display
9414 # on Irix 5.2, according to T.E. Dickey.
9415 # The functions gethostbyname, getservbyname, and inet_addr are
9416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9417 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9418 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9422 if test $ac_cv_func_gethostbyname = no; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9424 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9425 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_check_lib_save_LIBS=$LIBS
9429 LIBS="-lnsl $LIBS"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char gethostbyname ();
9441 main ()
9443 return gethostbyname ();
9445 return 0;
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 ac_cv_lib_nsl_gethostbyname=yes
9450 else
9451 ac_cv_lib_nsl_gethostbyname=no
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9458 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9459 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9463 if test $ac_cv_lib_nsl_gethostbyname = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9465 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9466 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lbsd $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char gethostbyname ();
9482 main ()
9484 return gethostbyname ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_bsd_gethostbyname=yes
9491 else
9492 ac_cv_lib_bsd_gethostbyname=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9499 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9500 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9508 # socket/setsockopt and other routines are undefined under SCO ODT
9509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9510 # on later versions), says Simon Leinen: it contains gethostby*
9511 # variants that don't use the name server (or something). -lsocket
9512 # must be given before -lnsl if both are needed. We assume that
9513 # if connect needs -lnsl, so does gethostbyname.
9514 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9515 if test "x$ac_cv_func_connect" = xyes; then :
9519 if test $ac_cv_func_connect = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9521 $as_echo_n "checking for connect in -lsocket... " >&6; }
9522 if ${ac_cv_lib_socket_connect+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char connect ();
9538 main ()
9540 return connect ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_socket_connect=yes
9547 else
9548 ac_cv_lib_socket_connect=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9555 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9556 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9557 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9562 # Guillermo Gomez says -lposix is necessary on A/UX.
9563 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9564 if test "x$ac_cv_func_remove" = xyes; then :
9568 if test $ac_cv_func_remove = no; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9570 $as_echo_n "checking for remove in -lposix... " >&6; }
9571 if ${ac_cv_lib_posix_remove+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_check_lib_save_LIBS=$LIBS
9575 LIBS="-lposix $LIBS"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char remove ();
9587 main ()
9589 return remove ();
9591 return 0;
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595 ac_cv_lib_posix_remove=yes
9596 else
9597 ac_cv_lib_posix_remove=no
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 LIBS=$ac_check_lib_save_LIBS
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9604 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9605 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9612 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9613 if test "x$ac_cv_func_shmat" = xyes; then :
9617 if test $ac_cv_func_shmat = no; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9619 $as_echo_n "checking for shmat in -lipc... " >&6; }
9620 if ${ac_cv_lib_ipc_shmat+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lipc $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char shmat ();
9636 main ()
9638 return shmat ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_ipc_shmat=yes
9645 else
9646 ac_cv_lib_ipc_shmat=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9653 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9654 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9661 # Check for libraries that X11R6 Xt/Xaw programs need.
9662 ac_save_LDFLAGS=$LDFLAGS
9663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9665 # check for ICE first), but we must link in the order -lSM -lICE or
9666 # we get undefined symbols. So assume we have SM if we have ICE.
9667 # These have to be linked with before -lX11, unlike the other
9668 # libraries we check for below, so use a different variable.
9669 # John Interrante, Karl Berry
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9671 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9672 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_check_lib_save_LIBS=$LIBS
9676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 char IceConnectionNumber ();
9688 main ()
9690 return IceConnectionNumber ();
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_lib_ICE_IceConnectionNumber=yes
9697 else
9698 ac_cv_lib_ICE_IceConnectionNumber=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9705 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9706 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9707 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9710 LDFLAGS=$ac_save_LDFLAGS
9715 if test "$have_x" = "yes"
9716 then
9717 ac_save_CPPFLAGS="$CPPFLAGS"
9718 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9721 $as_echo_n "checking for -lX11... " >&6; }
9722 if ${ac_cv_lib_soname_X11+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_soname_save_LIBS=$LIBS
9726 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XCreateWindow ();
9738 main ()
9740 return XCreateWindow ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 case "$LIBEXT" in
9747 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_X11:+false} :; then :
9751 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 fi ;;
9753 esac
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9765 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9767 cat >>confdefs.h <<_ACEOF
9768 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9769 _ACEOF
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9774 $as_echo_n "checking for -lXext... " >&6; }
9775 if ${ac_cv_lib_soname_Xext+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_soname_save_LIBS=$LIBS
9779 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XextCreateExtension ();
9791 main ()
9793 return XextCreateExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 case "$LIBEXT" in
9800 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xext:+false} :; then :
9804 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 fi ;;
9806 esac
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9816 else
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9818 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9820 cat >>confdefs.h <<_ACEOF
9821 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9822 _ACEOF
9824 X_LIBS="$X_LIBS -lXext"
9826 X_LIBS="$X_LIBS -lX11"
9828 for ac_header in X11/Xlib.h \
9829 X11/XKBlib.h \
9830 X11/Xutil.h \
9831 X11/Xcursor/Xcursor.h \
9832 X11/extensions/shape.h \
9833 X11/extensions/XInput.h \
9834 X11/extensions/XInput2.h \
9835 X11/extensions/XShm.h \
9836 X11/extensions/Xcomposite.h \
9837 X11/extensions/Xinerama.h \
9838 X11/extensions/Xrandr.h \
9839 X11/extensions/Xrender.h \
9840 X11/extensions/xf86vmode.h \
9841 X11/extensions/xf86vmproto.h
9842 do :
9843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9845 # include <X11/Xlib.h>
9846 #endif
9847 #ifdef HAVE_X11_XUTIL_H
9848 # include <X11/Xutil.h>
9849 #endif
9851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9852 cat >>confdefs.h <<_ACEOF
9853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9854 _ACEOF
9858 done
9861 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9862 then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9864 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9865 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_check_lib_save_LIBS=$LIBS
9869 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9876 #ifdef __cplusplus
9877 extern "C"
9878 #endif
9879 char XkbQueryExtension ();
9881 main ()
9883 return XkbQueryExtension ();
9885 return 0;
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 ac_cv_lib_X11_XkbQueryExtension=yes
9890 else
9891 ac_cv_lib_X11_XkbQueryExtension=no
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9898 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9899 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9901 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9907 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9908 then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9910 $as_echo_n "checking for -lXcursor... " >&6; }
9911 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_soname_save_LIBS=$LIBS
9915 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char XcursorImageLoadCursor ();
9927 main ()
9929 return XcursorImageLoadCursor ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 case "$LIBEXT" in
9936 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9940 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 fi ;;
9942 esac
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9952 else
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9954 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9956 cat >>confdefs.h <<_ACEOF
9957 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9958 _ACEOF
9963 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9964 case "x$with_xcursor" in
9965 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9966 xno) ;;
9967 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9968 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9969 esac
9973 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9974 then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9976 $as_echo_n "checking for -lXi... " >&6; }
9977 if ${ac_cv_lib_soname_Xi+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_check_soname_save_LIBS=$LIBS
9981 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 #ifdef __cplusplus
9989 extern "C"
9990 #endif
9991 char XOpenDevice ();
9993 main ()
9995 return XOpenDevice ();
9997 return 0;
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 case "$LIBEXT" in
10002 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10003 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'` ;;
10004 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10005 if ${ac_cv_lib_soname_Xi:+false} :; then :
10006 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 fi ;;
10008 esac
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 LIBS=$ac_check_soname_save_LIBS
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10016 $as_echo "not found" >&6; }
10018 else
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10020 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10022 cat >>confdefs.h <<_ACEOF
10023 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10024 _ACEOF
10029 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10030 case "x$with_xinput" in
10031 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10032 xno) ;;
10033 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10034 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10035 esac
10039 if test "x$ac_cv_lib_soname_Xi" != x
10040 then
10041 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10042 case "x$with_xinput2" in
10043 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10046 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10047 esac
10052 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10053 then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10055 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10056 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char XShmQueryExtension ();
10072 main ()
10074 return XShmQueryExtension ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_Xext_XShmQueryExtension=yes
10081 else
10082 ac_cv_lib_Xext_XShmQueryExtension=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10089 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10090 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10092 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10097 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10098 case "x$with_xshm" in
10099 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10102 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10103 esac
10107 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10110 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10111 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_lib_save_LIBS=$LIBS
10115 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XShapeQueryExtension ();
10127 main ()
10129 return XShapeQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_lib_Xext_XShapeQueryExtension=yes
10136 else
10137 ac_cv_lib_Xext_XShapeQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10144 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10145 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10147 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10152 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10153 case "x$with_xshape" in
10154 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10155 xno) ;;
10156 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10158 esac
10162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10163 then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10165 $as_echo_n "checking for -lXxf86vm... " >&6; }
10166 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10177 #ifdef __cplusplus
10178 extern "C"
10179 #endif
10180 char XF86VidModeQueryExtension ();
10182 main ()
10184 return XF86VidModeQueryExtension ();
10186 return 0;
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 case "$LIBEXT" in
10191 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10195 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 fi ;;
10197 esac
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10207 else
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10209 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10211 cat >>confdefs.h <<_ACEOF
10212 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10213 _ACEOF
10218 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10219 case "x$with_xxf86vm" in
10220 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10221 xno) ;;
10222 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10223 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10224 esac
10228 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10229 then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10231 $as_echo_n "checking for -lXrender... " >&6; }
10232 if ${ac_cv_lib_soname_Xrender+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRenderQueryExtension ();
10248 main ()
10250 return XRenderQueryExtension ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10261 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10273 else
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10275 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10277 cat >>confdefs.h <<_ACEOF
10278 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10279 _ACEOF
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10282 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XRenderSetPictureTransform ();
10299 main ()
10301 return XRenderSetPictureTransform ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10308 else
10309 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10319 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10324 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10325 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10326 $as_echo_n "(cached) " >&6
10327 else
10328 ac_check_lib_save_LIBS=$LIBS
10329 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10336 #ifdef __cplusplus
10337 extern "C"
10338 #endif
10339 char XRenderCreateLinearGradient ();
10341 main ()
10343 return XRenderCreateLinearGradient ();
10345 return 0;
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10350 else
10351 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10358 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10359 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10361 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10368 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10369 case "x$with_xrender" in
10370 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10373 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10374 esac
10378 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10379 then
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 #include <X11/Xlib.h>
10383 #include <X11/extensions/Xrandr.h>
10385 main ()
10387 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_compile "$LINENO"; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10394 $as_echo_n "checking for -lXrandr... " >&6; }
10395 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XRRQueryExtension ();
10411 main ()
10413 return XRRQueryExtension ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10424 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10438 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10442 _ACEOF
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 #include <X11/Xlib.h>
10447 #include <X11/extensions/Xrandr.h>
10449 main ()
10451 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_compile "$LINENO"; then :
10458 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10466 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10467 case "x$with_xrandr" in
10468 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10469 xno) ;;
10470 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10471 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10472 esac
10476 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10477 then
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <X11/Xlib.h>
10481 #include <X11/extensions/Xinerama.h>
10483 main ()
10485 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_compile "$LINENO"; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10492 $as_echo_n "checking for -lXinerama... " >&6; }
10493 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_check_soname_save_LIBS=$LIBS
10497 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10501 /* Override any GCC internal prototype to avoid an error.
10502 Use char because int might match the return type of a GCC
10503 builtin and then its argument prototype would still apply. */
10504 #ifdef __cplusplus
10505 extern "C"
10506 #endif
10507 char XineramaQueryScreens ();
10509 main ()
10511 return XineramaQueryScreens ();
10513 return 0;
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 case "$LIBEXT" in
10518 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10519 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'` ;;
10520 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10521 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10522 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10523 fi ;;
10524 esac
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_soname_save_LIBS
10530 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10532 $as_echo "not found" >&6; }
10534 else
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10536 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10538 cat >>confdefs.h <<_ACEOF
10539 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10540 _ACEOF
10545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10547 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10548 case "x$with_xinerama" in
10549 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10550 xno) ;;
10551 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10552 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10553 esac
10557 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10558 then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10560 $as_echo_n "checking for -lXcomposite... " >&6; }
10561 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_check_soname_save_LIBS=$LIBS
10565 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char XCompositeRedirectWindow ();
10577 main ()
10579 return XCompositeRedirectWindow ();
10581 return 0;
10583 _ACEOF
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 case "$LIBEXT" in
10586 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10589 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10590 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10591 fi ;;
10592 esac
10594 rm -f core conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10596 LIBS=$ac_check_soname_save_LIBS
10598 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10600 $as_echo "not found" >&6; }
10602 else
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10604 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10606 cat >>confdefs.h <<_ACEOF
10607 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10608 _ACEOF
10613 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10614 case "x$with_xcomposite" in
10615 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10616 xno) ;;
10617 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10619 esac
10623 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10624 #include <X11/Xlib.h>
10625 #endif
10627 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10629 cat >>confdefs.h <<_ACEOF
10630 #define HAVE_XICCALLBACK_CALLBACK 1
10631 _ACEOF
10635 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10636 #include <X11/Xlib.h>
10637 #endif
10639 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10641 cat >>confdefs.h <<_ACEOF
10642 #define HAVE_XEVENT_XCOOKIE 1
10643 _ACEOF
10650 opengl_msg=""
10651 if test "x$with_opengl" != "xno"
10652 then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char glXCreateContext ();
10671 main ()
10673 return glXCreateContext ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10696 $as_echo_n "checking for -lGL... " >&6; }
10697 if ${ac_cv_lib_soname_GL+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_soname_save_LIBS=$LIBS
10701 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"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char glXCreateContext ();
10713 main ()
10715 return glXCreateContext ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 case "$LIBEXT" in
10722 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10723 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'` ;;
10724 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10725 if ${ac_cv_lib_soname_GL:+false} :; then :
10726 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 fi ;;
10728 esac
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_soname_save_LIBS
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10736 $as_echo "not found" >&6; }
10737 if test -f /usr/X11R6/lib/libGL.a
10738 then
10739 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10740 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10741 else
10742 opengl_msg="No OpenGL library found on this system."
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="-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"
10754 else
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h <<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10760 _ACEOF
10762 OPENGL_LIBS="-lGL"
10764 if test "x$with_glu" != "xno"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10767 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10768 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_lib_save_LIBS=$LIBS
10772 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char gluLookAt ();
10784 main ()
10786 return gluLookAt ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 ac_cv_lib_GLU_gluLookAt=yes
10793 else
10794 ac_cv_lib_GLU_gluLookAt=no
10796 rm -f core conftest.err conftest.$ac_objext \
10797 conftest$ac_exeext conftest.$ac_ext
10798 LIBS=$ac_check_lib_save_LIBS
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10801 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10802 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10806 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10807 case "x$with_glu" in
10808 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10809 xno) ;;
10810 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10811 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10812 esac
10817 if test "x$with_osmesa" != "xno"
10818 then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10820 $as_echo_n "checking for -lOSMesa... " >&6; }
10821 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10822 $as_echo_n "(cached) " >&6
10823 else
10824 ac_check_soname_save_LIBS=$LIBS
10825 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 char glAccum ();
10837 main ()
10839 return glAccum ();
10841 return 0;
10843 _ACEOF
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 case "$LIBEXT" in
10846 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10847 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'` ;;
10848 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10849 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10850 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10851 fi ;;
10852 esac
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_soname_save_LIBS
10858 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10860 $as_echo "not found" >&6; }
10862 else
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10864 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10866 cat >>confdefs.h <<_ACEOF
10867 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10868 _ACEOF
10872 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10873 case "x$with_osmesa" in
10874 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10875 xno) ;;
10876 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10877 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10878 esac
10883 if test -n "$opengl_msg"; then :
10884 case "x$with_opengl" in
10885 x) as_fn_append wine_warnings "|$opengl_msg
10886 OpenGL and Direct3D won't be supported." ;;
10887 xno) ;;
10888 *) as_fn_error $? "$opengl_msg
10889 OpenGL and Direct3D won't be supported.
10890 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10891 esac
10895 CPPFLAGS="$ac_save_CPPFLAGS"
10896 else
10897 X_CFLAGS=""
10898 X_LIBS=""
10900 if test "x$X_LIBS" = "x"; then :
10901 case "x$with_x" in
10902 xno) ;;
10903 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10904 without X support, which probably isn't what you want. You will need
10905 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10906 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10907 esac
10908 enable_winex11_drv=${enable_winex11_drv:-no}
10911 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10913 if test "$ac_cv_header_CL_cl_h" = "yes"
10914 then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10916 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10917 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10918 $as_echo_n "(cached) " >&6
10919 else
10920 ac_check_lib_save_LIBS=$LIBS
10921 LIBS="-lOpenCL $LIBS"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10928 #ifdef __cplusplus
10929 extern "C"
10930 #endif
10931 char clGetPlatformInfo ();
10933 main ()
10935 return clGetPlatformInfo ();
10937 return 0;
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10942 else
10943 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10950 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10951 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10952 OPENCL_LIBS="-lOpenCL"
10957 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10958 case "x$with_opencl" in
10959 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10960 xno) ;;
10961 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10962 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10963 esac
10964 enable_opencl=${enable_opencl:-no}
10967 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10968 then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10970 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10971 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lpcap $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char pcap_create ();
10987 main ()
10989 return pcap_create ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_pcap_pcap_create=yes
10996 else
10997 ac_cv_lib_pcap_pcap_create=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11004 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11005 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11006 PCAP_LIBS="-lpcap"
11011 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11012 case "x$with_pcap" in
11013 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11014 xno) ;;
11015 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11016 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11017 esac
11018 enable_wpcap=${enable_wpcap:-no}
11022 if test "x$with_xml" != "xno"
11023 then
11024 if ${XML2_CFLAGS:+false} :; then :
11025 if ${PKG_CONFIG+:} false; then :
11026 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11029 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11030 if ${XML2_LIBS:+false} :; then :
11031 if ${PKG_CONFIG+:} false; then :
11032 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11035 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11036 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11037 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11038 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11039 ac_save_CPPFLAGS=$CPPFLAGS
11040 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11041 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11042 do :
11043 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11044 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11046 cat >>confdefs.h <<_ACEOF
11047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11048 _ACEOF
11052 done
11054 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"
11055 then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11057 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char xmlParseMemory ();
11074 main ()
11076 return xmlParseMemory ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_xml2_xmlParseMemory=yes
11083 else
11084 ac_cv_lib_xml2_xmlParseMemory=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11094 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11096 else
11097 XML2_LIBS=""
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11101 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char xmlReadMemory ();
11118 main ()
11120 return xmlReadMemory ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_xml2_xmlReadMemory=yes
11127 else
11128 ac_cv_lib_xml2_xmlReadMemory=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11138 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11143 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char xmlNewDocPI ();
11160 main ()
11162 return xmlNewDocPI ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_xml2_xmlNewDocPI=yes
11169 else
11170 ac_cv_lib_xml2_xmlNewDocPI=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11180 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11185 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11186 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-lxml2 $XML2_LIBS $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char xmlSchemaSetParserStructuredErrors ();
11202 main ()
11204 return xmlSchemaSetParserStructuredErrors ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11211 else
11212 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11219 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11220 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11222 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11227 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11228 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11229 $as_echo_n "(cached) " >&6
11230 else
11231 ac_check_lib_save_LIBS=$LIBS
11232 LIBS="-lxml2 $XML2_LIBS $LIBS"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11239 #ifdef __cplusplus
11240 extern "C"
11241 #endif
11242 char xmlSchemaSetValidStructuredErrors ();
11244 main ()
11246 return xmlSchemaSetValidStructuredErrors ();
11248 return 0;
11250 _ACEOF
11251 if ac_fn_c_try_link "$LINENO"; then :
11252 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11253 else
11254 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11256 rm -f core conftest.err conftest.$ac_objext \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11261 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11262 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11264 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11269 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11270 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_lib_save_LIBS=$LIBS
11274 LIBS="-lxml2 $XML2_LIBS $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char xmlFirstElementChild ();
11286 main ()
11288 return xmlFirstElementChild ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_xml2_xmlFirstElementChild=yes
11295 else
11296 ac_cv_lib_xml2_xmlFirstElementChild=no
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11303 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11304 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11306 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11310 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11312 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11314 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11318 else
11319 XML2_CFLAGS=""
11320 XML2_LIBS=""
11322 CPPFLAGS=$ac_save_CPPFLAGS
11323 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11324 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11327 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11328 case "x$with_xml" in
11329 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11330 xno) ;;
11331 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11332 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11333 esac
11337 if test "x$with_xslt" != "xno"
11338 then
11339 if ${XSLT_CFLAGS:+false} :; then :
11340 if ${PKG_CONFIG+:} false; then :
11341 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11344 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11345 if ${XSLT_LIBS:+false} :; then :
11346 if ${PKG_CONFIG+:} false; then :
11347 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11350 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11351 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11352 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11353 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11354 ac_save_CPPFLAGS=$CPPFLAGS
11355 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11356 for ac_header in libxslt/pattern.h libxslt/transform.h
11357 do :
11358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11359 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11360 # include <libxslt/pattern.h>
11361 #endif
11363 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11364 cat >>confdefs.h <<_ACEOF
11365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11366 _ACEOF
11370 done
11372 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11373 then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11375 $as_echo_n "checking for -lxslt... " >&6; }
11376 if ${ac_cv_lib_soname_xslt+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 LIBS="-lxslt $XSLT_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char xsltCompilePattern ();
11392 main ()
11394 return xsltCompilePattern ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if ${ac_cv_lib_soname_xslt:+false} :; then :
11405 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_xslt:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11419 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11421 cat >>confdefs.h <<_ACEOF
11422 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11423 _ACEOF
11427 else
11428 XSLT_CFLAGS=""
11430 CPPFLAGS=$ac_save_CPPFLAGS
11431 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11432 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11435 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11436 case "x$with_xslt" in
11437 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11438 xno) ;;
11439 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11440 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11441 esac
11445 if test "x$with_dbus" != "xno"
11446 then
11447 if ${DBUS_CFLAGS:+false} :; then :
11448 if ${PKG_CONFIG+:} false; then :
11449 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11453 if ${DBUS_LIBS:+false} :; then :
11454 if ${PKG_CONFIG+:} false; then :
11455 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11460 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11461 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11462 ac_save_CPPFLAGS=$CPPFLAGS
11463 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11464 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11465 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11467 $as_echo_n "checking for -ldbus-1... " >&6; }
11468 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_soname_save_LIBS=$LIBS
11472 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 char dbus_connection_close ();
11484 main ()
11486 return dbus_connection_close ();
11488 return 0;
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"; then :
11492 case "$LIBEXT" in
11493 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11494 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'` ;;
11495 *) 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'`
11496 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11497 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11498 fi ;;
11499 esac
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_soname_save_LIBS
11505 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11507 $as_echo "not found" >&6; }
11508 DBUS_CFLAGS=""
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11511 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11513 cat >>confdefs.h <<_ACEOF
11514 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11515 _ACEOF
11519 else
11520 DBUS_CFLAGS=""
11524 CPPFLAGS=$ac_save_CPPFLAGS
11525 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11526 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11529 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11530 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11531 case "x$with_dbus" in
11532 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11533 xno) ;;
11534 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11535 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11536 esac
11540 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11541 then
11542 if ${HAL_CFLAGS:+false} :; then :
11543 if ${PKG_CONFIG+:} false; then :
11544 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11548 if ${HAL_LIBS:+false} :; then :
11549 if ${PKG_CONFIG+:} false; then :
11550 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11554 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11555 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11556 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11557 ac_save_CPPFLAGS=$CPPFLAGS
11558 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11559 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11560 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11562 $as_echo_n "checking for -lhal... " >&6; }
11563 if ${ac_cv_lib_soname_hal+:} false; then :
11564 $as_echo_n "(cached) " >&6
11565 else
11566 ac_check_soname_save_LIBS=$LIBS
11567 LIBS="-lhal $HAL_LIBS $LIBS"
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11571 /* Override any GCC internal prototype to avoid an error.
11572 Use char because int might match the return type of a GCC
11573 builtin and then its argument prototype would still apply. */
11574 #ifdef __cplusplus
11575 extern "C"
11576 #endif
11577 char libhal_ctx_new ();
11579 main ()
11581 return libhal_ctx_new ();
11583 return 0;
11585 _ACEOF
11586 if ac_fn_c_try_link "$LINENO"; then :
11587 case "$LIBEXT" in
11588 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11591 if ${ac_cv_lib_soname_hal:+false} :; then :
11592 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11593 fi ;;
11594 esac
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_soname_save_LIBS
11600 if ${ac_cv_lib_soname_hal:+false} :; then :
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11602 $as_echo "not found" >&6; }
11603 HAL_CFLAGS=""
11604 else
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11606 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11608 cat >>confdefs.h <<_ACEOF
11609 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11610 _ACEOF
11614 else
11615 HAL_CFLAGS=""
11619 CPPFLAGS=$ac_save_CPPFLAGS
11620 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11621 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11623 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11624 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11625 case "x$with_hal" in
11626 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11627 xno) ;;
11628 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11629 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11630 esac
11635 if test "x$with_gnutls" != "xno"
11636 then
11637 if ${GNUTLS_CFLAGS:+false} :; then :
11638 if ${PKG_CONFIG+:} false; then :
11639 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11643 if ${GNUTLS_LIBS:+false} :; then :
11644 if ${PKG_CONFIG+:} false; then :
11645 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11650 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11651 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11652 ac_save_CPPFLAGS=$CPPFLAGS
11653 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11654 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11655 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11658 #include <gnutls/gnutls.h>
11659 #include <gnutls/crypto.h>
11661 main ()
11663 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_compile "$LINENO"; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11670 $as_echo_n "checking for -lgnutls... " >&6; }
11671 if ${ac_cv_lib_soname_gnutls+:} false; then :
11672 $as_echo_n "(cached) " >&6
11673 else
11674 ac_check_soname_save_LIBS=$LIBS
11675 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11682 #ifdef __cplusplus
11683 extern "C"
11684 #endif
11685 char gnutls_global_init ();
11687 main ()
11689 return gnutls_global_init ();
11691 return 0;
11693 _ACEOF
11694 if ac_fn_c_try_link "$LINENO"; then :
11695 case "$LIBEXT" in
11696 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11697 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'` ;;
11698 *) 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'`
11699 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11700 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'`
11701 fi ;;
11702 esac
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_soname_save_LIBS
11708 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11711 GNUTLS_CFLAGS=""
11712 else
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11714 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11716 cat >>confdefs.h <<_ACEOF
11717 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11718 _ACEOF
11722 ac_wine_check_funcs_save_LIBS="$LIBS"
11723 LIBS="$LIBS $GNUTLS_LIBS"
11724 for ac_func in gnutls_hash
11725 do :
11726 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11727 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11728 cat >>confdefs.h <<_ACEOF
11729 #define HAVE_GNUTLS_HASH 1
11730 _ACEOF
11732 else
11733 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11735 done
11737 LIBS="$ac_wine_check_funcs_save_LIBS"
11739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740 else
11741 GNUTLS_CFLAGS=""
11745 CPPFLAGS=$ac_save_CPPFLAGS
11746 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11747 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11750 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11751 case "x$with_gnutls" in
11752 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11753 xno) ;;
11754 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11755 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11756 esac
11760 CURSES_LIBS=""
11761 if test "$ac_cv_header_ncurses_h" = "yes"
11762 then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11764 $as_echo_n "checking for -lncurses... " >&6; }
11765 if ${ac_cv_lib_soname_ncurses+:} false; then :
11766 $as_echo_n "(cached) " >&6
11767 else
11768 ac_check_soname_save_LIBS=$LIBS
11769 LIBS="-lncurses $LIBS"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 /* Override any GCC internal prototype to avoid an error.
11774 Use char because int might match the return type of a GCC
11775 builtin and then its argument prototype would still apply. */
11776 #ifdef __cplusplus
11777 extern "C"
11778 #endif
11779 char waddch ();
11781 main ()
11783 return waddch ();
11785 return 0;
11787 _ACEOF
11788 if ac_fn_c_try_link "$LINENO"; then :
11789 case "$LIBEXT" in
11790 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11791 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'` ;;
11792 *) 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'`
11793 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11794 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11795 fi ;;
11796 esac
11798 rm -f core conftest.err conftest.$ac_objext \
11799 conftest$ac_exeext conftest.$ac_ext
11800 LIBS=$ac_check_soname_save_LIBS
11802 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11804 $as_echo "not found" >&6; }
11806 else
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11808 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11810 cat >>confdefs.h <<_ACEOF
11811 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11812 _ACEOF
11814 CURSES_LIBS="-lncurses"
11816 elif test "$ac_cv_header_curses_h" = "yes"
11817 then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11819 $as_echo_n "checking for -lcurses... " >&6; }
11820 if ${ac_cv_lib_soname_curses+:} false; then :
11821 $as_echo_n "(cached) " >&6
11822 else
11823 ac_check_soname_save_LIBS=$LIBS
11824 LIBS="-lcurses $LIBS"
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11831 #ifdef __cplusplus
11832 extern "C"
11833 #endif
11834 char waddch ();
11836 main ()
11838 return waddch ();
11840 return 0;
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"; then :
11844 case "$LIBEXT" in
11845 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11846 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'` ;;
11847 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11848 if ${ac_cv_lib_soname_curses:+false} :; then :
11849 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11850 fi ;;
11851 esac
11853 rm -f core conftest.err conftest.$ac_objext \
11854 conftest$ac_exeext conftest.$ac_ext
11855 LIBS=$ac_check_soname_save_LIBS
11857 if ${ac_cv_lib_soname_curses:+false} :; then :
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11859 $as_echo "not found" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11863 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11865 cat >>confdefs.h <<_ACEOF
11866 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11867 _ACEOF
11869 CURSES_LIBS="-lcurses"
11872 ac_save_LIBS="$LIBS"
11873 LIBS="$LIBS $CURSES_LIBS"
11874 for ac_func in mousemask
11875 do :
11876 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11877 if test "x$ac_cv_func_mousemask" = xyes; then :
11878 cat >>confdefs.h <<_ACEOF
11879 #define HAVE_MOUSEMASK 1
11880 _ACEOF
11883 done
11885 LIBS="$ac_save_LIBS"
11886 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11887 case "x$with_curses" in
11888 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11889 xno) ;;
11890 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11891 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11892 esac
11896 if test "x$with_sane" != "xno"
11897 then
11898 if ${SANE_CFLAGS:+false} :; then :
11899 if ${PKG_CONFIG+:} false; then :
11900 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11903 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11904 if ${SANE_LIBS:+false} :; then :
11905 if ${PKG_CONFIG+:} false; then :
11906 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11909 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11911 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11912 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11913 ac_save_CPPFLAGS=$CPPFLAGS
11914 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11915 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11916 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11918 $as_echo_n "checking for -lsane... " >&6; }
11919 if ${ac_cv_lib_soname_sane+:} false; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 ac_check_soname_save_LIBS=$LIBS
11923 LIBS="-lsane $SANE_LIBS $LIBS"
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char sane_init ();
11935 main ()
11937 return sane_init ();
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 case "$LIBEXT" in
11944 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11945 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'` ;;
11946 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11947 if ${ac_cv_lib_soname_sane:+false} :; then :
11948 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11949 fi ;;
11950 esac
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_soname_save_LIBS
11956 if ${ac_cv_lib_soname_sane:+false} :; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11959 SANE_CFLAGS=""
11960 else
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11962 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11964 cat >>confdefs.h <<_ACEOF
11965 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11966 _ACEOF
11970 else
11971 SANE_CFLAGS=""
11975 CPPFLAGS=$ac_save_CPPFLAGS
11976 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11977 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11980 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11981 case "x$with_sane" in
11982 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11983 xno) ;;
11984 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11985 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11986 esac
11990 if test "x$with_v4l" != "xno"
11991 then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11993 $as_echo_n "checking for -lv4l1... " >&6; }
11994 if ${ac_cv_lib_soname_v4l1+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_soname_save_LIBS=$LIBS
11998 LIBS="-lv4l1 $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char v4l1_open ();
12010 main ()
12012 return v4l1_open ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 case "$LIBEXT" in
12019 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12020 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'` ;;
12021 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12022 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12023 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12024 fi ;;
12025 esac
12027 rm -f core conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 LIBS=$ac_check_soname_save_LIBS
12031 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12033 $as_echo "not found" >&6; }
12035 else
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12037 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12039 cat >>confdefs.h <<_ACEOF
12040 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12041 _ACEOF
12046 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12047 case "x$with_v4l" in
12048 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12051 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12052 esac
12056 if test "x$with_gphoto" != "xno"
12057 then
12058 if ${GPHOTO2_CFLAGS:+false} :; then :
12059 if ${PKG_CONFIG+:} false; then :
12060 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12063 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12064 if ${GPHOTO2_LIBS:+false} :; then :
12065 if ${PKG_CONFIG+:} false; then :
12066 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12069 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12070 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12071 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12072 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12073 ac_save_CPPFLAGS=$CPPFLAGS
12074 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12075 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12078 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12079 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12080 $as_echo_n "(cached) " >&6
12081 else
12082 ac_check_lib_save_LIBS=$LIBS
12083 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char gp_camera_new ();
12095 main ()
12097 return gp_camera_new ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_lib_gphoto2_gp_camera_new=yes
12104 else
12105 ac_cv_lib_gphoto2_gp_camera_new=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12112 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12113 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12115 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12117 else
12118 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12121 else
12122 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12126 CPPFLAGS=$ac_save_CPPFLAGS
12127 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12128 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12130 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12131 if ${PKG_CONFIG+:} false; then :
12132 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12135 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12136 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12137 if ${PKG_CONFIG+:} false; then :
12138 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12141 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12142 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12143 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12144 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12145 ac_save_CPPFLAGS=$CPPFLAGS
12146 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12147 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12148 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12150 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12151 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_lib_save_LIBS=$LIBS
12155 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char gp_port_info_list_new ();
12167 main ()
12169 return gp_port_info_list_new ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12176 else
12177 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12184 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12185 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12187 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12189 else
12190 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12193 else
12194 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12198 CPPFLAGS=$ac_save_CPPFLAGS
12199 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12203 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12204 case "x$with_gphoto" in
12205 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12206 xno) ;;
12207 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12208 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12209 esac
12212 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12213 case "x$with_gphoto" in
12214 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12215 xno) ;;
12216 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12217 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12218 esac
12223 if test "$ac_cv_header_resolv_h" = "yes"
12224 then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12226 $as_echo_n "checking for resolver library... " >&6; }
12227 if ${ac_cv_have_resolv+:} false; then :
12228 $as_echo_n "(cached) " >&6
12229 else
12230 ac_save_LIBS="$LIBS"
12231 for lib in '' -lresolv
12233 LIBS="$lib $ac_save_LIBS"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12236 #ifdef HAVE_NETINET_IN_H
12237 #include <netinet/in.h>
12238 #endif
12239 #include <resolv.h>
12241 main ()
12243 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"; then :
12249 ac_cv_have_resolv=${lib:-"none required"}
12250 else
12251 ac_cv_have_resolv="not found"
12253 rm -f core conftest.err conftest.$ac_objext \
12254 conftest$ac_exeext conftest.$ac_ext
12255 test "x$ac_cv_have_resolv" = "xnot found" || break
12256 done
12257 LIBS="$ac_save_LIBS"
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12260 $as_echo "$ac_cv_have_resolv" >&6; }
12262 case "$ac_cv_have_resolv" in
12263 "not found") ;;
12264 "none required")
12266 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12269 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12271 RESOLV_LIBS=$ac_cv_have_resolv
12273 esac
12276 if test "x$with_cms" != "xno"
12277 then
12278 if ${LCMS2_CFLAGS:+false} :; then :
12279 if ${PKG_CONFIG+:} false; then :
12280 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12284 if ${LCMS2_LIBS:+false} :; then :
12285 if ${PKG_CONFIG+:} false; then :
12286 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12290 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12291 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12292 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12293 ac_save_CPPFLAGS=$CPPFLAGS
12294 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12295 for ac_header in lcms2.h
12296 do :
12297 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12298 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12299 cat >>confdefs.h <<_ACEOF
12300 #define HAVE_LCMS2_H 1
12301 _ACEOF
12305 done
12307 if test "$ac_cv_header_lcms2_h" = "yes"
12308 then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12310 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12311 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12312 $as_echo_n "(cached) " >&6
12313 else
12314 ac_check_lib_save_LIBS=$LIBS
12315 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 #ifdef __cplusplus
12323 extern "C"
12324 #endif
12325 char cmsOpenProfileFromFile ();
12327 main ()
12329 return cmsOpenProfileFromFile ();
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_link "$LINENO"; then :
12335 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12336 else
12337 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12339 rm -f core conftest.err conftest.$ac_objext \
12340 conftest$ac_exeext conftest.$ac_ext
12341 LIBS=$ac_check_lib_save_LIBS
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12344 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12345 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12347 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12349 else
12350 LCMS2_LIBS=""
12353 else
12354 LCMS2_CFLAGS=""
12355 LCMS2_LIBS=""
12357 CPPFLAGS=$ac_save_CPPFLAGS
12358 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12359 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12362 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12363 case "x$with_cms" in
12364 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12365 xno) ;;
12366 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12367 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12368 esac
12372 if test "x$with_freetype" != "xno"
12373 then
12374 if ${FREETYPE_CFLAGS:+false} :; then :
12375 if ${PKG_CONFIG+:} false; then :
12376 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12379 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12380 if ${FREETYPE_LIBS:+false} :; then :
12381 if ${PKG_CONFIG+:} false; then :
12382 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12385 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12386 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12387 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12388 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12389 ac_save_CPPFLAGS=$CPPFLAGS
12390 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12391 for ac_header in ft2build.h
12392 do :
12393 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12394 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12395 cat >>confdefs.h <<_ACEOF
12396 #define HAVE_FT2BUILD_H 1
12397 _ACEOF
12401 done
12403 if test "$ac_cv_header_ft2build_h" = "yes"
12404 then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12406 $as_echo_n "checking for -lfreetype... " >&6; }
12407 if ${ac_cv_lib_soname_freetype+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 ac_check_soname_save_LIBS=$LIBS
12411 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 #ifdef __cplusplus
12419 extern "C"
12420 #endif
12421 char FT_Init_FreeType ();
12423 main ()
12425 return FT_Init_FreeType ();
12427 return 0;
12429 _ACEOF
12430 if ac_fn_c_try_link "$LINENO"; then :
12431 case "$LIBEXT" in
12432 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12433 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'` ;;
12434 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12435 if ${ac_cv_lib_soname_freetype:+false} :; then :
12436 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12437 fi ;;
12438 esac
12440 rm -f core conftest.err conftest.$ac_objext \
12441 conftest$ac_exeext conftest.$ac_ext
12442 LIBS=$ac_check_soname_save_LIBS
12444 if ${ac_cv_lib_soname_freetype:+false} :; then :
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12446 $as_echo "not found" >&6; }
12447 FREETYPE_LIBS=""
12448 else
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12450 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12452 cat >>confdefs.h <<_ACEOF
12453 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12454 _ACEOF
12457 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12459 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12460 #include FT_MODULE_H
12462 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12464 cat >>confdefs.h <<_ACEOF
12465 #define HAVE_FT_TRUETYPEENGINETYPE 1
12466 _ACEOF
12472 else
12473 FREETYPE_CFLAGS=""
12474 FREETYPE_LIBS=""
12476 CPPFLAGS=$ac_save_CPPFLAGS
12477 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12478 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12481 if test "x$ac_cv_lib_soname_freetype" = x; then :
12482 case "x$with_freetype" in
12483 xno) ;;
12484 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12485 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12486 esac
12487 enable_fonts=${enable_fonts:-no}
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12491 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12492 if ${ac_cv_c_ppdev+:} false; then :
12493 $as_echo_n "(cached) " >&6
12494 else
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12497 #ifdef HAVE_SYS_IOCTL_H
12498 # include <sys/ioctl.h>
12499 #endif
12500 #include <linux/ppdev.h>
12502 main ()
12504 ioctl (1,PPCLAIM,0)
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_compile "$LINENO"; then :
12510 ac_cv_c_ppdev="yes"
12511 else
12512 ac_cv_c_ppdev="no"
12514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12517 $as_echo "$ac_cv_c_ppdev" >&6; }
12518 if test "$ac_cv_c_ppdev" = "yes"
12519 then
12521 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12525 ac_wine_check_funcs_save_LIBS="$LIBS"
12526 LIBS="$LIBS $PTHREAD_LIBS"
12527 for ac_func in \
12528 pthread_attr_get_np \
12529 pthread_getattr_np \
12530 pthread_getthreadid_np \
12531 pthread_get_stackaddr_np \
12532 pthread_get_stacksize_np
12533 do :
12534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12536 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12537 cat >>confdefs.h <<_ACEOF
12538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12539 _ACEOF
12542 done
12544 LIBS="$ac_wine_check_funcs_save_LIBS"
12546 if test "$ac_cv_header_zlib_h" = "yes"
12547 then
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12549 $as_echo_n "checking for inflate in -lz... " >&6; }
12550 if ${ac_cv_lib_z_inflate+:} false; then :
12551 $as_echo_n "(cached) " >&6
12552 else
12553 ac_check_lib_save_LIBS=$LIBS
12554 LIBS="-lz $LIBS"
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12558 /* Override any GCC internal prototype to avoid an error.
12559 Use char because int might match the return type of a GCC
12560 builtin and then its argument prototype would still apply. */
12561 #ifdef __cplusplus
12562 extern "C"
12563 #endif
12564 char inflate ();
12566 main ()
12568 return inflate ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_lib_z_inflate=yes
12575 else
12576 ac_cv_lib_z_inflate=no
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 LIBS=$ac_check_lib_save_LIBS
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12583 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12584 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12586 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12588 Z_LIBS="-lz"
12593 if test "x$Z_LIBS" = "x"; then :
12594 case "x$with_zlib" in
12595 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12596 xno) ;;
12597 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12598 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12599 esac
12603 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12604 then
12605 if test "$ac_cv_header_gettext_po_h" = "yes"
12606 then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12608 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12609 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lgettextpo $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char po_message_msgctxt ();
12625 main ()
12627 return po_message_msgctxt ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12634 else
12635 ac_cv_lib_gettextpo_po_message_msgctxt=no
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12642 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12643 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12645 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12647 GETTEXTPO_LIBS="-lgettextpo"
12652 if test "x$GETTEXTPO_LIBS" = "x"; then :
12653 case "x$with_gettextpo" in
12654 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12655 xno) ;;
12656 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12657 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12658 esac
12661 if test "$srcdir" != .; then :
12662 case "x$with_gettextpo" in
12663 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12664 xno) ;;
12665 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12666 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12667 esac
12672 if test "x$with_pulse" != "xno";
12673 then
12674 if ${PULSE_CFLAGS:+false} :; then :
12675 if ${PKG_CONFIG+:} false; then :
12676 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12680 if ${PULSE_LIBS:+false} :; then :
12681 if ${PKG_CONFIG+:} false; then :
12682 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12687 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12688 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12689 ac_save_CPPFLAGS=$CPPFLAGS
12690 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12691 for ac_header in pulse/pulseaudio.h
12692 do :
12693 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12694 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12695 cat >>confdefs.h <<_ACEOF
12696 #define HAVE_PULSE_PULSEAUDIO_H 1
12697 _ACEOF
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12699 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12700 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_check_lib_save_LIBS=$LIBS
12704 LIBS="-lpulse $PULSE_LIBS $LIBS"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 char pa_stream_is_corked ();
12716 main ()
12718 return pa_stream_is_corked ();
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"; then :
12724 ac_cv_lib_pulse_pa_stream_is_corked=yes
12725 else
12726 ac_cv_lib_pulse_pa_stream_is_corked=no
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_lib_save_LIBS
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12733 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12734 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12736 else
12737 PULSE_LIBS=""
12740 else
12741 PULSE_LIBS=""
12744 done
12746 CPPFLAGS=$ac_save_CPPFLAGS
12747 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12748 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12751 if test -z "$PULSE_LIBS"; then :
12752 case "x$with_pulse" in
12753 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12756 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12757 esac
12758 enable_winepulse_drv=${enable_winepulse_drv:-no}
12761 if test "x$with_gstreamer" != "xno"
12762 then
12763 if ${GSTREAMER_CFLAGS:+false} :; then :
12764 if ${PKG_CONFIG+:} false; then :
12765 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12769 if ${GSTREAMER_LIBS:+false} :; then :
12770 if ${PKG_CONFIG+:} false; then :
12771 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12776 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12777 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12778 ac_save_CPPFLAGS=$CPPFLAGS
12779 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12780 ac_gst_incl=""
12781 for i in $GSTREAMER_CFLAGS
12783 case "$i" in
12784 -I*) ac_gst_incl="$ac_gst_incl $i";;
12785 esac
12786 done
12787 GSTREAMER_CFLAGS=$ac_gst_incl
12788 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12789 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12790 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12792 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12795 #include <gst/gst.h>
12797 main ()
12799 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12801 return 0;
12803 _ACEOF
12804 if ac_fn_c_try_compile "$LINENO"; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12806 $as_echo "yes" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12808 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12809 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12810 $as_echo_n "(cached) " >&6
12811 else
12812 ac_check_lib_save_LIBS=$LIBS
12813 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 #ifdef __cplusplus
12821 extern "C"
12822 #endif
12823 char gst_pad_new ();
12825 main ()
12827 return gst_pad_new ();
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_link "$LINENO"; then :
12833 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12834 else
12835 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12837 rm -f core conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12842 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12843 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12847 else
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12850 ac_glib2_broken=yes
12851 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12857 CPPFLAGS=$ac_save_CPPFLAGS
12858 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12859 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12862 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 :
12863 case "x$with_gstreamer" in
12864 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12865 xno) ;;
12866 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12867 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12868 esac
12871 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12873 ALSA_LIBS=""
12875 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12876 then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12878 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12879 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_lib_save_LIBS=$LIBS
12883 LIBS="-lasound $LIBS"
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 char snd_pcm_hw_params_get_access_mask ();
12895 main ()
12897 return snd_pcm_hw_params_get_access_mask ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12904 else
12905 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12907 rm -f core conftest.err conftest.$ac_objext \
12908 conftest$ac_exeext conftest.$ac_ext
12909 LIBS=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12912 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12913 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12916 #ifdef HAVE_ALSA_ASOUNDLIB_H
12917 #include <alsa/asoundlib.h>
12918 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12919 #include <sys/asoundlib.h>
12920 #endif
12922 main ()
12924 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12926 return 0;
12928 _ACEOF
12929 if ac_fn_c_try_compile "$LINENO"; then :
12930 ALSA_LIBS="-lasound"
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12936 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12938 if test "x$with_oss" != xno
12939 then
12940 ac_save_CPPFLAGS="$CPPFLAGS"
12941 if test -f /etc/oss.conf
12942 then
12943 . /etc/oss.conf
12945 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12946 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12947 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12948 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12949 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12951 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12953 cat >>confdefs.h <<_ACEOF
12954 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12955 _ACEOF
12957 OSS4_CFLAGS="$ac_oss_incl"
12964 CPPFLAGS="$ac_save_CPPFLAGS"
12966 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12967 case "x$with_oss" in
12968 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12969 xno) ;;
12970 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12971 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12972 esac
12973 enable_wineoss_drv=${enable_wineoss_drv:-no}
12976 if test "x$with_udev" != "xno"
12977 then
12978 if ${UDEV_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12984 if ${UDEV_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12993 ac_save_CPPFLAGS=$CPPFLAGS
12994 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12995 for ac_header in libudev.h
12996 do :
12997 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_libudev_h" = xyes; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define HAVE_LIBUDEV_H 1
13001 _ACEOF
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13003 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13004 if ${ac_cv_lib_udev_udev_new+:} false; then :
13005 $as_echo_n "(cached) " >&6
13006 else
13007 ac_check_lib_save_LIBS=$LIBS
13008 LIBS="-ludev $UDEV_LIBS $LIBS"
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13015 #ifdef __cplusplus
13016 extern "C"
13017 #endif
13018 char udev_new ();
13020 main ()
13022 return udev_new ();
13024 return 0;
13026 _ACEOF
13027 if ac_fn_c_try_link "$LINENO"; then :
13028 ac_cv_lib_udev_udev_new=yes
13029 else
13030 ac_cv_lib_udev_udev_new=no
13032 rm -f core conftest.err conftest.$ac_objext \
13033 conftest$ac_exeext conftest.$ac_ext
13034 LIBS=$ac_check_lib_save_LIBS
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13037 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13038 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13040 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13042 else
13043 UDEV_LIBS=""
13046 else
13047 UDEV_LIBS=""
13050 done
13052 CPPFLAGS=$ac_save_CPPFLAGS
13053 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13054 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13057 if test "x$UDEV_LIBS" = "x"; then :
13058 case "x$with_udev" in
13059 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13060 xno) ;;
13061 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13062 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13063 esac
13067 if test "x$with_capi" != "xno"
13068 then
13069 if ${CAPI20_CFLAGS:+false} :; then :
13070 if ${PKG_CONFIG+:} false; then :
13071 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13075 if ${CAPI20_LIBS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13082 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13083 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13084 ac_save_CPPFLAGS=$CPPFLAGS
13085 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13086 for ac_header in capi20.h linux/capi.h
13087 do :
13088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13089 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13092 cat >>confdefs.h <<_ACEOF
13093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13094 _ACEOF
13098 done
13100 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13101 then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13103 $as_echo_n "checking for -lcapi20... " >&6; }
13104 if ${ac_cv_lib_soname_capi20+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_soname_save_LIBS=$LIBS
13108 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char capi20_register ();
13120 main ()
13122 return capi20_register ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 case "$LIBEXT" in
13129 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13130 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'` ;;
13131 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13132 if ${ac_cv_lib_soname_capi20:+false} :; then :
13133 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13134 fi ;;
13135 esac
13137 rm -f core conftest.err conftest.$ac_objext \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_soname_save_LIBS
13141 if ${ac_cv_lib_soname_capi20:+false} :; then :
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13143 $as_echo "not found" >&6; }
13145 else
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13147 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13149 cat >>confdefs.h <<_ACEOF
13150 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13151 _ACEOF
13156 CPPFLAGS=$ac_save_CPPFLAGS
13157 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13158 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13161 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13162 case "x$with_capi" in
13163 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13164 xno) ;;
13165 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13166 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13167 esac
13171 CUPS_CFLAGS=""
13173 if test "x$with_cups" != "xno"
13174 then
13175 ac_save_CPPFLAGS="$CPPFLAGS"
13176 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13177 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13178 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13179 for ac_header in cups/cups.h
13180 do :
13181 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13182 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13183 cat >>confdefs.h <<_ACEOF
13184 #define HAVE_CUPS_CUPS_H 1
13185 _ACEOF
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13187 $as_echo_n "checking for -lcups... " >&6; }
13188 if ${ac_cv_lib_soname_cups+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 ac_check_soname_save_LIBS=$LIBS
13192 LIBS="-lcups $ac_cups_libs $LIBS"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13199 #ifdef __cplusplus
13200 extern "C"
13201 #endif
13202 char cupsGetDefault ();
13204 main ()
13206 return cupsGetDefault ();
13208 return 0;
13210 _ACEOF
13211 if ac_fn_c_try_link "$LINENO"; then :
13212 case "$LIBEXT" in
13213 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13214 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'` ;;
13215 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13216 if ${ac_cv_lib_soname_cups:+false} :; then :
13217 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13218 fi ;;
13219 esac
13221 rm -f core conftest.err conftest.$ac_objext \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_soname_save_LIBS
13225 if ${ac_cv_lib_soname_cups:+false} :; then :
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13227 $as_echo "not found" >&6; }
13229 else
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13231 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13233 cat >>confdefs.h <<_ACEOF
13234 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13235 _ACEOF
13237 CUPS_CFLAGS="$ac_cups_cflags"
13239 for ac_header in cups/ppd.h
13240 do :
13241 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13243 cat >>confdefs.h <<_ACEOF
13244 #define HAVE_CUPS_PPD_H 1
13245 _ACEOF
13249 done
13253 done
13255 CPPFLAGS="$ac_save_CPPFLAGS"
13257 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13258 case "x$with_cups" in
13259 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13260 xno) ;;
13261 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13262 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13263 esac
13267 if test "x$with_fontconfig" != "xno"
13268 then
13269 if ${FONTCONFIG_CFLAGS:+false} :; then :
13270 if ${PKG_CONFIG+:} false; then :
13271 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13274 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13275 if ${FONTCONFIG_LIBS:+false} :; then :
13276 if ${PKG_CONFIG+:} false; then :
13277 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13280 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13282 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13283 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13284 ac_save_CPPFLAGS=$CPPFLAGS
13285 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13286 for ac_header in fontconfig/fontconfig.h
13287 do :
13288 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13289 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13290 cat >>confdefs.h <<_ACEOF
13291 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13292 _ACEOF
13296 done
13298 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13299 then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13301 $as_echo_n "checking for -lfontconfig... " >&6; }
13302 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13303 $as_echo_n "(cached) " >&6
13304 else
13305 ac_check_soname_save_LIBS=$LIBS
13306 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13313 #ifdef __cplusplus
13314 extern "C"
13315 #endif
13316 char FcInit ();
13318 main ()
13320 return FcInit ();
13322 return 0;
13324 _ACEOF
13325 if ac_fn_c_try_link "$LINENO"; then :
13326 case "$LIBEXT" in
13327 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13328 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'` ;;
13329 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13330 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13331 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13332 fi ;;
13333 esac
13335 rm -f core conftest.err conftest.$ac_objext \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_soname_save_LIBS
13339 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13341 $as_echo "not found" >&6; }
13342 FONTCONFIG_CFLAGS=""
13343 else
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13345 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13347 cat >>confdefs.h <<_ACEOF
13348 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13349 _ACEOF
13353 else
13354 FONTCONFIG_CFLAGS=""
13356 CPPFLAGS=$ac_save_CPPFLAGS
13357 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13358 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13361 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13362 case "x$with_fontconfig" in
13363 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13364 xno) ;;
13365 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13366 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13367 esac
13371 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13372 then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13374 $as_echo_n "checking for -lgsm... " >&6; }
13375 if ${ac_cv_lib_soname_gsm+:} false; then :
13376 $as_echo_n "(cached) " >&6
13377 else
13378 ac_check_soname_save_LIBS=$LIBS
13379 LIBS="-lgsm $LIBS"
13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13383 /* Override any GCC internal prototype to avoid an error.
13384 Use char because int might match the return type of a GCC
13385 builtin and then its argument prototype would still apply. */
13386 #ifdef __cplusplus
13387 extern "C"
13388 #endif
13389 char gsm_create ();
13391 main ()
13393 return gsm_create ();
13395 return 0;
13397 _ACEOF
13398 if ac_fn_c_try_link "$LINENO"; then :
13399 case "$LIBEXT" in
13400 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13401 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'` ;;
13402 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13403 if ${ac_cv_lib_soname_gsm:+false} :; then :
13404 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13405 fi ;;
13406 esac
13408 rm -f core conftest.err conftest.$ac_objext \
13409 conftest$ac_exeext conftest.$ac_ext
13410 LIBS=$ac_check_soname_save_LIBS
13412 if ${ac_cv_lib_soname_gsm:+false} :; then :
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13414 $as_echo "not found" >&6; }
13416 else
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13418 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13420 cat >>confdefs.h <<_ACEOF
13421 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13422 _ACEOF
13427 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13428 case "x$with_gsm" in
13429 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13430 xno) ;;
13431 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13432 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13433 esac
13437 if test "x$with_jpeg" != "xno"
13438 then
13439 if ${JPEG_CFLAGS:+false} :; then :
13440 if ${PKG_CONFIG+:} false; then :
13441 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13445 if ${JPEG_LIBS:+false} :; then :
13446 if ${PKG_CONFIG+:} false; then :
13447 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13452 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13453 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13454 ac_save_CPPFLAGS=$CPPFLAGS
13455 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13456 for ac_header in jpeglib.h
13457 do :
13458 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13459 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13460 cat >>confdefs.h <<_ACEOF
13461 #define HAVE_JPEGLIB_H 1
13462 _ACEOF
13466 done
13468 if test "$ac_cv_header_jpeglib_h" = "yes"
13469 then
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13471 $as_echo_n "checking for -ljpeg... " >&6; }
13472 if ${ac_cv_lib_soname_jpeg+:} false; then :
13473 $as_echo_n "(cached) " >&6
13474 else
13475 ac_check_soname_save_LIBS=$LIBS
13476 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13480 /* Override any GCC internal prototype to avoid an error.
13481 Use char because int might match the return type of a GCC
13482 builtin and then its argument prototype would still apply. */
13483 #ifdef __cplusplus
13484 extern "C"
13485 #endif
13486 char jpeg_start_decompress ();
13488 main ()
13490 return jpeg_start_decompress ();
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_link "$LINENO"; then :
13496 case "$LIBEXT" in
13497 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13498 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'` ;;
13499 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13500 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13501 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13502 fi ;;
13503 esac
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_soname_save_LIBS
13509 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13511 $as_echo "not found" >&6; }
13512 JPEG_CFLAGS=""
13513 else
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13515 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13517 cat >>confdefs.h <<_ACEOF
13518 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13519 _ACEOF
13523 else
13524 JPEG_CFLAGS=""
13526 CPPFLAGS=$ac_save_CPPFLAGS
13527 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13528 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13531 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13532 case "x$with_jpeg" in
13533 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13534 xno) ;;
13535 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13536 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13537 esac
13541 if test "x$with_png" != "xno"
13542 then
13543 if ${PNG_CFLAGS:+false} :; then :
13544 if ${PKG_CONFIG+:} false; then :
13545 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13548 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13549 if ${PNG_LIBS:+false} :; then :
13550 if ${PKG_CONFIG+:} false; then :
13551 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13554 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13556 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13557 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13558 ac_save_CPPFLAGS=$CPPFLAGS
13559 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13560 for ac_header in png.h
13561 do :
13562 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13563 if test "x$ac_cv_header_png_h" = xyes; then :
13564 cat >>confdefs.h <<_ACEOF
13565 #define HAVE_PNG_H 1
13566 _ACEOF
13570 done
13572 if test "$ac_cv_header_png_h" = "yes"
13573 then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13575 $as_echo_n "checking for -lpng... " >&6; }
13576 if ${ac_cv_lib_soname_png+:} false; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 ac_check_soname_save_LIBS=$LIBS
13580 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13584 /* Override any GCC internal prototype to avoid an error.
13585 Use char because int might match the return type of a GCC
13586 builtin and then its argument prototype would still apply. */
13587 #ifdef __cplusplus
13588 extern "C"
13589 #endif
13590 char png_create_read_struct ();
13592 main ()
13594 return png_create_read_struct ();
13596 return 0;
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 case "$LIBEXT" in
13601 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13602 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'` ;;
13603 *) 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'`
13604 if ${ac_cv_lib_soname_png:+false} :; then :
13605 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13606 fi ;;
13607 esac
13609 rm -f core conftest.err conftest.$ac_objext \
13610 conftest$ac_exeext conftest.$ac_ext
13611 LIBS=$ac_check_soname_save_LIBS
13613 if ${ac_cv_lib_soname_png:+false} :; then :
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13615 $as_echo "not found" >&6; }
13616 PNG_CFLAGS=""
13617 else
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13619 $as_echo "$ac_cv_lib_soname_png" >&6; }
13621 cat >>confdefs.h <<_ACEOF
13622 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13623 _ACEOF
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <png.h>
13629 main ()
13631 typeof(png_set_expand_gray_1_2_4_to_8) *p
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_compile "$LINENO"; then :
13638 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 else
13644 PNG_CFLAGS=""
13646 CPPFLAGS=$ac_save_CPPFLAGS
13647 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13648 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13651 if test "x$ac_cv_lib_soname_png" = "x"; then :
13652 case "x$with_png" in
13653 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13654 xno) ;;
13655 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13656 This is an error since --with-png was requested." "$LINENO" 5 ;;
13657 esac
13661 if test "x$with_tiff" != "xno"
13662 then
13663 if ${TIFF_CFLAGS:+false} :; then :
13664 if ${PKG_CONFIG+:} false; then :
13665 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13669 if ${TIFF_LIBS:+false} :; then :
13670 if ${PKG_CONFIG+:} false; then :
13671 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13676 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13677 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13678 ac_save_CPPFLAGS=$CPPFLAGS
13679 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13680 for ac_header in tiffio.h
13681 do :
13682 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13683 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13684 cat >>confdefs.h <<_ACEOF
13685 #define HAVE_TIFFIO_H 1
13686 _ACEOF
13690 done
13692 if test "$ac_cv_header_tiffio_h" = "yes"
13693 then
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13695 $as_echo_n "checking for -ltiff... " >&6; }
13696 if ${ac_cv_lib_soname_tiff+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 ac_check_soname_save_LIBS=$LIBS
13700 LIBS="-ltiff $TIFF_LIBS $LIBS"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 /* Override any GCC internal prototype to avoid an error.
13705 Use char because int might match the return type of a GCC
13706 builtin and then its argument prototype would still apply. */
13707 #ifdef __cplusplus
13708 extern "C"
13709 #endif
13710 char TIFFClientOpen ();
13712 main ()
13714 return TIFFClientOpen ();
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 case "$LIBEXT" in
13721 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13722 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'` ;;
13723 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13724 if ${ac_cv_lib_soname_tiff:+false} :; then :
13725 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13726 fi ;;
13727 esac
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 LIBS=$ac_check_soname_save_LIBS
13733 if ${ac_cv_lib_soname_tiff:+false} :; then :
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13735 $as_echo "not found" >&6; }
13737 else
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13739 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13741 cat >>confdefs.h <<_ACEOF
13742 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13743 _ACEOF
13748 CPPFLAGS=$ac_save_CPPFLAGS
13749 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13750 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13753 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13754 case "x$with_tiff" in
13755 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13756 xno) ;;
13757 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13758 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13759 esac
13763 if test "x$with_mpg123" != "xno"
13764 then
13765 if ${MPG123_CFLAGS:+false} :; then :
13766 if ${PKG_CONFIG+:} false; then :
13767 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13771 if ${MPG123_LIBS:+false} :; then :
13772 if ${PKG_CONFIG+:} false; then :
13773 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13777 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13778 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13779 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13780 ac_save_CPPFLAGS=$CPPFLAGS
13781 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13782 for ac_header in mpg123.h
13783 do :
13784 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13785 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13786 cat >>confdefs.h <<_ACEOF
13787 #define HAVE_MPG123_H 1
13788 _ACEOF
13792 done
13794 if test "$ac_cv_header_mpg123_h" = "yes"
13795 then
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13797 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13798 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_check_lib_save_LIBS=$LIBS
13802 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13809 #ifdef __cplusplus
13810 extern "C"
13811 #endif
13812 char mpg123_feed ();
13814 main ()
13816 return mpg123_feed ();
13818 return 0;
13820 _ACEOF
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 ac_cv_lib_mpg123_mpg123_feed=yes
13823 else
13824 ac_cv_lib_mpg123_mpg123_feed=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13831 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13832 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13834 else
13835 MPG123_LIBS=""
13838 else
13839 MPG123_CFLAGS=""
13840 MPG123_LIBS=""
13842 CPPFLAGS=$ac_save_CPPFLAGS
13843 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13844 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13847 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13848 case "x$with_mpg123" in
13849 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13850 xno) ;;
13851 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13852 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13853 esac
13854 enable_winemp3_acm=${enable_winemp3_acm:-no}
13857 if test "$ac_cv_header_AL_al_h" = "yes"
13858 then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13860 $as_echo_n "checking for -lopenal... " >&6; }
13861 if ${ac_cv_lib_soname_openal+:} false; then :
13862 $as_echo_n "(cached) " >&6
13863 else
13864 ac_check_soname_save_LIBS=$LIBS
13865 LIBS="-lopenal $LIBS"
13866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867 /* end confdefs.h. */
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13872 #ifdef __cplusplus
13873 extern "C"
13874 #endif
13875 char alGetSource3i ();
13877 main ()
13879 return alGetSource3i ();
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 case "$LIBEXT" in
13886 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13887 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'` ;;
13888 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13889 if ${ac_cv_lib_soname_openal:+false} :; then :
13890 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13891 fi ;;
13892 esac
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_soname_save_LIBS
13898 if ${ac_cv_lib_soname_openal:+false} :; then :
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13900 $as_echo "not found" >&6; }
13902 else
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13904 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13906 cat >>confdefs.h <<_ACEOF
13907 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13908 _ACEOF
13910 OPENAL_LIBS="-lopenal"
13912 ac_cv_lib_openal=yes
13914 cat >>confdefs.h <<_ACEOF
13915 #define HAVE_OPENAL 1
13916 _ACEOF
13920 if test "x$ac_cv_lib_openal" != xyes; then :
13921 case "x$with_openal" in
13922 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13923 xno) ;;
13924 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13925 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13926 esac
13927 enable_openal32=${enable_openal32:-no}
13930 if test "x$ac_cv_lib_openal" = xyes
13931 then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13933 $as_echo_n "checking for openal-soft... " >&6; }
13934 if ${ac_cv_have_openalsoft+:} false; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 #include <AL/al.h>
13940 #include <AL/alc.h>
13941 #include <AL/alext.h>
13942 LPALCRENDERSAMPLESSOFT x;
13944 main ()
13948 return 0;
13950 _ACEOF
13951 if ac_fn_c_try_compile "$LINENO"; then :
13952 ac_cv_have_openalsoft=yes
13953 else
13954 ac_cv_have_openalsoft=no
13956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13959 $as_echo "$ac_cv_have_openalsoft" >&6; }
13961 if test "x$ac_cv_have_openalsoft" != xyes
13962 then
13963 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13964 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13965 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13966 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13967 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13968 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13969 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13970 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13971 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13972 enable_xapofx1_1=${enable_xapofx1_1:-no}
13973 enable_xapofx1_2=${enable_xapofx1_2:-no}
13974 enable_xapofx1_3=${enable_xapofx1_3:-no}
13975 enable_xapofx1_4=${enable_xapofx1_4:-no}
13976 enable_xapofx1_5=${enable_xapofx1_5:-no}
13977 enable_xaudio2_0=${enable_xaudio2_0:-no}
13978 enable_xaudio2_1=${enable_xaudio2_1:-no}
13979 enable_xaudio2_2=${enable_xaudio2_2:-no}
13980 enable_xaudio2_3=${enable_xaudio2_3:-no}
13981 enable_xaudio2_4=${enable_xaudio2_4:-no}
13982 enable_xaudio2_5=${enable_xaudio2_5:-no}
13983 enable_xaudio2_6=${enable_xaudio2_6:-no}
13984 enable_xaudio2_7=${enable_xaudio2_7:-no}
13985 enable_xaudio2_8=${enable_xaudio2_8:-no}
13986 enable_xaudio2_9=${enable_xaudio2_9:-no}
13989 if test "$ac_cv_header_kstat_h" = "yes"
13990 then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13992 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13993 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13994 $as_echo_n "(cached) " >&6
13995 else
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-lkstat $LIBS"
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 #ifdef __cplusplus
14005 extern "C"
14006 #endif
14007 char kstat_open ();
14009 main ()
14011 return kstat_open ();
14013 return 0;
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_lib_kstat_kstat_open=yes
14018 else
14019 ac_cv_lib_kstat_kstat_open=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 LIBS=$ac_check_lib_save_LIBS
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14026 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14027 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14029 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14031 KSTAT_LIBS="-lkstat"
14037 if test "$ac_cv_header_libprocstat_h" = "yes"
14038 then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14040 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14041 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lprocstat $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char procstat_open_sysctl ();
14057 main ()
14059 return procstat_open_sysctl ();
14061 return 0;
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 ac_cv_lib_procstat_procstat_open_sysctl=yes
14066 else
14067 ac_cv_lib_procstat_procstat_open_sysctl=no
14069 rm -f core conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14074 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14075 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14077 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14079 PROCSTAT_LIBS="-lprocstat"
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14086 $as_echo_n "checking for -lodbc... " >&6; }
14087 if ${ac_cv_lib_soname_odbc+:} false; then :
14088 $as_echo_n "(cached) " >&6
14089 else
14090 ac_check_soname_save_LIBS=$LIBS
14091 LIBS="-lodbc $LIBS"
14092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14098 #ifdef __cplusplus
14099 extern "C"
14100 #endif
14101 char SQLConnect ();
14103 main ()
14105 return SQLConnect ();
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"; then :
14111 case "$LIBEXT" in
14112 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14113 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'` ;;
14114 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14115 if ${ac_cv_lib_soname_odbc:+false} :; then :
14116 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14117 fi ;;
14118 esac
14120 rm -f core conftest.err conftest.$ac_objext \
14121 conftest$ac_exeext conftest.$ac_ext
14122 LIBS=$ac_check_soname_save_LIBS
14124 if ${ac_cv_lib_soname_odbc:+false} :; then :
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14126 $as_echo "not found" >&6; }
14127 cat >>confdefs.h <<_ACEOF
14128 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14129 _ACEOF
14131 else
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14133 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14135 cat >>confdefs.h <<_ACEOF
14136 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14137 _ACEOF
14142 if test "x$with_netapi" != "xno"
14143 then
14144 if ${NETAPI_CFLAGS:+false} :; then :
14145 if ${PKG_CONFIG+:} false; then :
14146 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14150 if ${NETAPI_LIBS:+false} :; then :
14151 if ${PKG_CONFIG+:} false; then :
14152 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14157 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14158 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14159 ac_save_CPPFLAGS=$CPPFLAGS
14160 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14162 $as_echo_n "checking for -lnetapi... " >&6; }
14163 if ${ac_cv_lib_soname_netapi+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_check_soname_save_LIBS=$LIBS
14167 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 char libnetapi_init ();
14179 main ()
14181 return libnetapi_init ();
14183 return 0;
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 case "$LIBEXT" in
14188 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14189 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'` ;;
14190 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14191 if ${ac_cv_lib_soname_netapi:+false} :; then :
14192 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14193 fi ;;
14194 esac
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14198 LIBS=$ac_check_soname_save_LIBS
14200 if ${ac_cv_lib_soname_netapi:+false} :; then :
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14202 $as_echo "not found" >&6; }
14203 cat >>confdefs.h <<_ACEOF
14204 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14205 _ACEOF
14207 else
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14209 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14211 cat >>confdefs.h <<_ACEOF
14212 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14213 _ACEOF
14217 CPPFLAGS=$ac_save_CPPFLAGS
14218 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14219 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14223 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14224 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14225 then
14226 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14230 EXTRACFLAGS=""
14232 if test "x${GCC}" = "xyes"
14233 then
14234 EXTRACFLAGS="-Wall -pipe"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14237 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14238 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 if test "$cross_compiling" = yes; then :
14242 ac_cv_c_gcc_strength_bug="no"
14243 else
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 int L[4] = {0,1,2,3};
14248 main ()
14250 static int Array[3];
14251 unsigned int B = 3;
14252 int i;
14253 for(i=0; i<B; i++) Array[i] = i - 3;
14254 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14255 L[i] = 4;
14256 return (Array[1] != -2 || L[2] != 3)
14258 return 0;
14260 _ACEOF
14261 if ac_fn_c_try_run "$LINENO"; then :
14262 ac_cv_c_gcc_strength_bug="no"
14263 else
14264 ac_cv_c_gcc_strength_bug="yes"
14266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14267 conftest.$ac_objext conftest.beam conftest.$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14272 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14273 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14274 then
14275 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14279 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14280 if ${ac_cv_cflags__fno_builtin+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -fno-builtin"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_cflags__fno_builtin=yes
14291 else
14292 ac_cv_cflags__fno_builtin=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 CFLAGS=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14299 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14300 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14301 BUILTINFLAG="-fno-builtin"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14305 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14306 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 ac_wine_try_cflags_saved=$CFLAGS
14310 CFLAGS="$CFLAGS -fno-strict-aliasing"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_cflags__fno_strict_aliasing=yes
14317 else
14318 ac_cv_cflags__fno_strict_aliasing=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 CFLAGS=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14325 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14326 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14327 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14330 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14331 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_wine_try_cflags_saved=$CFLAGS
14335 CFLAGS="$CFLAGS -fexcess-precision=standard"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_cflags__fexcess_precision_standard=yes
14342 else
14343 ac_cv_cflags__fexcess_precision_standard=no
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14350 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14351 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14352 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14355 saved_CFLAGS=$CFLAGS
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14357 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14358 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 ac_wine_try_cflags_saved=$CFLAGS
14362 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 int main(int argc, char **argv) { return 0; }
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 ac_cv_cflags__Werror_unknown_warning_option=yes
14369 else
14370 ac_cv_cflags__Werror_unknown_warning_option=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14377 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14378 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14379 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14382 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14383 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Wdeclaration_after_statement=yes
14394 else
14395 ac_cv_cflags__Wdeclaration_after_statement=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14402 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14403 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14404 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14407 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14408 if ${ac_cv_cflags__Wempty_body+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_wine_try_cflags_saved=$CFLAGS
14412 CFLAGS="$CFLAGS -Wempty-body"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_cflags__Wempty_body=yes
14419 else
14420 ac_cv_cflags__Wempty_body=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 CFLAGS=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14427 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14428 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14429 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14432 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14433 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_wine_try_cflags_saved=$CFLAGS
14437 CFLAGS="$CFLAGS -Wignored-qualifiers"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_cflags__Wignored_qualifiers=yes
14444 else
14445 ac_cv_cflags__Wignored_qualifiers=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14452 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14453 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14454 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14457 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14458 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_wine_try_cflags_saved=$CFLAGS
14462 CFLAGS="$CFLAGS -Wshift-overflow=2"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 int main(int argc, char **argv) { return 0; }
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468 ac_cv_cflags__Wshift_overflow_2=yes
14469 else
14470 ac_cv_cflags__Wshift_overflow_2=no
14472 rm -f core conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 CFLAGS=$ac_wine_try_cflags_saved
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14477 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14478 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14479 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14482 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14483 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_wine_try_cflags_saved=$CFLAGS
14487 CFLAGS="$CFLAGS -Wstrict-prototypes"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_cflags__Wstrict_prototypes=yes
14494 else
14495 ac_cv_cflags__Wstrict_prototypes=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 CFLAGS=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14502 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14503 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14504 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14507 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14508 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_wine_try_cflags_saved=$CFLAGS
14512 CFLAGS="$CFLAGS -Wtype-limits"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_cflags__Wtype_limits=yes
14519 else
14520 ac_cv_cflags__Wtype_limits=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 CFLAGS=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14527 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14528 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14529 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14532 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14533 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_wine_try_cflags_saved=$CFLAGS
14537 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"; then :
14543 ac_cv_cflags__Wunused_but_set_parameter=yes
14544 else
14545 ac_cv_cflags__Wunused_but_set_parameter=no
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 CFLAGS=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14552 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14553 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14554 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14557 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14558 if ${ac_cv_cflags__Wvla+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -Wvla"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__Wvla=yes
14569 else
14570 ac_cv_cflags__Wvla=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14577 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14578 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14582 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14583 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -Wwrite-strings"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__Wwrite_strings=yes
14594 else
14595 ac_cv_cflags__Wwrite_strings=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14602 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14603 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14604 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14608 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14609 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14610 $as_echo_n "(cached) " >&6
14611 else
14612 ac_wine_try_cflags_saved=$CFLAGS
14613 CFLAGS="$CFLAGS -Wpointer-arith"
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 int main(int argc, char **argv) { return 0; }
14617 _ACEOF
14618 if ac_fn_c_try_link "$LINENO"; then :
14619 ac_cv_cflags__Wpointer_arith=yes
14620 else
14621 ac_cv_cflags__Wpointer_arith=no
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 CFLAGS=$ac_wine_try_cflags_saved
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14628 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14629 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14630 saved_string_h_CFLAGS=$CFLAGS
14631 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14633 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14634 if ${ac_cv_c_string_h_warnings+:} false; then :
14635 $as_echo_n "(cached) " >&6
14636 else
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <string.h>
14641 main ()
14645 return 0;
14647 _ACEOF
14648 if ac_fn_c_try_compile "$LINENO"; then :
14649 ac_cv_c_string_h_warnings=no
14650 else
14651 ac_cv_c_string_h_warnings=yes
14653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14656 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14657 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14658 CFLAGS=$saved_string_h_CFLAGS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14662 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14663 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_wine_try_cflags_saved=$CFLAGS
14667 CFLAGS="$CFLAGS -Wlogical-op"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 int main(int argc, char **argv) { return 0; }
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_cflags__Wlogical_op=yes
14674 else
14675 ac_cv_cflags__Wlogical_op=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 CFLAGS=$ac_wine_try_cflags_saved
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14682 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14683 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14684 saved_string_h_CFLAGS=$CFLAGS
14685 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14687 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14688 if ${ac_cv_c_logicalop_noisy+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14693 #include <string.h>
14694 char*f(const char *h,char n) {return strchr(h,n);}
14696 main ()
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_compile "$LINENO"; then :
14704 ac_cv_c_logicalop_noisy=no
14705 else
14706 ac_cv_c_logicalop_noisy=yes
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14711 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14712 CFLAGS=$saved_string_h_CFLAGS
14713 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14716 CFLAGS=$saved_CFLAGS
14718 for ac_flag in $CFLAGS; do
14719 case $ac_flag in
14720 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14721 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14722 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_wine_try_cflags_saved=$CFLAGS
14726 CFLAGS="$CFLAGS -gdwarf-2"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_cflags__gdwarf_2=yes
14733 else
14734 ac_cv_cflags__gdwarf_2=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 CFLAGS=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14741 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14742 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14743 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14746 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14747 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -gstrict-dwarf"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__gstrict_dwarf=yes
14758 else
14759 ac_cv_cflags__gstrict_dwarf=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14766 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14767 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14768 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14769 fi ;;
14770 esac
14771 done
14773 case $host_cpu in
14774 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14775 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14776 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14777 $as_echo_n "(cached) " >&6
14778 else
14779 ac_wine_try_cflags_saved=$CFLAGS
14780 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14783 int main(int argc, char **argv) { return 0; }
14784 _ACEOF
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 ac_cv_cflags__fno_omit_frame_pointer=yes
14787 else
14788 ac_cv_cflags__fno_omit_frame_pointer=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 CFLAGS=$ac_wine_try_cflags_saved
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14795 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14796 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14797 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14798 fi ;;
14799 esac
14801 case $host in
14802 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14803 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14804 if ${ac_cv_cflags__Wno_format+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_wine_try_cflags_saved=$CFLAGS
14808 CFLAGS="$CFLAGS -Wno-format"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int main(int argc, char **argv) { return 0; }
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_cflags__Wno_format=yes
14815 else
14816 ac_cv_cflags__Wno_format=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 CFLAGS=$ac_wine_try_cflags_saved
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14823 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14824 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14825 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14826 fi ;;
14827 esac
14829 if test "x$enable_maintainer_mode" = "xyes"
14830 then
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14832 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14833 if ${ac_cv_cflags__Werror+:} false; then :
14834 $as_echo_n "(cached) " >&6
14835 else
14836 ac_wine_try_cflags_saved=$CFLAGS
14837 CFLAGS="$CFLAGS -Werror"
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14840 int main(int argc, char **argv) { return 0; }
14841 _ACEOF
14842 if ac_fn_c_try_link "$LINENO"; then :
14843 ac_cv_cflags__Werror=yes
14844 else
14845 ac_cv_cflags__Werror=no
14847 rm -f core conftest.err conftest.$ac_objext \
14848 conftest$ac_exeext conftest.$ac_ext
14849 CFLAGS=$ac_wine_try_cflags_saved
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14852 $as_echo "$ac_cv_cflags__Werror" >&6; }
14853 if test "x$ac_cv_cflags__Werror" = xyes; then :
14854 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14858 saved_CFLAGS="$CFLAGS"
14859 CFLAGS="$CFLAGS -Werror"
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14861 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14862 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14863 $as_echo_n "(cached) " >&6
14864 else
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14869 main ()
14873 return 0;
14875 _ACEOF
14876 if ac_fn_c_try_compile "$LINENO"; then :
14877 ac_cv_have_ms_hook_prologue="yes"
14878 else
14879 ac_cv_have_ms_hook_prologue="no"
14881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14884 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14885 CFLAGS="$saved_CFLAGS"
14886 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14887 then
14889 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14891 else
14892 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14899 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14900 if ${ac_cv_c_fortify_enabled+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14905 #include <string.h>
14907 main ()
14909 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14910 #error Fortify enabled
14911 #endif
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_compile "$LINENO"; then :
14917 ac_cv_c_fortify_enabled=no
14918 else
14919 ac_cv_c_fortify_enabled=yes
14921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14924 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14925 if test "$ac_cv_c_fortify_enabled" = yes
14926 then
14927 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14932 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14933 if ${ac_cv_c_extern_prefix+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 extern int ac_test;
14940 main ()
14942 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_link "$LINENO"; then :
14948 ac_cv_c_extern_prefix="yes"
14949 else
14950 ac_cv_c_extern_prefix="no"
14952 rm -f core conftest.err conftest.$ac_objext \
14953 conftest$ac_exeext conftest.$ac_ext
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14956 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14958 case $host_cpu in
14959 *i[3456789]86*)
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14961 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14962 if ${ac_cv_c_stdcall_suffix+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #ifndef _MSC_VER
14968 #define __stdcall __attribute__((__stdcall__))
14969 #endif
14970 int __stdcall ac_test(int i) { return i; }
14972 main ()
14974 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 ac_cv_c_stdcall_suffix="yes"
14981 else
14982 ac_cv_c_stdcall_suffix="no"
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14988 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14989 *) ac_cv_c_stdcall_suffix="no" ;;
14990 esac
14993 if test "$ac_cv_c_extern_prefix" = "yes"
14994 then
14995 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14997 asm_name_prefix="_"
14998 else
14999 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15001 asm_name_prefix=""
15005 if test "$ac_cv_c_stdcall_suffix" = "yes"
15006 then
15007 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15009 else
15010 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15016 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15017 if ${ac_cv_asm_func_def+:} false; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15024 main ()
15026 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15028 return 0;
15030 _ACEOF
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_asm_func_def=".def"
15033 else
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15038 main ()
15040 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15042 return 0;
15044 _ACEOF
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 ac_cv_asm_func_def=".type @function"
15047 else
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15052 main ()
15054 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15056 return 0;
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_asm_func_def=".type 2"
15061 else
15062 ac_cv_asm_func_def="unknown"
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15067 rm -f core conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15074 $as_echo "$ac_cv_asm_func_def" >&6; }
15077 case "$ac_cv_asm_func_def" in
15078 ".def")
15079 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15081 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15082 ".type @function")
15083 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15085 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15086 ".type 2")
15087 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15089 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15091 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15093 asm_func_header="" ;;
15094 esac
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15097 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15098 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15103 asm(".text\n\t.long 0");
15105 main ()
15109 return 0;
15111 _ACEOF
15112 if ac_fn_c_try_compile "$LINENO"; then :
15113 ac_cv_c_asm_outside_funcs="yes"
15114 else
15115 ac_cv_c_asm_outside_funcs="no"
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15120 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15123 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15124 if ${ac_cv_c_dot_previous+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15131 main ()
15133 asm(".text\nac_test:\t.long 0\n\t.previous");
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_c_dot_previous="yes"
15140 else
15141 ac_cv_c_dot_previous="no"
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15147 $as_echo "$ac_cv_c_dot_previous" >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15150 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15151 if ${ac_cv_c_cfi_support+:} false; then :
15152 $as_echo_n "(cached) " >&6
15153 else
15154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15155 /* end confdefs.h. */
15156 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15158 main ()
15162 return 0;
15164 _ACEOF
15165 if ac_fn_c_try_compile "$LINENO"; then :
15166 ac_cv_c_cfi_support="yes"
15167 else
15168 ac_cv_c_cfi_support="no"
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15173 $as_echo "$ac_cv_c_cfi_support" >&6; }
15175 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15176 asm_func_trailer=""
15177 if test "$ac_cv_c_dot_previous" = "yes"
15178 then
15179 asm_func_trailer="\\n\\t.previous"
15181 if test "$ac_cv_c_cfi_support" = "yes"
15182 then
15183 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15184 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15186 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15188 UNWINDFLAGS=-fasynchronous-unwind-tables
15190 else
15191 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15193 if test "x$enable_win64" = "xyes"
15194 then
15195 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15199 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15202 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15203 then
15204 cat >>confdefs.h <<_ACEOF
15205 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15206 _ACEOF
15208 else
15209 cat >>confdefs.h <<_ACEOF
15210 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15211 _ACEOF
15215 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15218 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15222 case $build_os in
15223 cygwin*|mingw32*) TOOLSEXT=".exe"
15225 esac
15227 case $host_os in
15228 linux-android*) ;;
15229 linux*)
15230 case $host_cpu in
15231 *i[3456789]86*|x86_64*)
15232 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15233 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15235 esac
15237 esac
15240 ac_save_CFLAGS="$CFLAGS"
15241 CFLAGS="$CFLAGS $BUILTINFLAG"
15242 for ac_func in \
15243 __res_get_state \
15244 __res_getservers \
15245 _finite \
15246 _isnan \
15247 _pclose \
15248 _popen \
15249 _snprintf \
15250 _spawnvp \
15251 _strdup \
15252 _stricmp \
15253 _strnicmp \
15254 _strtoi64 \
15255 _strtoui64 \
15256 _vsnprintf \
15257 asctime_r \
15258 chsize \
15259 dlopen \
15260 epoll_create \
15261 ffs \
15262 finitef \
15263 fnmatch \
15264 fork \
15265 fpclass \
15266 fstatfs \
15267 fstatvfs \
15268 ftruncate \
15269 futimens \
15270 futimes \
15271 futimesat \
15272 getattrlist \
15273 getopt_long_only \
15274 getpwuid \
15275 gettimeofday \
15276 getuid \
15277 if_nameindex \
15278 isnanf \
15279 kqueue \
15280 lstat \
15281 memmove \
15282 mmap \
15283 pclose \
15284 pipe2 \
15285 poll \
15286 popen \
15287 port_create \
15288 prctl \
15289 pread \
15290 proc_pidinfo \
15291 pwrite \
15292 readdir \
15293 readlink \
15294 sched_yield \
15295 select \
15296 setproctitle \
15297 setprogname \
15298 setrlimit \
15299 settimeofday \
15300 sigaltstack \
15301 sigprocmask \
15302 snprintf \
15303 statfs \
15304 statvfs \
15305 strcasecmp \
15306 strdup \
15307 strerror \
15308 strncasecmp \
15309 strtold \
15310 strtoll \
15311 strtoull \
15312 symlink \
15313 sysinfo \
15314 tcdrain \
15315 thr_kill2 \
15316 timegm \
15317 usleep \
15318 vsnprintf
15320 do :
15321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15324 cat >>confdefs.h <<_ACEOF
15325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15326 _ACEOF
15329 done
15331 CFLAGS="$ac_save_CFLAGS"
15333 if test "$ac_cv_func_dlopen" = no
15334 then
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15337 if ${ac_cv_lib_dl_dlopen+:} false; then :
15338 $as_echo_n "(cached) " >&6
15339 else
15340 ac_check_lib_save_LIBS=$LIBS
15341 LIBS="-ldl $LIBS"
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 #ifdef __cplusplus
15349 extern "C"
15350 #endif
15351 char dlopen ();
15353 main ()
15355 return dlopen ();
15357 return 0;
15359 _ACEOF
15360 if ac_fn_c_try_link "$LINENO"; then :
15361 ac_cv_lib_dl_dlopen=yes
15362 else
15363 ac_cv_lib_dl_dlopen=no
15365 rm -f core conftest.err conftest.$ac_objext \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_lib_save_LIBS
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15371 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15372 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15373 DL_LIBS="-ldl"
15378 ac_wine_check_funcs_save_LIBS="$LIBS"
15379 LIBS="$LIBS $DL_LIBS"
15380 for ac_func in dladdr
15381 do :
15382 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15383 if test "x$ac_cv_func_dladdr" = xyes; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define HAVE_DLADDR 1
15386 _ACEOF
15389 done
15391 LIBS="$ac_wine_check_funcs_save_LIBS"
15393 if test "$ac_cv_func_poll" = no
15394 then
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15396 $as_echo_n "checking for poll in -lpoll... " >&6; }
15397 if ${ac_cv_lib_poll_poll+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_check_lib_save_LIBS=$LIBS
15401 LIBS="-lpoll $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 #ifdef __cplusplus
15409 extern "C"
15410 #endif
15411 char poll ();
15413 main ()
15415 return poll ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 ac_cv_lib_poll_poll=yes
15422 else
15423 ac_cv_lib_poll_poll=no
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15427 LIBS=$ac_check_lib_save_LIBS
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15430 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15431 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15432 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15433 POLL_LIBS="-lpoll"
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15440 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15441 if ${ac_cv_search_gethostbyname+:} false; then :
15442 $as_echo_n "(cached) " >&6
15443 else
15444 ac_func_search_save_LIBS=$LIBS
15445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15446 /* end confdefs.h. */
15448 /* Override any GCC internal prototype to avoid an error.
15449 Use char because int might match the return type of a GCC
15450 builtin and then its argument prototype would still apply. */
15451 #ifdef __cplusplus
15452 extern "C"
15453 #endif
15454 char gethostbyname ();
15456 main ()
15458 return gethostbyname ();
15460 return 0;
15462 _ACEOF
15463 for ac_lib in '' nsl; do
15464 if test -z "$ac_lib"; then
15465 ac_res="none required"
15466 else
15467 ac_res=-l$ac_lib
15468 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 ac_cv_search_gethostbyname=$ac_res
15473 rm -f core conftest.err conftest.$ac_objext \
15474 conftest$ac_exeext
15475 if ${ac_cv_search_gethostbyname+:} false; then :
15476 break
15478 done
15479 if ${ac_cv_search_gethostbyname+:} false; then :
15481 else
15482 ac_cv_search_gethostbyname=no
15484 rm conftest.$ac_ext
15485 LIBS=$ac_func_search_save_LIBS
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15488 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15489 ac_res=$ac_cv_search_gethostbyname
15490 if test "$ac_res" != no; then :
15491 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15497 $as_echo_n "checking for library containing connect... " >&6; }
15498 if ${ac_cv_search_connect+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_func_search_save_LIBS=$LIBS
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char connect ();
15513 main ()
15515 return connect ();
15517 return 0;
15519 _ACEOF
15520 for ac_lib in '' socket; do
15521 if test -z "$ac_lib"; then
15522 ac_res="none required"
15523 else
15524 ac_res=-l$ac_lib
15525 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 ac_cv_search_connect=$ac_res
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext
15532 if ${ac_cv_search_connect+:} false; then :
15533 break
15535 done
15536 if ${ac_cv_search_connect+:} false; then :
15538 else
15539 ac_cv_search_connect=no
15541 rm conftest.$ac_ext
15542 LIBS=$ac_func_search_save_LIBS
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15545 $as_echo "$ac_cv_search_connect" >&6; }
15546 ac_res=$ac_cv_search_connect
15547 if test "$ac_res" != no; then :
15548 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15554 $as_echo_n "checking for library containing inet_aton... " >&6; }
15555 if ${ac_cv_search_inet_aton+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 ac_func_search_save_LIBS=$LIBS
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15562 /* Override any GCC internal prototype to avoid an error.
15563 Use char because int might match the return type of a GCC
15564 builtin and then its argument prototype would still apply. */
15565 #ifdef __cplusplus
15566 extern "C"
15567 #endif
15568 char inet_aton ();
15570 main ()
15572 return inet_aton ();
15574 return 0;
15576 _ACEOF
15577 for ac_lib in '' resolv; do
15578 if test -z "$ac_lib"; then
15579 ac_res="none required"
15580 else
15581 ac_res=-l$ac_lib
15582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15584 if ac_fn_c_try_link "$LINENO"; then :
15585 ac_cv_search_inet_aton=$ac_res
15587 rm -f core conftest.err conftest.$ac_objext \
15588 conftest$ac_exeext
15589 if ${ac_cv_search_inet_aton+:} false; then :
15590 break
15592 done
15593 if ${ac_cv_search_inet_aton+:} false; then :
15595 else
15596 ac_cv_search_inet_aton=no
15598 rm conftest.$ac_ext
15599 LIBS=$ac_func_search_save_LIBS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15602 $as_echo "$ac_cv_search_inet_aton" >&6; }
15603 ac_res=$ac_cv_search_inet_aton
15604 if test "$ac_res" != no; then :
15605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15610 for ac_func in \
15611 getaddrinfo \
15612 getnameinfo \
15613 getnetbyname \
15614 getprotobyname \
15615 getprotobynumber \
15616 getservbyport \
15617 inet_addr \
15618 inet_network \
15619 inet_ntop \
15620 inet_pton \
15621 sendmsg \
15622 socketpair \
15624 do :
15625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15630 _ACEOF
15633 done
15636 ac_save_LIBS=$LIBS
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15638 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15639 if ${ac_cv_search_clock_gettime+:} false; then :
15640 $as_echo_n "(cached) " >&6
15641 else
15642 ac_func_search_save_LIBS=$LIBS
15643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15649 #ifdef __cplusplus
15650 extern "C"
15651 #endif
15652 char clock_gettime ();
15654 main ()
15656 return clock_gettime ();
15658 return 0;
15660 _ACEOF
15661 for ac_lib in '' rt; do
15662 if test -z "$ac_lib"; then
15663 ac_res="none required"
15664 else
15665 ac_res=-l$ac_lib
15666 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15668 if ac_fn_c_try_link "$LINENO"; then :
15669 ac_cv_search_clock_gettime=$ac_res
15671 rm -f core conftest.err conftest.$ac_objext \
15672 conftest$ac_exeext
15673 if ${ac_cv_search_clock_gettime+:} false; then :
15674 break
15676 done
15677 if ${ac_cv_search_clock_gettime+:} false; then :
15679 else
15680 ac_cv_search_clock_gettime=no
15682 rm conftest.$ac_ext
15683 LIBS=$ac_func_search_save_LIBS
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15686 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15687 ac_res=$ac_cv_search_clock_gettime
15688 if test "$ac_res" != no; then :
15689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15691 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15693 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15697 LIBS=$ac_save_LIBS
15699 LDAP_LIBS=""
15701 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15702 then
15703 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15705 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15707 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15708 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15709 $as_echo_n "(cached) " >&6
15710 else
15711 ac_check_lib_save_LIBS=$LIBS
15712 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15716 /* Override any GCC internal prototype to avoid an error.
15717 Use char because int might match the return type of a GCC
15718 builtin and then its argument prototype would still apply. */
15719 #ifdef __cplusplus
15720 extern "C"
15721 #endif
15722 char ldap_initialize ();
15724 main ()
15726 return ldap_initialize ();
15728 return 0;
15730 _ACEOF
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 ac_cv_lib_ldap_r_ldap_initialize=yes
15733 else
15734 ac_cv_lib_ldap_r_ldap_initialize=no
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15738 LIBS=$ac_check_lib_save_LIBS
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15741 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15742 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15744 $as_echo_n "checking for ber_init in -llber... " >&6; }
15745 if ${ac_cv_lib_lber_ber_init+:} false; then :
15746 $as_echo_n "(cached) " >&6
15747 else
15748 ac_check_lib_save_LIBS=$LIBS
15749 LIBS="-llber $PTHREAD_LIBS $LIBS"
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15753 /* Override any GCC internal prototype to avoid an error.
15754 Use char because int might match the return type of a GCC
15755 builtin and then its argument prototype would still apply. */
15756 #ifdef __cplusplus
15757 extern "C"
15758 #endif
15759 char ber_init ();
15761 main ()
15763 return ber_init ();
15765 return 0;
15767 _ACEOF
15768 if ac_fn_c_try_link "$LINENO"; then :
15769 ac_cv_lib_lber_ber_init=yes
15770 else
15771 ac_cv_lib_lber_ber_init=no
15773 rm -f core conftest.err conftest.$ac_objext \
15774 conftest$ac_exeext conftest.$ac_ext
15775 LIBS=$ac_check_lib_save_LIBS
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15778 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15779 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15781 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15783 LDAP_LIBS="-lldap_r -llber"
15790 ac_wine_check_funcs_save_LIBS="$LIBS"
15791 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15792 for ac_func in \
15793 ldap_count_references \
15794 ldap_first_reference \
15795 ldap_next_reference \
15796 ldap_parse_reference \
15797 ldap_parse_sort_control \
15798 ldap_parse_sortresponse_control \
15799 ldap_parse_vlv_control \
15800 ldap_parse_vlvresponse_control
15801 do :
15802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15807 _ACEOF
15810 done
15812 LIBS="$ac_wine_check_funcs_save_LIBS"
15814 if test "x$LDAP_LIBS" = "x"; then :
15815 case "x$with_ldap" in
15816 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15817 xno) ;;
15818 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15819 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15820 esac
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15825 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15826 if ${wine_cv_one_arg_mkdir+:} false; then :
15827 $as_echo_n "(cached) " >&6
15828 else
15829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15830 /* end confdefs.h. */
15831 #include <sys/stat.h>
15833 main ()
15835 mkdir("foo");
15837 return 0;
15839 _ACEOF
15840 if ac_fn_c_try_compile "$LINENO"; then :
15841 wine_cv_one_arg_mkdir=yes
15842 else
15843 wine_cv_one_arg_mkdir=no
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15848 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15849 if test "$wine_cv_one_arg_mkdir" = "yes"
15850 then
15852 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15857 $as_echo_n "checking for sched_setaffinity... " >&6; }
15858 if ${wine_cv_have_sched_setaffinity+:} false; then :
15859 $as_echo_n "(cached) " >&6
15860 else
15861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15863 #define _GNU_SOURCE
15864 #include <sched.h>
15866 main ()
15868 sched_setaffinity(0, 0, 0);
15870 return 0;
15872 _ACEOF
15873 if ac_fn_c_try_link "$LINENO"; then :
15874 wine_cv_have_sched_setaffinity=yes
15875 else
15876 wine_cv_have_sched_setaffinity=no
15878 rm -f core conftest.err conftest.$ac_objext \
15879 conftest$ac_exeext conftest.$ac_ext
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15882 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15883 if test "$wine_cv_have_sched_setaffinity" = "yes"
15884 then
15886 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15891 $as_echo_n "checking for fallocate... " >&6; }
15892 if ${wine_cv_have_fallocate+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15897 #define _GNU_SOURCE
15898 #include <fcntl.h>
15900 main ()
15902 fallocate(-1, 0, 0, 0);
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 wine_cv_have_fallocate=yes
15909 else
15910 wine_cv_have_fallocate=no
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext conftest.$ac_ext
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15916 $as_echo "$wine_cv_have_fallocate" >&6; }
15917 if test "$wine_cv_have_fallocate" = "yes"
15918 then
15920 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15926 $as_echo_n "checking for inline... " >&6; }
15927 if ${ac_cv_c_inline+:} false; then :
15928 $as_echo_n "(cached) " >&6
15929 else
15930 ac_cv_c_inline=no
15931 for ac_kw in inline __inline__ __inline; do
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 #ifndef __cplusplus
15935 typedef int foo_t;
15936 static $ac_kw foo_t static_foo () {return 0; }
15937 $ac_kw foo_t foo () {return 0; }
15938 #endif
15940 _ACEOF
15941 if ac_fn_c_try_compile "$LINENO"; then :
15942 ac_cv_c_inline=$ac_kw
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 test "$ac_cv_c_inline" != no && break
15946 done
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15950 $as_echo "$ac_cv_c_inline" >&6; }
15952 case $ac_cv_c_inline in
15953 inline | yes) ;;
15955 case $ac_cv_c_inline in
15956 no) ac_val=;;
15957 *) ac_val=$ac_cv_c_inline;;
15958 esac
15959 cat >>confdefs.h <<_ACEOF
15960 #ifndef __cplusplus
15961 #define inline $ac_val
15962 #endif
15963 _ACEOF
15965 esac
15967 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15968 if test "x$ac_cv_type_mode_t" = xyes; then :
15970 cat >>confdefs.h <<_ACEOF
15971 #define HAVE_MODE_T 1
15972 _ACEOF
15976 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15977 if test "x$ac_cv_type_off_t" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_OFF_T 1
15981 _ACEOF
15985 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15986 if test "x$ac_cv_type_pid_t" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_PID_T 1
15990 _ACEOF
15994 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15995 if test "x$ac_cv_type_size_t" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_SIZE_T 1
15999 _ACEOF
16003 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16004 if test "x$ac_cv_type_ssize_t" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_SSIZE_T 1
16008 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16013 if test "x$ac_cv_type_long_long" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_LONG_LONG 1
16017 _ACEOF
16021 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16022 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_FSBLKCNT_T 1
16026 _ACEOF
16030 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16031 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_FSFILCNT_T 1
16035 _ACEOF
16040 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16041 #include <signal.h>
16043 if test "x$ac_cv_type_sigset_t" = xyes; then :
16045 cat >>confdefs.h <<_ACEOF
16046 #define HAVE_SIGSET_T 1
16047 _ACEOF
16052 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16054 if test "x$ac_cv_type_request_sense" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_REQUEST_SENSE 1
16058 _ACEOF
16064 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16065 #ifdef HAVE_SYS_SOCKET_H
16066 #include <sys/socket.h>
16067 #endif
16068 #ifdef HAVE_SYS_SOCKETVAR_H
16069 #include <sys/socketvar.h>
16070 #endif
16071 #ifdef HAVE_NET_ROUTE_H
16072 #include <net/route.h>
16073 #endif
16074 #ifdef HAVE_NETINET_IN_H
16075 #include <netinet/in.h>
16076 #endif
16077 #ifdef HAVE_NETINET_IN_SYSTM_H
16078 #include <netinet/in_systm.h>
16079 #endif
16080 #ifdef HAVE_NETINET_IP_H
16081 #include <netinet/ip.h>
16082 #endif
16083 #ifdef HAVE_NETINET_IN_PCB_H
16084 #include <netinet/in_pcb.h>
16085 #endif
16087 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_XINPGEN 1
16091 _ACEOF
16097 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16098 #include <link.h>
16099 #endif
16100 #ifdef HAVE_SYS_LINK_H
16101 #include <sys/link.h>
16102 #endif
16104 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_R_DEBUG 1
16108 _ACEOF
16112 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16113 #include <link.h>
16114 #endif
16115 #ifdef HAVE_SYS_LINK_H
16116 #include <sys/link.h>
16117 #endif
16119 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_LINK_MAP 1
16123 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16130 #include <linux/input.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16137 _ACEOF
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16144 $as_echo_n "checking for sigaddset... " >&6; }
16145 if ${wine_cv_have_sigaddset+:} false; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16150 #include <signal.h>
16152 main ()
16154 sigset_t set; sigaddset(&set,SIGTERM);
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_link "$LINENO"; then :
16160 wine_cv_have_sigaddset=yes
16161 else
16162 wine_cv_have_sigaddset=no
16164 rm -f core conftest.err conftest.$ac_objext \
16165 conftest$ac_exeext conftest.$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16168 $as_echo "$wine_cv_have_sigaddset" >&6; }
16169 if test "$wine_cv_have_sigaddset" = "yes"
16170 then
16172 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16178 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16179 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16180 $as_echo_n "(cached) " >&6
16181 else
16182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16183 /* end confdefs.h. */
16184 #include <netdb.h>
16186 main ()
16189 char *name=0;
16190 struct hostent he;
16191 struct hostent *result;
16192 char *buf=0;
16193 int bufsize=0;
16194 int errnr;
16195 char *addr=0;
16196 int addrlen=0;
16197 int addrtype=0;
16198 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16199 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16202 return 0;
16204 _ACEOF
16205 if ac_fn_c_try_link "$LINENO"; then :
16206 wine_cv_linux_gethostbyname_r_6=yes
16207 else
16208 wine_cv_linux_gethostbyname_r_6=no
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16216 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16217 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16218 then
16220 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16224 if test "$ac_cv_header_linux_joystick_h" = "yes"
16225 then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16227 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16228 if ${wine_cv_linux_joystick_22_api+:} false; then :
16229 $as_echo_n "(cached) " >&6
16230 else
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16234 #include <sys/ioctl.h>
16235 #include <sys/types.h>
16236 #include <linux/joystick.h>
16238 struct js_event blub;
16239 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16240 #error "no 2.2 header"
16241 #endif
16244 main ()
16246 /*empty*/
16248 return 0;
16250 _ACEOF
16251 if ac_fn_c_try_compile "$LINENO"; then :
16252 wine_cv_linux_joystick_22_api=yes
16253 else
16254 wine_cv_linux_joystick_22_api=no
16256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16260 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16261 if test "$wine_cv_linux_joystick_22_api" = "yes"
16262 then
16264 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16270 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16271 #ifdef HAVE_SYS_PARAM_H
16272 # include <sys/param.h>
16273 #endif
16274 #ifdef HAVE_SYS_MOUNT_H
16275 # include <sys/mount.h>
16276 #endif
16277 #ifdef HAVE_SYS_VFS_H
16278 # include <sys/vfs.h>
16279 #endif
16280 #ifdef HAVE_SYS_STATFS_H
16281 # include <sys/statfs.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_STATFS_F_BFREE 1
16288 _ACEOF
16292 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16293 #ifdef HAVE_SYS_PARAM_H
16294 # include <sys/param.h>
16295 #endif
16296 #ifdef HAVE_SYS_MOUNT_H
16297 # include <sys/mount.h>
16298 #endif
16299 #ifdef HAVE_SYS_VFS_H
16300 # include <sys/vfs.h>
16301 #endif
16302 #ifdef HAVE_SYS_STATFS_H
16303 # include <sys/statfs.h>
16304 #endif
16306 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16310 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16315 #ifdef HAVE_SYS_PARAM_H
16316 # include <sys/param.h>
16317 #endif
16318 #ifdef HAVE_SYS_MOUNT_H
16319 # include <sys/mount.h>
16320 #endif
16321 #ifdef HAVE_SYS_VFS_H
16322 # include <sys/vfs.h>
16323 #endif
16324 #ifdef HAVE_SYS_STATFS_H
16325 # include <sys/statfs.h>
16326 #endif
16328 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16332 _ACEOF
16336 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16337 #ifdef HAVE_SYS_PARAM_H
16338 # include <sys/param.h>
16339 #endif
16340 #ifdef HAVE_SYS_MOUNT_H
16341 # include <sys/mount.h>
16342 #endif
16343 #ifdef HAVE_SYS_VFS_H
16344 # include <sys/vfs.h>
16345 #endif
16346 #ifdef HAVE_SYS_STATFS_H
16347 # include <sys/statfs.h>
16348 #endif
16350 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_STATFS_F_FFREE 1
16354 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_PARAM_H
16360 # include <sys/param.h>
16361 #endif
16362 #ifdef HAVE_SYS_MOUNT_H
16363 # include <sys/mount.h>
16364 #endif
16365 #ifdef HAVE_SYS_VFS_H
16366 # include <sys/vfs.h>
16367 #endif
16368 #ifdef HAVE_SYS_STATFS_H
16369 # include <sys/statfs.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16376 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16381 #ifdef HAVE_SYS_PARAM_H
16382 # include <sys/param.h>
16383 #endif
16384 #ifdef HAVE_SYS_MOUNT_H
16385 # include <sys/mount.h>
16386 #endif
16387 #ifdef HAVE_SYS_VFS_H
16388 # include <sys/vfs.h>
16389 #endif
16390 #ifdef HAVE_SYS_STATFS_H
16391 # include <sys/statfs.h>
16392 #endif
16394 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16396 cat >>confdefs.h <<_ACEOF
16397 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16398 _ACEOF
16404 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16405 #include <sys/statvfs.h>
16406 #endif
16408 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16412 _ACEOF
16418 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16419 #include <dirent.h>
16420 #endif
16422 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16426 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16433 #ifdef HAVE_SYS_SOCKET_H
16434 # include <sys/socket.h>
16435 #endif
16436 #ifdef HAVE_SYS_UN_H
16437 # include <sys/un.h>
16438 #endif
16440 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16444 _ACEOF
16448 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16449 #ifdef HAVE_SYS_SOCKET_H
16450 # include <sys/socket.h>
16451 #endif
16452 #ifdef HAVE_SYS_UN_H
16453 # include <sys/un.h>
16454 #endif
16456 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16460 _ACEOF
16464 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16465 #ifdef HAVE_SYS_SOCKET_H
16466 # include <sys/socket.h>
16467 #endif
16468 #ifdef HAVE_SYS_UN_H
16469 # include <sys/un.h>
16470 #endif
16472 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16476 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16483 #ifdef HAVE_SCSI_SG_H
16484 #include <scsi/sg.h>
16485 #endif
16487 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_SCSIREQ_T_CMD 1
16491 _ACEOF
16495 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>
16496 #ifdef HAVE_SCSI_SG_H
16497 #include <scsi/sg.h>
16498 #endif
16500 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16502 cat >>confdefs.h <<_ACEOF
16503 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16504 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16512 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_SIGINFO_T_SI_FD 1
16516 _ACEOF
16522 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16523 #ifdef HAVE_SYS_MTIO_H
16524 #include <sys/mtio.h>
16525 #endif
16527 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16531 _ACEOF
16535 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16536 #ifdef HAVE_SYS_MTIO_H
16537 #include <sys/mtio.h>
16538 #endif
16540 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16544 _ACEOF
16548 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16549 #ifdef HAVE_SYS_MTIO_H
16550 #include <sys/mtio.h>
16551 #endif
16553 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16555 cat >>confdefs.h <<_ACEOF
16556 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16557 _ACEOF
16563 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16564 #include <getopt.h>
16565 #endif
16567 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_STRUCT_OPTION_NAME 1
16571 _ACEOF
16577 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16578 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16582 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16587 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_STAT_ST_MTIM 1
16591 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16596 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16600 _ACEOF
16604 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16605 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16607 cat >>confdefs.h <<_ACEOF
16608 #define HAVE_STRUCT_STAT_ST_CTIM 1
16609 _ACEOF
16613 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16614 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16618 _ACEOF
16622 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16623 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16625 cat >>confdefs.h <<_ACEOF
16626 #define HAVE_STRUCT_STAT_ST_ATIM 1
16627 _ACEOF
16631 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16632 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16636 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16641 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16645 _ACEOF
16649 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16650 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16654 _ACEOF
16658 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16659 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16663 _ACEOF
16667 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16668 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16672 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16677 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16679 cat >>confdefs.h <<_ACEOF
16680 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16681 _ACEOF
16687 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
16688 #include <sys/types.h>
16689 #endif
16690 #ifdef HAVE_NETINET_IN_H
16691 #include <netinet/in.h>
16692 #endif
16694 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16698 _ACEOF
16704 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16705 #include <resolv.h>
16706 #endif
16708 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT___RES_STATE 1
16712 _ACEOF
16718 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
16719 #include <resolv.h>
16720 #endif
16722 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16726 _ACEOF
16732 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16733 #include <sys/types.h>
16734 #endif
16735 #ifdef HAVE_NETINET_IN_H
16736 # include <netinet/in.h>
16737 #endif
16738 #ifdef HAVE_ARPA_NAMESER_H
16739 # include <arpa/nameser.h>
16740 #endif
16742 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16744 cat >>confdefs.h <<_ACEOF
16745 #define HAVE_NS_MSG__MSG_PTR 1
16746 _ACEOF
16752 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16753 #include <sys/types.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IP_H
16756 #include <netinet/ip.h>
16757 #endif
16758 #ifdef HAVE_NETINET_IP_ICMP_H
16759 #include <netinet/ip_icmp.h>
16760 #endif
16761 #ifdef HAVE_NETINET_ICMP_VAR_H
16762 #include <netinet/icmp_var.h>
16763 #endif
16765 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16769 _ACEOF
16775 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16776 #include <sys/types.h>
16777 #endif
16778 #ifdef HAVE_ALIAS_H
16779 #include <alias.h>
16780 #endif
16781 #ifdef HAVE_SYS_SOCKET_H
16782 #include <sys/socket.h>
16783 #endif
16784 #ifdef HAVE_SYS_SOCKETVAR_H
16785 #include <sys/socketvar.h>
16786 #endif
16787 #ifdef HAVE_SYS_TIMEOUT_H
16788 #include <sys/timeout.h>
16789 #endif
16790 #ifdef HAVE_NETINET_IN_H
16791 #include <netinet/in.h>
16792 #endif
16793 #ifdef HAVE_NETINET_IN_SYSTM_H
16794 #include <netinet/in_systm.h>
16795 #endif
16796 #ifdef HAVE_NETINET_IP_H
16797 #include <netinet/ip.h>
16798 #endif
16799 #ifdef HAVE_NETINET_IP_VAR_H
16800 #include <netinet/ip_var.h>
16801 #endif
16802 #ifdef HAVE_NETINET_IP_ICMP_H
16803 #include <netinet/ip_icmp.h>
16804 #endif
16805 #ifdef HAVE_NETINET_ICMP_VAR_H
16806 #include <netinet/icmp_var.h>
16807 #endif
16809 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16813 _ACEOF
16819 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16820 #include <sys/types.h>
16821 #endif
16822 #ifdef HAVE_SYS_SOCKETVAR_H
16823 #include <sys/socketvar.h>
16824 #endif
16825 #ifdef HAVE_NETINET_IN_H
16826 #include <netinet/in.h>
16827 #endif
16828 #ifdef HAVE_NETINET_IP_VAR_H
16829 #include <netinet/ip_var.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16836 _ACEOF
16842 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
16843 #include <netinet/ip_var.h>
16844 #endif
16846 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16850 _ACEOF
16856 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16857 #include <sys/types.h>
16858 #endif
16859 #ifdef HAVE_SYS_SOCKETVAR_H
16860 #include <sys/socketvar.h>
16861 #endif
16862 #ifdef HAVE_NETINET_IN_H
16863 #include <netinet/in.h>
16864 #endif
16865 #ifdef HAVE_NETINET_TCP_H
16866 #include <netinet/tcp.h>
16867 #endif
16868 #ifdef HAVE_NETINET_TCP_VAR_H
16869 #include <netinet/tcp_var.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16876 _ACEOF
16882 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
16883 #include <netinet/tcp_var.h>
16884 #endif
16886 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16888 cat >>confdefs.h <<_ACEOF
16889 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16890 _ACEOF
16896 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16897 #include <sys/types.h>
16898 #endif
16899 #ifdef HAVE_NETINET_IN_H
16900 #include <netinet/in.h>
16901 #endif
16902 #ifdef HAVE_NETINET_IP_VAR_H
16903 #include <netinet/ip_var.h>
16904 #endif
16905 #ifdef HAVE_NETINET_UDP_H
16906 #include <netinet/udp.h>
16907 #endif
16908 #ifdef HAVE_NETINET_UDP_VAR_H
16909 #include <netinet/udp_var.h>
16910 #endif
16912 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16916 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16923 #include <sys/types.h>
16924 #endif
16925 #ifdef HAVE_NET_IF_H
16926 # include <net/if.h>
16927 #endif
16929 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16933 _ACEOF
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16940 $as_echo_n "checking for timezone variable... " >&6; }
16941 if ${ac_cv_have_timezone+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <time.h>
16948 main ()
16950 timezone = 1
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 ac_cv_have_timezone="yes"
16957 else
16958 ac_cv_have_timezone="no"
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16964 $as_echo "$ac_cv_have_timezone" >&6; }
16965 if test "$ac_cv_have_timezone" = "yes"
16966 then
16968 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16972 $as_echo_n "checking for daylight variable... " >&6; }
16973 if ${ac_cv_have_daylight+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16978 #include <time.h>
16980 main ()
16982 daylight = 1
16984 return 0;
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"; then :
16988 ac_cv_have_daylight="yes"
16989 else
16990 ac_cv_have_daylight="no"
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16996 $as_echo "$ac_cv_have_daylight" >&6; }
16997 if test "$ac_cv_have_daylight" = "yes"
16998 then
17000 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17004 ac_save_LIBS="$LIBS"
17005 LIBS="$LIBS -lm"
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17007 $as_echo_n "checking for isfinite... " >&6; }
17008 if ${ac_cv_have_isfinite+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #define _GNU_SOURCE
17014 #include <math.h>
17016 main ()
17018 float f = 0.0; return isfinite(f)
17020 return 0;
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_have_isfinite="yes"
17025 else
17026 ac_cv_have_isfinite="no"
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17032 $as_echo "$ac_cv_have_isfinite" >&6; }
17033 if test "$ac_cv_have_isfinite" = "yes"
17034 then
17036 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17041 $as_echo_n "checking for isinf... " >&6; }
17042 if ${ac_cv_have_isinf+:} false; then :
17043 $as_echo_n "(cached) " >&6
17044 else
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <math.h>
17049 main ()
17051 float f = 0.0; return isinf(f)
17053 return 0;
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_have_isinf="yes"
17058 else
17059 ac_cv_have_isinf="no"
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17065 $as_echo "$ac_cv_have_isinf" >&6; }
17066 if test "$ac_cv_have_isinf" = "yes"
17067 then
17069 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17074 $as_echo_n "checking for isnan... " >&6; }
17075 if ${ac_cv_have_isnan+:} false; then :
17076 $as_echo_n "(cached) " >&6
17077 else
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 #include <math.h>
17082 main ()
17084 float f = 0.0; return isnan(f)
17086 return 0;
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_have_isnan="yes"
17091 else
17092 ac_cv_have_isnan="no"
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17098 $as_echo "$ac_cv_have_isnan" >&6; }
17099 if test "$ac_cv_have_isnan" = "yes"
17100 then
17102 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17106 for ac_func in \
17107 asinh \
17108 asinhf \
17109 cbrt \
17110 cbrtf \
17111 erf \
17112 erff \
17113 exp2 \
17114 exp2f \
17115 lgamma \
17116 lgammaf \
17117 llrint \
17118 llrintf \
17119 llround \
17120 llroundf \
17121 log2 \
17122 log2f \
17123 lrint \
17124 lrintf \
17125 lround \
17126 lroundf \
17127 powl \
17128 remainder \
17129 remainderf \
17130 rint \
17131 rintf \
17132 round \
17133 roundf \
17134 trunc \
17135 truncf
17137 do :
17138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17141 cat >>confdefs.h <<_ACEOF
17142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17143 _ACEOF
17146 done
17148 LIBS="$ac_save_LIBS"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17151 $as_echo_n "checking for __builtin_clz... " >&6; }
17152 if ${ac_cv_have___builtin_clz+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17159 main ()
17161 return __builtin_clz(1)
17163 return 0;
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_have___builtin_clz="yes"
17168 else
17169 ac_cv_have___builtin_clz="no"
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17175 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17176 if test "$ac_cv_have___builtin_clz" = "yes"
17177 then
17179 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17184 $as_echo_n "checking for __builtin_popcount... " >&6; }
17185 if ${ac_cv_have___builtin_popcount+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17192 main ()
17194 return __builtin_popcount(1)
17196 return 0;
17198 _ACEOF
17199 if ac_fn_c_try_link "$LINENO"; then :
17200 ac_cv_have___builtin_popcount="yes"
17201 else
17202 ac_cv_have___builtin_popcount="no"
17204 rm -f core conftest.err conftest.$ac_objext \
17205 conftest$ac_exeext conftest.$ac_ext
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17208 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17209 if test "$ac_cv_have___builtin_popcount" = "yes"
17210 then
17212 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17217 case $host_cpu in
17218 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17219 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17220 if ${ac_cv_cpp_def___i386__+:} false; then :
17221 $as_echo_n "(cached) " >&6
17222 else
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17225 #ifndef __i386__
17227 #endif
17228 _ACEOF
17229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17230 $EGREP "yes" >/dev/null 2>&1; then :
17231 ac_cv_cpp_def___i386__=yes
17232 else
17233 ac_cv_cpp_def___i386__=no
17235 rm -f conftest*
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17239 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17240 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17241 CFLAGS="$CFLAGS -D__i386__"
17242 LINTFLAGS="$LINTFLAGS -D__i386__"
17243 fi ;;
17244 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17245 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17246 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #ifndef __x86_64__
17253 #endif
17254 _ACEOF
17255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17256 $EGREP "yes" >/dev/null 2>&1; then :
17257 ac_cv_cpp_def___x86_64__=yes
17258 else
17259 ac_cv_cpp_def___x86_64__=no
17261 rm -f conftest*
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17265 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17266 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17267 CFLAGS="$CFLAGS -D__x86_64__"
17268 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17269 fi ;;
17270 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17271 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17272 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 /* end confdefs.h. */
17277 #ifndef __sparc64__
17279 #endif
17280 _ACEOF
17281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17282 $EGREP "yes" >/dev/null 2>&1; then :
17283 ac_cv_cpp_def___sparc64__=yes
17284 else
17285 ac_cv_cpp_def___sparc64__=no
17287 rm -f conftest*
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17291 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17292 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17293 CFLAGS="$CFLAGS -D__sparc64__"
17294 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17295 fi ;;
17296 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17297 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17298 if ${ac_cv_cpp_def___sparc__+:} false; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #ifndef __sparc__
17305 #endif
17306 _ACEOF
17307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17308 $EGREP "yes" >/dev/null 2>&1; then :
17309 ac_cv_cpp_def___sparc__=yes
17310 else
17311 ac_cv_cpp_def___sparc__=no
17313 rm -f conftest*
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17317 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17318 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17319 CFLAGS="$CFLAGS -D__sparc__"
17320 LINTFLAGS="$LINTFLAGS -D__sparc__"
17321 fi ;;
17322 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17323 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17324 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #ifndef __powerpc64__
17331 #endif
17332 _ACEOF
17333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17334 $EGREP "yes" >/dev/null 2>&1; then :
17335 ac_cv_cpp_def___powerpc64__=yes
17336 else
17337 ac_cv_cpp_def___powerpc64__=no
17339 rm -f conftest*
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17343 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17344 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17345 CFLAGS="$CFLAGS -D__powerpc64__"
17346 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17347 fi ;;
17348 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17349 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17350 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17351 $as_echo_n "(cached) " >&6
17352 else
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #ifndef __powerpc__
17357 #endif
17358 _ACEOF
17359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17360 $EGREP "yes" >/dev/null 2>&1; then :
17361 ac_cv_cpp_def___powerpc__=yes
17362 else
17363 ac_cv_cpp_def___powerpc__=no
17365 rm -f conftest*
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17369 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17370 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17371 CFLAGS="$CFLAGS -D__powerpc__"
17372 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17373 fi ;;
17374 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17375 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17376 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17377 $as_echo_n "(cached) " >&6
17378 else
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 #ifndef __aarch64__
17383 #endif
17384 _ACEOF
17385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17386 $EGREP "yes" >/dev/null 2>&1; then :
17387 ac_cv_cpp_def___aarch64__=yes
17388 else
17389 ac_cv_cpp_def___aarch64__=no
17391 rm -f conftest*
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17395 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17396 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17397 CFLAGS="$CFLAGS -D__aarch64__"
17398 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17399 fi ;;
17400 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17401 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17402 if ${ac_cv_cpp_def___arm__+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407 #ifndef __arm__
17409 #endif
17410 _ACEOF
17411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17412 $EGREP "yes" >/dev/null 2>&1; then :
17413 ac_cv_cpp_def___arm__=yes
17414 else
17415 ac_cv_cpp_def___arm__=no
17417 rm -f conftest*
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17421 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17422 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17423 CFLAGS="$CFLAGS -D__arm__"
17424 LINTFLAGS="$LINTFLAGS -D__arm__"
17425 fi ;;
17426 esac
17428 case $host_vendor in
17429 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17430 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17431 if ${ac_cv_cpp_def___sun__+:} false; then :
17432 $as_echo_n "(cached) " >&6
17433 else
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 #ifndef __sun__
17438 #endif
17439 _ACEOF
17440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17441 $EGREP "yes" >/dev/null 2>&1; then :
17442 ac_cv_cpp_def___sun__=yes
17443 else
17444 ac_cv_cpp_def___sun__=no
17446 rm -f conftest*
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17450 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17451 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17452 CFLAGS="$CFLAGS -D__sun__"
17453 LINTFLAGS="$LINTFLAGS -D__sun__"
17454 fi ;;
17455 esac
17461 ac_config_commands="$ac_config_commands include/stamp-h"
17463 $as_echo_n "creating Makefile rules..." >&6
17465 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17466 SOCKET_LIBS = $SOCKET_LIBS
17467 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17468 IOKIT_LIBS = $IOKIT_LIBS
17469 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17470 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17471 CORESERVICES_LIBS = $CORESERVICES_LIBS
17472 APPKIT_LIBS = $APPKIT_LIBS
17473 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17474 SECURITY_LIBS = $SECURITY_LIBS
17475 COREAUDIO_LIBS = $COREAUDIO_LIBS
17476 OPENAL_LIBS = $OPENAL_LIBS
17477 OPENCL_LIBS = $OPENCL_LIBS
17478 QUICKTIME_LIBS = $QUICKTIME_LIBS
17479 CARBON_LIBS = $CARBON_LIBS
17480 PTHREAD_LIBS = $PTHREAD_LIBS
17481 X_CFLAGS = $X_CFLAGS
17482 X_PRE_LIBS = $X_PRE_LIBS
17483 X_LIBS = $X_LIBS
17484 X_EXTRA_LIBS = $X_EXTRA_LIBS
17485 PCAP_LIBS = $PCAP_LIBS
17486 XML2_CFLAGS = $XML2_CFLAGS
17487 XML2_LIBS = $XML2_LIBS
17488 XSLT_CFLAGS = $XSLT_CFLAGS
17489 XSLT_LIBS = $XSLT_LIBS
17490 DBUS_CFLAGS = $DBUS_CFLAGS
17491 DBUS_LIBS = $DBUS_LIBS
17492 HAL_CFLAGS = $HAL_CFLAGS
17493 HAL_LIBS = $HAL_LIBS
17494 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17495 GNUTLS_LIBS = $GNUTLS_LIBS
17496 SANE_CFLAGS = $SANE_CFLAGS
17497 SANE_LIBS = $SANE_LIBS
17498 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17499 GPHOTO2_LIBS = $GPHOTO2_LIBS
17500 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17501 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17502 RESOLV_LIBS = $RESOLV_LIBS
17503 LCMS2_CFLAGS = $LCMS2_CFLAGS
17504 LCMS2_LIBS = $LCMS2_LIBS
17505 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17506 FREETYPE_LIBS = $FREETYPE_LIBS
17507 Z_LIBS = $Z_LIBS
17508 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17509 PULSE_CFLAGS = $PULSE_CFLAGS
17510 PULSE_LIBS = $PULSE_LIBS
17511 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17512 GSTREAMER_LIBS = $GSTREAMER_LIBS
17513 ALSA_LIBS = $ALSA_LIBS
17514 OSS4_CFLAGS = $OSS4_CFLAGS
17515 UDEV_CFLAGS = $UDEV_CFLAGS
17516 UDEV_LIBS = $UDEV_LIBS
17517 CAPI20_CFLAGS = $CAPI20_CFLAGS
17518 CAPI20_LIBS = $CAPI20_LIBS
17519 CUPS_CFLAGS = $CUPS_CFLAGS
17520 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17521 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17522 JPEG_CFLAGS = $JPEG_CFLAGS
17523 JPEG_LIBS = $JPEG_LIBS
17524 PNG_CFLAGS = $PNG_CFLAGS
17525 PNG_LIBS = $PNG_LIBS
17526 TIFF_CFLAGS = $TIFF_CFLAGS
17527 TIFF_LIBS = $TIFF_LIBS
17528 MPG123_CFLAGS = $MPG123_CFLAGS
17529 MPG123_LIBS = $MPG123_LIBS
17530 KSTAT_LIBS = $KSTAT_LIBS
17531 PROCSTAT_LIBS = $PROCSTAT_LIBS
17532 NETAPI_CFLAGS = $NETAPI_CFLAGS
17533 NETAPI_LIBS = $NETAPI_LIBS
17534 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17535 DL_LIBS = $DL_LIBS
17536 POLL_LIBS = $POLL_LIBS
17537 RT_LIBS = $RT_LIBS
17538 LDAP_LIBS = $LDAP_LIBS
17543 wine_fn_append_rule "
17544 # Rules automatically generated by configure
17546 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17548 .INIT: Makefile
17549 .MAKEFILEDEPS:
17550 all: Makefile
17551 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17552 @./config.status Make.tmp Makefile
17553 depend: \$(MAKEDEP) dummy
17554 \$(MAKEDEP)"
17556 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17557 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17559 if test "x$enable_fonts" != xno; then
17560 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17561 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17562 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17563 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17564 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17565 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17567 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17568 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17569 ac_config_links="$ac_config_links wine:tools/winewrapper"
17570 wine_fn_config_symlink wine
17571 if test "x$enable_win64" != xno; then
17572 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17573 wine_fn_config_symlink wine64
17576 wine_fn_config_dll acledit enable_acledit
17577 wine_fn_config_dll aclui enable_aclui implib
17578 wine_fn_config_dll activeds enable_activeds implib
17579 wine_fn_config_dll actxprxy enable_actxprxy clean
17580 wine_fn_config_lib adsiid
17581 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17582 wine_fn_config_test dlls/advapi32/tests advapi32_test
17583 wine_fn_config_dll advpack enable_advpack implib
17584 wine_fn_config_test dlls/advpack/tests advpack_test
17585 wine_fn_config_dll amstream enable_amstream clean
17586 wine_fn_config_test dlls/amstream/tests amstream_test
17587 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17588 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17598 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17604 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17607 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17609 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17612 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17613 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17614 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17617 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17624 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17629 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17631 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17633 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17634 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17635 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17641 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17642 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17654 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17667 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17673 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17674 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17687 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17688 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17694 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17695 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17696 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17697 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17698 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17699 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17700 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17701 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17702 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17703 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17704 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17705 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17706 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17707 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17708 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17709 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17710 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17711 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17712 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17713 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17714 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17715 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17716 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17717 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17718 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17719 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17720 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17721 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17722 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17723 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17724 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17725 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17726 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17727 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17728 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17729 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17730 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17731 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17732 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17733 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17734 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17735 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17736 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17737 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17738 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17739 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17740 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17741 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17742 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17743 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17744 wine_fn_config_dll apphelp enable_apphelp
17745 wine_fn_config_test dlls/apphelp/tests apphelp_test
17746 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17747 wine_fn_config_dll atl enable_atl clean,implib
17748 wine_fn_config_test dlls/atl/tests atl_test
17749 wine_fn_config_dll atl100 enable_atl100 clean,implib
17750 wine_fn_config_test dlls/atl100/tests atl100_test
17751 wine_fn_config_dll atl110 enable_atl110 clean
17752 wine_fn_config_dll atl80 enable_atl80 clean,implib
17753 wine_fn_config_test dlls/atl80/tests atl80_test
17754 wine_fn_config_dll atl90 enable_atl90 clean
17755 wine_fn_config_dll authz enable_authz
17756 wine_fn_config_dll avicap32 enable_avicap32 implib
17757 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17758 wine_fn_config_test dlls/avifil32/tests avifil32_test
17759 wine_fn_config_dll avifile.dll16 enable_win16
17760 wine_fn_config_dll avrt enable_avrt implib
17761 wine_fn_config_dll bcrypt enable_bcrypt implib
17762 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17763 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17764 wine_fn_config_dll browseui enable_browseui clean
17765 wine_fn_config_test dlls/browseui/tests browseui_test
17766 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17767 wine_fn_config_dll cabinet enable_cabinet implib
17768 wine_fn_config_test dlls/cabinet/tests cabinet_test
17769 wine_fn_config_dll capi2032 enable_capi2032 implib
17770 wine_fn_config_dll cards enable_cards implib
17771 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17772 wine_fn_config_dll clusapi enable_clusapi implib
17773 wine_fn_config_dll combase enable_combase
17774 wine_fn_config_test dlls/combase/tests combase_test
17775 wine_fn_config_dll comcat enable_comcat
17776 wine_fn_config_test dlls/comcat/tests comcat_test
17777 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17778 wine_fn_config_test dlls/comctl32/tests comctl32_test
17779 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17780 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17781 wine_fn_config_dll comm.drv16 enable_win16
17782 wine_fn_config_dll commdlg.dll16 enable_win16
17783 wine_fn_config_dll compobj.dll16 enable_win16
17784 wine_fn_config_dll compstui enable_compstui implib
17785 wine_fn_config_dll comsvcs enable_comsvcs implib
17786 wine_fn_config_dll concrt140 enable_concrt140
17787 wine_fn_config_dll connect enable_connect
17788 wine_fn_config_dll credui enable_credui clean,implib
17789 wine_fn_config_test dlls/credui/tests credui_test
17790 wine_fn_config_dll crtdll enable_crtdll
17791 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17792 wine_fn_config_test dlls/crypt32/tests crypt32_test
17793 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17794 wine_fn_config_dll cryptdll enable_cryptdll implib
17795 wine_fn_config_dll cryptext enable_cryptext
17796 wine_fn_config_dll cryptnet enable_cryptnet implib
17797 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17798 wine_fn_config_dll cryptui enable_cryptui clean,implib
17799 wine_fn_config_test dlls/cryptui/tests cryptui_test
17800 wine_fn_config_dll ctapi32 enable_ctapi32
17801 wine_fn_config_dll ctl3d.dll16 enable_win16
17802 wine_fn_config_dll ctl3d32 enable_ctl3d32
17803 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17804 wine_fn_config_dll d2d1 enable_d2d1 implib
17805 wine_fn_config_test dlls/d2d1/tests d2d1_test
17806 wine_fn_config_dll d3d10 enable_d3d10 implib
17807 wine_fn_config_test dlls/d3d10/tests d3d10_test
17808 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17809 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17810 wine_fn_config_dll d3d10core enable_d3d10core implib
17811 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17812 wine_fn_config_dll d3d11 enable_d3d11 implib
17813 wine_fn_config_test dlls/d3d11/tests d3d11_test
17814 wine_fn_config_dll d3d8 enable_d3d8 implib
17815 wine_fn_config_test dlls/d3d8/tests d3d8_test
17816 wine_fn_config_dll d3d9 enable_d3d9 implib
17817 wine_fn_config_test dlls/d3d9/tests d3d9_test
17818 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17819 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17820 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17821 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17822 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17823 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17824 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17825 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17826 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17827 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17828 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17829 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17830 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17831 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17832 wine_fn_config_dll d3dim enable_d3dim
17833 wine_fn_config_dll d3drm enable_d3drm implib
17834 wine_fn_config_test dlls/d3drm/tests d3drm_test
17835 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17836 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17837 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17838 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17839 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17840 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17841 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17842 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17843 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17844 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17845 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17846 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17847 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17848 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17849 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17850 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17851 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17852 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17853 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17854 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17855 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17856 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17857 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17858 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17859 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17860 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17861 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17862 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17863 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17864 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17865 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17866 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17867 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17868 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17869 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17870 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17871 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17872 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17873 wine_fn_config_dll davclnt enable_davclnt
17874 wine_fn_config_dll dbgeng enable_dbgeng implib
17875 wine_fn_config_dll dbghelp enable_dbghelp implib
17876 wine_fn_config_dll dciman32 enable_dciman32 implib
17877 wine_fn_config_dll ddeml.dll16 enable_win16
17878 wine_fn_config_dll ddraw enable_ddraw clean,implib
17879 wine_fn_config_test dlls/ddraw/tests ddraw_test
17880 wine_fn_config_dll ddrawex enable_ddrawex clean
17881 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17882 wine_fn_config_dll devenum enable_devenum clean
17883 wine_fn_config_test dlls/devenum/tests devenum_test
17884 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17885 wine_fn_config_dll difxapi enable_difxapi
17886 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17887 wine_fn_config_test dlls/dinput/tests dinput_test
17888 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17889 wine_fn_config_test dlls/dinput8/tests dinput8_test
17890 wine_fn_config_dll dispdib.dll16 enable_win16
17891 wine_fn_config_dll dispex enable_dispex clean
17892 wine_fn_config_test dlls/dispex/tests dispex_test
17893 wine_fn_config_dll display.drv16 enable_win16
17894 wine_fn_config_dll dmband enable_dmband clean
17895 wine_fn_config_test dlls/dmband/tests dmband_test
17896 wine_fn_config_dll dmcompos enable_dmcompos clean
17897 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17898 wine_fn_config_dll dmime enable_dmime clean
17899 wine_fn_config_test dlls/dmime/tests dmime_test
17900 wine_fn_config_dll dmloader enable_dmloader clean
17901 wine_fn_config_test dlls/dmloader/tests dmloader_test
17902 wine_fn_config_dll dmscript enable_dmscript clean
17903 wine_fn_config_test dlls/dmscript/tests dmscript_test
17904 wine_fn_config_dll dmstyle enable_dmstyle clean
17905 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17906 wine_fn_config_dll dmsynth enable_dmsynth clean
17907 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17908 wine_fn_config_dll dmusic enable_dmusic clean
17909 wine_fn_config_test dlls/dmusic/tests dmusic_test
17910 wine_fn_config_dll dmusic32 enable_dmusic32
17911 wine_fn_config_dll dnsapi enable_dnsapi implib
17912 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17913 wine_fn_config_dll dplay enable_dplay
17914 wine_fn_config_dll dplayx enable_dplayx clean,implib
17915 wine_fn_config_test dlls/dplayx/tests dplayx_test
17916 wine_fn_config_dll dpnaddr enable_dpnaddr
17917 wine_fn_config_dll dpnet enable_dpnet clean,implib
17918 wine_fn_config_test dlls/dpnet/tests dpnet_test
17919 wine_fn_config_dll dpnhpast enable_dpnhpast
17920 wine_fn_config_dll dpnlobby enable_dpnlobby
17921 wine_fn_config_dll dpvoice enable_dpvoice clean
17922 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17923 wine_fn_config_dll dpwsockx enable_dpwsockx
17924 wine_fn_config_dll drmclien enable_drmclien
17925 wine_fn_config_dll dsound enable_dsound clean,implib
17926 wine_fn_config_test dlls/dsound/tests dsound_test
17927 wine_fn_config_dll dssenh enable_dssenh
17928 wine_fn_config_test dlls/dssenh/tests dssenh_test
17929 wine_fn_config_dll dswave enable_dswave clean
17930 wine_fn_config_test dlls/dswave/tests dswave_test
17931 wine_fn_config_dll dwmapi enable_dwmapi implib
17932 wine_fn_config_dll dwrite enable_dwrite implib
17933 wine_fn_config_test dlls/dwrite/tests dwrite_test
17934 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17935 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17936 wine_fn_config_lib dxerr8
17937 wine_fn_config_lib dxerr9
17938 wine_fn_config_dll dxgi enable_dxgi implib
17939 wine_fn_config_test dlls/dxgi/tests dxgi_test
17940 wine_fn_config_lib dxguid
17941 wine_fn_config_dll dxva2 enable_dxva2
17942 wine_fn_config_dll esent enable_esent
17943 wine_fn_config_dll evr enable_evr
17944 wine_fn_config_dll explorerframe enable_explorerframe clean
17945 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17946 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17947 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17948 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17949 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17950 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17951 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17952 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17953 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17954 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17955 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17956 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17957 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17958 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17959 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
17960 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17961 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17962 wine_fn_config_dll faultrep enable_faultrep implib
17963 wine_fn_config_test dlls/faultrep/tests faultrep_test
17964 wine_fn_config_dll fltlib enable_fltlib
17965 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17966 wine_fn_config_dll fntcache enable_fntcache
17967 wine_fn_config_dll fontsub enable_fontsub
17968 wine_fn_config_dll fusion enable_fusion
17969 wine_fn_config_test dlls/fusion/tests fusion_test
17970 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17971 wine_fn_config_dll gameux enable_gameux clean
17972 wine_fn_config_test dlls/gameux/tests gameux_test
17973 wine_fn_config_dll gdi.exe16 enable_win16
17974 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17975 wine_fn_config_test dlls/gdi32/tests gdi32_test
17976 wine_fn_config_dll gdiplus enable_gdiplus implib
17977 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17978 wine_fn_config_dll glu32 enable_glu32 implib
17979 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17980 wine_fn_config_dll gpkcsp enable_gpkcsp
17981 wine_fn_config_dll hal enable_hal
17982 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17983 wine_fn_config_dll hid enable_hid implib
17984 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17985 wine_fn_config_dll hlink enable_hlink clean,implib
17986 wine_fn_config_test dlls/hlink/tests hlink_test
17987 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17988 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17989 wine_fn_config_dll httpapi enable_httpapi
17990 wine_fn_config_dll iccvid enable_iccvid clean
17991 wine_fn_config_dll icmp enable_icmp
17992 wine_fn_config_dll ieframe enable_ieframe clean,implib
17993 wine_fn_config_test dlls/ieframe/tests ieframe_test
17994 wine_fn_config_dll ifsmgr.vxd enable_win16
17995 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17996 wine_fn_config_dll imagehlp enable_imagehlp implib
17997 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17998 wine_fn_config_dll imm.dll16 enable_win16
17999 wine_fn_config_dll imm32 enable_imm32 implib
18000 wine_fn_config_test dlls/imm32/tests imm32_test
18001 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18002 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18003 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18004 wine_fn_config_dll inetmib1 enable_inetmib1
18005 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18006 wine_fn_config_dll infosoft enable_infosoft clean
18007 wine_fn_config_test dlls/infosoft/tests infosoft_test
18008 wine_fn_config_dll initpki enable_initpki
18009 wine_fn_config_dll inkobj enable_inkobj
18010 wine_fn_config_dll inseng enable_inseng clean
18011 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18012 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18013 wine_fn_config_dll iprop enable_iprop
18014 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18015 wine_fn_config_dll itircl enable_itircl
18016 wine_fn_config_dll itss enable_itss clean
18017 wine_fn_config_test dlls/itss/tests itss_test
18018 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18019 wine_fn_config_dll jscript enable_jscript clean
18020 wine_fn_config_test dlls/jscript/tests jscript_test
18021 wine_fn_config_dll jsproxy enable_jsproxy implib
18022 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18023 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18024 wine_fn_config_test dlls/kernel32/tests kernel32_test
18025 wine_fn_config_dll kernelbase enable_kernelbase
18026 wine_fn_config_dll keyboard.drv16 enable_win16
18027 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18028 wine_fn_config_dll ksuser enable_ksuser
18029 wine_fn_config_dll ktmw32 enable_ktmw32
18030 wine_fn_config_dll loadperf enable_loadperf implib
18031 wine_fn_config_dll localspl enable_localspl clean
18032 wine_fn_config_test dlls/localspl/tests localspl_test
18033 wine_fn_config_dll localui enable_localui clean
18034 wine_fn_config_test dlls/localui/tests localui_test
18035 wine_fn_config_dll lz32 enable_lz32 implib
18036 wine_fn_config_test dlls/lz32/tests lz32_test
18037 wine_fn_config_dll lzexpand.dll16 enable_win16
18038 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18039 wine_fn_config_test dlls/mapi32/tests mapi32_test
18040 wine_fn_config_dll mapistub enable_mapistub
18041 wine_fn_config_dll mciavi32 enable_mciavi32
18042 wine_fn_config_dll mcicda enable_mcicda
18043 wine_fn_config_dll mciqtz32 enable_mciqtz32
18044 wine_fn_config_dll mciseq enable_mciseq
18045 wine_fn_config_dll mciwave enable_mciwave
18046 wine_fn_config_dll mf enable_mf
18047 wine_fn_config_dll mfplat enable_mfplat
18048 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18049 wine_fn_config_dll mgmtapi enable_mgmtapi
18050 wine_fn_config_dll midimap enable_midimap
18051 wine_fn_config_dll mlang enable_mlang clean,implib
18052 wine_fn_config_test dlls/mlang/tests mlang_test
18053 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18054 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18055 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18056 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18057 wine_fn_config_dll mmdevldr.vxd enable_win16
18058 wine_fn_config_dll mmsystem.dll16 enable_win16
18059 wine_fn_config_dll monodebg.vxd enable_win16
18060 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18061 wine_fn_config_dll mouse.drv16 enable_win16
18062 wine_fn_config_dll mpr enable_mpr clean,implib
18063 wine_fn_config_test dlls/mpr/tests mpr_test
18064 wine_fn_config_dll mprapi enable_mprapi implib
18065 wine_fn_config_dll msacm.dll16 enable_win16
18066 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18067 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18068 wine_fn_config_test dlls/msacm32/tests msacm32_test
18069 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18070 wine_fn_config_dll msasn1 enable_msasn1 implib
18071 wine_fn_config_dll mscat32 enable_mscat32
18072 wine_fn_config_dll mscms enable_mscms implib
18073 wine_fn_config_test dlls/mscms/tests mscms_test
18074 wine_fn_config_dll mscoree enable_mscoree clean
18075 wine_fn_config_test dlls/mscoree/tests mscoree_test
18076 wine_fn_config_dll msctf enable_msctf clean
18077 wine_fn_config_test dlls/msctf/tests msctf_test
18078 wine_fn_config_dll msctfp enable_msctfp clean
18079 wine_fn_config_dll msdaps enable_msdaps clean
18080 wine_fn_config_dll msdelta enable_msdelta
18081 wine_fn_config_dll msdmo enable_msdmo implib
18082 wine_fn_config_test dlls/msdmo/tests msdmo_test
18083 wine_fn_config_dll msdrm enable_msdrm
18084 wine_fn_config_dll msftedit enable_msftedit
18085 wine_fn_config_dll msg711.acm enable_msg711_acm
18086 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18087 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18088 wine_fn_config_dll mshtml enable_mshtml clean,implib
18089 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18090 wine_fn_config_dll msi enable_msi clean,implib
18091 wine_fn_config_test dlls/msi/tests msi_test
18092 wine_fn_config_dll msident enable_msident clean
18093 wine_fn_config_dll msimg32 enable_msimg32 implib
18094 wine_fn_config_dll msimsg enable_msimsg
18095 wine_fn_config_dll msimtf enable_msimtf clean
18096 wine_fn_config_dll msisip enable_msisip
18097 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18098 wine_fn_config_dll msls31 enable_msls31
18099 wine_fn_config_dll msnet32 enable_msnet32
18100 wine_fn_config_dll mspatcha enable_mspatcha implib
18101 wine_fn_config_dll msports enable_msports
18102 wine_fn_config_dll msrle32 enable_msrle32 clean
18103 wine_fn_config_test dlls/msrle32/tests msrle32_test
18104 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18105 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18106 wine_fn_config_dll mssign32 enable_mssign32
18107 wine_fn_config_dll mssip32 enable_mssip32
18108 wine_fn_config_dll mstask enable_mstask clean
18109 wine_fn_config_test dlls/mstask/tests mstask_test
18110 wine_fn_config_dll msvcirt enable_msvcirt
18111 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18112 wine_fn_config_dll msvcm80 enable_msvcm80
18113 wine_fn_config_dll msvcm90 enable_msvcm90
18114 wine_fn_config_dll msvcp100 enable_msvcp100
18115 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18116 wine_fn_config_dll msvcp110 enable_msvcp110
18117 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18118 wine_fn_config_dll msvcp120 enable_msvcp120
18119 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18120 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18121 wine_fn_config_dll msvcp140 enable_msvcp140
18122 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18123 wine_fn_config_dll msvcp60 enable_msvcp60
18124 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18125 wine_fn_config_dll msvcp70 enable_msvcp70
18126 wine_fn_config_dll msvcp71 enable_msvcp71
18127 wine_fn_config_dll msvcp80 enable_msvcp80
18128 wine_fn_config_dll msvcp90 enable_msvcp90
18129 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18130 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18131 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18132 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18133 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18134 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18135 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18136 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18137 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18138 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18139 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18140 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18141 wine_fn_config_dll msvcrt enable_msvcrt implib
18142 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18143 wine_fn_config_dll msvcrt20 enable_msvcrt20
18144 wine_fn_config_dll msvcrt40 enable_msvcrt40
18145 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18146 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18147 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18148 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18149 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18150 wine_fn_config_dll msvideo.dll16 enable_win16
18151 wine_fn_config_dll mswsock enable_mswsock implib
18152 wine_fn_config_dll msxml enable_msxml clean
18153 wine_fn_config_dll msxml2 enable_msxml2 clean
18154 wine_fn_config_dll msxml3 enable_msxml3 clean
18155 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18156 wine_fn_config_dll msxml4 enable_msxml4 clean
18157 wine_fn_config_dll msxml6 enable_msxml6 clean
18158 wine_fn_config_dll ncrypt enable_ncrypt
18159 wine_fn_config_dll nddeapi enable_nddeapi implib
18160 wine_fn_config_dll ndis.sys enable_ndis_sys
18161 wine_fn_config_dll netapi32 enable_netapi32 implib
18162 wine_fn_config_test dlls/netapi32/tests netapi32_test
18163 wine_fn_config_dll netcfgx enable_netcfgx clean
18164 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18165 wine_fn_config_dll netprofm enable_netprofm clean
18166 wine_fn_config_test dlls/netprofm/tests netprofm_test
18167 wine_fn_config_dll newdev enable_newdev implib
18168 wine_fn_config_dll normaliz enable_normaliz implib
18169 wine_fn_config_dll npmshtml enable_npmshtml
18170 wine_fn_config_dll npptools enable_npptools
18171 wine_fn_config_dll ntdll enable_ntdll implib
18172 wine_fn_config_test dlls/ntdll/tests ntdll_test
18173 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18174 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18175 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18176 wine_fn_config_dll ntprint enable_ntprint
18177 wine_fn_config_test dlls/ntprint/tests ntprint_test
18178 wine_fn_config_dll objsel enable_objsel clean
18179 wine_fn_config_dll odbc32 enable_odbc32 implib
18180 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18181 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18182 wine_fn_config_dll odbccu32 enable_odbccu32
18183 wine_fn_config_dll ole2.dll16 enable_win16
18184 wine_fn_config_dll ole2conv.dll16 enable_win16
18185 wine_fn_config_dll ole2disp.dll16 enable_win16
18186 wine_fn_config_dll ole2nls.dll16 enable_win16
18187 wine_fn_config_dll ole2prox.dll16 enable_win16
18188 wine_fn_config_dll ole2thk.dll16 enable_win16
18189 wine_fn_config_dll ole32 enable_ole32 clean,implib
18190 wine_fn_config_test dlls/ole32/tests ole32_test
18191 wine_fn_config_dll oleacc enable_oleacc clean,implib
18192 wine_fn_config_test dlls/oleacc/tests oleacc_test
18193 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18194 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18195 wine_fn_config_dll olecli.dll16 enable_win16
18196 wine_fn_config_dll olecli32 enable_olecli32 implib
18197 wine_fn_config_dll oledb32 enable_oledb32 clean
18198 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18199 wine_fn_config_dll oledlg enable_oledlg clean,implib
18200 wine_fn_config_test dlls/oledlg/tests oledlg_test
18201 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18202 wine_fn_config_dll olesvr.dll16 enable_win16
18203 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18204 wine_fn_config_dll olethk32 enable_olethk32
18205 wine_fn_config_dll openal32 enable_openal32
18206 wine_fn_config_dll opencl enable_opencl
18207 wine_fn_config_dll opengl32 enable_opengl32 implib
18208 wine_fn_config_test dlls/opengl32/tests opengl32_test
18209 wine_fn_config_dll packager enable_packager clean
18210 wine_fn_config_test dlls/packager/tests packager_test
18211 wine_fn_config_dll pdh enable_pdh implib
18212 wine_fn_config_test dlls/pdh/tests pdh_test
18213 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18214 wine_fn_config_dll pidgen enable_pidgen
18215 wine_fn_config_dll powrprof enable_powrprof implib
18216 wine_fn_config_dll printui enable_printui
18217 wine_fn_config_dll prntvpt enable_prntvpt
18218 wine_fn_config_dll propsys enable_propsys clean,implib
18219 wine_fn_config_test dlls/propsys/tests propsys_test
18220 wine_fn_config_dll psapi enable_psapi implib
18221 wine_fn_config_test dlls/psapi/tests psapi_test
18222 wine_fn_config_dll pstorec enable_pstorec clean
18223 wine_fn_config_dll qcap enable_qcap
18224 wine_fn_config_test dlls/qcap/tests qcap_test
18225 wine_fn_config_dll qedit enable_qedit clean
18226 wine_fn_config_test dlls/qedit/tests qedit_test
18227 wine_fn_config_dll qmgr enable_qmgr clean
18228 wine_fn_config_test dlls/qmgr/tests qmgr_test
18229 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18230 wine_fn_config_dll quartz enable_quartz clean,implib
18231 wine_fn_config_test dlls/quartz/tests quartz_test clean
18232 wine_fn_config_dll query enable_query
18233 wine_fn_config_dll rasapi16.dll16 enable_win16
18234 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18235 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18236 wine_fn_config_dll rasdlg enable_rasdlg implib
18237 wine_fn_config_dll regapi enable_regapi
18238 wine_fn_config_dll resutils enable_resutils implib
18239 wine_fn_config_dll riched20 enable_riched20 clean,implib
18240 wine_fn_config_test dlls/riched20/tests riched20_test
18241 wine_fn_config_dll riched32 enable_riched32
18242 wine_fn_config_test dlls/riched32/tests riched32_test
18243 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18244 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18245 wine_fn_config_dll rsabase enable_rsabase
18246 wine_fn_config_dll rsaenh enable_rsaenh implib
18247 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18248 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18249 wine_fn_config_dll rtutils enable_rtutils implib
18250 wine_fn_config_dll samlib enable_samlib
18251 wine_fn_config_dll sane.ds enable_sane_ds clean
18252 wine_fn_config_dll scarddlg enable_scarddlg
18253 wine_fn_config_dll sccbase enable_sccbase
18254 wine_fn_config_dll schannel enable_schannel
18255 wine_fn_config_test dlls/schannel/tests schannel_test
18256 wine_fn_config_dll schedsvc enable_schedsvc clean
18257 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18258 wine_fn_config_dll scrrun enable_scrrun clean
18259 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18260 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18261 wine_fn_config_dll secur32 enable_secur32 implib
18262 wine_fn_config_test dlls/secur32/tests secur32_test
18263 wine_fn_config_dll security enable_security
18264 wine_fn_config_dll sensapi enable_sensapi implib
18265 wine_fn_config_dll serialui enable_serialui clean
18266 wine_fn_config_test dlls/serialui/tests serialui_test
18267 wine_fn_config_dll setupapi enable_setupapi clean,implib
18268 wine_fn_config_test dlls/setupapi/tests setupapi_test
18269 wine_fn_config_dll setupx.dll16 enable_win16
18270 wine_fn_config_dll sfc enable_sfc implib
18271 wine_fn_config_dll sfc_os enable_sfc_os implib
18272 wine_fn_config_dll shdoclc enable_shdoclc clean
18273 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18274 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18275 wine_fn_config_dll shell.dll16 enable_win16
18276 wine_fn_config_dll shell32 enable_shell32 clean,implib
18277 wine_fn_config_test dlls/shell32/tests shell32_test
18278 wine_fn_config_dll shfolder enable_shfolder implib
18279 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18280 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18281 wine_fn_config_dll slbcsp enable_slbcsp
18282 wine_fn_config_dll slc enable_slc implib
18283 wine_fn_config_test dlls/slc/tests slc_test
18284 wine_fn_config_dll snmpapi enable_snmpapi implib
18285 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18286 wine_fn_config_dll softpub enable_softpub
18287 wine_fn_config_dll sound.drv16 enable_win16
18288 wine_fn_config_dll spoolss enable_spoolss implib
18289 wine_fn_config_test dlls/spoolss/tests spoolss_test
18290 wine_fn_config_dll sspicli enable_sspicli
18291 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18292 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18293 wine_fn_config_dll sti enable_sti clean,implib
18294 wine_fn_config_test dlls/sti/tests sti_test
18295 wine_fn_config_dll storage.dll16 enable_win16
18296 wine_fn_config_dll stress.dll16 enable_win16
18297 wine_fn_config_lib strmbase
18298 wine_fn_config_lib strmiids
18299 wine_fn_config_dll svrapi enable_svrapi
18300 wine_fn_config_dll sxs enable_sxs implib
18301 wine_fn_config_test dlls/sxs/tests sxs_test
18302 wine_fn_config_dll system.drv16 enable_win16
18303 wine_fn_config_dll t2embed enable_t2embed implib
18304 wine_fn_config_test dlls/t2embed/tests t2embed_test
18305 wine_fn_config_dll tapi32 enable_tapi32 implib
18306 wine_fn_config_dll taskschd enable_taskschd clean
18307 wine_fn_config_test dlls/taskschd/tests taskschd_test
18308 wine_fn_config_dll tdi.sys enable_tdi_sys
18309 wine_fn_config_dll toolhelp.dll16 enable_win16
18310 wine_fn_config_dll traffic enable_traffic
18311 wine_fn_config_dll twain.dll16 enable_win16
18312 wine_fn_config_dll twain_32 enable_twain_32
18313 wine_fn_config_test dlls/twain_32/tests twain_32_test
18314 wine_fn_config_dll typelib.dll16 enable_win16
18315 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18316 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18317 wine_fn_config_dll unicows enable_unicows implib
18318 wine_fn_config_dll updspapi enable_updspapi
18319 wine_fn_config_dll url enable_url implib
18320 wine_fn_config_dll urlmon enable_urlmon clean,implib
18321 wine_fn_config_test dlls/urlmon/tests urlmon_test
18322 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18323 wine_fn_config_dll user.exe16 enable_win16
18324 wine_fn_config_dll user32 enable_user32 clean,implib
18325 wine_fn_config_test dlls/user32/tests user32_test
18326 wine_fn_config_dll userenv enable_userenv implib
18327 wine_fn_config_test dlls/userenv/tests userenv_test
18328 wine_fn_config_dll usp10 enable_usp10 implib
18329 wine_fn_config_test dlls/usp10/tests usp10_test
18330 wine_fn_config_lib uuid
18331 wine_fn_config_dll uxtheme enable_uxtheme implib
18332 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18333 wine_fn_config_dll vbscript enable_vbscript clean
18334 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18335 wine_fn_config_dll vcomp enable_vcomp
18336 wine_fn_config_test dlls/vcomp/tests vcomp_test
18337 wine_fn_config_dll vcomp100 enable_vcomp100
18338 wine_fn_config_dll vcomp110 enable_vcomp110
18339 wine_fn_config_dll vcomp120 enable_vcomp120
18340 wine_fn_config_dll vcomp140 enable_vcomp140
18341 wine_fn_config_dll vcomp90 enable_vcomp90
18342 wine_fn_config_dll vcruntime140 enable_vcruntime140
18343 wine_fn_config_dll vdhcp.vxd enable_win16
18344 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18345 wine_fn_config_dll ver.dll16 enable_win16
18346 wine_fn_config_dll version enable_version implib
18347 wine_fn_config_test dlls/version/tests version_test
18348 wine_fn_config_dll vmm.vxd enable_win16
18349 wine_fn_config_dll vnbt.vxd enable_win16
18350 wine_fn_config_dll vnetbios.vxd enable_win16
18351 wine_fn_config_dll vssapi enable_vssapi
18352 wine_fn_config_dll vtdapi.vxd enable_win16
18353 wine_fn_config_dll vwin32.vxd enable_win16
18354 wine_fn_config_dll w32skrnl enable_win16
18355 wine_fn_config_dll w32sys.dll16 enable_win16
18356 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18357 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18358 wine_fn_config_dll wbemprox enable_wbemprox clean
18359 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18360 wine_fn_config_dll webservices enable_webservices implib
18361 wine_fn_config_test dlls/webservices/tests webservices_test
18362 wine_fn_config_dll wer enable_wer implib
18363 wine_fn_config_test dlls/wer/tests wer_test
18364 wine_fn_config_dll wevtapi enable_wevtapi
18365 wine_fn_config_dll wiaservc enable_wiaservc clean
18366 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18367 wine_fn_config_dll wimgapi enable_wimgapi
18368 wine_fn_config_dll win32s16.dll16 enable_win16
18369 wine_fn_config_dll win87em.dll16 enable_win16
18370 wine_fn_config_dll winaspi.dll16 enable_win16
18371 wine_fn_config_dll windebug.dll16 enable_win16
18372 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18373 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18374 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18375 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18376 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18377 wine_fn_config_dll winebus.sys enable_winebus_sys
18378 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18379 wine_fn_config_lib winecrt0
18380 wine_fn_config_dll wined3d enable_wined3d implib
18381 wine_fn_config_dll winegstreamer enable_winegstreamer
18382 wine_fn_config_dll winehid.sys enable_winehid_sys
18383 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18384 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18385 wine_fn_config_dll winemapi enable_winemapi
18386 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18387 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18388 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18389 wine_fn_config_dll wineps16.drv16 enable_win16
18390 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18391 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18392 wine_fn_config_dll winex11.drv enable_winex11_drv
18393 wine_fn_config_dll wing.dll16 enable_win16
18394 wine_fn_config_dll wing32 enable_wing32
18395 wine_fn_config_dll winhttp enable_winhttp clean,implib
18396 wine_fn_config_test dlls/winhttp/tests winhttp_test
18397 wine_fn_config_dll wininet enable_wininet clean,implib
18398 wine_fn_config_test dlls/wininet/tests wininet_test
18399 wine_fn_config_dll winmm enable_winmm clean,implib
18400 wine_fn_config_test dlls/winmm/tests winmm_test
18401 wine_fn_config_dll winnls.dll16 enable_win16
18402 wine_fn_config_dll winnls32 enable_winnls32 implib
18403 wine_fn_config_dll winscard enable_winscard implib
18404 wine_fn_config_dll winsock.dll16 enable_win16
18405 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18406 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18407 wine_fn_config_dll winsta enable_winsta
18408 wine_fn_config_dll wintab.dll16 enable_win16
18409 wine_fn_config_dll wintab32 enable_wintab32 implib
18410 wine_fn_config_test dlls/wintab32/tests wintab32_test
18411 wine_fn_config_dll wintrust enable_wintrust implib
18412 wine_fn_config_test dlls/wintrust/tests wintrust_test
18413 wine_fn_config_dll wlanapi enable_wlanapi
18414 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18415 wine_fn_config_test dlls/wldap32/tests wldap32_test
18416 wine_fn_config_dll wmasf enable_wmasf
18417 wine_fn_config_dll wmi enable_wmi
18418 wine_fn_config_dll wmiutils enable_wmiutils clean
18419 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18420 wine_fn_config_dll wmp enable_wmp clean
18421 wine_fn_config_test dlls/wmp/tests wmp_test
18422 wine_fn_config_dll wmvcore enable_wmvcore
18423 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18424 wine_fn_config_dll wow32 enable_win16 implib
18425 wine_fn_config_dll wpc enable_wpc clean
18426 wine_fn_config_test dlls/wpc/tests wpc_test
18427 wine_fn_config_dll wpcap enable_wpcap
18428 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18429 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18430 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18431 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18432 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18433 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18434 wine_fn_config_dll wsock32 enable_wsock32 implib
18435 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18436 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18437 wine_fn_config_dll wuapi enable_wuapi clean
18438 wine_fn_config_dll wuaueng enable_wuaueng
18439 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18440 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18441 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18442 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18443 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18444 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18445 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18446 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18447 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18448 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18449 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18450 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18451 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18452 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18453 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18454 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18455 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18456 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18457 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18458 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18459 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18460 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18461 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18462 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18463 wine_fn_config_dll xinput1_1 enable_xinput1_1
18464 wine_fn_config_dll xinput1_2 enable_xinput1_2
18465 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18466 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18467 wine_fn_config_dll xinput1_4 enable_xinput1_4
18468 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18469 wine_fn_config_dll xmllite enable_xmllite implib
18470 wine_fn_config_test dlls/xmllite/tests xmllite_test
18471 wine_fn_config_dll xolehlp enable_xolehlp
18472 wine_fn_config_dll xpsprint enable_xpsprint
18473 wine_fn_config_dll xpssvcs enable_xpssvcs
18474 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18475 wine_fn_config_makefile include enable_include clean,install-dev
18476 wine_fn_config_makefile libs/port enable_libs_port
18477 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18478 wine_fn_config_makefile libs/wpp enable_libs_wpp
18479 wine_fn_config_makefile loader enable_loader clean,install-lib
18480 wine_fn_config_makefile po enable_po clean
18481 wine_fn_config_program arp enable_arp install
18482 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18483 wine_fn_config_program attrib enable_attrib clean,install
18484 wine_fn_config_program cabarc enable_cabarc install
18485 wine_fn_config_program cacls enable_cacls install
18486 wine_fn_config_program clock enable_clock clean,install
18487 wine_fn_config_program cmd enable_cmd clean,install
18488 wine_fn_config_test programs/cmd/tests cmd.exe_test
18489 wine_fn_config_program conhost enable_conhost install
18490 wine_fn_config_program control enable_control install
18491 wine_fn_config_program cscript enable_cscript clean,install
18492 wine_fn_config_program dpnsvr enable_dpnsvr install
18493 wine_fn_config_program dxdiag enable_dxdiag clean,install
18494 wine_fn_config_program eject enable_eject install
18495 wine_fn_config_program expand enable_expand install
18496 wine_fn_config_program explorer enable_explorer clean,install
18497 wine_fn_config_program extrac32 enable_extrac32 install
18498 wine_fn_config_program findstr enable_findstr install
18499 wine_fn_config_program fsutil enable_fsutil install
18500 wine_fn_config_program hh enable_hh install
18501 wine_fn_config_program hostname enable_hostname clean,install
18502 wine_fn_config_program icacls enable_icacls install
18503 wine_fn_config_program icinfo enable_icinfo install
18504 wine_fn_config_program iexplore enable_iexplore install
18505 wine_fn_config_program ipconfig enable_ipconfig clean,install
18506 wine_fn_config_program lodctr enable_lodctr install
18507 wine_fn_config_program mofcomp enable_mofcomp install
18508 wine_fn_config_program mshta enable_mshta install
18509 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18510 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18511 wine_fn_config_program net enable_net clean,install
18512 wine_fn_config_program netsh enable_netsh install
18513 wine_fn_config_program netstat enable_netstat clean,install
18514 wine_fn_config_program ngen enable_ngen install
18515 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18516 wine_fn_config_program oleview enable_oleview clean,install
18517 wine_fn_config_program ping enable_ping install
18518 wine_fn_config_program plugplay enable_plugplay install
18519 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18520 wine_fn_config_program progman enable_progman clean,install
18521 wine_fn_config_program reg enable_reg clean,install
18522 wine_fn_config_test programs/reg/tests reg.exe_test
18523 wine_fn_config_program regasm enable_regasm install
18524 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18525 wine_fn_config_test programs/regedit/tests regedit.exe_test
18526 wine_fn_config_program regsvcs enable_regsvcs install
18527 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18528 wine_fn_config_program rpcss enable_rpcss clean,install
18529 wine_fn_config_program rundll.exe16 enable_win16 install
18530 wine_fn_config_program rundll32 enable_rundll32 install
18531 wine_fn_config_program sc enable_sc install
18532 wine_fn_config_program schtasks enable_schtasks install
18533 wine_fn_config_program sdbinst enable_sdbinst install
18534 wine_fn_config_program secedit enable_secedit install
18535 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18536 wine_fn_config_program services enable_services clean,install
18537 wine_fn_config_test programs/services/tests services.exe_test
18538 wine_fn_config_program shutdown enable_shutdown install
18539 wine_fn_config_program spoolsv enable_spoolsv install
18540 wine_fn_config_program start enable_start clean,install
18541 wine_fn_config_program subst enable_subst install
18542 wine_fn_config_program svchost enable_svchost install
18543 wine_fn_config_program systeminfo enable_systeminfo install
18544 wine_fn_config_program taskkill enable_taskkill clean,install
18545 wine_fn_config_program tasklist enable_tasklist install
18546 wine_fn_config_program taskmgr enable_taskmgr clean,install
18547 wine_fn_config_program termsv enable_termsv install
18548 wine_fn_config_program uninstaller enable_uninstaller clean,install
18549 wine_fn_config_program unlodctr enable_unlodctr install
18550 wine_fn_config_program view enable_view clean,install
18551 wine_fn_config_program wevtutil enable_wevtutil install
18552 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18553 wine_fn_config_program winebrowser enable_winebrowser install
18554 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18555 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18556 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18557 wine_fn_config_program winedevice enable_winedevice install
18558 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18559 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18560 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18561 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18562 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18563 wine_fn_config_program winetest enable_winetest clean
18564 wine_fn_config_program winevdm enable_win16 install
18565 wine_fn_config_program winhelp.exe16 enable_win16 install
18566 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18567 wine_fn_config_program winoldap.mod16 enable_win16 install
18568 wine_fn_config_program winver enable_winver install
18569 wine_fn_config_program wmic enable_wmic clean,install
18570 wine_fn_config_program wmplayer enable_wmplayer install
18571 wine_fn_config_program wordpad enable_wordpad clean,install
18572 wine_fn_config_program write enable_write clean,install
18573 wine_fn_config_program wscript enable_wscript clean,install
18574 wine_fn_config_test programs/wscript/tests wscript.exe_test
18575 wine_fn_config_program wusa enable_wusa install
18576 wine_fn_config_program xcopy enable_xcopy clean,install
18577 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18578 wine_fn_config_makefile server enable_server clean,install-lib
18579 wine_fn_config_tool tools clean
18580 wine_fn_config_tool tools/sfnt2fon clean
18581 wine_fn_config_tool tools/widl clean,install-dev
18582 wine_fn_config_tool tools/winebuild clean,install-dev
18583 wine_fn_config_tool tools/winedump clean,install-dev
18584 wine_fn_config_tool tools/winegcc clean,install-dev
18585 wine_fn_config_tool tools/winemaker clean,install-dev
18586 wine_fn_config_tool tools/wmc clean,install-dev
18587 wine_fn_config_tool tools/wrc clean,install-dev
18590 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18591 wine_fn_append_file CONFIGURE_TARGETS "tags"
18592 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18593 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18594 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18595 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18596 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18597 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18599 if test "x$enable_tools" != xno
18600 then
18601 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18602 ac_config_commands="$ac_config_commands tools/makedep"
18606 ac_config_commands="$ac_config_commands Makefile"
18609 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18613 if test "x$enable_maintainer_mode" = xyes
18614 then
18615 wine_fn_append_rule "configure: configure.ac aclocal.m4
18616 autoconf --warnings=all
18617 include/config.h.in: include/stamp-h.in
18618 include/stamp-h.in: configure.ac aclocal.m4
18619 autoheader --warnings=all
18620 @echo timestamp > \$@"
18623 if test "x$enable_tools" != xno
18624 then
18625 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18626 @./config.status tools/makedep
18627 Makefile: tools/makedep$ac_exeext"
18628 else
18629 wine_fn_append_rule "\$(MAKEDEP):
18630 @echo \"You need to run make in $TOOLSDIR first\" && false"
18633 if test -n "$with_wine64"
18634 then
18635 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18636 fonts server:
18637 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18638 $with_wine64/loader/wine:
18639 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18640 $with_wine64/loader/wine-preloader:
18641 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18642 clean::
18643 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18644 else
18645 WINELOADER_INSTALL="wine.inf"
18647 wine_fn_append_rule "install install-lib::
18648 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18649 uninstall::
18650 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18651 case $host_os in
18652 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18653 *) wine_fn_append_rule "install install-lib::
18654 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18655 uninstall::
18656 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18657 esac
18660 $as_echo " done" >&6
18661 cat >confcache <<\_ACEOF
18662 # This file is a shell script that caches the results of configure
18663 # tests run on this system so they can be shared between configure
18664 # scripts and configure runs, see configure's option --config-cache.
18665 # It is not useful on other systems. If it contains results you don't
18666 # want to keep, you may remove or edit it.
18668 # config.status only pays attention to the cache file if you give it
18669 # the --recheck option to rerun configure.
18671 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18673 # following values.
18675 _ACEOF
18677 # The following way of writing the cache mishandles newlines in values,
18678 # but we know of no workaround that is simple, portable, and efficient.
18679 # So, we kill variables containing newlines.
18680 # Ultrix sh set writes to stderr and can't be redirected directly,
18681 # and sets the high bit in the cache file unless we assign to the vars.
18683 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18684 eval ac_val=\$$ac_var
18685 case $ac_val in #(
18686 *${as_nl}*)
18687 case $ac_var in #(
18688 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18689 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18690 esac
18691 case $ac_var in #(
18692 _ | IFS | as_nl) ;; #(
18693 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18694 *) { eval $ac_var=; unset $ac_var;} ;;
18695 esac ;;
18696 esac
18697 done
18699 (set) 2>&1 |
18700 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18701 *${as_nl}ac_space=\ *)
18702 # `set' does not quote correctly, so add quotes: double-quote
18703 # substitution turns \\\\ into \\, and sed turns \\ into \.
18704 sed -n \
18705 "s/'/'\\\\''/g;
18706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18707 ;; #(
18709 # `set' quotes correctly as required by POSIX, so do not add quotes.
18710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18712 esac |
18713 sort
18715 sed '
18716 /^ac_cv_env_/b end
18717 t clear
18718 :clear
18719 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18720 t end
18721 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18722 :end' >>confcache
18723 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18724 if test -w "$cache_file"; then
18725 if test "x$cache_file" != "x/dev/null"; then
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18727 $as_echo "$as_me: updating cache $cache_file" >&6;}
18728 if test ! -f "$cache_file" || test -h "$cache_file"; then
18729 cat confcache >"$cache_file"
18730 else
18731 case $cache_file in #(
18732 */* | ?:*)
18733 mv -f confcache "$cache_file"$$ &&
18734 mv -f "$cache_file"$$ "$cache_file" ;; #(
18736 mv -f confcache "$cache_file" ;;
18737 esac
18740 else
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18742 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18745 rm -f confcache
18747 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18748 # Let make expand exec_prefix.
18749 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18751 DEFS=-DHAVE_CONFIG_H
18753 ac_libobjs=
18754 ac_ltlibobjs=
18756 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18757 # 1. Remove the extension, and $U if already installed.
18758 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18759 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18760 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18761 # will be set to the directory where LIBOBJS objects are built.
18762 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18763 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18764 done
18765 LIBOBJS=$ac_libobjs
18767 LTLIBOBJS=$ac_ltlibobjs
18771 : "${CONFIG_STATUS=./config.status}"
18772 ac_write_fail=0
18773 ac_clean_files_save=$ac_clean_files
18774 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18776 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18777 as_write_fail=0
18778 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18779 #! $SHELL
18780 # Generated by $as_me.
18781 # Run this file to recreate the current configuration.
18782 # Compiler output produced by configure, useful for debugging
18783 # configure, is in config.log if it exists.
18785 debug=false
18786 ac_cs_recheck=false
18787 ac_cs_silent=false
18789 SHELL=\${CONFIG_SHELL-$SHELL}
18790 export SHELL
18791 _ASEOF
18792 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18793 ## -------------------- ##
18794 ## M4sh Initialization. ##
18795 ## -------------------- ##
18797 # Be more Bourne compatible
18798 DUALCASE=1; export DUALCASE # for MKS sh
18799 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18800 emulate sh
18801 NULLCMD=:
18802 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18803 # is contrary to our usage. Disable this feature.
18804 alias -g '${1+"$@"}'='"$@"'
18805 setopt NO_GLOB_SUBST
18806 else
18807 case `(set -o) 2>/dev/null` in #(
18808 *posix*) :
18809 set -o posix ;; #(
18810 *) :
18812 esac
18816 as_nl='
18818 export as_nl
18819 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18820 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18823 # Prefer a ksh shell builtin over an external printf program on Solaris,
18824 # but without wasting forks for bash or zsh.
18825 if test -z "$BASH_VERSION$ZSH_VERSION" \
18826 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18827 as_echo='print -r --'
18828 as_echo_n='print -rn --'
18829 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18830 as_echo='printf %s\n'
18831 as_echo_n='printf %s'
18832 else
18833 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18834 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18835 as_echo_n='/usr/ucb/echo -n'
18836 else
18837 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18838 as_echo_n_body='eval
18839 arg=$1;
18840 case $arg in #(
18841 *"$as_nl"*)
18842 expr "X$arg" : "X\\(.*\\)$as_nl";
18843 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18844 esac;
18845 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18847 export as_echo_n_body
18848 as_echo_n='sh -c $as_echo_n_body as_echo'
18850 export as_echo_body
18851 as_echo='sh -c $as_echo_body as_echo'
18854 # The user is always right.
18855 if test "${PATH_SEPARATOR+set}" != set; then
18856 PATH_SEPARATOR=:
18857 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18858 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18859 PATH_SEPARATOR=';'
18864 # IFS
18865 # We need space, tab and new line, in precisely that order. Quoting is
18866 # there to prevent editors from complaining about space-tab.
18867 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18868 # splitting by setting IFS to empty value.)
18869 IFS=" "" $as_nl"
18871 # Find who we are. Look in the path if we contain no directory separator.
18872 as_myself=
18873 case $0 in #((
18874 *[\\/]* ) as_myself=$0 ;;
18875 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18876 for as_dir in $PATH
18878 IFS=$as_save_IFS
18879 test -z "$as_dir" && as_dir=.
18880 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18881 done
18882 IFS=$as_save_IFS
18885 esac
18886 # We did not find ourselves, most probably we were run as `sh COMMAND'
18887 # in which case we are not to be found in the path.
18888 if test "x$as_myself" = x; then
18889 as_myself=$0
18891 if test ! -f "$as_myself"; then
18892 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18893 exit 1
18896 # Unset variables that we do not need and which cause bugs (e.g. in
18897 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18898 # suppresses any "Segmentation fault" message there. '((' could
18899 # trigger a bug in pdksh 5.2.14.
18900 for as_var in BASH_ENV ENV MAIL MAILPATH
18901 do eval test x\${$as_var+set} = xset \
18902 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18903 done
18904 PS1='$ '
18905 PS2='> '
18906 PS4='+ '
18908 # NLS nuisances.
18909 LC_ALL=C
18910 export LC_ALL
18911 LANGUAGE=C
18912 export LANGUAGE
18914 # CDPATH.
18915 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18918 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18919 # ----------------------------------------
18920 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18921 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18922 # script with STATUS, using 1 if that was 0.
18923 as_fn_error ()
18925 as_status=$1; test $as_status -eq 0 && as_status=1
18926 if test "$4"; then
18927 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18928 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18930 $as_echo "$as_me: error: $2" >&2
18931 as_fn_exit $as_status
18932 } # as_fn_error
18935 # as_fn_set_status STATUS
18936 # -----------------------
18937 # Set $? to STATUS, without forking.
18938 as_fn_set_status ()
18940 return $1
18941 } # as_fn_set_status
18943 # as_fn_exit STATUS
18944 # -----------------
18945 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18946 as_fn_exit ()
18948 set +e
18949 as_fn_set_status $1
18950 exit $1
18951 } # as_fn_exit
18953 # as_fn_unset VAR
18954 # ---------------
18955 # Portably unset VAR.
18956 as_fn_unset ()
18958 { eval $1=; unset $1;}
18960 as_unset=as_fn_unset
18961 # as_fn_append VAR VALUE
18962 # ----------------------
18963 # Append the text in VALUE to the end of the definition contained in VAR. Take
18964 # advantage of any shell optimizations that allow amortized linear growth over
18965 # repeated appends, instead of the typical quadratic growth present in naive
18966 # implementations.
18967 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18968 eval 'as_fn_append ()
18970 eval $1+=\$2
18972 else
18973 as_fn_append ()
18975 eval $1=\$$1\$2
18977 fi # as_fn_append
18979 # as_fn_arith ARG...
18980 # ------------------
18981 # Perform arithmetic evaluation on the ARGs, and store the result in the
18982 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18983 # must be portable across $(()) and expr.
18984 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18985 eval 'as_fn_arith ()
18987 as_val=$(( $* ))
18989 else
18990 as_fn_arith ()
18992 as_val=`expr "$@" || test $? -eq 1`
18994 fi # as_fn_arith
18997 if expr a : '\(a\)' >/dev/null 2>&1 &&
18998 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18999 as_expr=expr
19000 else
19001 as_expr=false
19004 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19005 as_basename=basename
19006 else
19007 as_basename=false
19010 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19011 as_dirname=dirname
19012 else
19013 as_dirname=false
19016 as_me=`$as_basename -- "$0" ||
19017 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19018 X"$0" : 'X\(//\)$' \| \
19019 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19020 $as_echo X/"$0" |
19021 sed '/^.*\/\([^/][^/]*\)\/*$/{
19022 s//\1/
19025 /^X\/\(\/\/\)$/{
19026 s//\1/
19029 /^X\/\(\/\).*/{
19030 s//\1/
19033 s/.*/./; q'`
19035 # Avoid depending upon Character Ranges.
19036 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19037 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19038 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19039 as_cr_digits='0123456789'
19040 as_cr_alnum=$as_cr_Letters$as_cr_digits
19042 ECHO_C= ECHO_N= ECHO_T=
19043 case `echo -n x` in #(((((
19044 -n*)
19045 case `echo 'xy\c'` in
19046 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19047 xy) ECHO_C='\c';;
19048 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19049 ECHO_T=' ';;
19050 esac;;
19052 ECHO_N='-n';;
19053 esac
19055 rm -f conf$$ conf$$.exe conf$$.file
19056 if test -d conf$$.dir; then
19057 rm -f conf$$.dir/conf$$.file
19058 else
19059 rm -f conf$$.dir
19060 mkdir conf$$.dir 2>/dev/null
19062 if (echo >conf$$.file) 2>/dev/null; then
19063 if ln -s conf$$.file conf$$ 2>/dev/null; then
19064 as_ln_s='ln -s'
19065 # ... but there are two gotchas:
19066 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19067 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19068 # In both cases, we have to default to `cp -pR'.
19069 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19070 as_ln_s='cp -pR'
19071 elif ln conf$$.file conf$$ 2>/dev/null; then
19072 as_ln_s=ln
19073 else
19074 as_ln_s='cp -pR'
19076 else
19077 as_ln_s='cp -pR'
19079 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19080 rmdir conf$$.dir 2>/dev/null
19083 # as_fn_mkdir_p
19084 # -------------
19085 # Create "$as_dir" as a directory, including parents if necessary.
19086 as_fn_mkdir_p ()
19089 case $as_dir in #(
19090 -*) as_dir=./$as_dir;;
19091 esac
19092 test -d "$as_dir" || eval $as_mkdir_p || {
19093 as_dirs=
19094 while :; do
19095 case $as_dir in #(
19096 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19097 *) as_qdir=$as_dir;;
19098 esac
19099 as_dirs="'$as_qdir' $as_dirs"
19100 as_dir=`$as_dirname -- "$as_dir" ||
19101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19102 X"$as_dir" : 'X\(//\)[^/]' \| \
19103 X"$as_dir" : 'X\(//\)$' \| \
19104 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19105 $as_echo X"$as_dir" |
19106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19107 s//\1/
19110 /^X\(\/\/\)[^/].*/{
19111 s//\1/
19114 /^X\(\/\/\)$/{
19115 s//\1/
19118 /^X\(\/\).*/{
19119 s//\1/
19122 s/.*/./; q'`
19123 test -d "$as_dir" && break
19124 done
19125 test -z "$as_dirs" || eval "mkdir $as_dirs"
19126 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19129 } # as_fn_mkdir_p
19130 if mkdir -p . 2>/dev/null; then
19131 as_mkdir_p='mkdir -p "$as_dir"'
19132 else
19133 test -d ./-p && rmdir ./-p
19134 as_mkdir_p=false
19138 # as_fn_executable_p FILE
19139 # -----------------------
19140 # Test if FILE is an executable regular file.
19141 as_fn_executable_p ()
19143 test -f "$1" && test -x "$1"
19144 } # as_fn_executable_p
19145 as_test_x='test -x'
19146 as_executable_p=as_fn_executable_p
19148 # Sed expression to map a string onto a valid CPP name.
19149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19151 # Sed expression to map a string onto a valid variable name.
19152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19155 exec 6>&1
19156 ## ----------------------------------- ##
19157 ## Main body of $CONFIG_STATUS script. ##
19158 ## ----------------------------------- ##
19159 _ASEOF
19160 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19163 # Save the log message, to keep $0 and so on meaningful, and to
19164 # report actual input values of CONFIG_FILES etc. instead of their
19165 # values after options handling.
19166 ac_log="
19167 This file was extended by Wine $as_me 1.9.23, which was
19168 generated by GNU Autoconf 2.69. Invocation command line was
19170 CONFIG_FILES = $CONFIG_FILES
19171 CONFIG_HEADERS = $CONFIG_HEADERS
19172 CONFIG_LINKS = $CONFIG_LINKS
19173 CONFIG_COMMANDS = $CONFIG_COMMANDS
19174 $ $0 $@
19176 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19179 _ACEOF
19181 case $ac_config_files in *"
19182 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19183 esac
19185 case $ac_config_headers in *"
19186 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19187 esac
19190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19191 # Files that config.status was made for.
19192 config_files="$ac_config_files"
19193 config_headers="$ac_config_headers"
19194 config_links="$ac_config_links"
19195 config_commands="$ac_config_commands"
19197 _ACEOF
19199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19200 ac_cs_usage="\
19201 \`$as_me' instantiates files and other configuration actions
19202 from templates according to the current configuration. Unless the files
19203 and actions are specified as TAGs, all are instantiated by default.
19205 Usage: $0 [OPTION]... [TAG]...
19207 -h, --help print this help, then exit
19208 -V, --version print version number and configuration settings, then exit
19209 --config print configuration, then exit
19210 -q, --quiet, --silent
19211 do not print progress messages
19212 -d, --debug don't remove temporary files
19213 --recheck update $as_me by reconfiguring in the same conditions
19214 --file=FILE[:TEMPLATE]
19215 instantiate the configuration file FILE
19216 --header=FILE[:TEMPLATE]
19217 instantiate the configuration header FILE
19219 Configuration files:
19220 $config_files
19222 Configuration headers:
19223 $config_headers
19225 Configuration links:
19226 $config_links
19228 Configuration commands:
19229 $config_commands
19231 Report bugs to <wine-devel@winehq.org>.
19232 Wine home page: <http://www.winehq.org>."
19234 _ACEOF
19235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19236 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19237 ac_cs_version="\\
19238 Wine config.status 1.9.23
19239 configured by $0, generated by GNU Autoconf 2.69,
19240 with options \\"\$ac_cs_config\\"
19242 Copyright (C) 2012 Free Software Foundation, Inc.
19243 This config.status script is free software; the Free Software Foundation
19244 gives unlimited permission to copy, distribute and modify it."
19246 ac_pwd='$ac_pwd'
19247 srcdir='$srcdir'
19248 test -n "\$AWK" || AWK=awk
19249 _ACEOF
19251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19252 # The default lists apply if the user does not specify any file.
19253 ac_need_defaults=:
19254 while test $# != 0
19256 case $1 in
19257 --*=?*)
19258 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19259 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19260 ac_shift=:
19262 --*=)
19263 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19264 ac_optarg=
19265 ac_shift=:
19268 ac_option=$1
19269 ac_optarg=$2
19270 ac_shift=shift
19272 esac
19274 case $ac_option in
19275 # Handling of the options.
19276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19277 ac_cs_recheck=: ;;
19278 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19279 $as_echo "$ac_cs_version"; exit ;;
19280 --config | --confi | --conf | --con | --co | --c )
19281 $as_echo "$ac_cs_config"; exit ;;
19282 --debug | --debu | --deb | --de | --d | -d )
19283 debug=: ;;
19284 --file | --fil | --fi | --f )
19285 $ac_shift
19286 case $ac_optarg in
19287 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19288 '') as_fn_error $? "missing file argument" ;;
19289 esac
19290 as_fn_append CONFIG_FILES " '$ac_optarg'"
19291 ac_need_defaults=false;;
19292 --header | --heade | --head | --hea )
19293 $ac_shift
19294 case $ac_optarg in
19295 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19296 esac
19297 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19298 ac_need_defaults=false;;
19299 --he | --h)
19300 # Conflict between --help and --header
19301 as_fn_error $? "ambiguous option: \`$1'
19302 Try \`$0 --help' for more information.";;
19303 --help | --hel | -h )
19304 $as_echo "$ac_cs_usage"; exit ;;
19305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19306 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19307 ac_cs_silent=: ;;
19309 # This is an error.
19310 -*) as_fn_error $? "unrecognized option: \`$1'
19311 Try \`$0 --help' for more information." ;;
19313 *) as_fn_append ac_config_targets " $1"
19314 ac_need_defaults=false ;;
19316 esac
19317 shift
19318 done
19320 ac_configure_extra_args=
19322 if $ac_cs_silent; then
19323 exec 6>/dev/null
19324 ac_configure_extra_args="$ac_configure_extra_args --silent"
19327 _ACEOF
19328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19329 if \$ac_cs_recheck; then
19330 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19331 shift
19332 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19333 CONFIG_SHELL='$SHELL'
19334 export CONFIG_SHELL
19335 exec "\$@"
19338 _ACEOF
19339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19340 exec 5>>config.log
19342 echo
19343 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19344 ## Running $as_me. ##
19345 _ASBOX
19346 $as_echo "$ac_log"
19347 } >&5
19349 _ACEOF
19350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19352 # INIT-COMMANDS
19354 wine_fn_output_makedep ()
19356 as_dir=tools; as_fn_mkdir_p
19357 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19359 wine_fn_output_makefile ()
19361 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19362 `cat $wine_rules_file`
19363 _WINE_EOF
19364 as_fn_error $? "could not create Makefile" "$LINENO" 5
19367 _ACEOF
19369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19371 # Handling of arguments.
19372 for ac_config_target in $ac_config_targets
19374 case $ac_config_target in
19375 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19376 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19377 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19378 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19379 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19380 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19381 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19382 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19383 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19384 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19385 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19386 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19387 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19389 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19390 esac
19391 done
19394 # If the user did not use the arguments to specify the items to instantiate,
19395 # then the envvar interface is used. Set only those that are not.
19396 # We use the long form for the default assignment because of an extremely
19397 # bizarre bug on SunOS 4.1.3.
19398 if $ac_need_defaults; then
19399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19401 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19402 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19405 # Have a temporary directory for convenience. Make it in the build tree
19406 # simply because there is no reason against having it here, and in addition,
19407 # creating and moving files from /tmp can sometimes cause problems.
19408 # Hook for its removal unless debugging.
19409 # Note that there is a small window in which the directory will not be cleaned:
19410 # after its creation but before its name has been assigned to `$tmp'.
19411 $debug ||
19413 tmp= ac_tmp=
19414 trap 'exit_status=$?
19415 : "${ac_tmp:=$tmp}"
19416 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19418 trap 'as_fn_exit 1' 1 2 13 15
19420 # Create a (secure) tmp directory for tmp files.
19423 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19424 test -d "$tmp"
19425 } ||
19427 tmp=./conf$$-$RANDOM
19428 (umask 077 && mkdir "$tmp")
19429 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19430 ac_tmp=$tmp
19432 # Set up the scripts for CONFIG_FILES section.
19433 # No need to generate them if there are no CONFIG_FILES.
19434 # This happens for instance with `./config.status config.h'.
19435 if test -n "$CONFIG_FILES"; then
19438 ac_cr=`echo X | tr X '\015'`
19439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19440 # But we know of no other shell where ac_cr would be empty at this
19441 # point, so we can use a bashism as a fallback.
19442 if test "x$ac_cr" = x; then
19443 eval ac_cr=\$\'\\r\'
19445 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19447 ac_cs_awk_cr='\\r'
19448 else
19449 ac_cs_awk_cr=$ac_cr
19452 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19453 _ACEOF
19457 echo "cat >conf$$subs.awk <<_ACEOF" &&
19458 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19459 echo "_ACEOF"
19460 } >conf$$subs.sh ||
19461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19462 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19463 ac_delim='%!_!# '
19464 for ac_last_try in false false false false false :; do
19465 . ./conf$$subs.sh ||
19466 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19468 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19469 if test $ac_delim_n = $ac_delim_num; then
19470 break
19471 elif $ac_last_try; then
19472 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19473 else
19474 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19476 done
19477 rm -f conf$$subs.sh
19479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19480 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19481 _ACEOF
19482 sed -n '
19484 s/^/S["/; s/!.*/"]=/
19487 s/^[^!]*!//
19488 :repl
19489 t repl
19490 s/'"$ac_delim"'$//
19491 t delim
19494 s/\(.\{148\}\)..*/\1/
19495 t more1
19496 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19499 b repl
19500 :more1
19501 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19504 s/.\{148\}//
19505 t nl
19506 :delim
19508 s/\(.\{148\}\)..*/\1/
19509 t more2
19510 s/["\\]/\\&/g; s/^/"/; s/$/"/
19513 :more2
19514 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19517 s/.\{148\}//
19518 t delim
19519 ' <conf$$subs.awk | sed '
19520 /^[^""]/{
19522 s/\n//
19524 ' >>$CONFIG_STATUS || ac_write_fail=1
19525 rm -f conf$$subs.awk
19526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19527 _ACAWK
19528 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19529 for (key in S) S_is_set[key] = 1
19530 FS = "\a"
19534 line = $ 0
19535 nfields = split(line, field, "@")
19536 substed = 0
19537 len = length(field[1])
19538 for (i = 2; i < nfields; i++) {
19539 key = field[i]
19540 keylen = length(key)
19541 if (S_is_set[key]) {
19542 value = S[key]
19543 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19544 len += length(value) + length(field[++i])
19545 substed = 1
19546 } else
19547 len += 1 + keylen
19550 print line
19553 _ACAWK
19554 _ACEOF
19555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19556 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19557 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19558 else
19560 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19561 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19562 _ACEOF
19564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19566 # trailing colons and then remove the whole line if VPATH becomes empty
19567 # (actually we leave an empty line to preserve line numbers).
19568 if test "x$srcdir" = x.; then
19569 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19571 s///
19572 s/^/:/
19573 s/[ ]*$/:/
19574 s/:\$(srcdir):/:/g
19575 s/:\${srcdir}:/:/g
19576 s/:@srcdir@:/:/g
19577 s/^:*//
19578 s/:*$//
19580 s/\(=[ ]*\).*/\1/
19582 s/\n//
19583 s/^[^=]*=[ ]*$//
19587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19588 fi # test -n "$CONFIG_FILES"
19590 # Set up the scripts for CONFIG_HEADERS section.
19591 # No need to generate them if there are no CONFIG_HEADERS.
19592 # This happens for instance with `./config.status Makefile'.
19593 if test -n "$CONFIG_HEADERS"; then
19594 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19595 BEGIN {
19596 _ACEOF
19598 # Transform confdefs.h into an awk script `defines.awk', embedded as
19599 # here-document in config.status, that substitutes the proper values into
19600 # config.h.in to produce config.h.
19602 # Create a delimiter string that does not exist in confdefs.h, to ease
19603 # handling of long lines.
19604 ac_delim='%!_!# '
19605 for ac_last_try in false false :; do
19606 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19607 if test -z "$ac_tt"; then
19608 break
19609 elif $ac_last_try; then
19610 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19611 else
19612 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19614 done
19616 # For the awk script, D is an array of macro values keyed by name,
19617 # likewise P contains macro parameters if any. Preserve backslash
19618 # newline sequences.
19620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19621 sed -n '
19622 s/.\{148\}/&'"$ac_delim"'/g
19623 t rset
19624 :rset
19625 s/^[ ]*#[ ]*define[ ][ ]*/ /
19626 t def
19628 :def
19629 s/\\$//
19630 t bsnl
19631 s/["\\]/\\&/g
19632 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19633 D["\1"]=" \3"/p
19634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19636 :bsnl
19637 s/["\\]/\\&/g
19638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19639 D["\1"]=" \3\\\\\\n"\\/p
19640 t cont
19641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19642 t cont
19644 :cont
19646 s/.\{148\}/&'"$ac_delim"'/g
19647 t clear
19648 :clear
19649 s/\\$//
19650 t bsnlc
19651 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19653 :bsnlc
19654 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19655 b cont
19656 ' <confdefs.h | sed '
19657 s/'"$ac_delim"'/"\\\
19658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19661 for (key in D) D_is_set[key] = 1
19662 FS = "\a"
19664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19665 line = \$ 0
19666 split(line, arg, " ")
19667 if (arg[1] == "#") {
19668 defundef = arg[2]
19669 mac1 = arg[3]
19670 } else {
19671 defundef = substr(arg[1], 2)
19672 mac1 = arg[2]
19674 split(mac1, mac2, "(") #)
19675 macro = mac2[1]
19676 prefix = substr(line, 1, index(line, defundef) - 1)
19677 if (D_is_set[macro]) {
19678 # Preserve the white space surrounding the "#".
19679 print prefix "define", macro P[macro] D[macro]
19680 next
19681 } else {
19682 # Replace #undef with comments. This is necessary, for example,
19683 # in the case of _POSIX_SOURCE, which is predefined and required
19684 # on some systems where configure will not decide to define it.
19685 if (defundef == "undef") {
19686 print "/*", prefix defundef, macro, "*/"
19687 next
19691 { print }
19692 _ACAWK
19693 _ACEOF
19694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19695 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19696 fi # test -n "$CONFIG_HEADERS"
19699 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19700 shift
19701 for ac_tag
19703 case $ac_tag in
19704 :[FHLC]) ac_mode=$ac_tag; continue;;
19705 esac
19706 case $ac_mode$ac_tag in
19707 :[FHL]*:*);;
19708 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19709 :[FH]-) ac_tag=-:-;;
19710 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19711 esac
19712 ac_save_IFS=$IFS
19713 IFS=:
19714 set x $ac_tag
19715 IFS=$ac_save_IFS
19716 shift
19717 ac_file=$1
19718 shift
19720 case $ac_mode in
19721 :L) ac_source=$1;;
19722 :[FH])
19723 ac_file_inputs=
19724 for ac_f
19726 case $ac_f in
19727 -) ac_f="$ac_tmp/stdin";;
19728 *) # Look for the file first in the build tree, then in the source tree
19729 # (if the path is not absolute). The absolute path cannot be DOS-style,
19730 # because $ac_f cannot contain `:'.
19731 test -f "$ac_f" ||
19732 case $ac_f in
19733 [\\/$]*) false;;
19734 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19735 esac ||
19736 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19737 esac
19738 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19739 as_fn_append ac_file_inputs " '$ac_f'"
19740 done
19742 # Let's still pretend it is `configure' which instantiates (i.e., don't
19743 # use $as_me), people would be surprised to read:
19744 # /* config.h. Generated by config.status. */
19745 configure_input='Generated from '`
19746 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19747 `' by configure.'
19748 if test x"$ac_file" != x-; then
19749 configure_input="$ac_file. $configure_input"
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19751 $as_echo "$as_me: creating $ac_file" >&6;}
19753 # Neutralize special characters interpreted by sed in replacement strings.
19754 case $configure_input in #(
19755 *\&* | *\|* | *\\* )
19756 ac_sed_conf_input=`$as_echo "$configure_input" |
19757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19758 *) ac_sed_conf_input=$configure_input;;
19759 esac
19761 case $ac_tag in
19762 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19764 esac
19766 esac
19768 ac_dir=`$as_dirname -- "$ac_file" ||
19769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19770 X"$ac_file" : 'X\(//\)[^/]' \| \
19771 X"$ac_file" : 'X\(//\)$' \| \
19772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19773 $as_echo X"$ac_file" |
19774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19775 s//\1/
19778 /^X\(\/\/\)[^/].*/{
19779 s//\1/
19782 /^X\(\/\/\)$/{
19783 s//\1/
19786 /^X\(\/\).*/{
19787 s//\1/
19790 s/.*/./; q'`
19791 as_dir="$ac_dir"; as_fn_mkdir_p
19792 ac_builddir=.
19794 case "$ac_dir" in
19795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19798 # A ".." for each directory in $ac_dir_suffix.
19799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19800 case $ac_top_builddir_sub in
19801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19803 esac ;;
19804 esac
19805 ac_abs_top_builddir=$ac_pwd
19806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19807 # for backward compatibility:
19808 ac_top_builddir=$ac_top_build_prefix
19810 case $srcdir in
19811 .) # We are building in place.
19812 ac_srcdir=.
19813 ac_top_srcdir=$ac_top_builddir_sub
19814 ac_abs_top_srcdir=$ac_pwd ;;
19815 [\\/]* | ?:[\\/]* ) # Absolute name.
19816 ac_srcdir=$srcdir$ac_dir_suffix;
19817 ac_top_srcdir=$srcdir
19818 ac_abs_top_srcdir=$srcdir ;;
19819 *) # Relative name.
19820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19821 ac_top_srcdir=$ac_top_build_prefix$srcdir
19822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19823 esac
19824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19827 case $ac_mode in
19830 # CONFIG_FILE
19833 _ACEOF
19835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19836 # If the template does not know about datarootdir, expand it.
19837 # FIXME: This hack should be removed a few years after 2.60.
19838 ac_datarootdir_hack=; ac_datarootdir_seen=
19839 ac_sed_dataroot='
19840 /datarootdir/ {
19844 /@datadir@/p
19845 /@docdir@/p
19846 /@infodir@/p
19847 /@localedir@/p
19848 /@mandir@/p'
19849 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19850 *datarootdir*) ac_datarootdir_seen=yes;;
19851 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19853 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19854 _ACEOF
19855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19856 ac_datarootdir_hack='
19857 s&@datadir@&$datadir&g
19858 s&@docdir@&$docdir&g
19859 s&@infodir@&$infodir&g
19860 s&@localedir@&$localedir&g
19861 s&@mandir@&$mandir&g
19862 s&\\\${datarootdir}&$datarootdir&g' ;;
19863 esac
19864 _ACEOF
19866 # Neutralize VPATH when `$srcdir' = `.'.
19867 # Shell code in configure.ac might set extrasub.
19868 # FIXME: do we really want to maintain this feature?
19869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19870 ac_sed_extra="$ac_vpsub
19871 $extrasub
19872 _ACEOF
19873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19875 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19876 s|@configure_input@|$ac_sed_conf_input|;t t
19877 s&@top_builddir@&$ac_top_builddir_sub&;t t
19878 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19879 s&@srcdir@&$ac_srcdir&;t t
19880 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19881 s&@top_srcdir@&$ac_top_srcdir&;t t
19882 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19883 s&@builddir@&$ac_builddir&;t t
19884 s&@abs_builddir@&$ac_abs_builddir&;t t
19885 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19886 $ac_datarootdir_hack
19888 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19889 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19891 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19892 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19893 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19894 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19896 which seems to be undefined. Please make sure it is defined" >&5
19897 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19898 which seems to be undefined. Please make sure it is defined" >&2;}
19900 rm -f "$ac_tmp/stdin"
19901 case $ac_file in
19902 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19903 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19904 esac \
19905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19909 # CONFIG_HEADER
19911 if test x"$ac_file" != x-; then
19913 $as_echo "/* $configure_input */" \
19914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19915 } >"$ac_tmp/config.h" \
19916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19917 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19919 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19920 else
19921 rm -f "$ac_file"
19922 mv "$ac_tmp/config.h" "$ac_file" \
19923 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19925 else
19926 $as_echo "/* $configure_input */" \
19927 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19928 || as_fn_error $? "could not create -" "$LINENO" 5
19933 # CONFIG_LINK
19936 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19938 else
19939 # Prefer the file from the source tree if names are identical.
19940 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19941 ac_source=$srcdir/$ac_source
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19945 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19947 if test ! -r "$ac_source"; then
19948 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19950 rm -f "$ac_file"
19952 # Try a relative symlink, then a hard link, then a copy.
19953 case $ac_source in
19954 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19955 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19956 esac
19957 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19958 ln "$ac_source" "$ac_file" 2>/dev/null ||
19959 cp -p "$ac_source" "$ac_file" ||
19960 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19963 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19964 $as_echo "$as_me: executing $ac_file commands" >&6;}
19966 esac
19969 case $ac_file$ac_mode in
19970 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19971 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19972 "Makefile":C) wine_fn_output_makefile Makefile ;;
19974 esac
19975 done # for ac_tag
19978 as_fn_exit 0
19979 _ACEOF
19980 ac_clean_files=$ac_clean_files_save
19982 test $ac_write_fail = 0 ||
19983 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19986 # configure is writing to config.log, and then calls config.status.
19987 # config.status does its own redirection, appending to config.log.
19988 # Unfortunately, on DOS this fails, as config.log is still kept open
19989 # by configure, so config.status won't be able to write to it; its
19990 # output is simply discarded. So we exec the FD to /dev/null,
19991 # effectively closing config.log, so it can be properly (re)opened and
19992 # appended to by config.status. When coming back to configure, we
19993 # need to make the FD available again.
19994 if test "$no_create" != yes; then
19995 ac_cs_success=:
19996 ac_config_status_args=
19997 test "$silent" = yes &&
19998 ac_config_status_args="$ac_config_status_args --quiet"
19999 exec 5>/dev/null
20000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20001 exec 5>>config.log
20002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20003 # would make configure fail if this is the last instruction.
20004 $ac_cs_success || as_fn_exit 1
20006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20012 if test "$no_create" = "yes"
20013 then
20014 exit 0
20017 ac_save_IFS="$IFS"
20018 if test "x$wine_notices" != x; then
20019 echo >&6
20020 IFS="|"
20021 for msg in $wine_notices; do
20022 IFS="$ac_save_IFS"
20023 if ${msg:+false} :; then :
20025 else
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20027 $as_echo "$as_me: $msg" >&6;}
20029 done
20031 IFS="|"
20032 for msg in $wine_warnings; do
20033 IFS="$ac_save_IFS"
20034 if ${msg:+false} :; then :
20036 else
20037 echo >&2
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20039 $as_echo "$as_me: WARNING: $msg" >&2;}
20041 done
20042 IFS="$ac_save_IFS"
20044 $as_echo "
20045 $as_me: Finished. Do '${ac_make}' to compile Wine.
20046 " >&6