wined3d: Fix a trailing new-line in an ERR() message.
[wine.git] / configure
blob2c9493631bf623d3968f5a5cd1fb8b71d9ad90b1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.4'
584 PACKAGE_STRING='Wine 2.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registryuserspecific_l1_1_0
952 enable_api_ms_win_core_rtlsupport_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_2_0
954 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
955 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
956 enable_api_ms_win_core_sidebyside_l1_1_0
957 enable_api_ms_win_core_string_l1_1_0
958 enable_api_ms_win_core_string_l2_1_0
959 enable_api_ms_win_core_string_obsolete_l1_1_0
960 enable_api_ms_win_core_stringansi_l1_1_0
961 enable_api_ms_win_core_synch_l1_1_0
962 enable_api_ms_win_core_synch_l1_2_0
963 enable_api_ms_win_core_sysinfo_l1_1_0
964 enable_api_ms_win_core_sysinfo_l1_2_0
965 enable_api_ms_win_core_sysinfo_l1_2_1
966 enable_api_ms_win_core_threadpool_l1_1_0
967 enable_api_ms_win_core_threadpool_l1_2_0
968 enable_api_ms_win_core_threadpool_legacy_l1_1_0
969 enable_api_ms_win_core_timezone_l1_1_0
970 enable_api_ms_win_core_toolhelp_l1_1_0
971 enable_api_ms_win_core_url_l1_1_0
972 enable_api_ms_win_core_util_l1_1_0
973 enable_api_ms_win_core_version_l1_1_0
974 enable_api_ms_win_core_version_private_l1_1_0
975 enable_api_ms_win_core_versionansi_l1_1_0
976 enable_api_ms_win_core_windowserrorreporting_l1_1_0
977 enable_api_ms_win_core_winrt_error_l1_1_0
978 enable_api_ms_win_core_winrt_error_l1_1_1
979 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
980 enable_api_ms_win_core_winrt_l1_1_0
981 enable_api_ms_win_core_winrt_registration_l1_1_0
982 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
983 enable_api_ms_win_core_winrt_string_l1_1_0
984 enable_api_ms_win_core_wow64_l1_1_0
985 enable_api_ms_win_core_xstate_l1_1_0
986 enable_api_ms_win_core_xstate_l2_1_0
987 enable_api_ms_win_crt_conio_l1_1_0
988 enable_api_ms_win_crt_convert_l1_1_0
989 enable_api_ms_win_crt_environment_l1_1_0
990 enable_api_ms_win_crt_filesystem_l1_1_0
991 enable_api_ms_win_crt_heap_l1_1_0
992 enable_api_ms_win_crt_locale_l1_1_0
993 enable_api_ms_win_crt_math_l1_1_0
994 enable_api_ms_win_crt_multibyte_l1_1_0
995 enable_api_ms_win_crt_private_l1_1_0
996 enable_api_ms_win_crt_process_l1_1_0
997 enable_api_ms_win_crt_runtime_l1_1_0
998 enable_api_ms_win_crt_stdio_l1_1_0
999 enable_api_ms_win_crt_string_l1_1_0
1000 enable_api_ms_win_crt_time_l1_1_0
1001 enable_api_ms_win_crt_utility_l1_1_0
1002 enable_api_ms_win_devices_config_l1_1_1
1003 enable_api_ms_win_devices_query_l1_1_1
1004 enable_api_ms_win_downlevel_advapi32_l1_1_0
1005 enable_api_ms_win_downlevel_advapi32_l2_1_0
1006 enable_api_ms_win_downlevel_normaliz_l1_1_0
1007 enable_api_ms_win_downlevel_ole32_l1_1_0
1008 enable_api_ms_win_downlevel_shell32_l1_1_0
1009 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1010 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1011 enable_api_ms_win_downlevel_user32_l1_1_0
1012 enable_api_ms_win_downlevel_version_l1_1_0
1013 enable_api_ms_win_dx_d3dkmt_l1_1_0
1014 enable_api_ms_win_eventing_classicprovider_l1_1_0
1015 enable_api_ms_win_eventing_consumer_l1_1_0
1016 enable_api_ms_win_eventing_controller_l1_1_0
1017 enable_api_ms_win_eventing_provider_l1_1_0
1018 enable_api_ms_win_eventlog_legacy_l1_1_0
1019 enable_api_ms_win_ntuser_dc_access_l1_1_0
1020 enable_api_ms_win_power_base_l1_1_0
1021 enable_api_ms_win_power_setting_l1_1_0
1022 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1023 enable_api_ms_win_security_audit_l1_1_1
1024 enable_api_ms_win_security_base_l1_1_0
1025 enable_api_ms_win_security_base_l1_2_0
1026 enable_api_ms_win_security_base_private_l1_1_1
1027 enable_api_ms_win_security_lsalookup_l1_1_0
1028 enable_api_ms_win_security_lsalookup_l1_1_1
1029 enable_api_ms_win_security_lsalookup_l2_1_1
1030 enable_api_ms_win_security_lsapolicy_l1_1_0
1031 enable_api_ms_win_security_sddl_l1_1_0
1032 enable_api_ms_win_security_systemfunctions_l1_1_0
1033 enable_api_ms_win_service_core_l1_1_0
1034 enable_api_ms_win_service_core_l1_1_1
1035 enable_api_ms_win_service_management_l1_1_0
1036 enable_api_ms_win_service_management_l2_1_0
1037 enable_api_ms_win_service_private_l1_1_1
1038 enable_api_ms_win_service_winsvc_l1_1_0
1039 enable_api_ms_win_service_winsvc_l1_2_0
1040 enable_api_ms_win_shell_shellcom_l1_1_0
1041 enable_api_ms_win_shell_shellfolders_l1_1_0
1042 enable_apphelp
1043 enable_appwiz_cpl
1044 enable_atl
1045 enable_atl100
1046 enable_atl110
1047 enable_atl80
1048 enable_atl90
1049 enable_authz
1050 enable_avicap32
1051 enable_avifil32
1052 enable_avrt
1053 enable_bcrypt
1054 enable_bluetoothapis
1055 enable_browseui
1056 enable_bthprops_cpl
1057 enable_cabinet
1058 enable_capi2032
1059 enable_cards
1060 enable_cfgmgr32
1061 enable_clusapi
1062 enable_combase
1063 enable_comcat
1064 enable_comctl32
1065 enable_comdlg32
1066 enable_compstui
1067 enable_comsvcs
1068 enable_concrt140
1069 enable_connect
1070 enable_credui
1071 enable_crtdll
1072 enable_crypt32
1073 enable_cryptdlg
1074 enable_cryptdll
1075 enable_cryptext
1076 enable_cryptnet
1077 enable_cryptui
1078 enable_ctapi32
1079 enable_ctl3d32
1080 enable_d2d1
1081 enable_d3d10
1082 enable_d3d10_1
1083 enable_d3d10core
1084 enable_d3d11
1085 enable_d3d8
1086 enable_d3d9
1087 enable_d3dcompiler_33
1088 enable_d3dcompiler_34
1089 enable_d3dcompiler_35
1090 enable_d3dcompiler_36
1091 enable_d3dcompiler_37
1092 enable_d3dcompiler_38
1093 enable_d3dcompiler_39
1094 enable_d3dcompiler_40
1095 enable_d3dcompiler_41
1096 enable_d3dcompiler_42
1097 enable_d3dcompiler_43
1098 enable_d3dcompiler_46
1099 enable_d3dcompiler_47
1100 enable_d3dim
1101 enable_d3drm
1102 enable_d3dx10_33
1103 enable_d3dx10_34
1104 enable_d3dx10_35
1105 enable_d3dx10_36
1106 enable_d3dx10_37
1107 enable_d3dx10_38
1108 enable_d3dx10_39
1109 enable_d3dx10_40
1110 enable_d3dx10_41
1111 enable_d3dx10_42
1112 enable_d3dx10_43
1113 enable_d3dx11_42
1114 enable_d3dx11_43
1115 enable_d3dx9_24
1116 enable_d3dx9_25
1117 enable_d3dx9_26
1118 enable_d3dx9_27
1119 enable_d3dx9_28
1120 enable_d3dx9_29
1121 enable_d3dx9_30
1122 enable_d3dx9_31
1123 enable_d3dx9_32
1124 enable_d3dx9_33
1125 enable_d3dx9_34
1126 enable_d3dx9_35
1127 enable_d3dx9_36
1128 enable_d3dx9_37
1129 enable_d3dx9_38
1130 enable_d3dx9_39
1131 enable_d3dx9_40
1132 enable_d3dx9_41
1133 enable_d3dx9_42
1134 enable_d3dx9_43
1135 enable_d3dxof
1136 enable_davclnt
1137 enable_dbgeng
1138 enable_dbghelp
1139 enable_dciman32
1140 enable_ddraw
1141 enable_ddrawex
1142 enable_devenum
1143 enable_dhcpcsvc
1144 enable_difxapi
1145 enable_dinput
1146 enable_dinput8
1147 enable_dispex
1148 enable_dmband
1149 enable_dmcompos
1150 enable_dmime
1151 enable_dmloader
1152 enable_dmscript
1153 enable_dmstyle
1154 enable_dmsynth
1155 enable_dmusic
1156 enable_dmusic32
1157 enable_dnsapi
1158 enable_dplay
1159 enable_dplayx
1160 enable_dpnaddr
1161 enable_dpnet
1162 enable_dpnhpast
1163 enable_dpnlobby
1164 enable_dpvoice
1165 enable_dpwsockx
1166 enable_drmclien
1167 enable_dsound
1168 enable_dssenh
1169 enable_dswave
1170 enable_dwmapi
1171 enable_dwrite
1172 enable_dxdiagn
1173 enable_dxgi
1174 enable_dxva2
1175 enable_esent
1176 enable_evr
1177 enable_explorerframe
1178 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1179 enable_ext_ms_win_gdi_dc_create_l1_1_1
1180 enable_ext_ms_win_gdi_dc_l1_2_0
1181 enable_ext_ms_win_gdi_devcaps_l1_1_0
1182 enable_ext_ms_win_gdi_draw_l1_1_1
1183 enable_ext_ms_win_gdi_render_l1_1_0
1184 enable_ext_ms_win_kernel32_package_current_l1_1_0
1185 enable_ext_ms_win_ntuser_message_l1_1_1
1186 enable_ext_ms_win_ntuser_private_l1_1_1
1187 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1188 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1189 enable_ext_ms_win_ntuser_window_l1_1_1
1190 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1191 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1192 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1193 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1194 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1195 enable_faultrep
1196 enable_fltlib
1197 enable_fltmgr_sys
1198 enable_fntcache
1199 enable_fontsub
1200 enable_fusion
1201 enable_fwpuclnt
1202 enable_gameux
1203 enable_gdi32
1204 enable_gdiplus
1205 enable_glu32
1206 enable_gphoto2_ds
1207 enable_gpkcsp
1208 enable_hal
1209 enable_hhctrl_ocx
1210 enable_hid
1211 enable_hidclass_sys
1212 enable_hlink
1213 enable_hnetcfg
1214 enable_httpapi
1215 enable_iccvid
1216 enable_icmp
1217 enable_ieframe
1218 enable_imaadp32_acm
1219 enable_imagehlp
1220 enable_imm32
1221 enable_inetcomm
1222 enable_inetcpl_cpl
1223 enable_inetmib1
1224 enable_infosoft
1225 enable_initpki
1226 enable_inkobj
1227 enable_inseng
1228 enable_iphlpapi
1229 enable_iprop
1230 enable_irprops_cpl
1231 enable_itircl
1232 enable_itss
1233 enable_joy_cpl
1234 enable_jscript
1235 enable_jsproxy
1236 enable_kernel32
1237 enable_kernelbase
1238 enable_ksuser
1239 enable_ktmw32
1240 enable_loadperf
1241 enable_localspl
1242 enable_localui
1243 enable_lz32
1244 enable_mapi32
1245 enable_mapistub
1246 enable_mciavi32
1247 enable_mcicda
1248 enable_mciqtz32
1249 enable_mciseq
1250 enable_mciwave
1251 enable_mf
1252 enable_mf3216
1253 enable_mfplat
1254 enable_mfreadwrite
1255 enable_mgmtapi
1256 enable_midimap
1257 enable_mlang
1258 enable_mmcndmgr
1259 enable_mmdevapi
1260 enable_mountmgr_sys
1261 enable_mpr
1262 enable_mprapi
1263 enable_msacm32_drv
1264 enable_msacm32
1265 enable_msadp32_acm
1266 enable_msasn1
1267 enable_mscat32
1268 enable_mscms
1269 enable_mscoree
1270 enable_msctf
1271 enable_msctfp
1272 enable_msdaps
1273 enable_msdelta
1274 enable_msdmo
1275 enable_msdrm
1276 enable_msftedit
1277 enable_msg711_acm
1278 enable_msgsm32_acm
1279 enable_mshtml_tlb
1280 enable_mshtml
1281 enable_msi
1282 enable_msident
1283 enable_msimg32
1284 enable_msimsg
1285 enable_msimtf
1286 enable_msisip
1287 enable_msisys_ocx
1288 enable_msls31
1289 enable_msnet32
1290 enable_mspatcha
1291 enable_msports
1292 enable_msrle32
1293 enable_msscript_ocx
1294 enable_mssign32
1295 enable_mssip32
1296 enable_mstask
1297 enable_msvcirt
1298 enable_msvcm80
1299 enable_msvcm90
1300 enable_msvcp100
1301 enable_msvcp110
1302 enable_msvcp120
1303 enable_msvcp120_app
1304 enable_msvcp140
1305 enable_msvcp60
1306 enable_msvcp70
1307 enable_msvcp71
1308 enable_msvcp80
1309 enable_msvcp90
1310 enable_msvcr100
1311 enable_msvcr110
1312 enable_msvcr120
1313 enable_msvcr120_app
1314 enable_msvcr70
1315 enable_msvcr71
1316 enable_msvcr80
1317 enable_msvcr90
1318 enable_msvcrt
1319 enable_msvcrt20
1320 enable_msvcrt40
1321 enable_msvcrtd
1322 enable_msvfw32
1323 enable_msvidc32
1324 enable_mswsock
1325 enable_msxml
1326 enable_msxml2
1327 enable_msxml3
1328 enable_msxml4
1329 enable_msxml6
1330 enable_ncrypt
1331 enable_nddeapi
1332 enable_ndis_sys
1333 enable_netapi32
1334 enable_netcfgx
1335 enable_netprofm
1336 enable_newdev
1337 enable_normaliz
1338 enable_npmshtml
1339 enable_npptools
1340 enable_ntdll
1341 enable_ntdsapi
1342 enable_ntoskrnl_exe
1343 enable_ntprint
1344 enable_objsel
1345 enable_odbc32
1346 enable_odbccp32
1347 enable_odbccu32
1348 enable_ole32
1349 enable_oleacc
1350 enable_oleaut32
1351 enable_olecli32
1352 enable_oledb32
1353 enable_oledlg
1354 enable_olepro32
1355 enable_olesvr32
1356 enable_olethk32
1357 enable_openal32
1358 enable_opencl
1359 enable_opengl32
1360 enable_packager
1361 enable_pdh
1362 enable_photometadatahandler
1363 enable_pidgen
1364 enable_powrprof
1365 enable_printui
1366 enable_prntvpt
1367 enable_propsys
1368 enable_psapi
1369 enable_pstorec
1370 enable_qcap
1371 enable_qedit
1372 enable_qmgr
1373 enable_qmgrprxy
1374 enable_quartz
1375 enable_query
1376 enable_rasapi32
1377 enable_rasdlg
1378 enable_regapi
1379 enable_resutils
1380 enable_riched20
1381 enable_riched32
1382 enable_rpcrt4
1383 enable_rsabase
1384 enable_rsaenh
1385 enable_rstrtmgr
1386 enable_rtutils
1387 enable_samlib
1388 enable_sane_ds
1389 enable_scarddlg
1390 enable_sccbase
1391 enable_schannel
1392 enable_schedsvc
1393 enable_scrobj
1394 enable_scrrun
1395 enable_scsiport_sys
1396 enable_secur32
1397 enable_security
1398 enable_sensapi
1399 enable_serialui
1400 enable_setupapi
1401 enable_sfc
1402 enable_sfc_os
1403 enable_shdoclc
1404 enable_shdocvw
1405 enable_shell32
1406 enable_shfolder
1407 enable_shlwapi
1408 enable_slbcsp
1409 enable_slc
1410 enable_snmpapi
1411 enable_softpub
1412 enable_spoolss
1413 enable_sspicli
1414 enable_stdole2_tlb
1415 enable_stdole32_tlb
1416 enable_sti
1417 enable_svrapi
1418 enable_sxs
1419 enable_t2embed
1420 enable_tapi32
1421 enable_taskschd
1422 enable_tdi_sys
1423 enable_traffic
1424 enable_twain_32
1425 enable_ucrtbase
1426 enable_uiautomationcore
1427 enable_unicows
1428 enable_updspapi
1429 enable_url
1430 enable_urlmon
1431 enable_usbd_sys
1432 enable_user32
1433 enable_userenv
1434 enable_usp10
1435 enable_uxtheme
1436 enable_vbscript
1437 enable_vcomp
1438 enable_vcomp100
1439 enable_vcomp110
1440 enable_vcomp120
1441 enable_vcomp140
1442 enable_vcomp90
1443 enable_vcruntime140
1444 enable_vdmdbg
1445 enable_version
1446 enable_virtdisk
1447 enable_vssapi
1448 enable_wbemdisp
1449 enable_wbemprox
1450 enable_webservices
1451 enable_wer
1452 enable_wevtapi
1453 enable_wiaservc
1454 enable_wimgapi
1455 enable_windowscodecs
1456 enable_windowscodecsext
1457 enable_winealsa_drv
1458 enable_winebus_sys
1459 enable_winecoreaudio_drv
1460 enable_wined3d
1461 enable_winegstreamer
1462 enable_winehid_sys
1463 enable_winejoystick_drv
1464 enable_winemac_drv
1465 enable_winemapi
1466 enable_winemp3_acm
1467 enable_wineoss_drv
1468 enable_wineps_drv
1469 enable_winepulse_drv
1470 enable_wineqtdecoder
1471 enable_winex11_drv
1472 enable_wing32
1473 enable_winhttp
1474 enable_wininet
1475 enable_winmm
1476 enable_winnls32
1477 enable_winscard
1478 enable_winspool_drv
1479 enable_winsta
1480 enable_wintab32
1481 enable_wintrust
1482 enable_winusb
1483 enable_wlanapi
1484 enable_wldap32
1485 enable_wmasf
1486 enable_wmi
1487 enable_wmiutils
1488 enable_wmp
1489 enable_wmvcore
1490 enable_wnaspi32
1491 enable_wpc
1492 enable_wpcap
1493 enable_ws2_32
1494 enable_wshom_ocx
1495 enable_wsnmp32
1496 enable_wsock32
1497 enable_wtsapi32
1498 enable_wuapi
1499 enable_wuaueng
1500 enable_x3daudio1_0
1501 enable_x3daudio1_1
1502 enable_x3daudio1_2
1503 enable_x3daudio1_3
1504 enable_x3daudio1_4
1505 enable_x3daudio1_5
1506 enable_x3daudio1_6
1507 enable_x3daudio1_7
1508 enable_xapofx1_1
1509 enable_xapofx1_2
1510 enable_xapofx1_3
1511 enable_xapofx1_4
1512 enable_xapofx1_5
1513 enable_xaudio2_0
1514 enable_xaudio2_1
1515 enable_xaudio2_2
1516 enable_xaudio2_3
1517 enable_xaudio2_4
1518 enable_xaudio2_5
1519 enable_xaudio2_6
1520 enable_xaudio2_7
1521 enable_xaudio2_8
1522 enable_xaudio2_9
1523 enable_xinput1_1
1524 enable_xinput1_2
1525 enable_xinput1_3
1526 enable_xinput1_4
1527 enable_xinput9_1_0
1528 enable_xmllite
1529 enable_xolehlp
1530 enable_xpsprint
1531 enable_xpssvcs
1532 enable_fonts
1533 enable_include
1534 enable_libs_port
1535 enable_libs_wine
1536 enable_libs_wpp
1537 enable_loader
1538 enable_po
1539 enable_arp
1540 enable_aspnet_regiis
1541 enable_attrib
1542 enable_cabarc
1543 enable_cacls
1544 enable_clock
1545 enable_cmd
1546 enable_conhost
1547 enable_control
1548 enable_cscript
1549 enable_dpnsvr
1550 enable_dxdiag
1551 enable_eject
1552 enable_expand
1553 enable_explorer
1554 enable_extrac32
1555 enable_findstr
1556 enable_fsutil
1557 enable_hh
1558 enable_hostname
1559 enable_icacls
1560 enable_icinfo
1561 enable_iexplore
1562 enable_ipconfig
1563 enable_lodctr
1564 enable_mofcomp
1565 enable_mshta
1566 enable_msiexec
1567 enable_msinfo32
1568 enable_net
1569 enable_netsh
1570 enable_netstat
1571 enable_ngen
1572 enable_notepad
1573 enable_oleview
1574 enable_ping
1575 enable_plugplay
1576 enable_presentationfontcache
1577 enable_progman
1578 enable_reg
1579 enable_regasm
1580 enable_regedit
1581 enable_regsvcs
1582 enable_regsvr32
1583 enable_rpcss
1584 enable_rundll32
1585 enable_sc
1586 enable_schtasks
1587 enable_sdbinst
1588 enable_secedit
1589 enable_servicemodelreg
1590 enable_services
1591 enable_shutdown
1592 enable_spoolsv
1593 enable_start
1594 enable_subst
1595 enable_svchost
1596 enable_systeminfo
1597 enable_taskkill
1598 enable_tasklist
1599 enable_taskmgr
1600 enable_termsv
1601 enable_uninstaller
1602 enable_unlodctr
1603 enable_view
1604 enable_wevtutil
1605 enable_wineboot
1606 enable_winebrowser
1607 enable_winecfg
1608 enable_wineconsole
1609 enable_winedbg
1610 enable_winedevice
1611 enable_winefile
1612 enable_winemenubuilder
1613 enable_winemine
1614 enable_winemsibuilder
1615 enable_winepath
1616 enable_winetest
1617 enable_winhlp32
1618 enable_winver
1619 enable_wmic
1620 enable_wmplayer
1621 enable_wordpad
1622 enable_write
1623 enable_wscript
1624 enable_wusa
1625 enable_xcopy
1626 enable_server
1627 enable_tools
1629 ac_precious_vars='build_alias
1630 host_alias
1631 target_alias
1633 CFLAGS
1634 LDFLAGS
1635 LIBS
1636 CPPFLAGS
1638 CXXFLAGS
1641 XMKMF
1642 XML2_CFLAGS
1643 XML2_LIBS
1644 XSLT_CFLAGS
1645 XSLT_LIBS
1646 DBUS_CFLAGS
1647 DBUS_LIBS
1648 HAL_CFLAGS
1649 HAL_LIBS
1650 GNUTLS_CFLAGS
1651 GNUTLS_LIBS
1652 SANE_CFLAGS
1653 SANE_LIBS
1654 GPHOTO2_CFLAGS
1655 GPHOTO2_LIBS
1656 GPHOTO2_PORT_CFLAGS
1657 GPHOTO2_PORT_LIBS
1658 LCMS2_CFLAGS
1659 LCMS2_LIBS
1660 FREETYPE_CFLAGS
1661 FREETYPE_LIBS
1662 PULSE_CFLAGS
1663 PULSE_LIBS
1664 GSTREAMER_CFLAGS
1665 GSTREAMER_LIBS
1666 UDEV_CFLAGS
1667 UDEV_LIBS
1668 CAPI20_CFLAGS
1669 CAPI20_LIBS
1670 FONTCONFIG_CFLAGS
1671 FONTCONFIG_LIBS
1672 JPEG_CFLAGS
1673 JPEG_LIBS
1674 PNG_CFLAGS
1675 PNG_LIBS
1676 TIFF_CFLAGS
1677 TIFF_LIBS
1678 MPG123_CFLAGS
1679 MPG123_LIBS
1680 NETAPI_CFLAGS
1681 NETAPI_LIBS'
1684 # Initialize some variables set by options.
1685 ac_init_help=
1686 ac_init_version=false
1687 ac_unrecognized_opts=
1688 ac_unrecognized_sep=
1689 # The variables have the same names as the options, with
1690 # dashes changed to underlines.
1691 cache_file=/dev/null
1692 exec_prefix=NONE
1693 no_create=
1694 no_recursion=
1695 prefix=NONE
1696 program_prefix=NONE
1697 program_suffix=NONE
1698 program_transform_name=s,x,x,
1699 silent=
1700 site=
1701 srcdir=
1702 verbose=
1703 x_includes=NONE
1704 x_libraries=NONE
1706 # Installation directory options.
1707 # These are left unexpanded so users can "make install exec_prefix=/foo"
1708 # and all the variables that are supposed to be based on exec_prefix
1709 # by default will actually change.
1710 # Use braces instead of parens because sh, perl, etc. also accept them.
1711 # (The list follows the same order as the GNU Coding Standards.)
1712 bindir='${exec_prefix}/bin'
1713 sbindir='${exec_prefix}/sbin'
1714 libexecdir='${exec_prefix}/libexec'
1715 datarootdir='${prefix}/share'
1716 datadir='${datarootdir}'
1717 sysconfdir='${prefix}/etc'
1718 sharedstatedir='${prefix}/com'
1719 localstatedir='${prefix}/var'
1720 runstatedir='${localstatedir}/run'
1721 includedir='${prefix}/include'
1722 oldincludedir='/usr/include'
1723 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1724 infodir='${datarootdir}/info'
1725 htmldir='${docdir}'
1726 dvidir='${docdir}'
1727 pdfdir='${docdir}'
1728 psdir='${docdir}'
1729 libdir='${exec_prefix}/lib'
1730 localedir='${datarootdir}/locale'
1731 mandir='${datarootdir}/man'
1733 ac_prev=
1734 ac_dashdash=
1735 for ac_option
1737 # If the previous option needs an argument, assign it.
1738 if test -n "$ac_prev"; then
1739 eval $ac_prev=\$ac_option
1740 ac_prev=
1741 continue
1744 case $ac_option in
1745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1746 *=) ac_optarg= ;;
1747 *) ac_optarg=yes ;;
1748 esac
1750 # Accept the important Cygnus configure options, so we can diagnose typos.
1752 case $ac_dashdash$ac_option in
1754 ac_dashdash=yes ;;
1756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1757 ac_prev=bindir ;;
1758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1759 bindir=$ac_optarg ;;
1761 -build | --build | --buil | --bui | --bu)
1762 ac_prev=build_alias ;;
1763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1764 build_alias=$ac_optarg ;;
1766 -cache-file | --cache-file | --cache-fil | --cache-fi \
1767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1768 ac_prev=cache_file ;;
1769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1771 cache_file=$ac_optarg ;;
1773 --config-cache | -C)
1774 cache_file=config.cache ;;
1776 -datadir | --datadir | --datadi | --datad)
1777 ac_prev=datadir ;;
1778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1779 datadir=$ac_optarg ;;
1781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1782 | --dataroo | --dataro | --datar)
1783 ac_prev=datarootdir ;;
1784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1786 datarootdir=$ac_optarg ;;
1788 -disable-* | --disable-*)
1789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1790 # Reject names that are not valid shell variable names.
1791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1792 as_fn_error $? "invalid feature name: $ac_useropt"
1793 ac_useropt_orig=$ac_useropt
1794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1795 case $ac_user_opts in
1797 "enable_$ac_useropt"
1798 "*) ;;
1799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1800 ac_unrecognized_sep=', ';;
1801 esac
1802 eval enable_$ac_useropt=no ;;
1804 -docdir | --docdir | --docdi | --doc | --do)
1805 ac_prev=docdir ;;
1806 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1807 docdir=$ac_optarg ;;
1809 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1810 ac_prev=dvidir ;;
1811 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1812 dvidir=$ac_optarg ;;
1814 -enable-* | --enable-*)
1815 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1816 # Reject names that are not valid shell variable names.
1817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1818 as_fn_error $? "invalid feature name: $ac_useropt"
1819 ac_useropt_orig=$ac_useropt
1820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1821 case $ac_user_opts in
1823 "enable_$ac_useropt"
1824 "*) ;;
1825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1826 ac_unrecognized_sep=', ';;
1827 esac
1828 eval enable_$ac_useropt=\$ac_optarg ;;
1830 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1831 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1832 | --exec | --exe | --ex)
1833 ac_prev=exec_prefix ;;
1834 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1835 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1836 | --exec=* | --exe=* | --ex=*)
1837 exec_prefix=$ac_optarg ;;
1839 -gas | --gas | --ga | --g)
1840 # Obsolete; use --with-gas.
1841 with_gas=yes ;;
1843 -help | --help | --hel | --he | -h)
1844 ac_init_help=long ;;
1845 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1846 ac_init_help=recursive ;;
1847 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1848 ac_init_help=short ;;
1850 -host | --host | --hos | --ho)
1851 ac_prev=host_alias ;;
1852 -host=* | --host=* | --hos=* | --ho=*)
1853 host_alias=$ac_optarg ;;
1855 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1856 ac_prev=htmldir ;;
1857 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1858 | --ht=*)
1859 htmldir=$ac_optarg ;;
1861 -includedir | --includedir | --includedi | --included | --include \
1862 | --includ | --inclu | --incl | --inc)
1863 ac_prev=includedir ;;
1864 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1865 | --includ=* | --inclu=* | --incl=* | --inc=*)
1866 includedir=$ac_optarg ;;
1868 -infodir | --infodir | --infodi | --infod | --info | --inf)
1869 ac_prev=infodir ;;
1870 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1871 infodir=$ac_optarg ;;
1873 -libdir | --libdir | --libdi | --libd)
1874 ac_prev=libdir ;;
1875 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1876 libdir=$ac_optarg ;;
1878 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1879 | --libexe | --libex | --libe)
1880 ac_prev=libexecdir ;;
1881 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1882 | --libexe=* | --libex=* | --libe=*)
1883 libexecdir=$ac_optarg ;;
1885 -localedir | --localedir | --localedi | --localed | --locale)
1886 ac_prev=localedir ;;
1887 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1888 localedir=$ac_optarg ;;
1890 -localstatedir | --localstatedir | --localstatedi | --localstated \
1891 | --localstate | --localstat | --localsta | --localst | --locals)
1892 ac_prev=localstatedir ;;
1893 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1894 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1895 localstatedir=$ac_optarg ;;
1897 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1898 ac_prev=mandir ;;
1899 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1900 mandir=$ac_optarg ;;
1902 -nfp | --nfp | --nf)
1903 # Obsolete; use --without-fp.
1904 with_fp=no ;;
1906 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1907 | --no-cr | --no-c | -n)
1908 no_create=yes ;;
1910 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1911 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1912 no_recursion=yes ;;
1914 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1915 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1916 | --oldin | --oldi | --old | --ol | --o)
1917 ac_prev=oldincludedir ;;
1918 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1919 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1920 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1921 oldincludedir=$ac_optarg ;;
1923 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1924 ac_prev=prefix ;;
1925 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1926 prefix=$ac_optarg ;;
1928 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1929 | --program-pre | --program-pr | --program-p)
1930 ac_prev=program_prefix ;;
1931 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1932 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1933 program_prefix=$ac_optarg ;;
1935 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1936 | --program-suf | --program-su | --program-s)
1937 ac_prev=program_suffix ;;
1938 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1939 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1940 program_suffix=$ac_optarg ;;
1942 -program-transform-name | --program-transform-name \
1943 | --program-transform-nam | --program-transform-na \
1944 | --program-transform-n | --program-transform- \
1945 | --program-transform | --program-transfor \
1946 | --program-transfo | --program-transf \
1947 | --program-trans | --program-tran \
1948 | --progr-tra | --program-tr | --program-t)
1949 ac_prev=program_transform_name ;;
1950 -program-transform-name=* | --program-transform-name=* \
1951 | --program-transform-nam=* | --program-transform-na=* \
1952 | --program-transform-n=* | --program-transform-=* \
1953 | --program-transform=* | --program-transfor=* \
1954 | --program-transfo=* | --program-transf=* \
1955 | --program-trans=* | --program-tran=* \
1956 | --progr-tra=* | --program-tr=* | --program-t=*)
1957 program_transform_name=$ac_optarg ;;
1959 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1960 ac_prev=pdfdir ;;
1961 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1962 pdfdir=$ac_optarg ;;
1964 -psdir | --psdir | --psdi | --psd | --ps)
1965 ac_prev=psdir ;;
1966 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1967 psdir=$ac_optarg ;;
1969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1970 | -silent | --silent | --silen | --sile | --sil)
1971 silent=yes ;;
1973 -runstatedir | --runstatedir | --runstatedi | --runstated \
1974 | --runstate | --runstat | --runsta | --runst | --runs \
1975 | --run | --ru | --r)
1976 ac_prev=runstatedir ;;
1977 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1978 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1979 | --run=* | --ru=* | --r=*)
1980 runstatedir=$ac_optarg ;;
1982 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1983 ac_prev=sbindir ;;
1984 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1985 | --sbi=* | --sb=*)
1986 sbindir=$ac_optarg ;;
1988 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1989 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1990 | --sharedst | --shareds | --shared | --share | --shar \
1991 | --sha | --sh)
1992 ac_prev=sharedstatedir ;;
1993 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1994 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1995 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1996 | --sha=* | --sh=*)
1997 sharedstatedir=$ac_optarg ;;
1999 -site | --site | --sit)
2000 ac_prev=site ;;
2001 -site=* | --site=* | --sit=*)
2002 site=$ac_optarg ;;
2004 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2005 ac_prev=srcdir ;;
2006 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2007 srcdir=$ac_optarg ;;
2009 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2010 | --syscon | --sysco | --sysc | --sys | --sy)
2011 ac_prev=sysconfdir ;;
2012 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2013 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2014 sysconfdir=$ac_optarg ;;
2016 -target | --target | --targe | --targ | --tar | --ta | --t)
2017 ac_prev=target_alias ;;
2018 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2019 target_alias=$ac_optarg ;;
2021 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2022 verbose=yes ;;
2024 -version | --version | --versio | --versi | --vers | -V)
2025 ac_init_version=: ;;
2027 -with-* | --with-*)
2028 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2029 # Reject names that are not valid shell variable names.
2030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2031 as_fn_error $? "invalid package name: $ac_useropt"
2032 ac_useropt_orig=$ac_useropt
2033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2034 case $ac_user_opts in
2036 "with_$ac_useropt"
2037 "*) ;;
2038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2039 ac_unrecognized_sep=', ';;
2040 esac
2041 eval with_$ac_useropt=\$ac_optarg ;;
2043 -without-* | --without-*)
2044 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2045 # Reject names that are not valid shell variable names.
2046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2047 as_fn_error $? "invalid package name: $ac_useropt"
2048 ac_useropt_orig=$ac_useropt
2049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2050 case $ac_user_opts in
2052 "with_$ac_useropt"
2053 "*) ;;
2054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2055 ac_unrecognized_sep=', ';;
2056 esac
2057 eval with_$ac_useropt=no ;;
2059 --x)
2060 # Obsolete; use --with-x.
2061 with_x=yes ;;
2063 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2064 | --x-incl | --x-inc | --x-in | --x-i)
2065 ac_prev=x_includes ;;
2066 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2067 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2068 x_includes=$ac_optarg ;;
2070 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2071 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2072 ac_prev=x_libraries ;;
2073 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2074 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2075 x_libraries=$ac_optarg ;;
2077 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2078 Try \`$0 --help' for more information"
2081 *=*)
2082 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2083 # Reject names that are not valid shell variable names.
2084 case $ac_envvar in #(
2085 '' | [0-9]* | *[!_$as_cr_alnum]* )
2086 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2087 esac
2088 eval $ac_envvar=\$ac_optarg
2089 export $ac_envvar ;;
2092 # FIXME: should be removed in autoconf 3.0.
2093 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2094 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2095 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2096 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2099 esac
2100 done
2102 if test -n "$ac_prev"; then
2103 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2104 as_fn_error $? "missing argument to $ac_option"
2107 if test -n "$ac_unrecognized_opts"; then
2108 case $enable_option_checking in
2109 no) ;;
2110 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2111 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2112 esac
2115 # Check all directory arguments for consistency.
2116 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2117 datadir sysconfdir sharedstatedir localstatedir includedir \
2118 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2119 libdir localedir mandir runstatedir
2121 eval ac_val=\$$ac_var
2122 # Remove trailing slashes.
2123 case $ac_val in
2124 */ )
2125 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2126 eval $ac_var=\$ac_val;;
2127 esac
2128 # Be sure to have absolute directory names.
2129 case $ac_val in
2130 [\\/$]* | ?:[\\/]* ) continue;;
2131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2132 esac
2133 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2134 done
2136 # There might be people who depend on the old broken behavior: `$host'
2137 # used to hold the argument of --host etc.
2138 # FIXME: To remove some day.
2139 build=$build_alias
2140 host=$host_alias
2141 target=$target_alias
2143 # FIXME: To remove some day.
2144 if test "x$host_alias" != x; then
2145 if test "x$build_alias" = x; then
2146 cross_compiling=maybe
2147 elif test "x$build_alias" != "x$host_alias"; then
2148 cross_compiling=yes
2152 ac_tool_prefix=
2153 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2155 test "$silent" = yes && exec 6>/dev/null
2158 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2159 ac_ls_di=`ls -di .` &&
2160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2161 as_fn_error $? "working directory cannot be determined"
2162 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2163 as_fn_error $? "pwd does not report name of working directory"
2166 # Find the source files, if location was not specified.
2167 if test -z "$srcdir"; then
2168 ac_srcdir_defaulted=yes
2169 # Try the directory containing this script, then the parent directory.
2170 ac_confdir=`$as_dirname -- "$as_myself" ||
2171 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2172 X"$as_myself" : 'X\(//\)[^/]' \| \
2173 X"$as_myself" : 'X\(//\)$' \| \
2174 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2175 $as_echo X"$as_myself" |
2176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2177 s//\1/
2180 /^X\(\/\/\)[^/].*/{
2181 s//\1/
2184 /^X\(\/\/\)$/{
2185 s//\1/
2188 /^X\(\/\).*/{
2189 s//\1/
2192 s/.*/./; q'`
2193 srcdir=$ac_confdir
2194 if test ! -r "$srcdir/$ac_unique_file"; then
2195 srcdir=..
2197 else
2198 ac_srcdir_defaulted=no
2200 if test ! -r "$srcdir/$ac_unique_file"; then
2201 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2202 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2205 ac_abs_confdir=`(
2206 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2207 pwd)`
2208 # When building in place, set srcdir=.
2209 if test "$ac_abs_confdir" = "$ac_pwd"; then
2210 srcdir=.
2212 # Remove unnecessary trailing slashes from srcdir.
2213 # Double slashes in file names in object file debugging info
2214 # mess up M-x gdb in Emacs.
2215 case $srcdir in
2216 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2217 esac
2218 for ac_var in $ac_precious_vars; do
2219 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2220 eval ac_env_${ac_var}_value=\$${ac_var}
2221 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2222 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2223 done
2226 # Report the --help message.
2228 if test "$ac_init_help" = "long"; then
2229 # Omit some internal or obsolete options to make the list less imposing.
2230 # This message is too long to be a string in the A/UX 3.1 sh.
2231 cat <<_ACEOF
2232 \`configure' configures Wine 2.4 to adapt to many kinds of systems.
2234 Usage: $0 [OPTION]... [VAR=VALUE]...
2236 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2237 VAR=VALUE. See below for descriptions of some of the useful variables.
2239 Defaults for the options are specified in brackets.
2241 Configuration:
2242 -h, --help display this help and exit
2243 --help=short display options specific to this package
2244 --help=recursive display the short help of all the included packages
2245 -V, --version display version information and exit
2246 -q, --quiet, --silent do not print \`checking ...' messages
2247 --cache-file=FILE cache test results in FILE [disabled]
2248 -C, --config-cache alias for \`--cache-file=config.cache'
2249 -n, --no-create do not create output files
2250 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2252 Installation directories:
2253 --prefix=PREFIX install architecture-independent files in PREFIX
2254 [$ac_default_prefix]
2255 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2256 [PREFIX]
2258 By default, \`make install' will install all the files in
2259 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2260 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2261 for instance \`--prefix=\$HOME'.
2263 For better control, use the options below.
2265 Fine tuning of the installation directories:
2266 --bindir=DIR user executables [EPREFIX/bin]
2267 --sbindir=DIR system admin executables [EPREFIX/sbin]
2268 --libexecdir=DIR program executables [EPREFIX/libexec]
2269 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2270 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2271 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2272 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2273 --libdir=DIR object code libraries [EPREFIX/lib]
2274 --includedir=DIR C header files [PREFIX/include]
2275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2278 --infodir=DIR info documentation [DATAROOTDIR/info]
2279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2280 --mandir=DIR man documentation [DATAROOTDIR/man]
2281 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2282 --htmldir=DIR html documentation [DOCDIR]
2283 --dvidir=DIR dvi documentation [DOCDIR]
2284 --pdfdir=DIR pdf documentation [DOCDIR]
2285 --psdir=DIR ps documentation [DOCDIR]
2286 _ACEOF
2288 cat <<\_ACEOF
2290 X features:
2291 --x-includes=DIR X include files are in DIR
2292 --x-libraries=DIR X library files are in DIR
2294 System types:
2295 --build=BUILD configure for building on BUILD [guessed]
2296 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2297 _ACEOF
2300 if test -n "$ac_init_help"; then
2301 case $ac_init_help in
2302 short | recursive ) echo "Configuration of Wine 2.4:";;
2303 esac
2304 cat <<\_ACEOF
2306 Optional Features:
2307 --disable-option-checking ignore unrecognized --enable/--with options
2308 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2309 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2310 --disable-win16 do not include Win16 support
2311 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2312 binaries)
2313 --disable-tests do not build the regression tests
2314 --enable-maintainer-mode
2315 enable maintainer-specific build rules
2316 --disable-largefile omit support for large files
2318 Optional Packages:
2319 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2320 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2321 --without-alsa do not use the Alsa sound support
2322 --without-capi do not use CAPI (ISDN support)
2323 --without-cms do not use CMS (color management support)
2324 --without-coreaudio do not use the CoreAudio sound support
2325 --without-cups do not use CUPS
2326 --without-curses do not use (n)curses
2327 --without-dbus do not use DBus (dynamic device support)
2328 --without-fontconfig do not use fontconfig
2329 --without-freetype do not use the FreeType library
2330 --without-gettext do not use gettext
2331 --with-gettextpo use the GetTextPO library to rebuild po files
2332 --without-gphoto do not use gphoto (Digital Camera support)
2333 --without-glu do not use the GLU library
2334 --without-gnutls do not use GnuTLS (schannel support)
2335 --without-gsm do not use libgsm (GSM 06.10 codec support)
2336 --without-gstreamer do not use GStreamer (codecs support)
2337 --without-hal do not use HAL (dynamic device support)
2338 --without-jpeg do not use JPEG
2339 --without-ldap do not use LDAP
2340 --without-mpg123 do not use the mpg123 library
2341 --without-netapi do not use the Samba NetAPI library
2342 --without-openal do not use OpenAL
2343 --without-opencl do not use OpenCL
2344 --without-opengl do not use OpenGL
2345 --without-osmesa do not use the OSMesa library
2346 --without-oss do not use the OSS sound support
2347 --without-pcap do not use the Packet Capture library
2348 --without-png do not use PNG
2349 --without-pthread do not use the pthread library
2350 --without-pulse do not use PulseAudio sound support
2351 --without-sane do not use SANE (scanner support)
2352 --without-tiff do not use TIFF
2353 --without-udev do not use udev (plug and play support)
2354 --without-v4l do not use v4l1 (v4l support)
2355 --without-xcomposite do not use the Xcomposite extension
2356 --without-xcursor do not use the Xcursor extension
2357 --without-xinerama do not use Xinerama (multi-monitor support)
2358 --without-xinput do not use the Xinput extension
2359 --without-xinput2 do not use the Xinput 2 extension
2360 --without-xml do not use XML
2361 --without-xrandr do not use Xrandr (resolution changes)
2362 --without-xrender do not use the Xrender extension
2363 --without-xshape do not use the Xshape extension
2364 --without-xshm do not use XShm (shared memory extension)
2365 --without-xslt do not use XSLT
2366 --without-xxf86vm do not use XFree video mode extension
2367 --without-zlib do not use Zlib (data compression)
2368 --with-wine-tools=DIR use Wine tools from directory DIR
2369 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2370 --with-x use the X Window System
2372 Some influential environment variables:
2373 CC C compiler command
2374 CFLAGS C compiler flags
2375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2376 nonstandard directory <lib dir>
2377 LIBS libraries to pass to the linker, e.g. -l<library>
2378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2379 you have headers in a nonstandard directory <include dir>
2380 CXX C++ compiler command
2381 CXXFLAGS C++ compiler flags
2382 CPP C preprocessor
2383 XMKMF Path to xmkmf, Makefile generator for X Window System
2384 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2385 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2386 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2387 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2388 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2389 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2390 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2391 HAL_LIBS Linker flags for hal, overriding pkg-config
2392 GNUTLS_CFLAGS
2393 C compiler flags for gnutls, overriding pkg-config
2394 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2395 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2396 SANE_LIBS Linker flags for libsane, overriding pkg-config
2397 GPHOTO2_CFLAGS
2398 C compiler flags for libgphoto2, overriding pkg-config
2399 GPHOTO2_LIBS
2400 Linker flags for libgphoto2, overriding pkg-config
2401 GPHOTO2_PORT_CFLAGS
2402 C compiler flags for libgphoto2_port, overriding pkg-config
2403 GPHOTO2_PORT_LIBS
2404 Linker flags for libgphoto2_port, overriding pkg-config
2405 LCMS2_CFLAGS
2406 C compiler flags for lcms2, overriding pkg-config
2407 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2408 FREETYPE_CFLAGS
2409 C compiler flags for freetype2, overriding pkg-config
2410 FREETYPE_LIBS
2411 Linker flags for freetype2, overriding pkg-config
2412 PULSE_CFLAGS
2413 C compiler flags for libpulse, overriding pkg-config
2414 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2415 GSTREAMER_CFLAGS
2416 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2417 gstreamer-audio-1.0, overriding pkg-config
2418 GSTREAMER_LIBS
2419 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2420 gstreamer-audio-1.0, overriding pkg-config
2421 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2422 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2423 CAPI20_CFLAGS
2424 C compiler flags for capi20, overriding pkg-config
2425 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2426 FONTCONFIG_CFLAGS
2427 C compiler flags for fontconfig, overriding pkg-config
2428 FONTCONFIG_LIBS
2429 Linker flags for fontconfig, overriding pkg-config
2430 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2431 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2432 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2433 PNG_LIBS Linker flags for libpng, overriding pkg-config
2434 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2435 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2436 MPG123_CFLAGS
2437 C compiler flags for libmpg123, overriding pkg-config
2438 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2439 NETAPI_CFLAGS
2440 C compiler flags for netapi, overriding pkg-config
2441 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2443 Use these variables to override the choices made by `configure' or to help
2444 it to find libraries and programs with nonstandard names/locations.
2446 Report bugs to <wine-devel@winehq.org>.
2447 Wine home page: <http://www.winehq.org>.
2448 _ACEOF
2449 ac_status=$?
2452 if test "$ac_init_help" = "recursive"; then
2453 # If there are subdirs, report their specific --help.
2454 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2455 test -d "$ac_dir" ||
2456 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2457 continue
2458 ac_builddir=.
2460 case "$ac_dir" in
2461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2463 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2464 # A ".." for each directory in $ac_dir_suffix.
2465 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2466 case $ac_top_builddir_sub in
2467 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2468 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2469 esac ;;
2470 esac
2471 ac_abs_top_builddir=$ac_pwd
2472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2473 # for backward compatibility:
2474 ac_top_builddir=$ac_top_build_prefix
2476 case $srcdir in
2477 .) # We are building in place.
2478 ac_srcdir=.
2479 ac_top_srcdir=$ac_top_builddir_sub
2480 ac_abs_top_srcdir=$ac_pwd ;;
2481 [\\/]* | ?:[\\/]* ) # Absolute name.
2482 ac_srcdir=$srcdir$ac_dir_suffix;
2483 ac_top_srcdir=$srcdir
2484 ac_abs_top_srcdir=$srcdir ;;
2485 *) # Relative name.
2486 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2487 ac_top_srcdir=$ac_top_build_prefix$srcdir
2488 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2489 esac
2490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2492 cd "$ac_dir" || { ac_status=$?; continue; }
2493 # Check for guested configure.
2494 if test -f "$ac_srcdir/configure.gnu"; then
2495 echo &&
2496 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2497 elif test -f "$ac_srcdir/configure"; then
2498 echo &&
2499 $SHELL "$ac_srcdir/configure" --help=recursive
2500 else
2501 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2502 fi || ac_status=$?
2503 cd "$ac_pwd" || { ac_status=$?; break; }
2504 done
2507 test -n "$ac_init_help" && exit $ac_status
2508 if $ac_init_version; then
2509 cat <<\_ACEOF
2510 Wine configure 2.4
2511 generated by GNU Autoconf 2.69
2513 Copyright (C) 2012 Free Software Foundation, Inc.
2514 This configure script is free software; the Free Software Foundation
2515 gives unlimited permission to copy, distribute and modify it.
2516 _ACEOF
2517 exit
2520 ## ------------------------ ##
2521 ## Autoconf initialization. ##
2522 ## ------------------------ ##
2524 # ac_fn_c_try_compile LINENO
2525 # --------------------------
2526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2527 ac_fn_c_try_compile ()
2529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530 rm -f conftest.$ac_objext
2531 if { { ac_try="$ac_compile"
2532 case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_compile") 2>conftest.err
2539 ac_status=$?
2540 if test -s conftest.err; then
2541 grep -v '^ *+' conftest.err >conftest.er1
2542 cat conftest.er1 >&5
2543 mv -f conftest.er1 conftest.err
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; } && {
2547 test -z "$ac_c_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then :
2550 ac_retval=0
2551 else
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 ac_retval=1
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status $ac_retval
2560 } # ac_fn_c_try_compile
2562 # ac_fn_cxx_try_compile LINENO
2563 # ----------------------------
2564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2565 ac_fn_cxx_try_compile ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 rm -f conftest.$ac_objext
2569 if { { ac_try="$ac_compile"
2570 case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2573 esac
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_compile") 2>conftest.err
2577 ac_status=$?
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } && {
2585 test -z "$ac_cxx_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then :
2588 ac_retval=0
2589 else
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 ac_retval=1
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 as_fn_set_status $ac_retval
2598 } # ac_fn_cxx_try_compile
2600 # ac_fn_c_try_link LINENO
2601 # -----------------------
2602 # Try to link conftest.$ac_ext, and return whether this succeeded.
2603 ac_fn_c_try_link ()
2605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2606 rm -f conftest.$ac_objext conftest$ac_exeext
2607 if { { ac_try="$ac_link"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_link") 2>conftest.err
2615 ac_status=$?
2616 if test -s conftest.err; then
2617 grep -v '^ *+' conftest.err >conftest.er1
2618 cat conftest.er1 >&5
2619 mv -f conftest.er1 conftest.err
2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622 test $ac_status = 0; } && {
2623 test -z "$ac_c_werror_flag" ||
2624 test ! -s conftest.err
2625 } && test -s conftest$ac_exeext && {
2626 test "$cross_compiling" = yes ||
2627 test -x conftest$ac_exeext
2628 }; then :
2629 ac_retval=0
2630 else
2631 $as_echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2634 ac_retval=1
2636 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2637 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2638 # interfere with the next link command; also delete a directory that is
2639 # left behind by Apple's compiler. We do this before executing the actions.
2640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 as_fn_set_status $ac_retval
2644 } # ac_fn_c_try_link
2646 # ac_fn_c_try_cpp LINENO
2647 # ----------------------
2648 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2649 ac_fn_c_try_cpp ()
2651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652 if { { ac_try="$ac_cpp conftest.$ac_ext"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2658 $as_echo "$ac_try_echo"; } >&5
2659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2660 ac_status=$?
2661 if test -s conftest.err; then
2662 grep -v '^ *+' conftest.err >conftest.er1
2663 cat conftest.er1 >&5
2664 mv -f conftest.er1 conftest.err
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; } > conftest.i && {
2668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2669 test ! -s conftest.err
2670 }; then :
2671 ac_retval=0
2672 else
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=1
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 as_fn_set_status $ac_retval
2681 } # ac_fn_c_try_cpp
2683 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2684 # -------------------------------------------------------
2685 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2686 # the include files in INCLUDES and setting the cache variable VAR
2687 # accordingly.
2688 ac_fn_c_check_header_mongrel ()
2690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2691 if eval \${$3+:} false; then :
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2693 $as_echo_n "checking for $2... " >&6; }
2694 if eval \${$3+:} false; then :
2695 $as_echo_n "(cached) " >&6
2697 eval ac_res=\$$3
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2699 $as_echo "$ac_res" >&6; }
2700 else
2701 # Is the header compilable?
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2703 $as_echo_n "checking $2 usability... " >&6; }
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2707 #include <$2>
2708 _ACEOF
2709 if ac_fn_c_try_compile "$LINENO"; then :
2710 ac_header_compiler=yes
2711 else
2712 ac_header_compiler=no
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2716 $as_echo "$ac_header_compiler" >&6; }
2718 # Is the header present?
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2720 $as_echo_n "checking $2 presence... " >&6; }
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2723 #include <$2>
2724 _ACEOF
2725 if ac_fn_c_try_cpp "$LINENO"; then :
2726 ac_header_preproc=yes
2727 else
2728 ac_header_preproc=no
2730 rm -f conftest.err conftest.i conftest.$ac_ext
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2732 $as_echo "$ac_header_preproc" >&6; }
2734 # So? What about this header?
2735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2736 yes:no: )
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2738 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2740 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2742 no:yes:* )
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2744 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2746 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2748 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2750 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2753 ( $as_echo "## ------------------------------------ ##
2754 ## Report this to wine-devel@winehq.org ##
2755 ## ------------------------------------ ##"
2756 ) | sed "s/^/$as_me: WARNING: /" >&2
2758 esac
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \${$3+:} false; then :
2762 $as_echo_n "(cached) " >&6
2763 else
2764 eval "$3=\$ac_header_compiler"
2766 eval ac_res=\$$3
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2768 $as_echo "$ac_res" >&6; }
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2772 } # ac_fn_c_check_header_mongrel
2774 # ac_fn_c_try_run LINENO
2775 # ----------------------
2776 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2777 # that executables *can* be run.
2778 ac_fn_c_try_run ()
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 if { { ac_try="$ac_link"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_link") 2>&5
2789 ac_status=$?
2790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2792 { { case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_try") 2>&5
2799 ac_status=$?
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }; }; then :
2802 ac_retval=0
2803 else
2804 $as_echo "$as_me: program exited with status $ac_status" >&5
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 ac_retval=$ac_status
2810 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812 as_fn_set_status $ac_retval
2814 } # ac_fn_c_try_run
2816 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2817 # -------------------------------------------------------
2818 # Tests whether HEADER exists and can be compiled using the include files in
2819 # INCLUDES, setting the cache variable VAR accordingly.
2820 ac_fn_c_check_header_compile ()
2822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2824 $as_echo_n "checking for $2... " >&6; }
2825 if eval \${$3+:} false; then :
2826 $as_echo_n "(cached) " >&6
2827 else
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2831 #include <$2>
2832 _ACEOF
2833 if ac_fn_c_try_compile "$LINENO"; then :
2834 eval "$3=yes"
2835 else
2836 eval "$3=no"
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 eval ac_res=\$$3
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2842 $as_echo "$ac_res" >&6; }
2843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2845 } # ac_fn_c_check_header_compile
2847 # ac_fn_c_check_func LINENO FUNC VAR
2848 # ----------------------------------
2849 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2850 ac_fn_c_check_func ()
2852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2854 $as_echo_n "checking for $2... " >&6; }
2855 if eval \${$3+:} false; then :
2856 $as_echo_n "(cached) " >&6
2857 else
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2860 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2862 #define $2 innocuous_$2
2864 /* System header to define __stub macros and hopefully few prototypes,
2865 which can conflict with char $2 (); below.
2866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2867 <limits.h> exists even on freestanding compilers. */
2869 #ifdef __STDC__
2870 # include <limits.h>
2871 #else
2872 # include <assert.h>
2873 #endif
2875 #undef $2
2877 /* Override any GCC internal prototype to avoid an error.
2878 Use char because int might match the return type of a GCC
2879 builtin and then its argument prototype would still apply. */
2880 #ifdef __cplusplus
2881 extern "C"
2882 #endif
2883 char $2 ();
2884 /* The GNU C library defines this for functions which it implements
2885 to always fail with ENOSYS. Some functions are actually named
2886 something starting with __ and the normal name is an alias. */
2887 #if defined __stub_$2 || defined __stub___$2
2888 choke me
2889 #endif
2892 main ()
2894 return $2 ();
2896 return 0;
2898 _ACEOF
2899 if ac_fn_c_try_link "$LINENO"; then :
2900 eval "$3=yes"
2901 else
2902 eval "$3=no"
2904 rm -f core conftest.err conftest.$ac_objext \
2905 conftest$ac_exeext conftest.$ac_ext
2907 eval ac_res=\$$3
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2909 $as_echo "$ac_res" >&6; }
2910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2912 } # ac_fn_c_check_func
2914 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2915 # ----------------------------------------------------
2916 # Tries to find if the field MEMBER exists in type AGGR, after including
2917 # INCLUDES, setting cache variable VAR accordingly.
2918 ac_fn_c_check_member ()
2920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2922 $as_echo_n "checking for $2.$3... " >&6; }
2923 if eval \${$4+:} false; then :
2924 $as_echo_n "(cached) " >&6
2925 else
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2930 main ()
2932 static $2 ac_aggr;
2933 if (ac_aggr.$3)
2934 return 0;
2936 return 0;
2938 _ACEOF
2939 if ac_fn_c_try_compile "$LINENO"; then :
2940 eval "$4=yes"
2941 else
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2946 main ()
2948 static $2 ac_aggr;
2949 if (sizeof ac_aggr.$3)
2950 return 0;
2952 return 0;
2954 _ACEOF
2955 if ac_fn_c_try_compile "$LINENO"; then :
2956 eval "$4=yes"
2957 else
2958 eval "$4=no"
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2964 eval ac_res=\$$4
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2966 $as_echo "$ac_res" >&6; }
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 } # ac_fn_c_check_member
2971 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2972 # -------------------------------------------
2973 # Tests whether TYPE exists after having included INCLUDES, setting cache
2974 # variable VAR accordingly.
2975 ac_fn_c_check_type ()
2977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2979 $as_echo_n "checking for $2... " >&6; }
2980 if eval \${$3+:} false; then :
2981 $as_echo_n "(cached) " >&6
2982 else
2983 eval "$3=no"
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2988 main ()
2990 if (sizeof ($2))
2991 return 0;
2993 return 0;
2995 _ACEOF
2996 if ac_fn_c_try_compile "$LINENO"; then :
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main ()
3003 if (sizeof (($2)))
3004 return 0;
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3011 else
3012 eval "$3=yes"
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018 eval ac_res=\$$3
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3020 $as_echo "$ac_res" >&6; }
3021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 } # ac_fn_c_check_type
3024 cat >config.log <<_ACEOF
3025 This file contains any messages produced by compilers while
3026 running configure, to aid debugging if configure makes a mistake.
3028 It was created by Wine $as_me 2.4, which was
3029 generated by GNU Autoconf 2.69. Invocation command line was
3031 $ $0 $@
3033 _ACEOF
3034 exec 5>>config.log
3036 cat <<_ASUNAME
3037 ## --------- ##
3038 ## Platform. ##
3039 ## --------- ##
3041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3058 _ASUNAME
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3063 IFS=$as_save_IFS
3064 test -z "$as_dir" && as_dir=.
3065 $as_echo "PATH: $as_dir"
3066 done
3067 IFS=$as_save_IFS
3069 } >&5
3071 cat >&5 <<_ACEOF
3074 ## ----------- ##
3075 ## Core tests. ##
3076 ## ----------- ##
3078 _ACEOF
3081 # Keep a trace of the command line.
3082 # Strip out --no-create and --no-recursion so they do not pile up.
3083 # Strip out --silent because we don't want to record it for future runs.
3084 # Also quote any args containing shell meta-characters.
3085 # Make two passes to allow for proper duplicate-argument suppression.
3086 ac_configure_args=
3087 ac_configure_args0=
3088 ac_configure_args1=
3089 ac_must_keep_next=false
3090 for ac_pass in 1 2
3092 for ac_arg
3094 case $ac_arg in
3095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3097 | -silent | --silent | --silen | --sile | --sil)
3098 continue ;;
3099 *\'*)
3100 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3101 esac
3102 case $ac_pass in
3103 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3105 as_fn_append ac_configure_args1 " '$ac_arg'"
3106 if test $ac_must_keep_next = true; then
3107 ac_must_keep_next=false # Got value, back to normal.
3108 else
3109 case $ac_arg in
3110 *=* | --config-cache | -C | -disable-* | --disable-* \
3111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3113 | -with-* | --with-* | -without-* | --without-* | --x)
3114 case "$ac_configure_args0 " in
3115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3116 esac
3118 -* ) ac_must_keep_next=true ;;
3119 esac
3121 as_fn_append ac_configure_args " '$ac_arg'"
3123 esac
3124 done
3125 done
3126 { ac_configure_args0=; unset ac_configure_args0;}
3127 { ac_configure_args1=; unset ac_configure_args1;}
3129 # When interrupted or exit'd, cleanup temporary files, and complete
3130 # config.log. We remove comments because anyway the quotes in there
3131 # would cause problems or look ugly.
3132 # WARNING: Use '\'' to represent an apostrophe within the trap.
3133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3134 trap 'exit_status=$?
3135 # Save into config.log some information that might help in debugging.
3137 echo
3139 $as_echo "## ---------------- ##
3140 ## Cache variables. ##
3141 ## ---------------- ##"
3142 echo
3143 # The following way of writing the cache mishandles newlines in values,
3145 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3146 eval ac_val=\$$ac_var
3147 case $ac_val in #(
3148 *${as_nl}*)
3149 case $ac_var in #(
3150 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3152 esac
3153 case $ac_var in #(
3154 _ | IFS | as_nl) ;; #(
3155 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3156 *) { eval $ac_var=; unset $ac_var;} ;;
3157 esac ;;
3158 esac
3159 done
3160 (set) 2>&1 |
3161 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3162 *${as_nl}ac_space=\ *)
3163 sed -n \
3164 "s/'\''/'\''\\\\'\'''\''/g;
3165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3166 ;; #(
3168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3170 esac |
3171 sort
3173 echo
3175 $as_echo "## ----------------- ##
3176 ## Output variables. ##
3177 ## ----------------- ##"
3178 echo
3179 for ac_var in $ac_subst_vars
3181 eval ac_val=\$$ac_var
3182 case $ac_val in
3183 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3184 esac
3185 $as_echo "$ac_var='\''$ac_val'\''"
3186 done | sort
3187 echo
3189 if test -n "$ac_subst_files"; then
3190 $as_echo "## ------------------- ##
3191 ## File substitutions. ##
3192 ## ------------------- ##"
3193 echo
3194 for ac_var in $ac_subst_files
3196 eval ac_val=\$$ac_var
3197 case $ac_val in
3198 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3199 esac
3200 $as_echo "$ac_var='\''$ac_val'\''"
3201 done | sort
3202 echo
3205 if test -s confdefs.h; then
3206 $as_echo "## ----------- ##
3207 ## confdefs.h. ##
3208 ## ----------- ##"
3209 echo
3210 cat confdefs.h
3211 echo
3213 test "$ac_signal" != 0 &&
3214 $as_echo "$as_me: caught signal $ac_signal"
3215 $as_echo "$as_me: exit $exit_status"
3216 } >&5
3217 rm -f core *.core core.conftest.* &&
3218 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3219 exit $exit_status
3221 for ac_signal in 1 2 13 15; do
3222 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3223 done
3224 ac_signal=0
3226 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3227 rm -f -r conftest* confdefs.h
3229 $as_echo "/* confdefs.h */" > confdefs.h
3231 # Predefined preprocessor variables.
3233 cat >>confdefs.h <<_ACEOF
3234 #define PACKAGE_NAME "$PACKAGE_NAME"
3235 _ACEOF
3237 cat >>confdefs.h <<_ACEOF
3238 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3239 _ACEOF
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3243 _ACEOF
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_STRING "$PACKAGE_STRING"
3247 _ACEOF
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3251 _ACEOF
3253 cat >>confdefs.h <<_ACEOF
3254 #define PACKAGE_URL "$PACKAGE_URL"
3255 _ACEOF
3258 # Let the site file select an alternate cache file if it wants to.
3259 # Prefer an explicitly selected file to automatically selected ones.
3260 ac_site_file1=NONE
3261 ac_site_file2=NONE
3262 if test -n "$CONFIG_SITE"; then
3263 # We do not want a PATH search for config.site.
3264 case $CONFIG_SITE in #((
3265 -*) ac_site_file1=./$CONFIG_SITE;;
3266 */*) ac_site_file1=$CONFIG_SITE;;
3267 *) ac_site_file1=./$CONFIG_SITE;;
3268 esac
3269 elif test "x$prefix" != xNONE; then
3270 ac_site_file1=$prefix/share/config.site
3271 ac_site_file2=$prefix/etc/config.site
3272 else
3273 ac_site_file1=$ac_default_prefix/share/config.site
3274 ac_site_file2=$ac_default_prefix/etc/config.site
3276 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3278 test "x$ac_site_file" = xNONE && continue
3279 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3281 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3282 sed 's/^/| /' "$ac_site_file" >&5
3283 . "$ac_site_file" \
3284 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error $? "failed to load site script $ac_site_file
3287 See \`config.log' for more details" "$LINENO" 5; }
3289 done
3291 if test -r "$cache_file"; then
3292 # Some versions of bash will fail to source /dev/null (special files
3293 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3294 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3296 $as_echo "$as_me: loading cache $cache_file" >&6;}
3297 case $cache_file in
3298 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3299 *) . "./$cache_file";;
3300 esac
3302 else
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3304 $as_echo "$as_me: creating cache $cache_file" >&6;}
3305 >$cache_file
3308 # Check that the precious variables saved in the cache have kept the same
3309 # value.
3310 ac_cache_corrupted=false
3311 for ac_var in $ac_precious_vars; do
3312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3313 eval ac_new_set=\$ac_env_${ac_var}_set
3314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3315 eval ac_new_val=\$ac_env_${ac_var}_value
3316 case $ac_old_set,$ac_new_set in
3317 set,)
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3319 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3320 ac_cache_corrupted=: ;;
3321 ,set)
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3323 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3324 ac_cache_corrupted=: ;;
3325 ,);;
3327 if test "x$ac_old_val" != "x$ac_new_val"; then
3328 # differences in whitespace do not lead to failure.
3329 ac_old_val_w=`echo x $ac_old_val`
3330 ac_new_val_w=`echo x $ac_new_val`
3331 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3333 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3334 ac_cache_corrupted=:
3335 else
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3337 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3338 eval $ac_var=\$ac_old_val
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3341 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3343 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3344 fi;;
3345 esac
3346 # Pass precious variables to config.status.
3347 if test "$ac_new_set" = set; then
3348 case $ac_new_val in
3349 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3350 *) ac_arg=$ac_var=$ac_new_val ;;
3351 esac
3352 case " $ac_configure_args " in
3353 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3354 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3355 esac
3357 done
3358 if $ac_cache_corrupted; then
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3362 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3363 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3365 ## -------------------- ##
3366 ## Main body of script. ##
3367 ## -------------------- ##
3369 ac_ext=c
3370 ac_cpp='$CPP $CPPFLAGS'
3371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3377 ac_config_headers="$ac_config_headers include/config.h"
3379 ac_aux_dir=
3380 for ac_dir in tools "$srcdir"/tools; do
3381 if test -f "$ac_dir/install-sh"; then
3382 ac_aux_dir=$ac_dir
3383 ac_install_sh="$ac_aux_dir/install-sh -c"
3384 break
3385 elif test -f "$ac_dir/install.sh"; then
3386 ac_aux_dir=$ac_dir
3387 ac_install_sh="$ac_aux_dir/install.sh -c"
3388 break
3389 elif test -f "$ac_dir/shtool"; then
3390 ac_aux_dir=$ac_dir
3391 ac_install_sh="$ac_aux_dir/shtool install -c"
3392 break
3394 done
3395 if test -z "$ac_aux_dir"; then
3396 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3399 # These three variables are undocumented and unsupported,
3400 # and are intended to be withdrawn in a future Autoconf release.
3401 # They can cause serious problems if a builder's source tree is in a directory
3402 # whose full name contains unusual characters.
3403 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3404 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3405 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3409 libwine_version="1.0"
3413 # Check whether --enable-win16 was given.
3414 if test "${enable_win16+set}" = set; then :
3415 enableval=$enable_win16;
3418 # Check whether --enable-win64 was given.
3419 if test "${enable_win64+set}" = set; then :
3420 enableval=$enable_win64;
3423 # Check whether --enable-tests was given.
3424 if test "${enable_tests+set}" = set; then :
3425 enableval=$enable_tests;
3428 # Check whether --enable-maintainer-mode was given.
3429 if test "${enable_maintainer_mode+set}" = set; then :
3430 enableval=$enable_maintainer_mode;
3435 # Check whether --with-alsa was given.
3436 if test "${with_alsa+set}" = set; then :
3437 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3441 # Check whether --with-capi was given.
3442 if test "${with_capi+set}" = set; then :
3443 withval=$with_capi;
3447 # Check whether --with-cms was given.
3448 if test "${with_cms+set}" = set; then :
3449 withval=$with_cms;
3453 # Check whether --with-coreaudio was given.
3454 if test "${with_coreaudio+set}" = set; then :
3455 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3459 # Check whether --with-cups was given.
3460 if test "${with_cups+set}" = set; then :
3461 withval=$with_cups;
3465 # Check whether --with-curses was given.
3466 if test "${with_curses+set}" = set; then :
3467 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3471 # Check whether --with-dbus was given.
3472 if test "${with_dbus+set}" = set; then :
3473 withval=$with_dbus;
3477 # Check whether --with-fontconfig was given.
3478 if test "${with_fontconfig+set}" = set; then :
3479 withval=$with_fontconfig;
3483 # Check whether --with-freetype was given.
3484 if test "${with_freetype+set}" = set; then :
3485 withval=$with_freetype;
3489 # Check whether --with-gettext was given.
3490 if test "${with_gettext+set}" = set; then :
3491 withval=$with_gettext;
3495 # Check whether --with-gettextpo was given.
3496 if test "${with_gettextpo+set}" = set; then :
3497 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3501 # Check whether --with-gphoto was given.
3502 if test "${with_gphoto+set}" = set; then :
3503 withval=$with_gphoto;
3507 # Check whether --with-glu was given.
3508 if test "${with_glu+set}" = set; then :
3509 withval=$with_glu;
3513 # Check whether --with-gnutls was given.
3514 if test "${with_gnutls+set}" = set; then :
3515 withval=$with_gnutls;
3519 # Check whether --with-gsm was given.
3520 if test "${with_gsm+set}" = set; then :
3521 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3525 # Check whether --with-gstreamer was given.
3526 if test "${with_gstreamer+set}" = set; then :
3527 withval=$with_gstreamer;
3531 # Check whether --with-hal was given.
3532 if test "${with_hal+set}" = set; then :
3533 withval=$with_hal;
3537 # Check whether --with-jpeg was given.
3538 if test "${with_jpeg+set}" = set; then :
3539 withval=$with_jpeg;
3543 # Check whether --with-ldap was given.
3544 if test "${with_ldap+set}" = set; then :
3545 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3549 # Check whether --with-mpg123 was given.
3550 if test "${with_mpg123+set}" = set; then :
3551 withval=$with_mpg123;
3555 # Check whether --with-netapi was given.
3556 if test "${with_netapi+set}" = set; then :
3557 withval=$with_netapi;
3561 # Check whether --with-openal was given.
3562 if test "${with_openal+set}" = set; then :
3563 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3567 # Check whether --with-opencl was given.
3568 if test "${with_opencl+set}" = set; then :
3569 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3573 # Check whether --with-opengl was given.
3574 if test "${with_opengl+set}" = set; then :
3575 withval=$with_opengl;
3579 # Check whether --with-osmesa was given.
3580 if test "${with_osmesa+set}" = set; then :
3581 withval=$with_osmesa;
3585 # Check whether --with-oss was given.
3586 if test "${with_oss+set}" = set; then :
3587 withval=$with_oss;
3591 # Check whether --with-pcap was given.
3592 if test "${with_pcap+set}" = set; then :
3593 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3597 # Check whether --with-png was given.
3598 if test "${with_png+set}" = set; then :
3599 withval=$with_png;
3603 # Check whether --with-pthread was given.
3604 if test "${with_pthread+set}" = set; then :
3605 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3609 # Check whether --with-pulse was given.
3610 if test "${with_pulse+set}" = set; then :
3611 withval=$with_pulse;
3615 # Check whether --with-sane was given.
3616 if test "${with_sane+set}" = set; then :
3617 withval=$with_sane;
3621 # Check whether --with-tiff was given.
3622 if test "${with_tiff+set}" = set; then :
3623 withval=$with_tiff;
3627 # Check whether --with-udev was given.
3628 if test "${with_udev+set}" = set; then :
3629 withval=$with_udev;
3633 # Check whether --with-v4l was given.
3634 if test "${with_v4l+set}" = set; then :
3635 withval=$with_v4l;
3639 # Check whether --with-xcomposite was given.
3640 if test "${with_xcomposite+set}" = set; then :
3641 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3645 # Check whether --with-xcursor was given.
3646 if test "${with_xcursor+set}" = set; then :
3647 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3651 # Check whether --with-xinerama was given.
3652 if test "${with_xinerama+set}" = set; then :
3653 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3657 # Check whether --with-xinput was given.
3658 if test "${with_xinput+set}" = set; then :
3659 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3663 # Check whether --with-xinput2 was given.
3664 if test "${with_xinput2+set}" = set; then :
3665 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3669 # Check whether --with-xml was given.
3670 if test "${with_xml+set}" = set; then :
3671 withval=$with_xml;
3675 # Check whether --with-xrandr was given.
3676 if test "${with_xrandr+set}" = set; then :
3677 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3681 # Check whether --with-xrender was given.
3682 if test "${with_xrender+set}" = set; then :
3683 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3687 # Check whether --with-xshape was given.
3688 if test "${with_xshape+set}" = set; then :
3689 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3693 # Check whether --with-xshm was given.
3694 if test "${with_xshm+set}" = set; then :
3695 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3699 # Check whether --with-xslt was given.
3700 if test "${with_xslt+set}" = set; then :
3701 withval=$with_xslt;
3705 # Check whether --with-xxf86vm was given.
3706 if test "${with_xxf86vm+set}" = set; then :
3707 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
3711 # Check whether --with-zlib was given.
3712 if test "${with_zlib+set}" = set; then :
3713 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3718 # Check whether --with-wine-tools was given.
3719 if test "${with_wine_tools+set}" = set; then :
3720 withval=$with_wine_tools;
3724 # Check whether --with-wine64 was given.
3725 if test "${with_wine64+set}" = set; then :
3726 withval=$with_wine64;
3730 # Make sure we can run config.sub.
3731 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3732 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3735 $as_echo_n "checking build system type... " >&6; }
3736 if ${ac_cv_build+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 ac_build_alias=$build_alias
3740 test "x$ac_build_alias" = x &&
3741 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3742 test "x$ac_build_alias" = x &&
3743 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3744 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3745 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3749 $as_echo "$ac_cv_build" >&6; }
3750 case $ac_cv_build in
3751 *-*-*) ;;
3752 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3753 esac
3754 build=$ac_cv_build
3755 ac_save_IFS=$IFS; IFS='-'
3756 set x $ac_cv_build
3757 shift
3758 build_cpu=$1
3759 build_vendor=$2
3760 shift; shift
3761 # Remember, the first character of IFS is used to create $*,
3762 # except with old shells:
3763 build_os=$*
3764 IFS=$ac_save_IFS
3765 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3769 $as_echo_n "checking host system type... " >&6; }
3770 if ${ac_cv_host+:} false; then :
3771 $as_echo_n "(cached) " >&6
3772 else
3773 if test "x$host_alias" = x; then
3774 ac_cv_host=$ac_cv_build
3775 else
3776 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3777 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3782 $as_echo "$ac_cv_host" >&6; }
3783 case $ac_cv_host in
3784 *-*-*) ;;
3785 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3786 esac
3787 host=$ac_cv_host
3788 ac_save_IFS=$IFS; IFS='-'
3789 set x $ac_cv_host
3790 shift
3791 host_cpu=$1
3792 host_vendor=$2
3793 shift; shift
3794 # Remember, the first character of IFS is used to create $*,
3795 # except with old shells:
3796 host_os=$*
3797 IFS=$ac_save_IFS
3798 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3802 case "$srcdir" in
3803 .) ;;
3804 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3805 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3806 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3807 fi ;;
3808 esac
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3812 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3813 set x ${MAKE-make}
3814 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3815 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 cat >conftest.make <<\_ACEOF
3819 SHELL = /bin/sh
3820 all:
3821 @echo '@@@%%%=$(MAKE)=@@@%%%'
3822 _ACEOF
3823 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3825 *@@@%%%=?*=@@@%%%*)
3826 eval ac_cv_prog_make_${ac_make}_set=yes;;
3828 eval ac_cv_prog_make_${ac_make}_set=no;;
3829 esac
3830 rm -f conftest.make
3832 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3834 $as_echo "yes" >&6; }
3835 SET_MAKE=
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3839 SET_MAKE="MAKE=${MAKE-make}"
3842 ac_ext=c
3843 ac_cpp='$CPP $CPPFLAGS'
3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 if test -n "$ac_tool_prefix"; then
3848 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3849 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_CC+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test -n "$CC"; then
3856 ac_cv_prog_CC="$CC" # Let the user override the test.
3857 else
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3861 IFS=$as_save_IFS
3862 test -z "$as_dir" && as_dir=.
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3865 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 break 2
3869 done
3870 done
3871 IFS=$as_save_IFS
3875 CC=$ac_cv_prog_CC
3876 if test -n "$CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878 $as_echo "$CC" >&6; }
3879 else
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3886 if test -z "$ac_cv_prog_CC"; then
3887 ac_ct_CC=$CC
3888 # Extract the first word of "gcc", so it can be a program name with args.
3889 set dummy gcc; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 if test -n "$ac_ct_CC"; then
3896 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3897 else
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3901 IFS=$as_save_IFS
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_ac_ct_CC="gcc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3909 done
3910 done
3911 IFS=$as_save_IFS
3915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3916 if test -n "$ac_ct_CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3918 $as_echo "$ac_ct_CC" >&6; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3924 if test "x$ac_ct_CC" = x; then
3925 CC=""
3926 else
3927 case $cross_compiling:$ac_tool_warned in
3928 yes:)
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3931 ac_tool_warned=yes ;;
3932 esac
3933 CC=$ac_ct_CC
3935 else
3936 CC="$ac_cv_prog_CC"
3939 if test -z "$CC"; then
3940 if test -n "$ac_tool_prefix"; then
3941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3942 set dummy ${ac_tool_prefix}cc; ac_word=$2
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3944 $as_echo_n "checking for $ac_word... " >&6; }
3945 if ${ac_cv_prog_CC+:} false; then :
3946 $as_echo_n "(cached) " >&6
3947 else
3948 if test -n "$CC"; then
3949 ac_cv_prog_CC="$CC" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3954 IFS=$as_save_IFS
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958 ac_cv_prog_CC="${ac_tool_prefix}cc"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 break 2
3962 done
3963 done
3964 IFS=$as_save_IFS
3968 CC=$ac_cv_prog_CC
3969 if test -n "$CC"; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3971 $as_echo "$CC" >&6; }
3972 else
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3980 if test -z "$CC"; then
3981 # Extract the first word of "cc", so it can be a program name with args.
3982 set dummy cc; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 else
3991 ac_prog_rejected=no
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3995 IFS=$as_save_IFS
3996 test -z "$as_dir" && as_dir=.
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4000 ac_prog_rejected=yes
4001 continue
4003 ac_cv_prog_CC="cc"
4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 break 2
4007 done
4008 done
4009 IFS=$as_save_IFS
4011 if test $ac_prog_rejected = yes; then
4012 # We found a bogon in the path, so make sure we never use it.
4013 set dummy $ac_cv_prog_CC
4014 shift
4015 if test $# != 0; then
4016 # We chose a different compiler from the bogus one.
4017 # However, it has the same basename, so the bogon will be chosen
4018 # first if we set CC to just the basename; use the full file name.
4019 shift
4020 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4025 CC=$ac_cv_prog_CC
4026 if test -n "$CC"; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4028 $as_echo "$CC" >&6; }
4029 else
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 $as_echo "no" >&6; }
4036 if test -z "$CC"; then
4037 if test -n "$ac_tool_prefix"; then
4038 for ac_prog in cl.exe
4040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_CC+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$CC"; then
4048 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4061 done
4062 done
4063 IFS=$as_save_IFS
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4077 test -n "$CC" && break
4078 done
4080 if test -z "$CC"; then
4081 ac_ct_CC=$CC
4082 for ac_prog in cl.exe
4084 # Extract the first word of "$ac_prog", so it can be a program name with args.
4085 set dummy $ac_prog; ac_word=$2
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087 $as_echo_n "checking for $ac_word... " >&6; }
4088 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4089 $as_echo_n "(cached) " >&6
4090 else
4091 if test -n "$ac_ct_CC"; then
4092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4093 else
4094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 for as_dir in $PATH
4097 IFS=$as_save_IFS
4098 test -z "$as_dir" && as_dir=.
4099 for ac_exec_ext in '' $ac_executable_extensions; do
4100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4101 ac_cv_prog_ac_ct_CC="$ac_prog"
4102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 break 2
4105 done
4106 done
4107 IFS=$as_save_IFS
4111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4112 if test -n "$ac_ct_CC"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4114 $as_echo "$ac_ct_CC" >&6; }
4115 else
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4121 test -n "$ac_ct_CC" && break
4122 done
4124 if test "x$ac_ct_CC" = x; then
4125 CC=""
4126 else
4127 case $cross_compiling:$ac_tool_warned in
4128 yes:)
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4131 ac_tool_warned=yes ;;
4132 esac
4133 CC=$ac_ct_CC
4140 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error $? "no acceptable C compiler found in \$PATH
4143 See \`config.log' for more details" "$LINENO" 5; }
4145 # Provide some information about the compiler.
4146 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4147 set X $ac_compile
4148 ac_compiler=$2
4149 for ac_option in --version -v -V -qversion; do
4150 { { ac_try="$ac_compiler $ac_option >&5"
4151 case "(($ac_try" in
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4158 ac_status=$?
4159 if test -s conftest.err; then
4160 sed '10a\
4161 ... rest of stderr output deleted ...
4162 10q' conftest.err >conftest.er1
4163 cat conftest.er1 >&5
4165 rm -f conftest.er1 conftest.err
4166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167 test $ac_status = 0; }
4168 done
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 ac_clean_files_save=$ac_clean_files
4182 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4183 # Try to create an executable without -o first, disregard a.out.
4184 # It will help us diagnose broken compilers, and finding out an intuition
4185 # of exeext.
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4187 $as_echo_n "checking whether the C compiler works... " >&6; }
4188 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4190 # The possible output files:
4191 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4193 ac_rmfiles=
4194 for ac_file in $ac_files
4196 case $ac_file in
4197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4198 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4199 esac
4200 done
4201 rm -f $ac_rmfiles
4203 if { { ac_try="$ac_link_default"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210 (eval "$ac_link_default") 2>&5
4211 ac_status=$?
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }; then :
4214 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4215 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4216 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4217 # so that the user can short-circuit this test for compilers unknown to
4218 # Autoconf.
4219 for ac_file in $ac_files ''
4221 test -f "$ac_file" || continue
4222 case $ac_file in
4223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4225 [ab].out )
4226 # We found the default executable, but exeext='' is most
4227 # certainly right.
4228 break;;
4229 *.* )
4230 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4231 then :; else
4232 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4234 # We set ac_cv_exeext here because the later test for it is not
4235 # safe: cross compilers may not add the suffix if given an `-o'
4236 # argument, so we may need to know it at that point already.
4237 # Even if this section looks crufty: it has the advantage of
4238 # actually working.
4239 break;;
4241 break;;
4242 esac
4243 done
4244 test "$ac_cv_exeext" = no && ac_cv_exeext=
4246 else
4247 ac_file=''
4249 if test -z "$ac_file"; then :
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 $as_echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.$ac_ext >&5
4255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4257 as_fn_error 77 "C compiler cannot create executables
4258 See \`config.log' for more details" "$LINENO" 5; }
4259 else
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4261 $as_echo "yes" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4264 $as_echo_n "checking for C compiler default output file name... " >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4266 $as_echo "$ac_file" >&6; }
4267 ac_exeext=$ac_cv_exeext
4269 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4270 ac_clean_files=$ac_clean_files_save
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4272 $as_echo_n "checking for suffix of executables... " >&6; }
4273 if { { ac_try="$ac_link"
4274 case "(($ac_try" in
4275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276 *) ac_try_echo=$ac_try;;
4277 esac
4278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4279 $as_echo "$ac_try_echo"; } >&5
4280 (eval "$ac_link") 2>&5
4281 ac_status=$?
4282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4283 test $ac_status = 0; }; then :
4284 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4285 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4286 # work properly (i.e., refer to `conftest.exe'), while it won't with
4287 # `rm'.
4288 for ac_file in conftest.exe conftest conftest.*; do
4289 test -f "$ac_file" || continue
4290 case $ac_file in
4291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4292 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4293 break;;
4294 * ) break;;
4295 esac
4296 done
4297 else
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4301 See \`config.log' for more details" "$LINENO" 5; }
4303 rm -f conftest conftest$ac_cv_exeext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4305 $as_echo "$ac_cv_exeext" >&6; }
4307 rm -f conftest.$ac_ext
4308 EXEEXT=$ac_cv_exeext
4309 ac_exeext=$EXEEXT
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4312 #include <stdio.h>
4314 main ()
4316 FILE *f = fopen ("conftest.out", "w");
4317 return ferror (f) || fclose (f) != 0;
4320 return 0;
4322 _ACEOF
4323 ac_clean_files="$ac_clean_files conftest.out"
4324 # Check that the compiler produces executables we can run. If not, either
4325 # the compiler is broken, or we cross compile.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4327 $as_echo_n "checking whether we are cross compiling... " >&6; }
4328 if test "$cross_compiling" != yes; then
4329 { { ac_try="$ac_link"
4330 case "(($ac_try" in
4331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4333 esac
4334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4335 $as_echo "$ac_try_echo"; } >&5
4336 (eval "$ac_link") 2>&5
4337 ac_status=$?
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }
4340 if { ac_try='./conftest$ac_cv_exeext'
4341 { { case "(($ac_try" in
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4344 esac
4345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4346 $as_echo "$ac_try_echo"; } >&5
4347 (eval "$ac_try") 2>&5
4348 ac_status=$?
4349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 test $ac_status = 0; }; }; then
4351 cross_compiling=no
4352 else
4353 if test "$cross_compiling" = maybe; then
4354 cross_compiling=yes
4355 else
4356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4358 as_fn_error $? "cannot run C compiled programs.
4359 If you meant to cross compile, use \`--host'.
4360 See \`config.log' for more details" "$LINENO" 5; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4365 $as_echo "$cross_compiling" >&6; }
4367 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4368 ac_clean_files=$ac_clean_files_save
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4370 $as_echo_n "checking for suffix of object files... " >&6; }
4371 if ${ac_cv_objext+:} false; then :
4372 $as_echo_n "(cached) " >&6
4373 else
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4378 main ()
4382 return 0;
4384 _ACEOF
4385 rm -f conftest.o conftest.obj
4386 if { { ac_try="$ac_compile"
4387 case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390 esac
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_compile") 2>&5
4394 ac_status=$?
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; then :
4397 for ac_file in conftest.o conftest.obj conftest.*; do
4398 test -f "$ac_file" || continue;
4399 case $ac_file in
4400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4401 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4402 break;;
4403 esac
4404 done
4405 else
4406 $as_echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 as_fn_error $? "cannot compute suffix of object files: cannot compile
4412 See \`config.log' for more details" "$LINENO" 5; }
4414 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4417 $as_echo "$ac_cv_objext" >&6; }
4418 OBJEXT=$ac_cv_objext
4419 ac_objext=$OBJEXT
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4421 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4422 if ${ac_cv_c_compiler_gnu+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4429 main ()
4431 #ifndef __GNUC__
4432 choke me
4433 #endif
4436 return 0;
4438 _ACEOF
4439 if ac_fn_c_try_compile "$LINENO"; then :
4440 ac_compiler_gnu=yes
4441 else
4442 ac_compiler_gnu=no
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4445 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4449 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4450 if test $ac_compiler_gnu = yes; then
4451 GCC=yes
4452 else
4453 GCC=
4455 ac_test_CFLAGS=${CFLAGS+set}
4456 ac_save_CFLAGS=$CFLAGS
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4458 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4459 if ${ac_cv_prog_cc_g+:} false; then :
4460 $as_echo_n "(cached) " >&6
4461 else
4462 ac_save_c_werror_flag=$ac_c_werror_flag
4463 ac_c_werror_flag=yes
4464 ac_cv_prog_cc_g=no
4465 CFLAGS="-g"
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4470 main ()
4474 return 0;
4476 _ACEOF
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_cv_prog_cc_g=yes
4479 else
4480 CFLAGS=""
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4485 main ()
4489 return 0;
4491 _ACEOF
4492 if ac_fn_c_try_compile "$LINENO"; then :
4494 else
4495 ac_c_werror_flag=$ac_save_c_werror_flag
4496 CFLAGS="-g"
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4501 main ()
4505 return 0;
4507 _ACEOF
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_cv_prog_cc_g=yes
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 ac_c_werror_flag=$ac_save_c_werror_flag
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4519 $as_echo "$ac_cv_prog_cc_g" >&6; }
4520 if test "$ac_test_CFLAGS" = set; then
4521 CFLAGS=$ac_save_CFLAGS
4522 elif test $ac_cv_prog_cc_g = yes; then
4523 if test "$GCC" = yes; then
4524 CFLAGS="-g -O2"
4525 else
4526 CFLAGS="-g"
4528 else
4529 if test "$GCC" = yes; then
4530 CFLAGS="-O2"
4531 else
4532 CFLAGS=
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4536 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4537 if ${ac_cv_prog_cc_c89+:} false; then :
4538 $as_echo_n "(cached) " >&6
4539 else
4540 ac_cv_prog_cc_c89=no
4541 ac_save_CC=$CC
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544 #include <stdarg.h>
4545 #include <stdio.h>
4546 struct stat;
4547 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4548 struct buf { int x; };
4549 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4550 static char *e (p, i)
4551 char **p;
4552 int i;
4554 return p[i];
4556 static char *f (char * (*g) (char **, int), char **p, ...)
4558 char *s;
4559 va_list v;
4560 va_start (v,p);
4561 s = g (p, va_arg (v,int));
4562 va_end (v);
4563 return s;
4566 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4567 function prototypes and stuff, but not '\xHH' hex character constants.
4568 These don't provoke an error unfortunately, instead are silently treated
4569 as 'x'. The following induces an error, until -std is added to get
4570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4571 array size at least. It's necessary to write '\x00'==0 to get something
4572 that's true only with -std. */
4573 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4575 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4576 inside strings and character constants. */
4577 #define FOO(x) 'x'
4578 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4580 int test (int i, double x);
4581 struct s1 {int (*f) (int a);};
4582 struct s2 {int (*f) (double a);};
4583 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4584 int argc;
4585 char **argv;
4587 main ()
4589 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4591 return 0;
4593 _ACEOF
4594 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4595 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4597 CC="$ac_save_CC $ac_arg"
4598 if ac_fn_c_try_compile "$LINENO"; then :
4599 ac_cv_prog_cc_c89=$ac_arg
4601 rm -f core conftest.err conftest.$ac_objext
4602 test "x$ac_cv_prog_cc_c89" != "xno" && break
4603 done
4604 rm -f conftest.$ac_ext
4605 CC=$ac_save_CC
4608 # AC_CACHE_VAL
4609 case "x$ac_cv_prog_cc_c89" in
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4612 $as_echo "none needed" >&6; } ;;
4613 xno)
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4615 $as_echo "unsupported" >&6; } ;;
4617 CC="$CC $ac_cv_prog_cc_c89"
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4619 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4620 esac
4621 if test "x$ac_cv_prog_cc_c89" != xno; then :
4625 ac_ext=c
4626 ac_cpp='$CPP $CPPFLAGS'
4627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 ac_ext=cpp
4632 ac_cpp='$CXXCPP $CPPFLAGS'
4633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4636 if test -z "$CXX"; then
4637 if test -n "$CCC"; then
4638 CXX=$CCC
4639 else
4640 if test -n "$ac_tool_prefix"; then
4641 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_CXX+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$CXX"; then
4651 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4664 done
4665 done
4666 IFS=$as_save_IFS
4670 CXX=$ac_cv_prog_CXX
4671 if test -n "$CXX"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4673 $as_echo "$CXX" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4680 test -n "$CXX" && break
4681 done
4683 if test -z "$CXX"; then
4684 ac_ct_CXX=$CXX
4685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4687 # Extract the first word of "$ac_prog", so it can be a program name with args.
4688 set dummy $ac_prog; ac_word=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4692 $as_echo_n "(cached) " >&6
4693 else
4694 if test -n "$ac_ct_CXX"; then
4695 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4696 else
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 for as_dir in $PATH
4700 IFS=$as_save_IFS
4701 test -z "$as_dir" && as_dir=.
4702 for ac_exec_ext in '' $ac_executable_extensions; do
4703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_ac_ct_CXX="$ac_prog"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 break 2
4708 done
4709 done
4710 IFS=$as_save_IFS
4714 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4715 if test -n "$ac_ct_CXX"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4717 $as_echo "$ac_ct_CXX" >&6; }
4718 else
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4724 test -n "$ac_ct_CXX" && break
4725 done
4727 if test "x$ac_ct_CXX" = x; then
4728 CXX="g++"
4729 else
4730 case $cross_compiling:$ac_tool_warned in
4731 yes:)
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4734 ac_tool_warned=yes ;;
4735 esac
4736 CXX=$ac_ct_CXX
4742 # Provide some information about the compiler.
4743 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4744 set X $ac_compile
4745 ac_compiler=$2
4746 for ac_option in --version -v -V -qversion; do
4747 { { ac_try="$ac_compiler $ac_option >&5"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4753 $as_echo "$ac_try_echo"; } >&5
4754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4755 ac_status=$?
4756 if test -s conftest.err; then
4757 sed '10a\
4758 ... rest of stderr output deleted ...
4759 10q' conftest.err >conftest.er1
4760 cat conftest.er1 >&5
4762 rm -f conftest.er1 conftest.err
4763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4764 test $ac_status = 0; }
4765 done
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4768 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4769 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4776 main ()
4778 #ifndef __GNUC__
4779 choke me
4780 #endif
4783 return 0;
4785 _ACEOF
4786 if ac_fn_cxx_try_compile "$LINENO"; then :
4787 ac_compiler_gnu=yes
4788 else
4789 ac_compiler_gnu=no
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4796 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4797 if test $ac_compiler_gnu = yes; then
4798 GXX=yes
4799 else
4800 GXX=
4802 ac_test_CXXFLAGS=${CXXFLAGS+set}
4803 ac_save_CXXFLAGS=$CXXFLAGS
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4805 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4806 if ${ac_cv_prog_cxx_g+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4810 ac_cxx_werror_flag=yes
4811 ac_cv_prog_cxx_g=no
4812 CXXFLAGS="-g"
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4817 main ()
4821 return 0;
4823 _ACEOF
4824 if ac_fn_cxx_try_compile "$LINENO"; then :
4825 ac_cv_prog_cxx_g=yes
4826 else
4827 CXXFLAGS=""
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4832 main ()
4836 return 0;
4838 _ACEOF
4839 if ac_fn_cxx_try_compile "$LINENO"; then :
4841 else
4842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4843 CXXFLAGS="-g"
4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4848 main ()
4852 return 0;
4854 _ACEOF
4855 if ac_fn_cxx_try_compile "$LINENO"; then :
4856 ac_cv_prog_cxx_g=yes
4858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4863 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4866 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4867 if test "$ac_test_CXXFLAGS" = set; then
4868 CXXFLAGS=$ac_save_CXXFLAGS
4869 elif test $ac_cv_prog_cxx_g = yes; then
4870 if test "$GXX" = yes; then
4871 CXXFLAGS="-g -O2"
4872 else
4873 CXXFLAGS="-g"
4875 else
4876 if test "$GXX" = yes; then
4877 CXXFLAGS="-O2"
4878 else
4879 CXXFLAGS=
4882 ac_ext=c
4883 ac_cpp='$CPP $CPPFLAGS'
4884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4888 if test -n "$ac_tool_prefix"; then
4889 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4890 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if ${ac_cv_prog_CPPBIN+:} false; then :
4894 $as_echo_n "(cached) " >&6
4895 else
4896 if test -n "$CPPBIN"; then
4897 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4898 else
4899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 for as_dir in $PATH
4902 IFS=$as_save_IFS
4903 test -z "$as_dir" && as_dir=.
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 break 2
4910 done
4911 done
4912 IFS=$as_save_IFS
4916 CPPBIN=$ac_cv_prog_CPPBIN
4917 if test -n "$CPPBIN"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4919 $as_echo "$CPPBIN" >&6; }
4920 else
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4927 if test -z "$ac_cv_prog_CPPBIN"; then
4928 ac_ct_CPPBIN=$CPPBIN
4929 # Extract the first word of "cpp", so it can be a program name with args.
4930 set dummy cpp; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$ac_ct_CPPBIN"; then
4937 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_ac_ct_CPPBIN="cpp"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4957 if test -n "$ac_ct_CPPBIN"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4959 $as_echo "$ac_ct_CPPBIN" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4965 if test "x$ac_ct_CPPBIN" = x; then
4966 CPPBIN="cpp"
4967 else
4968 case $cross_compiling:$ac_tool_warned in
4969 yes:)
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4972 ac_tool_warned=yes ;;
4973 esac
4974 CPPBIN=$ac_ct_CPPBIN
4976 else
4977 CPPBIN="$ac_cv_prog_CPPBIN"
4981 cat >>confdefs.h <<_ACEOF
4982 #define EXEEXT "$ac_exeext"
4983 _ACEOF
4985 if test -n "$ac_tool_prefix"; then
4986 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4987 set dummy ${ac_tool_prefix}ld; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_LD+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 if test -n "$LD"; then
4994 ac_cv_prog_LD="$LD" # Let the user override the test.
4995 else
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_prog_LD="${ac_tool_prefix}ld"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 break 2
5007 done
5008 done
5009 IFS=$as_save_IFS
5013 LD=$ac_cv_prog_LD
5014 if test -n "$LD"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5016 $as_echo "$LD" >&6; }
5017 else
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5024 if test -z "$ac_cv_prog_LD"; then
5025 ac_ct_LD=$LD
5026 # Extract the first word of "ld", so it can be a program name with args.
5027 set dummy ld; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$ac_ct_LD"; then
5034 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_ac_ct_LD="ld"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5054 if test -n "$ac_ct_LD"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5056 $as_echo "$ac_ct_LD" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5062 if test "x$ac_ct_LD" = x; then
5063 LD=""
5064 else
5065 case $cross_compiling:$ac_tool_warned in
5066 yes:)
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5070 esac
5071 LD=$ac_ct_LD
5073 else
5074 LD="$ac_cv_prog_LD"
5078 case $host in
5079 *-darwin*)
5080 with_fontconfig=${with_fontconfig:-no}
5082 *-mingw32*|*-cygwin*)
5083 enable_win16=${enable_win16:-no}
5084 CFLAGS="$CFLAGS -D_WIN32"
5086 esac
5088 case $host in
5089 x86_64*|amd64*)
5090 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5091 then
5092 CC="$CC -m32"
5093 CXX="$CXX -m32"
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5095 $as_echo_n "checking whether $CC works... " >&6; }
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5101 main ()
5105 return 0;
5107 _ACEOF
5108 if ac_fn_c_try_link "$LINENO"; then :
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5110 $as_echo "yes" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5114 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5116 rm -f core conftest.err conftest.$ac_objext \
5117 conftest$ac_exeext conftest.$ac_ext
5118 host_cpu="i386"
5119 notice_platform="32-bit "
5120 TARGETFLAGS="-m32"
5122 enable_win16=${enable_win16:-yes}
5123 else
5124 if test "x${GCC}" = "xyes"
5125 then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5127 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5130 #include <stdarg.h>
5132 main ()
5134 void func(__builtin_ms_va_list *args);
5136 return 0;
5138 _ACEOF
5139 if ac_fn_c_try_compile "$LINENO"; then :
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5141 $as_echo "yes" >&6; }
5142 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5145 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 CC="$CC -m64"
5150 CXX="$CXX -m64"
5151 host_cpu="x86_64"
5152 notice_platform="64-bit "
5153 TARGETFLAGS="-m64"
5157 arm*)
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5159 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5162 int ac_test(int i) { return i; }
5164 main ()
5166 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5168 return 0;
5170 _ACEOF
5171 if ac_fn_c_try_link "$LINENO"; then :
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5173 $as_echo "yes" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5179 rm -f core conftest.err conftest.$ac_objext \
5180 conftest$ac_exeext conftest.$ac_ext
5181 CFLAGS="$CFLAGS -marm"
5182 TARGETFLAGS="-marm"
5185 i[3456789]86*)
5186 enable_win16=${enable_win16:-yes}
5188 esac
5190 enable_win16=${enable_win16:-no}
5191 enable_win64=${enable_win64:-no}
5193 enable_winetest=${enable_winetest:-$enable_tests}
5195 if test -n "$with_wine64"
5196 then
5197 if test "x$enable_win64" = "xyes"
5198 then
5199 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5200 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5202 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5203 You should create a separate build directory and run configure from there." "$LINENO" 5
5204 enable_fonts=${enable_fonts:-no}
5205 enable_server=${enable_server:-no}
5206 elif test "x$enable_win64" = "xyes"
5207 then
5208 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5212 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5213 if ${wine_cv_toolsdir+:} false; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 wine_cv_toolsdir="$with_wine_tools"
5217 if test -z "$with_wine_tools"; then
5218 if test "$cross_compiling" = "yes"; then
5219 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5220 elif test -n "$with_wine64"; then
5221 wine_cv_toolsdir="$with_wine64"
5224 if test -z "$wine_cv_toolsdir"; then
5225 wine_makedep=tools/makedep
5226 wine_cv_toolsdir="\$(top_builddir)"
5227 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5228 wine_makedep=$wine_cv_toolsdir/tools/makedep
5229 case "$wine_cv_toolsdir" in
5230 /*) ;;
5231 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5232 esac
5233 enable_tools=${enable_tools:-no}
5234 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5235 else
5236 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5240 $as_echo "$wine_cv_toolsdir" >&6; }
5241 TOOLSDIR=$wine_cv_toolsdir
5243 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5244 then
5245 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5249 for ac_prog in flex
5251 # Extract the first word of "$ac_prog", so it can be a program name with args.
5252 set dummy $ac_prog; ac_word=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_FLEX+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 if test -n "$FLEX"; then
5259 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5264 IFS=$as_save_IFS
5265 test -z "$as_dir" && as_dir=.
5266 for ac_exec_ext in '' $ac_executable_extensions; do
5267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_FLEX="$ac_prog"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 break 2
5272 done
5273 done
5274 IFS=$as_save_IFS
5278 FLEX=$ac_cv_prog_FLEX
5279 if test -n "$FLEX"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5281 $as_echo "$FLEX" >&6; }
5282 else
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5288 test -n "$FLEX" && break
5289 done
5290 test -n "$FLEX" || FLEX="none"
5292 if test "$FLEX" = "none"
5293 then
5294 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5297 $as_echo_n "checking whether flex is recent enough... " >&6; }
5298 cat >conftest.l <<EOF
5299 %top{
5300 #include "prediluvian.h"
5304 if $FLEX -t conftest.l >/dev/null 2>&5
5305 then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307 $as_echo "yes" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5311 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5314 for ac_prog in bison
5316 # Extract the first word of "$ac_prog", so it can be a program name with args.
5317 set dummy $ac_prog; ac_word=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if ${ac_cv_prog_BISON+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 if test -n "$BISON"; then
5324 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_BISON="$ac_prog"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 BISON=$ac_cv_prog_BISON
5344 if test -n "$BISON"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5346 $as_echo "$BISON" >&6; }
5347 else
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5353 test -n "$BISON" && break
5354 done
5355 test -n "$BISON" || BISON="none"
5357 if test "$BISON" = "none"
5358 then
5359 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5362 if test -n "$ac_tool_prefix"; then
5363 for ac_prog in ar gar
5365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_AR+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if test -n "$AR"; then
5373 ac_cv_prog_AR="$AR" # Let the user override the test.
5374 else
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5378 IFS=$as_save_IFS
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 break 2
5386 done
5387 done
5388 IFS=$as_save_IFS
5392 AR=$ac_cv_prog_AR
5393 if test -n "$AR"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5395 $as_echo "$AR" >&6; }
5396 else
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5402 test -n "$AR" && break
5403 done
5405 if test -z "$AR"; then
5406 ac_ct_AR=$AR
5407 for ac_prog in ar gar
5409 # Extract the first word of "$ac_prog", so it can be a program name with args.
5410 set dummy $ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5414 $as_echo_n "(cached) " >&6
5415 else
5416 if test -n "$ac_ct_AR"; then
5417 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5422 IFS=$as_save_IFS
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_ac_ct_AR="$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 break 2
5430 done
5431 done
5432 IFS=$as_save_IFS
5436 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5437 if test -n "$ac_ct_AR"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5439 $as_echo "$ac_ct_AR" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$ac_ct_AR" && break
5447 done
5449 if test "x$ac_ct_AR" = x; then
5450 AR="ar"
5451 else
5452 case $cross_compiling:$ac_tool_warned in
5453 yes:)
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5457 esac
5458 AR=$ac_ct_AR
5462 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5464 set dummy ${ac_tool_prefix}strip; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_STRIP+:} false; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if test -n "$STRIP"; then
5471 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5472 else
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 for as_dir in $PATH
5476 IFS=$as_save_IFS
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 break 2
5484 done
5485 done
5486 IFS=$as_save_IFS
5490 STRIP=$ac_cv_prog_STRIP
5491 if test -n "$STRIP"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5493 $as_echo "$STRIP" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5501 if test -z "$ac_cv_prog_STRIP"; then
5502 ac_ct_STRIP=$STRIP
5503 # Extract the first word of "strip", so it can be a program name with args.
5504 set dummy strip; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$ac_ct_STRIP"; then
5511 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_ac_ct_STRIP="strip"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5531 if test -n "$ac_ct_STRIP"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5533 $as_echo "$ac_ct_STRIP" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5539 if test "x$ac_ct_STRIP" = x; then
5540 STRIP="strip"
5541 else
5542 case $cross_compiling:$ac_tool_warned in
5543 yes:)
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5547 esac
5548 STRIP=$ac_ct_STRIP
5550 else
5551 STRIP="$ac_cv_prog_STRIP"
5554 ARFLAGS=rc
5556 if test -n "$ac_tool_prefix"; then
5557 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_prog_RANLIB+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if test -n "$RANLIB"; then
5565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5580 IFS=$as_save_IFS
5584 RANLIB=$ac_cv_prog_RANLIB
5585 if test -n "$RANLIB"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5587 $as_echo "$RANLIB" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5595 if test -z "$ac_cv_prog_RANLIB"; then
5596 ac_ct_RANLIB=$RANLIB
5597 # Extract the first word of "ranlib", so it can be a program name with args.
5598 set dummy ranlib; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -n "$ac_ct_RANLIB"; then
5605 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_ac_ct_RANLIB="ranlib"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5625 if test -n "$ac_ct_RANLIB"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5627 $as_echo "$ac_ct_RANLIB" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5633 if test "x$ac_ct_RANLIB" = x; then
5634 RANLIB=":"
5635 else
5636 case $cross_compiling:$ac_tool_warned in
5637 yes:)
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5640 ac_tool_warned=yes ;;
5641 esac
5642 RANLIB=$ac_ct_RANLIB
5644 else
5645 RANLIB="$ac_cv_prog_RANLIB"
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5649 $as_echo_n "checking whether ln -s works... " >&6; }
5650 LN_S=$as_ln_s
5651 if test "$LN_S" = "ln -s"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5653 $as_echo "yes" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5656 $as_echo "no, using $LN_S" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5660 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5661 if ${ac_cv_path_GREP+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -z "$GREP"; then
5665 ac_path_GREP_found=false
5666 # Loop through the user's path and test for each of PROGNAME-LIST
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_prog in grep ggrep; do
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5675 as_fn_executable_p "$ac_path_GREP" || continue
5676 # Check for GNU ac_path_GREP and select it if it is found.
5677 # Check for GNU $ac_path_GREP
5678 case `"$ac_path_GREP" --version 2>&1` in
5679 *GNU*)
5680 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5682 ac_count=0
5683 $as_echo_n 0123456789 >"conftest.in"
5684 while :
5686 cat "conftest.in" "conftest.in" >"conftest.tmp"
5687 mv "conftest.tmp" "conftest.in"
5688 cp "conftest.in" "conftest.nl"
5689 $as_echo 'GREP' >> "conftest.nl"
5690 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5691 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5692 as_fn_arith $ac_count + 1 && ac_count=$as_val
5693 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5694 # Best one so far, save it but keep looking for a better one
5695 ac_cv_path_GREP="$ac_path_GREP"
5696 ac_path_GREP_max=$ac_count
5698 # 10*(2^10) chars as input seems more than enough
5699 test $ac_count -gt 10 && break
5700 done
5701 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5702 esac
5704 $ac_path_GREP_found && break 3
5705 done
5706 done
5707 done
5708 IFS=$as_save_IFS
5709 if test -z "$ac_cv_path_GREP"; then
5710 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5712 else
5713 ac_cv_path_GREP=$GREP
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5718 $as_echo "$ac_cv_path_GREP" >&6; }
5719 GREP="$ac_cv_path_GREP"
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5723 $as_echo_n "checking for egrep... " >&6; }
5724 if ${ac_cv_path_EGREP+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5728 then ac_cv_path_EGREP="$GREP -E"
5729 else
5730 if test -z "$EGREP"; then
5731 ac_path_EGREP_found=false
5732 # Loop through the user's path and test for each of PROGNAME-LIST
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_prog in egrep; do
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5741 as_fn_executable_p "$ac_path_EGREP" || continue
5742 # Check for GNU ac_path_EGREP and select it if it is found.
5743 # Check for GNU $ac_path_EGREP
5744 case `"$ac_path_EGREP" --version 2>&1` in
5745 *GNU*)
5746 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5748 ac_count=0
5749 $as_echo_n 0123456789 >"conftest.in"
5750 while :
5752 cat "conftest.in" "conftest.in" >"conftest.tmp"
5753 mv "conftest.tmp" "conftest.in"
5754 cp "conftest.in" "conftest.nl"
5755 $as_echo 'EGREP' >> "conftest.nl"
5756 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5757 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5758 as_fn_arith $ac_count + 1 && ac_count=$as_val
5759 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5760 # Best one so far, save it but keep looking for a better one
5761 ac_cv_path_EGREP="$ac_path_EGREP"
5762 ac_path_EGREP_max=$ac_count
5764 # 10*(2^10) chars as input seems more than enough
5765 test $ac_count -gt 10 && break
5766 done
5767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5768 esac
5770 $ac_path_EGREP_found && break 3
5771 done
5772 done
5773 done
5774 IFS=$as_save_IFS
5775 if test -z "$ac_cv_path_EGREP"; then
5776 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5778 else
5779 ac_cv_path_EGREP=$EGREP
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5785 $as_echo "$ac_cv_path_EGREP" >&6; }
5786 EGREP="$ac_cv_path_EGREP"
5789 # Extract the first word of "ldconfig", so it can be a program name with args.
5790 set dummy ldconfig; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_path_LDCONFIG+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 case $LDCONFIG in
5797 [\\/]* | ?:[\\/]*)
5798 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in /sbin /usr/sbin $PATH
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 IFS=$as_save_IFS
5816 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5818 esac
5820 LDCONFIG=$ac_cv_path_LDCONFIG
5821 if test -n "$LDCONFIG"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5823 $as_echo "$LDCONFIG" >&6; }
5824 else
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5830 for ac_prog in msgfmt
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy $ac_prog; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_MSGFMT+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 if test -n "$MSGFMT"; then
5840 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_MSGFMT="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5859 MSGFMT=$ac_cv_prog_MSGFMT
5860 if test -n "$MSGFMT"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5862 $as_echo "$MSGFMT" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$MSGFMT" && break
5870 done
5871 test -n "$MSGFMT" || MSGFMT="false"
5873 if ${ac_tool_prefix+:} false; then :
5874 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5875 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877 $as_echo_n "checking for $ac_word... " >&6; }
5878 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 if test -n "$PKG_CONFIG"; then
5882 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5883 else
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5885 for as_dir in $PATH
5887 IFS=$as_save_IFS
5888 test -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 break 2
5895 done
5896 done
5897 IFS=$as_save_IFS
5901 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5902 if test -n "$PKG_CONFIG"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5904 $as_echo "$PKG_CONFIG" >&6; }
5905 else
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5912 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5913 if test "x$cross_compiling" = xyes; then :
5915 else
5916 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5917 # Extract the first word of "pkg-config", so it can be a program name with args.
5918 set dummy pkg-config; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 $as_echo_n "checking for $ac_word... " >&6; }
5921 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5922 $as_echo_n "(cached) " >&6
5923 else
5924 if test -n "$PKG_CONFIG"; then
5925 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_PKG_CONFIG="pkg-config"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 break 2
5938 done
5939 done
5940 IFS=$as_save_IFS
5944 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5945 if test -n "$PKG_CONFIG"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5947 $as_echo "$PKG_CONFIG" >&6; }
5948 else
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 $as_echo "no" >&6; }
5955 else
5956 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5959 if test "x$enable_maintainer_mode" != "xyes"
5960 then
5961 FONTFORGE=""
5962 RSVG=""
5963 CONVERT=""
5964 ICOTOOL=""
5965 else
5966 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5967 for ac_prog in fontforge
5969 # Extract the first word of "$ac_prog", so it can be a program name with args.
5970 set dummy $ac_prog; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_FONTFORGE+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 if test -n "$FONTFORGE"; then
5977 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5978 else
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5980 for as_dir in $PATH
5982 IFS=$as_save_IFS
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_FONTFORGE="$ac_prog"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 break 2
5990 done
5991 done
5992 IFS=$as_save_IFS
5996 FONTFORGE=$ac_cv_prog_FONTFORGE
5997 if test -n "$FONTFORGE"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5999 $as_echo "$FONTFORGE" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6006 test -n "$FONTFORGE" && break
6007 done
6008 test -n "$FONTFORGE" || FONTFORGE="false"
6010 for ac_prog in rsvg-convert rsvg
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy $ac_prog; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_RSVG+:} false; then :
6017 $as_echo_n "(cached) " >&6
6018 else
6019 if test -n "$RSVG"; then
6020 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_RSVG="$ac_prog"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 RSVG=$ac_cv_prog_RSVG
6040 if test -n "$RSVG"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6042 $as_echo "$RSVG" >&6; }
6043 else
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$RSVG" && break
6050 done
6051 test -n "$RSVG" || RSVG="false"
6053 for ac_prog in convert
6055 # Extract the first word of "$ac_prog", so it can be a program name with args.
6056 set dummy $ac_prog; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_CONVERT+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$CONVERT"; then
6063 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_CONVERT="$ac_prog"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 CONVERT=$ac_cv_prog_CONVERT
6083 if test -n "$CONVERT"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6085 $as_echo "$CONVERT" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6092 test -n "$CONVERT" && break
6093 done
6094 test -n "$CONVERT" || CONVERT="false"
6096 for ac_prog in icotool
6098 # Extract the first word of "$ac_prog", so it can be a program name with args.
6099 set dummy $ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ICOTOOL+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ICOTOOL"; then
6106 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ICOTOOL="$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 ICOTOOL=$ac_cv_prog_ICOTOOL
6126 if test -n "$ICOTOOL"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6128 $as_echo "$ICOTOOL" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 test -n "$ICOTOOL" && break
6136 done
6137 test -n "$ICOTOOL" || ICOTOOL="false"
6139 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6140 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6142 if test "$CONVERT" = false
6143 then
6144 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6147 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6148 convert_version=`convert --version | head -n1`
6149 if test "x$convert_version" != "x"
6150 then
6151 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6152 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6153 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6154 then
6155 CONVERT=false
6158 if test "$CONVERT" = false
6159 then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6161 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6162 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6163 else
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6165 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6169 if test "$ICOTOOL" = false
6170 then
6171 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6174 $as_echo_n "checking for recent enough icotool... " >&6; }
6175 icotool_version=`icotool --version | head -n1`
6176 if test "x$icotool_version" != "x"
6177 then
6178 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6179 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6180 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6181 then
6182 ICOTOOL=false
6183 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6186 if test "$ICOTOOL" = false
6187 then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6189 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6190 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6191 else
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6193 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6197 with_gettext=yes
6198 with_gettextpo=yes
6199 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6202 test "x$with_gettext" != xno || MSGFMT=false
6203 if test "$MSGFMT" != "false"
6204 then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6206 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6207 cat >conftest.po <<EOF
6208 # comment
6209 msgctxt "ctxt"
6210 msgid "id"
6211 msgstr "str"
6213 if $MSGFMT -o /dev/null conftest.po 2>&5
6214 then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216 $as_echo "yes" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6220 MSGFMT=false
6223 if test "$MSGFMT" = false; then :
6224 case "x$with_gettext" in
6225 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6226 xno) ;;
6227 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6228 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6229 esac
6230 enable_po=${enable_po:-no}
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6235 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6236 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 ac_check_lib_save_LIBS=$LIBS
6240 LIBS="-li386 $LIBS"
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6244 /* Override any GCC internal prototype to avoid an error.
6245 Use char because int might match the return type of a GCC
6246 builtin and then its argument prototype would still apply. */
6247 #ifdef __cplusplus
6248 extern "C"
6249 #endif
6250 char i386_set_ldt ();
6252 main ()
6254 return i386_set_ldt ();
6256 return 0;
6258 _ACEOF
6259 if ac_fn_c_try_link "$LINENO"; then :
6260 ac_cv_lib_i386_i386_set_ldt=yes
6261 else
6262 ac_cv_lib_i386_i386_set_ldt=no
6264 rm -f core conftest.err conftest.$ac_objext \
6265 conftest$ac_exeext conftest.$ac_ext
6266 LIBS=$ac_check_lib_save_LIBS
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6269 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6270 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6271 cat >>confdefs.h <<_ACEOF
6272 #define HAVE_LIBI386 1
6273 _ACEOF
6275 LIBS="-li386 $LIBS"
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6280 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6281 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 ac_check_lib_save_LIBS=$LIBS
6285 LIBS="-lossaudio $LIBS"
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6289 /* Override any GCC internal prototype to avoid an error.
6290 Use char because int might match the return type of a GCC
6291 builtin and then its argument prototype would still apply. */
6292 #ifdef __cplusplus
6293 extern "C"
6294 #endif
6295 char _oss_ioctl ();
6297 main ()
6299 return _oss_ioctl ();
6301 return 0;
6303 _ACEOF
6304 if ac_fn_c_try_link "$LINENO"; then :
6305 ac_cv_lib_ossaudio__oss_ioctl=yes
6306 else
6307 ac_cv_lib_ossaudio__oss_ioctl=no
6309 rm -f core conftest.err conftest.$ac_objext \
6310 conftest$ac_exeext conftest.$ac_ext
6311 LIBS=$ac_check_lib_save_LIBS
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6314 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6315 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6316 cat >>confdefs.h <<_ACEOF
6317 #define HAVE_LIBOSSAUDIO 1
6318 _ACEOF
6320 LIBS="-lossaudio $LIBS"
6325 OPENGL_LIBS=""
6329 # Check whether --enable-largefile was given.
6330 if test "${enable_largefile+set}" = set; then :
6331 enableval=$enable_largefile;
6334 if test "$enable_largefile" != no; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6337 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6338 if ${ac_cv_sys_largefile_CC+:} false; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 ac_cv_sys_largefile_CC=no
6342 if test "$GCC" != yes; then
6343 ac_save_CC=$CC
6344 while :; do
6345 # IRIX 6.2 and later do not support large files by default,
6346 # so use the C compiler's -n32 option if that helps.
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #include <sys/types.h>
6350 /* Check that off_t can represent 2**63 - 1 correctly.
6351 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6352 since some C++ compilers masquerading as C compilers
6353 incorrectly reject 9223372036854775807. */
6354 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6355 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6356 && LARGE_OFF_T % 2147483647 == 1)
6357 ? 1 : -1];
6359 main ()
6363 return 0;
6365 _ACEOF
6366 if ac_fn_c_try_compile "$LINENO"; then :
6367 break
6369 rm -f core conftest.err conftest.$ac_objext
6370 CC="$CC -n32"
6371 if ac_fn_c_try_compile "$LINENO"; then :
6372 ac_cv_sys_largefile_CC=' -n32'; break
6374 rm -f core conftest.err conftest.$ac_objext
6375 break
6376 done
6377 CC=$ac_save_CC
6378 rm -f conftest.$ac_ext
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6382 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6383 if test "$ac_cv_sys_largefile_CC" != no; then
6384 CC=$CC$ac_cv_sys_largefile_CC
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6388 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6389 if ${ac_cv_sys_file_offset_bits+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 while :; do
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6403 ? 1 : -1];
6405 main ()
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_compile "$LINENO"; then :
6413 ac_cv_sys_file_offset_bits=no; break
6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #define _FILE_OFFSET_BITS 64
6419 #include <sys/types.h>
6420 /* Check that off_t can represent 2**63 - 1 correctly.
6421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6422 since some C++ compilers masquerading as C compilers
6423 incorrectly reject 9223372036854775807. */
6424 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6426 && LARGE_OFF_T % 2147483647 == 1)
6427 ? 1 : -1];
6429 main ()
6433 return 0;
6435 _ACEOF
6436 if ac_fn_c_try_compile "$LINENO"; then :
6437 ac_cv_sys_file_offset_bits=64; break
6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440 ac_cv_sys_file_offset_bits=unknown
6441 break
6442 done
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6445 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6446 case $ac_cv_sys_file_offset_bits in #(
6447 no | unknown) ;;
6449 cat >>confdefs.h <<_ACEOF
6450 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6451 _ACEOF
6453 esac
6454 rm -rf conftest*
6455 if test $ac_cv_sys_file_offset_bits = unknown; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6457 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6458 if ${ac_cv_sys_large_files+:} false; then :
6459 $as_echo_n "(cached) " >&6
6460 else
6461 while :; do
6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6464 #include <sys/types.h>
6465 /* Check that off_t can represent 2**63 - 1 correctly.
6466 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6467 since some C++ compilers masquerading as C compilers
6468 incorrectly reject 9223372036854775807. */
6469 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6470 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6471 && LARGE_OFF_T % 2147483647 == 1)
6472 ? 1 : -1];
6474 main ()
6478 return 0;
6480 _ACEOF
6481 if ac_fn_c_try_compile "$LINENO"; then :
6482 ac_cv_sys_large_files=no; break
6484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6487 #define _LARGE_FILES 1
6488 #include <sys/types.h>
6489 /* Check that off_t can represent 2**63 - 1 correctly.
6490 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6491 since some C++ compilers masquerading as C compilers
6492 incorrectly reject 9223372036854775807. */
6493 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6494 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6495 && LARGE_OFF_T % 2147483647 == 1)
6496 ? 1 : -1];
6498 main ()
6502 return 0;
6504 _ACEOF
6505 if ac_fn_c_try_compile "$LINENO"; then :
6506 ac_cv_sys_large_files=1; break
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509 ac_cv_sys_large_files=unknown
6510 break
6511 done
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6514 $as_echo "$ac_cv_sys_large_files" >&6; }
6515 case $ac_cv_sys_large_files in #(
6516 no | unknown) ;;
6518 cat >>confdefs.h <<_ACEOF
6519 #define _LARGE_FILES $ac_cv_sys_large_files
6520 _ACEOF
6522 esac
6523 rm -rf conftest*
6530 ac_ext=c
6531 ac_cpp='$CPP $CPPFLAGS'
6532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6536 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6537 # On Suns, sometimes $CPP names a directory.
6538 if test -n "$CPP" && test -d "$CPP"; then
6539 CPP=
6541 if test -z "$CPP"; then
6542 if ${ac_cv_prog_CPP+:} false; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 # Double quotes because CPP needs to be expanded
6546 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6548 ac_preproc_ok=false
6549 for ac_c_preproc_warn_flag in '' yes
6551 # Use a header file that comes with gcc, so configuring glibc
6552 # with a fresh cross-compiler works.
6553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6554 # <limits.h> exists even on freestanding compilers.
6555 # On the NeXT, cc -E runs the code through the compiler's parser,
6556 # not just through cpp. "Syntax error" is here to catch this case.
6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6559 #ifdef __STDC__
6560 # include <limits.h>
6561 #else
6562 # include <assert.h>
6563 #endif
6564 Syntax error
6565 _ACEOF
6566 if ac_fn_c_try_cpp "$LINENO"; then :
6568 else
6569 # Broken: fails on valid input.
6570 continue
6572 rm -f conftest.err conftest.i conftest.$ac_ext
6574 # OK, works on sane cases. Now check whether nonexistent headers
6575 # can be detected and how.
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578 #include <ac_nonexistent.h>
6579 _ACEOF
6580 if ac_fn_c_try_cpp "$LINENO"; then :
6581 # Broken: success on invalid input.
6582 continue
6583 else
6584 # Passes both tests.
6585 ac_preproc_ok=:
6586 break
6588 rm -f conftest.err conftest.i conftest.$ac_ext
6590 done
6591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6592 rm -f conftest.i conftest.err conftest.$ac_ext
6593 if $ac_preproc_ok; then :
6594 break
6597 done
6598 ac_cv_prog_CPP=$CPP
6601 CPP=$ac_cv_prog_CPP
6602 else
6603 ac_cv_prog_CPP=$CPP
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6606 $as_echo "$CPP" >&6; }
6607 ac_preproc_ok=false
6608 for ac_c_preproc_warn_flag in '' yes
6610 # Use a header file that comes with gcc, so configuring glibc
6611 # with a fresh cross-compiler works.
6612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6613 # <limits.h> exists even on freestanding compilers.
6614 # On the NeXT, cc -E runs the code through the compiler's parser,
6615 # not just through cpp. "Syntax error" is here to catch this case.
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623 Syntax error
6624 _ACEOF
6625 if ac_fn_c_try_cpp "$LINENO"; then :
6627 else
6628 # Broken: fails on valid input.
6629 continue
6631 rm -f conftest.err conftest.i conftest.$ac_ext
6633 # OK, works on sane cases. Now check whether nonexistent headers
6634 # can be detected and how.
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <ac_nonexistent.h>
6638 _ACEOF
6639 if ac_fn_c_try_cpp "$LINENO"; then :
6640 # Broken: success on invalid input.
6641 continue
6642 else
6643 # Passes both tests.
6644 ac_preproc_ok=:
6645 break
6647 rm -f conftest.err conftest.i conftest.$ac_ext
6649 done
6650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6651 rm -f conftest.i conftest.err conftest.$ac_ext
6652 if $ac_preproc_ok; then :
6654 else
6655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6657 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6658 See \`config.log' for more details" "$LINENO" 5; }
6661 ac_ext=c
6662 ac_cpp='$CPP $CPPFLAGS'
6663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6669 $as_echo_n "checking for ANSI C header files... " >&6; }
6670 if ${ac_cv_header_stdc+:} false; then :
6671 $as_echo_n "(cached) " >&6
6672 else
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #include <stdlib.h>
6676 #include <stdarg.h>
6677 #include <string.h>
6678 #include <float.h>
6681 main ()
6685 return 0;
6687 _ACEOF
6688 if ac_fn_c_try_compile "$LINENO"; then :
6689 ac_cv_header_stdc=yes
6690 else
6691 ac_cv_header_stdc=no
6693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6695 if test $ac_cv_header_stdc = yes; then
6696 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <string.h>
6701 _ACEOF
6702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6703 $EGREP "memchr" >/dev/null 2>&1; then :
6705 else
6706 ac_cv_header_stdc=no
6708 rm -f conftest*
6712 if test $ac_cv_header_stdc = yes; then
6713 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6716 #include <stdlib.h>
6718 _ACEOF
6719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6720 $EGREP "free" >/dev/null 2>&1; then :
6722 else
6723 ac_cv_header_stdc=no
6725 rm -f conftest*
6729 if test $ac_cv_header_stdc = yes; then
6730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6731 if test "$cross_compiling" = yes; then :
6733 else
6734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6736 #include <ctype.h>
6737 #include <stdlib.h>
6738 #if ((' ' & 0x0FF) == 0x020)
6739 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6740 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6741 #else
6742 # define ISLOWER(c) \
6743 (('a' <= (c) && (c) <= 'i') \
6744 || ('j' <= (c) && (c) <= 'r') \
6745 || ('s' <= (c) && (c) <= 'z'))
6746 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6747 #endif
6749 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6751 main ()
6753 int i;
6754 for (i = 0; i < 256; i++)
6755 if (XOR (islower (i), ISLOWER (i))
6756 || toupper (i) != TOUPPER (i))
6757 return 2;
6758 return 0;
6760 _ACEOF
6761 if ac_fn_c_try_run "$LINENO"; then :
6763 else
6764 ac_cv_header_stdc=no
6766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6767 conftest.$ac_objext conftest.beam conftest.$ac_ext
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6773 $as_echo "$ac_cv_header_stdc" >&6; }
6774 if test $ac_cv_header_stdc = yes; then
6776 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6780 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6781 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6782 inttypes.h stdint.h unistd.h
6783 do :
6784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6790 _ACEOF
6794 done
6797 for ac_header in \
6798 AL/al.h \
6799 ApplicationServices/ApplicationServices.h \
6800 AudioToolbox/AudioConverter.h \
6801 AudioUnit/AudioUnit.h \
6802 AudioUnit/AudioComponent.h \
6803 CL/cl.h \
6804 Carbon/Carbon.h \
6805 CommonCrypto/CommonDigest.h \
6806 CoreAudio/CoreAudio.h \
6807 CoreServices/CoreServices.h \
6808 DiskArbitration/DiskArbitration.h \
6809 IOKit/IOKitLib.h \
6810 IOKit/hid/IOHIDLib.h \
6811 OpenAL/al.h \
6812 OpenCL/opencl.h \
6813 QuickTime/ImageCompression.h \
6814 Security/Security.h \
6815 alias.h \
6816 alsa/asoundlib.h \
6817 arpa/inet.h \
6818 arpa/nameser.h \
6819 asm/types.h \
6820 asm/user.h \
6821 curses.h \
6822 direct.h \
6823 dirent.h \
6824 dlfcn.h \
6825 elf.h \
6826 float.h \
6827 fnmatch.h \
6828 getopt.h \
6829 gettext-po.h \
6830 grp.h \
6831 gsm.h \
6832 gsm/gsm.h \
6833 ieeefp.h \
6834 inet/mib2.h \
6835 io.h \
6836 kstat.h \
6837 lber.h \
6838 ldap.h \
6839 libproc.h \
6840 link.h \
6841 linux/cdrom.h \
6842 linux/compiler.h \
6843 linux/filter.h \
6844 linux/hdreg.h \
6845 linux/hidraw.h \
6846 linux/input.h \
6847 linux/ioctl.h \
6848 linux/joystick.h \
6849 linux/major.h \
6850 linux/param.h \
6851 linux/serial.h \
6852 linux/types.h \
6853 linux/ucdrom.h \
6854 lwp.h \
6855 mach-o/nlist.h \
6856 mach-o/loader.h \
6857 mach/mach.h \
6858 mach/machine.h \
6859 machine/cpu.h \
6860 machine/limits.h \
6861 machine/sysarch.h \
6862 mntent.h \
6863 ncurses.h \
6864 netdb.h \
6865 netinet/in.h \
6866 netinet/in_systm.h \
6867 netinet/tcp.h \
6868 netinet/tcp_fsm.h \
6869 pcap/pcap.h \
6870 poll.h \
6871 port.h \
6872 process.h \
6873 pthread.h \
6874 pwd.h \
6875 sched.h \
6876 scsi/scsi.h \
6877 scsi/scsi_ioctl.h \
6878 scsi/sg.h \
6879 stdbool.h \
6880 stdint.h \
6881 stropts.h \
6882 sys/asoundlib.h \
6883 sys/attr.h \
6884 sys/cdio.h \
6885 sys/elf32.h \
6886 sys/epoll.h \
6887 sys/event.h \
6888 sys/exec_elf.h \
6889 sys/filio.h \
6890 sys/inotify.h \
6891 sys/ioctl.h \
6892 sys/ipc.h \
6893 sys/limits.h \
6894 sys/link.h \
6895 sys/mman.h \
6896 sys/modem.h \
6897 sys/msg.h \
6898 sys/mtio.h \
6899 sys/param.h \
6900 sys/poll.h \
6901 sys/prctl.h \
6902 sys/protosw.h \
6903 sys/ptrace.h \
6904 sys/queue.h \
6905 sys/resource.h \
6906 sys/scsiio.h \
6907 sys/shm.h \
6908 sys/signal.h \
6909 sys/socket.h \
6910 sys/socketvar.h \
6911 sys/sockio.h \
6912 sys/statvfs.h \
6913 sys/strtio.h \
6914 sys/syscall.h \
6915 sys/sysinfo.h \
6916 sys/tihdr.h \
6917 sys/time.h \
6918 sys/timeout.h \
6919 sys/times.h \
6920 sys/uio.h \
6921 sys/user.h \
6922 sys/utsname.h \
6923 sys/vm86.h \
6924 sys/vnode.h \
6925 sys/wait.h \
6926 syscall.h \
6927 termios.h \
6928 unistd.h \
6929 utime.h \
6930 valgrind/memcheck.h \
6931 valgrind/valgrind.h \
6932 zlib.h
6934 do :
6935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6937 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6938 cat >>confdefs.h <<_ACEOF
6939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6940 _ACEOF
6944 done
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6947 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6948 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6949 $as_echo_n "(cached) " >&6
6950 else
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6953 #include <sys/types.h>
6955 main ()
6957 return makedev(0, 0);
6959 return 0;
6961 _ACEOF
6962 if ac_fn_c_try_link "$LINENO"; then :
6963 ac_cv_header_sys_types_h_makedev=yes
6964 else
6965 ac_cv_header_sys_types_h_makedev=no
6967 rm -f core conftest.err conftest.$ac_objext \
6968 conftest$ac_exeext conftest.$ac_ext
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6972 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6974 if test $ac_cv_header_sys_types_h_makedev = no; then
6975 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6976 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6978 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6984 if test $ac_cv_header_sys_mkdev_h = no; then
6985 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6986 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6988 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6997 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6998 if ${ac_cv_header_stat_broken+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7003 #include <sys/types.h>
7004 #include <sys/stat.h>
7006 #if defined S_ISBLK && defined S_IFDIR
7007 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7008 #endif
7010 #if defined S_ISBLK && defined S_IFCHR
7011 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7012 #endif
7014 #if defined S_ISLNK && defined S_IFREG
7015 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7016 #endif
7018 #if defined S_ISSOCK && defined S_IFREG
7019 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7020 #endif
7022 _ACEOF
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_header_stat_broken=no
7025 else
7026 ac_cv_header_stat_broken=yes
7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7031 $as_echo "$ac_cv_header_stat_broken" >&6; }
7032 if test $ac_cv_header_stat_broken = yes; then
7034 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7040 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7041 do :
7042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7044 #ifdef HAVE_SYS_PARAM_H
7045 # include <sys/param.h>
7046 #endif
7048 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7049 cat >>confdefs.h <<_ACEOF
7050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7051 _ACEOF
7055 done
7058 for ac_header in \
7059 netinet/ip.h \
7060 net/if.h \
7061 net/if_arp.h \
7062 net/if_dl.h \
7063 net/if_types.h \
7064 net/route.h \
7065 netinet/if_ether.h \
7066 netinet/if_inarp.h \
7067 netinet/in_pcb.h \
7068 netinet/ip_icmp.h \
7069 netinet/ip_var.h \
7070 netinet/udp.h \
7071 netipx/ipx.h \
7072 sys/un.h \
7074 do :
7075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7077 #ifdef HAVE_SYS_SOCKET_H
7078 # include <sys/socket.h>
7079 #endif
7080 #ifdef HAVE_SYS_SOCKETVAR_H
7081 # include <sys/socketvar.h>
7082 #endif
7083 #ifdef HAVE_NET_ROUTE_H
7084 # include <net/route.h>
7085 #endif
7086 #ifdef HAVE_NETINET_IN_H
7087 # include <netinet/in.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IN_SYSTM_H
7090 # include <netinet/in_systm.h>
7091 #endif
7092 #ifdef HAVE_NET_IF_H
7093 # include <net/if.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IP_H
7096 # include <netinet/ip.h>
7097 #endif
7099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7100 cat >>confdefs.h <<_ACEOF
7101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7102 _ACEOF
7106 done
7109 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7110 do :
7111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7113 #ifdef HAVE_ALIAS_H
7114 # include <alias.h>
7115 #endif
7116 #ifdef HAVE_SYS_SOCKET_H
7117 # include <sys/socket.h>
7118 #endif
7119 #ifdef HAVE_SYS_SOCKETVAR_H
7120 # include <sys/socketvar.h>
7121 #endif
7122 #ifdef HAVE_SYS_TIMEOUT_H
7123 # include <sys/timeout.h>
7124 #endif
7125 #ifdef HAVE_NETINET_IN_H
7126 # include <netinet/in.h>
7127 #endif
7128 #ifdef HAVE_NETINET_IN_SYSTM_H
7129 # include <netinet/in_systm.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IP_H
7132 # include <netinet/ip.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IP_VAR_H
7135 # include <netinet/ip_var.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IP_ICMP_H
7138 # include <netinet/ip_icmp.h>
7139 #endif
7140 #ifdef HAVE_NETINET_UDP_H
7141 # include <netinet/udp.h>
7142 #endif
7143 #ifdef HAVE_NETINET_TCP_H
7144 # include <netinet/tcp.h>
7145 #endif
7146 #ifdef HAVE_NETINET_TCP_TIMER_H
7147 #include <netinet/tcp_timer.h>
7148 #endif
7150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7151 cat >>confdefs.h <<_ACEOF
7152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7153 _ACEOF
7157 done
7160 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7161 do :
7162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7164 #ifdef HAVE_ASM_TYPES_H
7165 # include <asm/types.h>
7166 #endif
7167 #ifdef HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7169 #endif
7170 #ifdef HAVE_LINUX_TYPES_H
7171 # include <linux/types.h>
7172 #endif
7174 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7177 _ACEOF
7181 done
7184 for ac_header in mach-o/dyld_images.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7187 # include <stdbool.h>
7188 #endif
7189 #ifdef HAVE_STDINT_H
7190 # include <stdint.h>
7191 #endif
7193 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7196 _ACEOF
7200 done
7203 for ac_header in resolv.h
7204 do :
7205 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7206 #ifdef HAVE_SYS_SOCKET_H
7207 # include <sys/socket.h>
7208 #endif
7209 #ifdef HAVE_NETINET_IN_H
7210 # include <netinet/in.h>
7211 #endif
7212 #ifdef HAVE_ARPA_NAMESER_H
7213 # include <arpa/nameser.h>
7214 #endif
7216 if test "x$ac_cv_header_resolv_h" = xyes; then :
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_RESOLV_H 1
7219 _ACEOF
7223 done
7226 for ac_header in ifaddrs.h
7227 do :
7228 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7230 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7231 cat >>confdefs.h <<_ACEOF
7232 #define HAVE_IFADDRS_H 1
7233 _ACEOF
7237 done
7240 for ac_header in sys/ucontext.h
7241 do :
7242 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7244 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define HAVE_SYS_UCONTEXT_H 1
7247 _ACEOF
7251 done
7254 for ac_header in sys/thr.h
7255 do :
7256 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7257 #ifdef HAVE_SYS_UCONTEXT_H
7258 #include <sys/ucontext.h>
7259 #endif
7261 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7262 cat >>confdefs.h <<_ACEOF
7263 #define HAVE_SYS_THR_H 1
7264 _ACEOF
7268 done
7271 for ac_header in pthread_np.h
7272 do :
7273 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7274 #include <pthread.h>
7275 #endif
7277 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7278 cat >>confdefs.h <<_ACEOF
7279 #define HAVE_PTHREAD_NP_H 1
7280 _ACEOF
7284 done
7287 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7288 do :
7289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7291 #include <sys/time.h>
7292 #endif
7293 #include <sys/types.h>
7294 #ifdef HAVE_ASM_TYPES_H
7295 #include <asm/types.h>
7296 #endif
7298 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7299 cat >>confdefs.h <<_ACEOF
7300 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7301 _ACEOF
7305 done
7308 for ac_header in libprocstat.h
7309 do :
7310 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7311 #include <sys/param.h>
7312 #endif
7313 #ifdef HAVE_SYS_QUEUE_H
7314 #include <sys/queue.h>
7315 #endif
7316 #ifdef HAVE_SYS_SOCKET_H
7317 #include <sys/socket.h>
7318 #endif
7320 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7321 cat >>confdefs.h <<_ACEOF
7322 #define HAVE_LIBPROCSTAT_H 1
7323 _ACEOF
7327 done
7331 dlldir="\${libdir}/wine"
7333 DLLFLAGS="-D_REENTRANT"
7335 LDRPATH_INSTALL=""
7337 LDRPATH_LOCAL=""
7339 LDEXECFLAGS=""
7341 LIBEXT="so"
7342 DLLEXT=".so"
7343 IMPLIBEXT="def"
7344 # Extract the first word of "ldd", so it can be a program name with args.
7345 set dummy ldd; ac_word=$2
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7347 $as_echo_n "checking for $ac_word... " >&6; }
7348 if ${ac_cv_path_LDD+:} false; then :
7349 $as_echo_n "(cached) " >&6
7350 else
7351 case $LDD in
7352 [\\/]* | ?:[\\/]*)
7353 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 as_dummy="/sbin:/usr/sbin:$PATH"
7358 for as_dir in $as_dummy
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7372 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7374 esac
7376 LDD=$ac_cv_path_LDD
7377 if test -n "$LDD"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7379 $as_echo "$LDD" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7388 set dummy ${ac_tool_prefix}otool; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_OTOOL+:} false; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$OTOOL"; then
7395 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 OTOOL=$ac_cv_prog_OTOOL
7415 if test -n "$OTOOL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7417 $as_echo "$OTOOL" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7425 if test -z "$ac_cv_prog_OTOOL"; then
7426 ac_ct_OTOOL=$OTOOL
7427 # Extract the first word of "otool", so it can be a program name with args.
7428 set dummy otool; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$ac_ct_OTOOL"; then
7435 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_ac_ct_OTOOL="otool"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7455 if test -n "$ac_ct_OTOOL"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7457 $as_echo "$ac_ct_OTOOL" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7463 if test "x$ac_ct_OTOOL" = x; then
7464 OTOOL="otool"
7465 else
7466 case $cross_compiling:$ac_tool_warned in
7467 yes:)
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned=yes ;;
7471 esac
7472 OTOOL=$ac_ct_OTOOL
7474 else
7475 OTOOL="$ac_cv_prog_OTOOL"
7478 if test -n "$ac_tool_prefix"; then
7479 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7480 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_READELF+:} false; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$READELF"; then
7487 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 READELF=$ac_cv_prog_READELF
7507 if test -n "$READELF"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7509 $as_echo "$READELF" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7517 if test -z "$ac_cv_prog_READELF"; then
7518 ac_ct_READELF=$READELF
7519 # Extract the first word of "readelf", so it can be a program name with args.
7520 set dummy readelf; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7524 $as_echo_n "(cached) " >&6
7525 else
7526 if test -n "$ac_ct_READELF"; then
7527 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7532 IFS=$as_save_IFS
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7536 ac_cv_prog_ac_ct_READELF="readelf"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 break 2
7540 done
7541 done
7542 IFS=$as_save_IFS
7546 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7547 if test -n "$ac_ct_READELF"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7549 $as_echo "$ac_ct_READELF" >&6; }
7550 else
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7555 if test "x$ac_ct_READELF" = x; then
7556 READELF="true"
7557 else
7558 case $cross_compiling:$ac_tool_warned in
7559 yes:)
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7562 ac_tool_warned=yes ;;
7563 esac
7564 READELF=$ac_ct_READELF
7566 else
7567 READELF="$ac_cv_prog_READELF"
7570 wine_rules_file=conf$$rules.make
7571 rm -f $wine_rules_file
7572 SUBDIRS=""
7574 DISABLED_SUBDIRS=""
7576 CONFIGURE_TARGETS=""
7578 ALL_TEST_RESOURCES=""
7581 wine_fn_append_file ()
7583 as_fn_append $1 " \\$as_nl $2"
7586 wine_fn_append_rule ()
7588 $as_echo "$1" >>$wine_rules_file
7591 wine_fn_has_flag ()
7593 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7596 wine_fn_all_rules ()
7598 wine_fn_append_file SUBDIRS $ac_dir
7599 wine_fn_append_rule \
7600 "all: $ac_dir
7601 .PHONY: $ac_dir
7602 $ac_dir: dummy
7603 @cd $ac_dir && \$(MAKE)"
7606 wine_fn_install_rules ()
7608 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7610 wine_fn_append_rule \
7611 ".PHONY: $ac_dir/install $ac_dir/uninstall
7612 $ac_dir/install:: $ac_dir
7613 @cd $ac_dir && \$(MAKE) install
7614 $ac_dir/uninstall::
7615 @cd $ac_dir && \$(MAKE) uninstall
7616 install:: $ac_dir/install
7617 __uninstall__: $ac_dir/uninstall"
7619 if wine_fn_has_flag install-lib
7620 then
7621 wine_fn_append_rule \
7622 ".PHONY: $ac_dir/install-lib
7623 $ac_dir/install-lib:: $ac_dir
7624 @cd $ac_dir && \$(MAKE) install-lib
7625 install-lib:: $ac_dir/install-lib"
7628 if wine_fn_has_flag install-dev
7629 then
7630 wine_fn_append_rule \
7631 ".PHONY: $ac_dir/install-dev
7632 $ac_dir/install-dev:: $ac_dir
7633 @cd $ac_dir && \$(MAKE) install-dev
7634 install-dev:: $ac_dir/install-dev"
7638 wine_fn_clean_rules ()
7640 ac_clean=$@
7642 if wine_fn_has_flag clean
7643 then
7644 wine_fn_append_rule \
7645 "$ac_dir/clean: dummy
7646 @cd $ac_dir && \$(MAKE) clean"
7647 else
7648 wine_fn_append_rule \
7649 "$ac_dir/clean: dummy
7650 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7652 wine_fn_append_rule \
7653 "__clean__: $ac_dir/clean
7654 .PHONY: $ac_dir/clean"
7657 wine_fn_disabled_rules ()
7659 ac_clean=$@
7661 wine_fn_append_file SUBDIRS $ac_dir
7662 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7663 wine_fn_append_rule \
7664 "__clean__: $ac_dir/clean
7665 .PHONY: $ac_dir/clean
7666 $ac_dir/clean: dummy
7667 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7670 wine_fn_config_makefile ()
7672 ac_dir=$1
7673 ac_enable=$2
7674 ac_flags=$3
7676 case $ac_dir in
7677 fonts|server) test -z "$with_wine64" || return ;;
7678 esac
7679 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7680 wine_fn_disabled_rules; return
7682 wine_fn_all_rules
7683 wine_fn_install_rules
7684 wine_fn_clean_rules
7687 wine_fn_config_lib ()
7689 ac_name=$1
7690 ac_flags=$2
7691 ac_dir=dlls/$ac_name
7692 ac_deps="include"
7694 if test "x$enable_tools" = xno; then :
7696 else
7697 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7699 wine_fn_all_rules
7700 wine_fn_clean_rules
7702 wine_fn_append_rule \
7703 ".PHONY: $ac_dir/install $ac_dir/uninstall
7704 $ac_dir/install:: $ac_dir
7705 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7708 install install-dev:: $ac_dir/install
7709 __uninstall__: $ac_dir/uninstall
7710 __builddeps__: $ac_dir
7711 $ac_dir: $ac_deps"
7714 wine_fn_config_dll ()
7716 ac_name=$1
7717 ac_dir=dlls/$ac_name
7718 ac_enable=$2
7719 ac_flags=$3
7720 ac_implib=${4:-$ac_name}
7721 ac_file=$ac_dir/lib$ac_implib
7722 ac_dll=$ac_name
7723 ac_deps="include"
7724 ac_implibflags=""
7726 if test "x$enable_tools" = xno; then :
7728 else
7729 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7731 case $ac_name in
7732 *.*16) ac_implibflags=" -m16" ;;
7733 *.*) ;;
7734 *) ac_dll=$ac_dll.dll ;;
7735 esac
7737 ac_clean=
7738 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7739 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7741 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7742 if test "$ac_enable" != enable_win16
7743 then
7744 wine_fn_clean_rules $ac_clean
7745 wine_fn_append_file SUBDIRS $ac_dir
7746 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7747 else
7748 wine_fn_disabled_rules $ac_clean
7749 return
7751 else
7752 wine_fn_all_rules
7753 wine_fn_clean_rules $ac_clean
7754 wine_fn_append_rule \
7755 "$ac_dir: __builddeps__
7756 manpages htmlpages sgmlpages xmlpages::
7757 @cd $ac_dir && \$(MAKE) \$@
7758 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7759 install install-lib:: $ac_dir/install-lib
7760 __uninstall__: $ac_dir/uninstall"
7761 if test -n "$DLLEXT"
7762 then
7763 wine_fn_append_rule \
7764 "$ac_dir/install-lib:: $ac_dir
7765 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7766 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7769 else
7770 wine_fn_append_rule \
7771 "$ac_dir/install-lib:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7778 if wine_fn_has_flag staticimplib
7779 then
7780 wine_fn_append_rule \
7781 "__builddeps__: $ac_file.a
7782 $ac_file.a $ac_file.cross.a: $ac_deps
7783 $ac_file.a: dummy
7784 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7785 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7786 $ac_dir/install-dev:: $ac_file.a
7787 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7790 install install-dev:: $ac_dir/install-dev
7791 __uninstall__: $ac_dir/uninstall"
7793 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7794 then
7795 wine_fn_append_rule \
7796 "__builddeps__: $ac_file.cross.a
7797 $ac_file.cross.a: dummy
7798 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7801 elif wine_fn_has_flag implib
7802 then
7803 wine_fn_append_rule \
7804 "__builddeps__: $ac_file.$IMPLIBEXT
7805 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7806 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7807 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7808 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7809 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7810 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7811 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7812 $ac_dir/uninstall::
7813 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7814 install install-dev:: $ac_dir/install-dev
7815 __uninstall__: $ac_dir/uninstall"
7816 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7817 then
7818 wine_fn_append_rule \
7819 "__builddeps__: $ac_file.cross.a
7820 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7821 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7826 wine_fn_config_program ()
7828 ac_name=$1
7829 ac_dir=programs/$ac_name
7830 ac_enable=$2
7831 ac_flags=$3
7832 ac_program=$ac_name
7834 case $ac_name in
7835 *.*) ;;
7836 *) ac_program=$ac_program.exe ;;
7837 esac
7839 ac_clean=
7840 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7841 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7843 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7844 wine_fn_disabled_rules $ac_clean; return
7847 wine_fn_all_rules
7848 wine_fn_clean_rules $ac_clean
7849 wine_fn_append_rule "$ac_dir: __builddeps__"
7851 wine_fn_has_flag install || return
7852 wine_fn_append_rule \
7853 ".PHONY: $ac_dir/install $ac_dir/uninstall
7854 install install-lib:: $ac_dir/install
7855 __uninstall__: $ac_dir/uninstall"
7857 if test -n "$DLLEXT"
7858 then
7859 wine_fn_append_rule \
7860 "$ac_dir/install:: $ac_dir
7861 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7862 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7863 $ac_dir/uninstall::
7864 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7866 if test -z "$with_wine64" && wine_fn_has_flag installbin
7867 then
7868 wine_fn_append_rule \
7869 "$ac_dir/install:: __tooldeps__
7870 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7871 $ac_dir/uninstall::
7872 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7874 else
7875 wine_fn_append_rule \
7876 "$ac_dir/install:: $ac_dir
7877 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7878 $ac_dir/uninstall::
7879 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7882 if test -z "$with_wine64" && wine_fn_has_flag manpage
7883 then
7884 wine_fn_append_rule \
7885 "$ac_dir/install:: $ac_dir
7886 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7887 $ac_dir/uninstall::
7888 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7892 wine_fn_config_test ()
7894 ac_dir=$1
7895 ac_name=$2
7896 ac_flags=$3
7898 ac_clean=
7899 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7900 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7902 if test "x$enable_tests" = xno; then :
7903 wine_fn_disabled_rules $ac_clean; return
7906 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7907 wine_fn_all_rules
7908 wine_fn_clean_rules $ac_clean
7910 wine_fn_append_rule \
7911 "$ac_dir: __builddeps__
7912 programs/winetest: $ac_dir
7913 check test: $ac_dir/test
7914 .PHONY: $ac_dir/test
7915 $ac_dir/test: dummy
7916 @cd $ac_dir && \$(MAKE) test
7917 testclean::
7918 \$(RM) $ac_dir/*.ok"
7920 if test -n "$CROSSTARGET"
7921 then
7922 wine_fn_append_rule \
7923 "crosstest: $ac_dir/crosstest
7924 .PHONY: $ac_dir/crosstest
7925 $ac_dir/crosstest: __builddeps__ dummy
7926 @cd $ac_dir && \$(MAKE) crosstest"
7930 wine_fn_config_tool ()
7932 ac_dir=$1
7933 ac_flags=$2
7934 if test "x$enable_tools" = xno; then :
7935 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7938 wine_fn_all_rules
7939 wine_fn_install_rules
7940 wine_fn_clean_rules
7942 wine_fn_append_rule "__tooldeps__: $ac_dir"
7943 wine_fn_append_rule "$ac_dir: libs/port"
7944 case $ac_dir in
7945 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7946 esac
7949 wine_fn_config_symlink ()
7951 ac_linkdir=
7952 if test "x$1" = "x-d"
7953 then
7954 ac_linkdir=$2
7955 shift; shift
7957 ac_links=$@
7958 wine_fn_append_rule \
7959 "$ac_links:
7960 @./config.status \$@"
7961 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7962 test -n "$ac_linkdir" || return
7963 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7966 wine_binary="wine"
7967 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7968 WINELOADER_PROGRAMS="$wine_binary"
7970 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7972 case $host_os in
7973 cygwin*|mingw32*)
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_DLLTOOL+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$DLLTOOL"; then
7983 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 DLLTOOL=$ac_cv_prog_DLLTOOL
8003 if test -n "$DLLTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8005 $as_echo "$DLLTOOL" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_DLLTOOL"; then
8014 ac_ct_DLLTOOL=$DLLTOOL
8015 # Extract the first word of "dlltool", so it can be a program name with args.
8016 set dummy dlltool; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_DLLTOOL"; then
8023 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8043 if test -n "$ac_ct_DLLTOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8045 $as_echo "$ac_ct_DLLTOOL" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_DLLTOOL" = x; then
8052 DLLTOOL="false"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 DLLTOOL=$ac_ct_DLLTOOL
8062 else
8063 DLLTOOL="$ac_cv_prog_DLLTOOL"
8066 LIBEXT="dll"
8067 DLLEXT=""
8068 IMPLIBEXT="a"
8069 enable_iphlpapi=${enable_iphlpapi:-no}
8070 enable_kernel32=${enable_kernel32:-no}
8071 enable_msvcrt=${enable_msvcrt:-no}
8072 enable_ntdll=${enable_ntdll:-no}
8073 enable_ws2_32=${enable_ws2_32:-no}
8074 enable_loader=${enable_loader:-no}
8075 enable_server=${enable_server:-no}
8076 with_x=${with_x:-no}
8077 with_pthread=${with_pthread:-no}
8079 crtlibs=""
8080 case $host_os in
8081 mingw32*)
8082 crtlibs="-lmsvcrt"
8083 SOCKET_LIBS="-lws2_32"
8085 esac
8087 LIBWINE_SHAREDLIB="libwine.dll"
8089 LIBWINE_IMPORTLIB="libwine.a"
8091 LIBWINE_INSTALL_LIB="libwine.dll"
8093 LIBWINE_INSTALL_DEV="libwine.a"
8095 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8097 LIBWINE_DEPENDS="wine.def"
8101 darwin*|macosx*)
8102 for ac_header in libunwind.h
8103 do :
8104 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8106 cat >>confdefs.h <<_ACEOF
8107 #define HAVE_LIBUNWIND_H 1
8108 _ACEOF
8112 done
8114 LIBEXT="dylib"
8115 DLLFLAGS="$DLLFLAGS -fPIC"
8116 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8117 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8118 COREFOUNDATION_LIBS="-framework CoreFoundation"
8120 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8122 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8124 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8126 CORESERVICES_LIBS="-framework CoreServices"
8128 APPKIT_LIBS="-framework AppKit"
8130 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8132 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8133 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_wine_try_cflags_saved=$CFLAGS
8137 CFLAGS="$CFLAGS -Wl,-no_pie"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_cflags__Wl__no_pie=yes
8144 else
8145 ac_cv_cflags__Wl__no_pie=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 CFLAGS=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8152 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8153 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8154 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8156 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8157 then
8158 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8161 if test "$ac_cv_header_Security_Security_h" = "yes"
8162 then
8163 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8165 ac_save_LIBS="$LIBS"
8166 LIBS="$LIBS $SECURITY_LIBS"
8167 for ac_func in SSLCopyPeerCertificates
8168 do :
8169 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8170 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8171 cat >>confdefs.h <<_ACEOF
8172 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8173 _ACEOF
8176 done
8178 LIBS="$ac_save_LIBS"
8179 with_gnutls=${with_gnutls:-no}
8181 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8182 then
8183 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8184 then
8185 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8187 else
8188 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8191 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8192 ac_save_LIBS="$LIBS"
8193 LIBS="$LIBS $COREAUDIO_LIBS"
8194 for ac_func in AUGraphAddNode
8195 do :
8196 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8197 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8198 cat >>confdefs.h <<_ACEOF
8199 #define HAVE_AUGRAPHADDNODE 1
8200 _ACEOF
8203 done
8205 LIBS="$ac_save_LIBS"
8207 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8208 then
8209 OPENAL_LIBS="-framework OpenAL"
8212 cat >>confdefs.h <<_ACEOF
8213 #define HAVE_OPENAL 1
8214 _ACEOF
8216 ac_cv_lib_openal=yes
8218 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8219 then
8220 OPENCL_LIBS="-framework OpenCL"
8222 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8224 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8225 then
8226 ac_save_LIBS="$LIBS"
8227 LIBS="$LIBS $IOKIT_LIBS"
8228 for ac_func in IOHIDManagerCreate
8229 do :
8230 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8231 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8232 cat >>confdefs.h <<_ACEOF
8233 #define HAVE_IOHIDMANAGERCREATE 1
8234 _ACEOF
8237 done
8239 LIBS="$ac_save_LIBS"
8241 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8242 then
8243 ac_save_LIBS="$LIBS"
8244 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8246 $as_echo_n "checking for the QuickTime framework... " >&6; }
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 #include <QuickTime/ImageCompression.h>
8251 main ()
8253 CodecManagerVersion(NULL);
8255 return 0;
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8260 $as_echo "yes" >&6; }
8261 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8263 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8264 else
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8267 ac_cv_header_QuickTime_ImageCompression_h=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 LIBS="$ac_save_LIBS"
8273 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8274 then
8275 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8277 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8278 then
8279 CARBON_LIBS="-framework Carbon"
8283 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8284 then
8285 ac_save_LIBS="$LIBS"
8286 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8287 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8288 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8289 enable_winemac_drv=${enable_winemac_drv:-yes}
8292 LIBS="$ac_save_LIBS"
8295 if test "x$enable_win16" = "xyes"
8296 then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8298 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8299 if test "$cross_compiling" = yes; then :
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8301 $as_echo "cross-compiling, assuming yes" >&6; }
8302 else
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 asm(".text\n"
8306 "bad:\tnop;nop\n"
8307 "good:\tnop;nop\n\t"
8308 ".globl _testfunc\n"
8309 "_testfunc:\tcallw good");
8310 extern void testfunc();
8312 main ()
8314 unsigned short *p = (unsigned short *)testfunc;
8315 return p[0] != 0xe866 || p[1] != 0xfffa
8317 return 0;
8319 _ACEOF
8320 if ac_fn_c_try_run "$LINENO"; then :
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8322 $as_echo "yes" >&6; }
8323 else
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 $as_echo "no" >&6; }
8326 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
8328 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8329 conftest.$ac_objext conftest.beam conftest.$ac_ext
8334 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8336 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8338 LIBWINE_INSTALL_DEV="libwine.dylib"
8340 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8342 WINELOADER_DEPENDS="wine_info.plist"
8346 linux-android*)
8347 DLLFLAGS="$DLLFLAGS -fPIC"
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8349 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8350 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 int main(int argc, char **argv) { return 0; }
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8361 else
8362 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8369 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8370 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8371 LDEXECFLAGS="-Wl,--export-dynamic"
8373 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8375 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8376 if eval \${$as_ac_var+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_wine_try_cflags_saved=$CFLAGS
8380 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 int main(int argc, char **argv) { return 0; }
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 eval "$as_ac_var=yes"
8387 else
8388 eval "$as_ac_var=no"
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 eval ac_res=\$$as_ac_var
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8396 $as_echo "$ac_res" >&6; }
8397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8398 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8399 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8400 else
8401 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8403 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8404 if eval \${$as_ac_var+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 eval "$as_ac_var=yes"
8415 else
8416 eval "$as_ac_var=no"
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 eval ac_res=\$$as_ac_var
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8424 $as_echo "$ac_res" >&6; }
8425 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8426 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8427 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8432 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8433 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 ac_wine_try_cflags_saved=$CFLAGS
8437 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8440 int main(int argc, char **argv) { return 0; }
8441 _ACEOF
8442 if ac_fn_c_try_link "$LINENO"; then :
8443 ac_cv_cflags__Wl___enable_new_dtags=yes
8444 else
8445 ac_cv_cflags__Wl___enable_new_dtags=no
8447 rm -f core conftest.err conftest.$ac_objext \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8452 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8453 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8454 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8457 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8458 if ${ac_cv_cflags__Wl__pie+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -Wl,-pie"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 ac_cv_cflags__Wl__pie=yes
8469 else
8470 ac_cv_cflags__Wl__pie=no
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8477 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8478 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8479 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8482 LIBWINE_SHAREDLIB="libwine.so"
8484 LIBWINE_INSTALL_LIB="libwine.so"
8486 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8491 DLLFLAGS="$DLLFLAGS -fPIC"
8492 LDEXECFLAGS=""
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8494 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8495 if ${ac_cv_c_dll_gnuelf+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 void myfunc() {}
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_c_dll_gnuelf="yes"
8506 else
8507 ac_cv_c_dll_gnuelf="no"
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8514 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8515 if test "$ac_cv_c_dll_gnuelf" = "yes"
8516 then
8517 LIBWINE_LDFLAGS="-shared"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8519 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8520 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522 else
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8527 int main(int argc, char **argv) { return 0; }
8528 _ACEOF
8529 if ac_fn_c_try_link "$LINENO"; then :
8530 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8531 else
8532 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8534 rm -f core conftest.err conftest.$ac_objext \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8539 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8540 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8541 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8542 else
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8544 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8545 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 ac_wine_try_cflags_saved=$CFLAGS
8549 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8552 int main(int argc, char **argv) { return 0; }
8553 _ACEOF
8554 if ac_fn_c_try_link "$LINENO"; then :
8555 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8556 else
8557 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8559 rm -f core conftest.err conftest.$ac_objext \
8560 conftest$ac_exeext conftest.$ac_ext
8561 CFLAGS=$ac_wine_try_cflags_saved
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8564 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8565 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8566 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8570 echo '{ global: *; };' >conftest.map
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8572 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8573 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8574 $as_echo_n "(cached) " >&6
8575 else
8576 ac_wine_try_cflags_saved=$CFLAGS
8577 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 int main(int argc, char **argv) { return 0; }
8581 _ACEOF
8582 if ac_fn_c_try_link "$LINENO"; then :
8583 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8584 else
8585 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8587 rm -f core conftest.err conftest.$ac_objext \
8588 conftest$ac_exeext conftest.$ac_ext
8589 CFLAGS=$ac_wine_try_cflags_saved
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8592 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8593 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8594 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8596 rm -f conftest.map
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8599 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8600 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8607 int main(int argc, char **argv) { return 0; }
8608 _ACEOF
8609 if ac_fn_c_try_link "$LINENO"; then :
8610 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8611 else
8612 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8614 rm -f core conftest.err conftest.$ac_objext \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8619 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8620 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8621 LDEXECFLAGS="-Wl,--export-dynamic"
8624 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8626 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8627 if eval \${$as_ac_var+:} false; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 ac_wine_try_cflags_saved=$CFLAGS
8631 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 int main(int argc, char **argv) { return 0; }
8635 _ACEOF
8636 if ac_fn_c_try_link "$LINENO"; then :
8637 eval "$as_ac_var=yes"
8638 else
8639 eval "$as_ac_var=no"
8641 rm -f core conftest.err conftest.$ac_objext \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 eval ac_res=\$$as_ac_var
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8647 $as_echo "$ac_res" >&6; }
8648 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8649 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8650 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8651 else
8652 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8654 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8655 if eval \${$as_ac_var+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 eval "$as_ac_var=yes"
8666 else
8667 eval "$as_ac_var=no"
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 eval ac_res=\$$as_ac_var
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8675 $as_echo "$ac_res" >&6; }
8676 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8677 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8678 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8683 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8684 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 int main(int argc, char **argv) { return 0; }
8692 _ACEOF
8693 if ac_fn_c_try_link "$LINENO"; then :
8694 ac_cv_cflags__Wl___enable_new_dtags=yes
8695 else
8696 ac_cv_cflags__Wl___enable_new_dtags=no
8698 rm -f core conftest.err conftest.$ac_objext \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8703 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8704 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8705 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8708 case $host_cpu in
8709 *i[3456789]86* | x86_64)
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8711 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8712 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8723 else
8724 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8731 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8732 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8733 case $host_os in
8734 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8735 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8736 esac
8737 else
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8739 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8740 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8741 $as_echo_n "(cached) " >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8747 int main(int argc, char **argv) { return 0; }
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8751 else
8752 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8759 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8760 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8761 case $host_os in
8762 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8763 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8764 esac
8766 # Extract the first word of "prelink", so it can be a program name with args.
8767 set dummy prelink; ac_word=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8769 $as_echo_n "checking for $ac_word... " >&6; }
8770 if ${ac_cv_path_PRELINK+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 case $PRELINK in
8774 [\\/]* | ?:[\\/]*)
8775 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 for as_dir in /sbin /usr/sbin $PATH
8781 IFS=$as_save_IFS
8782 test -z "$as_dir" && as_dir=.
8783 for ac_exec_ext in '' $ac_executable_extensions; do
8784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8785 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8787 break 2
8789 done
8790 done
8791 IFS=$as_save_IFS
8793 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8795 esac
8797 PRELINK=$ac_cv_path_PRELINK
8798 if test -n "$PRELINK"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8800 $as_echo "$PRELINK" >&6; }
8801 else
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8803 $as_echo "no" >&6; }
8807 if test "x$PRELINK" = xfalse
8808 then
8809 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8813 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8814 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8825 else
8826 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8833 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8834 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8835 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8838 esac
8840 else
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8842 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8843 if ${ac_cv_c_dll_unixware+:} false; then :
8844 $as_echo_n "(cached) " >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 void myfunc() {}
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 ac_cv_c_dll_unixware="yes"
8854 else
8855 ac_cv_c_dll_unixware="no"
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8862 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8863 if test "$ac_cv_c_dll_unixware" = "yes"
8864 then
8865 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8868 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8870 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8872 LIBWINE_INSTALL_DEV="libwine.so"
8874 LIBWINE_DEPENDS="wine.map"
8877 esac
8879 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8880 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8881 enable_winemac_drv=${enable_winemac_drv:-no}
8882 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8884 CROSSTARGET=""
8886 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8887 then
8888 case "$host_cpu" in
8889 arm*)
8890 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8891 i[3456789]86*)
8892 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
8893 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8894 mingw32-gcc" ;;
8895 x86_64)
8896 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
8897 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8899 ac_prefix_list="" ;;
8900 esac
8901 for ac_prog in $ac_prefix_list
8903 # Extract the first word of "$ac_prog", so it can be a program name with args.
8904 set dummy $ac_prog; ac_word=$2
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8906 $as_echo_n "checking for $ac_word... " >&6; }
8907 if ${ac_cv_prog_CROSSCC+:} false; then :
8908 $as_echo_n "(cached) " >&6
8909 else
8910 if test -n "$CROSSCC"; then
8911 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8912 else
8913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 for as_dir in $PATH
8916 IFS=$as_save_IFS
8917 test -z "$as_dir" && as_dir=.
8918 for ac_exec_ext in '' $ac_executable_extensions; do
8919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8920 ac_cv_prog_CROSSCC="$ac_prog"
8921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8922 break 2
8924 done
8925 done
8926 IFS=$as_save_IFS
8930 CROSSCC=$ac_cv_prog_CROSSCC
8931 if test -n "$CROSSCC"; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8933 $as_echo "$CROSSCC" >&6; }
8934 else
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8936 $as_echo "no" >&6; }
8940 test -n "$CROSSCC" && break
8941 done
8942 test -n "$CROSSCC" || CROSSCC="false"
8944 if test "$CROSSCC" != "false"
8945 then
8946 ac_save_CC="$CC"
8947 CC="$CROSSCC"
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8949 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */
8954 main ()
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_compile "$LINENO"; then :
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8963 $as_echo "yes" >&6; }
8964 set x $CROSSCC
8965 shift
8966 while test $# -ge 1
8968 case "$1" in
8969 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8970 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8971 esac
8972 shift
8973 done
8974 else
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8976 $as_echo "no" >&6; }
8978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8979 CC="$ac_save_CC"
8984 if test "$ac_cv_header_pthread_h" = "yes"
8985 then
8986 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8987 if test "x$ac_cv_func_pthread_create" = xyes; then :
8989 else
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8991 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8992 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8993 $as_echo_n "(cached) " >&6
8994 else
8995 ac_check_lib_save_LIBS=$LIBS
8996 LIBS="-lpthread $LIBS"
8997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9003 #ifdef __cplusplus
9004 extern "C"
9005 #endif
9006 char pthread_create ();
9008 main ()
9010 return pthread_create ();
9012 return 0;
9014 _ACEOF
9015 if ac_fn_c_try_link "$LINENO"; then :
9016 ac_cv_lib_pthread_pthread_create=yes
9017 else
9018 ac_cv_lib_pthread_pthread_create=no
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 LIBS=$ac_check_lib_save_LIBS
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9025 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9026 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9027 PTHREAD_LIBS="-lpthread"
9034 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9035 case "x$with_pthread" in
9036 xno) ;;
9037 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9038 Wine cannot support threads without libpthread.
9039 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9040 esac
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9046 $as_echo_n "checking for X... " >&6; }
9049 # Check whether --with-x was given.
9050 if test "${with_x+set}" = set; then :
9051 withval=$with_x;
9054 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9055 if test "x$with_x" = xno; then
9056 # The user explicitly disabled X.
9057 have_x=disabled
9058 else
9059 case $x_includes,$x_libraries in #(
9060 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9061 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 # One or both of the vars are not set, and there is no cached value.
9065 ac_x_includes=no ac_x_libraries=no
9066 rm -f -r conftest.dir
9067 if mkdir conftest.dir; then
9068 cd conftest.dir
9069 cat >Imakefile <<'_ACEOF'
9070 incroot:
9071 @echo incroot='${INCROOT}'
9072 usrlibdir:
9073 @echo usrlibdir='${USRLIBDIR}'
9074 libdir:
9075 @echo libdir='${LIBDIR}'
9076 _ACEOF
9077 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9078 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9079 for ac_var in incroot usrlibdir libdir; do
9080 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9081 done
9082 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9083 for ac_extension in a so sl dylib la dll; do
9084 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9085 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9086 ac_im_usrlibdir=$ac_im_libdir; break
9088 done
9089 # Screen out bogus values from the imake configuration. They are
9090 # bogus both because they are the default anyway, and because
9091 # using them would break gcc on systems where it needs fixed includes.
9092 case $ac_im_incroot in
9093 /usr/include) ac_x_includes= ;;
9094 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9095 esac
9096 case $ac_im_usrlibdir in
9097 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9098 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9099 esac
9101 cd ..
9102 rm -f -r conftest.dir
9105 # Standard set of common directories for X headers.
9106 # Check X11 before X11Rn because it is often a symlink to the current release.
9107 ac_x_header_dirs='
9108 /usr/X11/include
9109 /usr/X11R7/include
9110 /usr/X11R6/include
9111 /usr/X11R5/include
9112 /usr/X11R4/include
9114 /usr/include/X11
9115 /usr/include/X11R7
9116 /usr/include/X11R6
9117 /usr/include/X11R5
9118 /usr/include/X11R4
9120 /usr/local/X11/include
9121 /usr/local/X11R7/include
9122 /usr/local/X11R6/include
9123 /usr/local/X11R5/include
9124 /usr/local/X11R4/include
9126 /usr/local/include/X11
9127 /usr/local/include/X11R7
9128 /usr/local/include/X11R6
9129 /usr/local/include/X11R5
9130 /usr/local/include/X11R4
9132 /usr/X386/include
9133 /usr/x386/include
9134 /usr/XFree86/include/X11
9136 /usr/include
9137 /usr/local/include
9138 /usr/unsupported/include
9139 /usr/athena/include
9140 /usr/local/x11r5/include
9141 /usr/lpp/Xamples/include
9143 /usr/openwin/include
9144 /usr/openwin/share/include'
9146 if test "$ac_x_includes" = no; then
9147 # Guess where to find include files, by looking for Xlib.h.
9148 # First, try using that file with no special directory specified.
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9151 #include <X11/Xlib.h>
9152 _ACEOF
9153 if ac_fn_c_try_cpp "$LINENO"; then :
9154 # We can compile using X headers with no special include directory.
9155 ac_x_includes=
9156 else
9157 for ac_dir in $ac_x_header_dirs; do
9158 if test -r "$ac_dir/X11/Xlib.h"; then
9159 ac_x_includes=$ac_dir
9160 break
9162 done
9164 rm -f conftest.err conftest.i conftest.$ac_ext
9165 fi # $ac_x_includes = no
9167 if test "$ac_x_libraries" = no; then
9168 # Check for the libraries.
9169 # See if we find them without any special options.
9170 # Don't add to $LIBS permanently.
9171 ac_save_LIBS=$LIBS
9172 LIBS="-lX11 $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9175 #include <X11/Xlib.h>
9177 main ()
9179 XrmInitialize ()
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 LIBS=$ac_save_LIBS
9186 # We can link X programs with no special library path.
9187 ac_x_libraries=
9188 else
9189 LIBS=$ac_save_LIBS
9190 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9192 # Don't even attempt the hair of trying to link an X program!
9193 for ac_extension in a so sl dylib la dll; do
9194 if test -r "$ac_dir/libX11.$ac_extension"; then
9195 ac_x_libraries=$ac_dir
9196 break 2
9198 done
9199 done
9201 rm -f core conftest.err conftest.$ac_objext \
9202 conftest$ac_exeext conftest.$ac_ext
9203 fi # $ac_x_libraries = no
9205 case $ac_x_includes,$ac_x_libraries in #(
9206 no,* | *,no | *\'*)
9207 # Didn't find X, or a directory has "'" in its name.
9208 ac_cv_have_x="have_x=no";; #(
9210 # Record where we found X for the cache.
9211 ac_cv_have_x="have_x=yes\
9212 ac_x_includes='$ac_x_includes'\
9213 ac_x_libraries='$ac_x_libraries'"
9214 esac
9216 ;; #(
9217 *) have_x=yes;;
9218 esac
9219 eval "$ac_cv_have_x"
9220 fi # $with_x != no
9222 if test "$have_x" != yes; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9224 $as_echo "$have_x" >&6; }
9225 no_x=yes
9226 else
9227 # If each of the values was on the command line, it overrides each guess.
9228 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9229 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9230 # Update the cache value to reflect the command line values.
9231 ac_cv_have_x="have_x=yes\
9232 ac_x_includes='$x_includes'\
9233 ac_x_libraries='$x_libraries'"
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9235 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9238 if test "$no_x" = yes; then
9239 # Not all programs may use this symbol, but it does not hurt to define it.
9241 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9243 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9244 else
9245 if test -n "$x_includes"; then
9246 X_CFLAGS="$X_CFLAGS -I$x_includes"
9249 # It would also be nice to do this for all -L options, not just this one.
9250 if test -n "$x_libraries"; then
9251 X_LIBS="$X_LIBS -L$x_libraries"
9252 # For Solaris; some versions of Sun CC require a space after -R and
9253 # others require no space. Words are not sufficient . . . .
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9255 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9256 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9257 ac_xsave_c_werror_flag=$ac_c_werror_flag
9258 ac_c_werror_flag=yes
9259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9263 main ()
9267 return 0;
9269 _ACEOF
9270 if ac_fn_c_try_link "$LINENO"; then :
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 $as_echo "no" >&6; }
9273 X_LIBS="$X_LIBS -R$x_libraries"
9274 else
9275 LIBS="$ac_xsave_LIBS -R $x_libraries"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9280 main ()
9284 return 0;
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9289 $as_echo "yes" >&6; }
9290 X_LIBS="$X_LIBS -R $x_libraries"
9291 else
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9293 $as_echo "neither works" >&6; }
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 ac_c_werror_flag=$ac_xsave_c_werror_flag
9301 LIBS=$ac_xsave_LIBS
9304 # Check for system-dependent libraries X programs must link with.
9305 # Do this before checking for the system-independent R6 libraries
9306 # (-lICE), since we may need -lsocket or whatever for X linking.
9308 if test "$ISC" = yes; then
9309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9310 else
9311 # Martyn Johnson says this is needed for Ultrix, if the X
9312 # libraries were built with DECnet support. And Karl Berry says
9313 # the Alpha needs dnet_stub (dnet does not exist).
9314 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9321 #ifdef __cplusplus
9322 extern "C"
9323 #endif
9324 char XOpenDisplay ();
9326 main ()
9328 return XOpenDisplay ();
9330 return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9335 else
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9337 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9338 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-ldnet $LIBS"
9343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus
9350 extern "C"
9351 #endif
9352 char dnet_ntoa ();
9354 main ()
9356 return dnet_ntoa ();
9358 return 0;
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_lib_dnet_dnet_ntoa=yes
9363 else
9364 ac_cv_lib_dnet_dnet_ntoa=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 LIBS=$ac_check_lib_save_LIBS
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9371 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9372 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9373 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9376 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9378 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9379 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-ldnet_stub $LIBS"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char dnet_ntoa ();
9395 main ()
9397 return dnet_ntoa ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9404 else
9405 ac_cv_lib_dnet_stub_dnet_ntoa=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS=$ac_check_lib_save_LIBS
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9412 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9413 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9414 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS="$ac_xsave_LIBS"
9423 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9424 # to get the SysV transport functions.
9425 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9426 # needs -lnsl.
9427 # The nsl library prevents programs from opening the X display
9428 # on Irix 5.2, according to T.E. Dickey.
9429 # The functions gethostbyname, getservbyname, and inet_addr are
9430 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9431 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9432 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9436 if test $ac_cv_func_gethostbyname = no; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9438 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9439 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9440 $as_echo_n "(cached) " >&6
9441 else
9442 ac_check_lib_save_LIBS=$LIBS
9443 LIBS="-lnsl $LIBS"
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9450 #ifdef __cplusplus
9451 extern "C"
9452 #endif
9453 char gethostbyname ();
9455 main ()
9457 return gethostbyname ();
9459 return 0;
9461 _ACEOF
9462 if ac_fn_c_try_link "$LINENO"; then :
9463 ac_cv_lib_nsl_gethostbyname=yes
9464 else
9465 ac_cv_lib_nsl_gethostbyname=no
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9472 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9473 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9477 if test $ac_cv_lib_nsl_gethostbyname = no; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9479 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9480 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lbsd $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char gethostbyname ();
9496 main ()
9498 return gethostbyname ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_bsd_gethostbyname=yes
9505 else
9506 ac_cv_lib_bsd_gethostbyname=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9513 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9514 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9515 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9521 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9522 # socket/setsockopt and other routines are undefined under SCO ODT
9523 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9524 # on later versions), says Simon Leinen: it contains gethostby*
9525 # variants that don't use the name server (or something). -lsocket
9526 # must be given before -lnsl if both are needed. We assume that
9527 # if connect needs -lnsl, so does gethostbyname.
9528 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9529 if test "x$ac_cv_func_connect" = xyes; then :
9533 if test $ac_cv_func_connect = no; then
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9535 $as_echo_n "checking for connect in -lsocket... " >&6; }
9536 if ${ac_cv_lib_socket_connect+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_check_lib_save_LIBS=$LIBS
9540 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9544 /* Override any GCC internal prototype to avoid an error.
9545 Use char because int might match the return type of a GCC
9546 builtin and then its argument prototype would still apply. */
9547 #ifdef __cplusplus
9548 extern "C"
9549 #endif
9550 char connect ();
9552 main ()
9554 return connect ();
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9560 ac_cv_lib_socket_connect=yes
9561 else
9562 ac_cv_lib_socket_connect=no
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_lib_save_LIBS
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9569 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9570 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9571 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9576 # Guillermo Gomez says -lposix is necessary on A/UX.
9577 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9578 if test "x$ac_cv_func_remove" = xyes; then :
9582 if test $ac_cv_func_remove = no; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9584 $as_echo_n "checking for remove in -lposix... " >&6; }
9585 if ${ac_cv_lib_posix_remove+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lposix $LIBS"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9596 #ifdef __cplusplus
9597 extern "C"
9598 #endif
9599 char remove ();
9601 main ()
9603 return remove ();
9605 return 0;
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"; then :
9609 ac_cv_lib_posix_remove=yes
9610 else
9611 ac_cv_lib_posix_remove=no
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9618 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9619 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9620 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9625 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9626 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9627 if test "x$ac_cv_func_shmat" = xyes; then :
9631 if test $ac_cv_func_shmat = no; then
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9633 $as_echo_n "checking for shmat in -lipc... " >&6; }
9634 if ${ac_cv_lib_ipc_shmat+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_lib_save_LIBS=$LIBS
9638 LIBS="-lipc $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char shmat ();
9650 main ()
9652 return shmat ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 ac_cv_lib_ipc_shmat=yes
9659 else
9660 ac_cv_lib_ipc_shmat=no
9662 rm -f core conftest.err conftest.$ac_objext \
9663 conftest$ac_exeext conftest.$ac_ext
9664 LIBS=$ac_check_lib_save_LIBS
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9667 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9668 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9669 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9675 # Check for libraries that X11R6 Xt/Xaw programs need.
9676 ac_save_LDFLAGS=$LDFLAGS
9677 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9678 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9679 # check for ICE first), but we must link in the order -lSM -lICE or
9680 # we get undefined symbols. So assume we have SM if we have ICE.
9681 # These have to be linked with before -lX11, unlike the other
9682 # libraries we check for below, so use a different variable.
9683 # John Interrante, Karl Berry
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9685 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9686 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9687 $as_echo_n "(cached) " >&6
9688 else
9689 ac_check_lib_save_LIBS=$LIBS
9690 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9697 #ifdef __cplusplus
9698 extern "C"
9699 #endif
9700 char IceConnectionNumber ();
9702 main ()
9704 return IceConnectionNumber ();
9706 return 0;
9708 _ACEOF
9709 if ac_fn_c_try_link "$LINENO"; then :
9710 ac_cv_lib_ICE_IceConnectionNumber=yes
9711 else
9712 ac_cv_lib_ICE_IceConnectionNumber=no
9714 rm -f core conftest.err conftest.$ac_objext \
9715 conftest$ac_exeext conftest.$ac_ext
9716 LIBS=$ac_check_lib_save_LIBS
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9719 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9720 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9721 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9724 LDFLAGS=$ac_save_LDFLAGS
9729 if test "$have_x" = "yes"
9730 then
9731 ac_save_CPPFLAGS="$CPPFLAGS"
9732 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9735 $as_echo_n "checking for -lX11... " >&6; }
9736 if ${ac_cv_lib_soname_X11+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 ac_check_soname_save_LIBS=$LIBS
9740 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9742 /* end confdefs.h. */
9744 /* Override any GCC internal prototype to avoid an error.
9745 Use char because int might match the return type of a GCC
9746 builtin and then its argument prototype would still apply. */
9747 #ifdef __cplusplus
9748 extern "C"
9749 #endif
9750 char XCreateWindow ();
9752 main ()
9754 return XCreateWindow ();
9756 return 0;
9758 _ACEOF
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 case "$LIBEXT" in
9761 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9762 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'` ;;
9763 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9764 if ${ac_cv_lib_soname_X11:+false} :; then :
9765 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9766 fi ;;
9767 esac
9769 rm -f core conftest.err conftest.$ac_objext \
9770 conftest$ac_exeext conftest.$ac_ext
9771 LIBS=$ac_check_soname_save_LIBS
9773 if ${ac_cv_lib_soname_X11:+false} :; then :
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9775 $as_echo "not found" >&6; }
9777 else
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9779 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9781 cat >>confdefs.h <<_ACEOF
9782 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9783 _ACEOF
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9788 $as_echo_n "checking for -lXext... " >&6; }
9789 if ${ac_cv_lib_soname_Xext+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_check_soname_save_LIBS=$LIBS
9793 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9797 /* Override any GCC internal prototype to avoid an error.
9798 Use char because int might match the return type of a GCC
9799 builtin and then its argument prototype would still apply. */
9800 #ifdef __cplusplus
9801 extern "C"
9802 #endif
9803 char XextCreateExtension ();
9805 main ()
9807 return XextCreateExtension ();
9809 return 0;
9811 _ACEOF
9812 if ac_fn_c_try_link "$LINENO"; then :
9813 case "$LIBEXT" in
9814 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9815 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'` ;;
9816 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9817 if ${ac_cv_lib_soname_Xext:+false} :; then :
9818 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9819 fi ;;
9820 esac
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 LIBS=$ac_check_soname_save_LIBS
9826 if ${ac_cv_lib_soname_Xext:+false} :; then :
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9828 $as_echo "not found" >&6; }
9830 else
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9832 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9834 cat >>confdefs.h <<_ACEOF
9835 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9836 _ACEOF
9838 X_LIBS="$X_LIBS -lXext"
9840 X_LIBS="$X_LIBS -lX11"
9842 for ac_header in X11/Xlib.h \
9843 X11/XKBlib.h \
9844 X11/Xutil.h \
9845 X11/Xcursor/Xcursor.h \
9846 X11/extensions/shape.h \
9847 X11/extensions/XInput.h \
9848 X11/extensions/XInput2.h \
9849 X11/extensions/XShm.h \
9850 X11/extensions/Xcomposite.h \
9851 X11/extensions/Xinerama.h \
9852 X11/extensions/Xrandr.h \
9853 X11/extensions/Xrender.h \
9854 X11/extensions/xf86vmode.h \
9855 X11/extensions/xf86vmproto.h
9856 do :
9857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9859 # include <X11/Xlib.h>
9860 #endif
9861 #ifdef HAVE_X11_XUTIL_H
9862 # include <X11/Xutil.h>
9863 #endif
9865 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9866 cat >>confdefs.h <<_ACEOF
9867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9868 _ACEOF
9872 done
9875 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9876 then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9878 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9879 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9880 $as_echo_n "(cached) " >&6
9881 else
9882 ac_check_lib_save_LIBS=$LIBS
9883 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9887 /* Override any GCC internal prototype to avoid an error.
9888 Use char because int might match the return type of a GCC
9889 builtin and then its argument prototype would still apply. */
9890 #ifdef __cplusplus
9891 extern "C"
9892 #endif
9893 char XkbQueryExtension ();
9895 main ()
9897 return XkbQueryExtension ();
9899 return 0;
9901 _ACEOF
9902 if ac_fn_c_try_link "$LINENO"; then :
9903 ac_cv_lib_X11_XkbQueryExtension=yes
9904 else
9905 ac_cv_lib_X11_XkbQueryExtension=no
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 LIBS=$ac_check_lib_save_LIBS
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9912 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9913 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9915 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9921 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9922 then
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9924 $as_echo_n "checking for -lXcursor... " >&6; }
9925 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_check_soname_save_LIBS=$LIBS
9929 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9936 #ifdef __cplusplus
9937 extern "C"
9938 #endif
9939 char XcursorImageLoadCursor ();
9941 main ()
9943 return XcursorImageLoadCursor ();
9945 return 0;
9947 _ACEOF
9948 if ac_fn_c_try_link "$LINENO"; then :
9949 case "$LIBEXT" in
9950 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9951 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'` ;;
9952 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9953 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9954 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9955 fi ;;
9956 esac
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 LIBS=$ac_check_soname_save_LIBS
9962 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9964 $as_echo "not found" >&6; }
9966 else
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9968 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9970 cat >>confdefs.h <<_ACEOF
9971 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9972 _ACEOF
9977 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9978 case "x$with_xcursor" in
9979 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9980 xno) ;;
9981 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9982 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9983 esac
9987 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9988 then
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9990 $as_echo_n "checking for -lXi... " >&6; }
9991 if ${ac_cv_lib_soname_Xi+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_check_soname_save_LIBS=$LIBS
9995 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 char XOpenDevice ();
10007 main ()
10009 return XOpenDevice ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 case "$LIBEXT" in
10016 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10017 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'` ;;
10018 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10019 if ${ac_cv_lib_soname_Xi:+false} :; then :
10020 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10021 fi ;;
10022 esac
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 LIBS=$ac_check_soname_save_LIBS
10028 if ${ac_cv_lib_soname_Xi:+false} :; then :
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10030 $as_echo "not found" >&6; }
10032 else
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10034 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10036 cat >>confdefs.h <<_ACEOF
10037 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10038 _ACEOF
10043 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10044 case "x$with_xinput" in
10045 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10046 xno) ;;
10047 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10048 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10049 esac
10053 if test "x$ac_cv_lib_soname_Xi" != x
10054 then
10055 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10056 case "x$with_xinput2" in
10057 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10058 xno) ;;
10059 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10060 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10061 esac
10066 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10067 then
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10069 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10070 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_check_lib_save_LIBS=$LIBS
10074 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10081 #ifdef __cplusplus
10082 extern "C"
10083 #endif
10084 char XShmQueryExtension ();
10086 main ()
10088 return XShmQueryExtension ();
10090 return 0;
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 ac_cv_lib_Xext_XShmQueryExtension=yes
10095 else
10096 ac_cv_lib_Xext_XShmQueryExtension=no
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 LIBS=$ac_check_lib_save_LIBS
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10103 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10104 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10106 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10111 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10112 case "x$with_xshm" in
10113 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10114 xno) ;;
10115 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10116 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10117 esac
10121 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10122 then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10124 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10125 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_check_lib_save_LIBS=$LIBS
10129 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 #ifdef __cplusplus
10137 extern "C"
10138 #endif
10139 char XShapeQueryExtension ();
10141 main ()
10143 return XShapeQueryExtension ();
10145 return 0;
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149 ac_cv_lib_Xext_XShapeQueryExtension=yes
10150 else
10151 ac_cv_lib_Xext_XShapeQueryExtension=no
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS=$ac_check_lib_save_LIBS
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10158 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10159 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10161 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10166 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10167 case "x$with_xshape" in
10168 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10169 xno) ;;
10170 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10171 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10172 esac
10176 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10177 then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10179 $as_echo_n "checking for -lXxf86vm... " >&6; }
10180 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10188 /* Override any GCC internal prototype to avoid an error.
10189 Use char because int might match the return type of a GCC
10190 builtin and then its argument prototype would still apply. */
10191 #ifdef __cplusplus
10192 extern "C"
10193 #endif
10194 char XF86VidModeQueryExtension ();
10196 main ()
10198 return XF86VidModeQueryExtension ();
10200 return 0;
10202 _ACEOF
10203 if ac_fn_c_try_link "$LINENO"; then :
10204 case "$LIBEXT" in
10205 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10206 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'` ;;
10207 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10208 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10209 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10210 fi ;;
10211 esac
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_soname_save_LIBS
10217 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10219 $as_echo "not found" >&6; }
10221 else
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10223 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10225 cat >>confdefs.h <<_ACEOF
10226 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10227 _ACEOF
10232 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10233 case "x$with_xxf86vm" in
10234 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10235 xno) ;;
10236 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10237 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10238 esac
10242 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10243 then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10245 $as_echo_n "checking for -lXrender... " >&6; }
10246 if ${ac_cv_lib_soname_Xrender+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_check_soname_save_LIBS=$LIBS
10250 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10257 #ifdef __cplusplus
10258 extern "C"
10259 #endif
10260 char XRenderQueryExtension ();
10262 main ()
10264 return XRenderQueryExtension ();
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 case "$LIBEXT" in
10271 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10272 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'` ;;
10273 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10274 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10275 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10276 fi ;;
10277 esac
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_soname_save_LIBS
10283 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10285 $as_echo "not found" >&6; }
10287 else
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10289 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10291 cat >>confdefs.h <<_ACEOF
10292 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10293 _ACEOF
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10296 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10297 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_check_lib_save_LIBS=$LIBS
10301 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10308 #ifdef __cplusplus
10309 extern "C"
10310 #endif
10311 char XRenderSetPictureTransform ();
10313 main ()
10315 return XRenderSetPictureTransform ();
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10321 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10322 else
10323 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10325 rm -f core conftest.err conftest.$ac_objext \
10326 conftest$ac_exeext conftest.$ac_ext
10327 LIBS=$ac_check_lib_save_LIBS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10330 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10331 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10333 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10338 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10339 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_check_lib_save_LIBS=$LIBS
10343 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 char XRenderCreateLinearGradient ();
10355 main ()
10357 return XRenderCreateLinearGradient ();
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10364 else
10365 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 LIBS=$ac_check_lib_save_LIBS
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10372 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10373 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10375 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10382 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10383 case "x$with_xrender" in
10384 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10385 xno) ;;
10386 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10387 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10388 esac
10392 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10393 then
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10396 #include <X11/Xlib.h>
10397 #include <X11/extensions/Xrandr.h>
10399 main ()
10401 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10403 return 0;
10405 _ACEOF
10406 if ac_fn_c_try_compile "$LINENO"; then :
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10408 $as_echo_n "checking for -lXrandr... " >&6; }
10409 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_check_soname_save_LIBS=$LIBS
10413 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10417 /* Override any GCC internal prototype to avoid an error.
10418 Use char because int might match the return type of a GCC
10419 builtin and then its argument prototype would still apply. */
10420 #ifdef __cplusplus
10421 extern "C"
10422 #endif
10423 char XRRQueryExtension ();
10425 main ()
10427 return XRRQueryExtension ();
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_link "$LINENO"; then :
10433 case "$LIBEXT" in
10434 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10435 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'` ;;
10436 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10437 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10438 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10439 fi ;;
10440 esac
10442 rm -f core conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_soname_save_LIBS
10446 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10448 $as_echo "not found" >&6; }
10450 else
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10452 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10454 cat >>confdefs.h <<_ACEOF
10455 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10456 _ACEOF
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 #include <X11/Xlib.h>
10461 #include <X11/extensions/Xrandr.h>
10463 main ()
10465 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10467 return 0;
10469 _ACEOF
10470 if ac_fn_c_try_compile "$LINENO"; then :
10472 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10480 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10481 case "x$with_xrandr" in
10482 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10483 xno) ;;
10484 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10485 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10486 esac
10490 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10491 then
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10494 #include <X11/Xlib.h>
10495 #include <X11/extensions/Xinerama.h>
10497 main ()
10499 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10501 return 0;
10503 _ACEOF
10504 if ac_fn_c_try_compile "$LINENO"; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10506 $as_echo_n "checking for -lXinerama... " >&6; }
10507 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_check_soname_save_LIBS=$LIBS
10511 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10515 /* Override any GCC internal prototype to avoid an error.
10516 Use char because int might match the return type of a GCC
10517 builtin and then its argument prototype would still apply. */
10518 #ifdef __cplusplus
10519 extern "C"
10520 #endif
10521 char XineramaQueryScreens ();
10523 main ()
10525 return XineramaQueryScreens ();
10527 return 0;
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 case "$LIBEXT" in
10532 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10533 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'` ;;
10534 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10535 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10536 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10537 fi ;;
10538 esac
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 LIBS=$ac_check_soname_save_LIBS
10544 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10546 $as_echo "not found" >&6; }
10548 else
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10550 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10552 cat >>confdefs.h <<_ACEOF
10553 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10554 _ACEOF
10559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10561 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10562 case "x$with_xinerama" in
10563 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10564 xno) ;;
10565 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10566 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10567 esac
10571 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10572 then
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10574 $as_echo_n "checking for -lXcomposite... " >&6; }
10575 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_soname_save_LIBS=$LIBS
10579 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10586 #ifdef __cplusplus
10587 extern "C"
10588 #endif
10589 char XCompositeRedirectWindow ();
10591 main ()
10593 return XCompositeRedirectWindow ();
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 case "$LIBEXT" in
10600 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10601 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'` ;;
10602 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10603 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10604 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10605 fi ;;
10606 esac
10608 rm -f core conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_soname_save_LIBS
10612 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10614 $as_echo "not found" >&6; }
10616 else
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10618 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10620 cat >>confdefs.h <<_ACEOF
10621 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10622 _ACEOF
10627 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10628 case "x$with_xcomposite" in
10629 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10630 xno) ;;
10631 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10632 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10633 esac
10637 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10638 #include <X11/Xlib.h>
10639 #endif
10641 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10643 cat >>confdefs.h <<_ACEOF
10644 #define HAVE_XICCALLBACK_CALLBACK 1
10645 _ACEOF
10649 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10650 #include <X11/Xlib.h>
10651 #endif
10653 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10655 cat >>confdefs.h <<_ACEOF
10656 #define HAVE_XEVENT_XCOOKIE 1
10657 _ACEOF
10664 opengl_msg=""
10665 if test "x$with_opengl" != "xno"
10666 then
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10668 $as_echo_n "checking for -lGL... " >&6; }
10669 if ${ac_cv_lib_soname_GL+:} false; then :
10670 $as_echo_n "(cached) " >&6
10671 else
10672 ac_check_soname_save_LIBS=$LIBS
10673 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10677 /* Override any GCC internal prototype to avoid an error.
10678 Use char because int might match the return type of a GCC
10679 builtin and then its argument prototype would still apply. */
10680 #ifdef __cplusplus
10681 extern "C"
10682 #endif
10683 char glXCreateContext ();
10685 main ()
10687 return glXCreateContext ();
10689 return 0;
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"; then :
10693 case "$LIBEXT" in
10694 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10695 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'` ;;
10696 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10697 if ${ac_cv_lib_soname_GL:+false} :; then :
10698 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10699 fi ;;
10700 esac
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LIBS=$ac_check_soname_save_LIBS
10706 if ${ac_cv_lib_soname_GL:+false} :; then :
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10708 $as_echo "not found" >&6; }
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10710 $as_echo_n "checking for -lGL... " >&6; }
10711 if ${ac_cv_lib_soname_GL+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_check_soname_save_LIBS=$LIBS
10715 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"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10722 #ifdef __cplusplus
10723 extern "C"
10724 #endif
10725 char glXCreateContext ();
10727 main ()
10729 return glXCreateContext ();
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"; then :
10735 case "$LIBEXT" in
10736 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10737 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'` ;;
10738 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10739 if ${ac_cv_lib_soname_GL:+false} :; then :
10740 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10741 fi ;;
10742 esac
10744 rm -f core conftest.err conftest.$ac_objext \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_soname_save_LIBS
10748 if ${ac_cv_lib_soname_GL:+false} :; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10750 $as_echo "not found" >&6; }
10751 if test -f /usr/X11R6/lib/libGL.a
10752 then
10753 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10754 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10755 else
10756 opengl_msg="No OpenGL library found on this system."
10758 else
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10760 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10762 cat >>confdefs.h <<_ACEOF
10763 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10764 _ACEOF
10766 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"
10768 else
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10770 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10774 _ACEOF
10776 OPENGL_LIBS="-lGL"
10778 if test "x$with_glu" != "xno"
10779 then
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10781 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10782 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10783 $as_echo_n "(cached) " >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10793 #ifdef __cplusplus
10794 extern "C"
10795 #endif
10796 char gluLookAt ();
10798 main ()
10800 return gluLookAt ();
10802 return 0;
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_GLU_gluLookAt=yes
10807 else
10808 ac_cv_lib_GLU_gluLookAt=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10815 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10816 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10820 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10821 case "x$with_glu" in
10822 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10823 xno) ;;
10824 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10825 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10826 esac
10831 if test "x$with_osmesa" != "xno"
10832 then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10834 $as_echo_n "checking for -lOSMesa... " >&6; }
10835 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10836 $as_echo_n "(cached) " >&6
10837 else
10838 ac_check_soname_save_LIBS=$LIBS
10839 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h. */
10843 /* Override any GCC internal prototype to avoid an error.
10844 Use char because int might match the return type of a GCC
10845 builtin and then its argument prototype would still apply. */
10846 #ifdef __cplusplus
10847 extern "C"
10848 #endif
10849 char glAccum ();
10851 main ()
10853 return glAccum ();
10855 return 0;
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"; then :
10859 case "$LIBEXT" in
10860 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10861 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'` ;;
10862 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10863 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10864 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10865 fi ;;
10866 esac
10868 rm -f core conftest.err conftest.$ac_objext \
10869 conftest$ac_exeext conftest.$ac_ext
10870 LIBS=$ac_check_soname_save_LIBS
10872 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10874 $as_echo "not found" >&6; }
10876 else
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10878 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10880 cat >>confdefs.h <<_ACEOF
10881 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10882 _ACEOF
10886 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10887 case "x$with_osmesa" in
10888 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10889 xno) ;;
10890 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10891 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10892 esac
10897 if test -n "$opengl_msg"; then :
10898 case "x$with_opengl" in
10899 x) as_fn_append wine_warnings "|$opengl_msg
10900 OpenGL and Direct3D won't be supported." ;;
10901 xno) ;;
10902 *) as_fn_error $? "$opengl_msg
10903 OpenGL and Direct3D won't be supported.
10904 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10905 esac
10909 CPPFLAGS="$ac_save_CPPFLAGS"
10910 else
10911 X_CFLAGS=""
10912 X_LIBS=""
10914 if test "x$X_LIBS" = "x"; then :
10915 case "x$with_x" in
10916 xno) ;;
10917 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10918 without X support, which probably isn't what you want. You will need
10919 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10920 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10921 esac
10922 enable_winex11_drv=${enable_winex11_drv:-no}
10925 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10927 if test "$ac_cv_header_CL_cl_h" = "yes"
10928 then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10930 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10931 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lOpenCL $LIBS"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char clGetPlatformInfo ();
10947 main ()
10949 return clGetPlatformInfo ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10956 else
10957 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10959 rm -f core conftest.err conftest.$ac_objext \
10960 conftest$ac_exeext conftest.$ac_ext
10961 LIBS=$ac_check_lib_save_LIBS
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10964 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10965 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10966 OPENCL_LIBS="-lOpenCL"
10971 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10972 case "x$with_opencl" in
10973 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10974 xno) ;;
10975 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10976 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10977 esac
10978 enable_opencl=${enable_opencl:-no}
10981 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10982 then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10984 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10985 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10986 $as_echo_n "(cached) " >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-lpcap $LIBS"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
10996 #ifdef __cplusplus
10997 extern "C"
10998 #endif
10999 char pcap_create ();
11001 main ()
11003 return pcap_create ();
11005 return 0;
11007 _ACEOF
11008 if ac_fn_c_try_link "$LINENO"; then :
11009 ac_cv_lib_pcap_pcap_create=yes
11010 else
11011 ac_cv_lib_pcap_pcap_create=no
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11018 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11019 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11020 PCAP_LIBS="-lpcap"
11025 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11026 case "x$with_pcap" in
11027 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11028 xno) ;;
11029 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11030 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11031 esac
11032 enable_wpcap=${enable_wpcap:-no}
11036 if test "x$with_xml" != "xno"
11037 then
11038 if ${XML2_CFLAGS:+false} :; then :
11039 if ${PKG_CONFIG+:} false; then :
11040 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11043 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11044 if ${XML2_LIBS:+false} :; then :
11045 if ${PKG_CONFIG+:} false; then :
11046 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11049 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11050 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11051 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11052 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11053 ac_save_CPPFLAGS=$CPPFLAGS
11054 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11055 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11056 do :
11057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11058 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11059 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11060 cat >>confdefs.h <<_ACEOF
11061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11062 _ACEOF
11066 done
11068 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"
11069 then
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11071 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11072 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11073 $as_echo_n "(cached) " >&6
11074 else
11075 ac_check_lib_save_LIBS=$LIBS
11076 LIBS="-lxml2 $XML2_LIBS $LIBS"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11083 #ifdef __cplusplus
11084 extern "C"
11085 #endif
11086 char xmlParseMemory ();
11088 main ()
11090 return xmlParseMemory ();
11092 return 0;
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 ac_cv_lib_xml2_xmlParseMemory=yes
11097 else
11098 ac_cv_lib_xml2_xmlParseMemory=no
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_lib_save_LIBS
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11105 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11106 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11108 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11110 else
11111 XML2_LIBS=""
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11115 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11116 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11117 $as_echo_n "(cached) " >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lxml2 $XML2_LIBS $LIBS"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 #endif
11130 char xmlReadMemory ();
11132 main ()
11134 return xmlReadMemory ();
11136 return 0;
11138 _ACEOF
11139 if ac_fn_c_try_link "$LINENO"; then :
11140 ac_cv_lib_xml2_xmlReadMemory=yes
11141 else
11142 ac_cv_lib_xml2_xmlReadMemory=no
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_lib_save_LIBS
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11149 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11150 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11152 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11157 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11158 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lxml2 $XML2_LIBS $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char xmlNewDocPI ();
11174 main ()
11176 return xmlNewDocPI ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_xml2_xmlNewDocPI=yes
11183 else
11184 ac_cv_lib_xml2_xmlNewDocPI=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11191 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11192 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11194 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11199 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11200 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_lib_save_LIBS=$LIBS
11204 LIBS="-lxml2 $XML2_LIBS $LIBS"
11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11211 #ifdef __cplusplus
11212 extern "C"
11213 #endif
11214 char xmlSchemaSetParserStructuredErrors ();
11216 main ()
11218 return xmlSchemaSetParserStructuredErrors ();
11220 return 0;
11222 _ACEOF
11223 if ac_fn_c_try_link "$LINENO"; then :
11224 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11225 else
11226 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11228 rm -f core conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_lib_save_LIBS
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11233 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11234 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11236 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11241 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11242 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-lxml2 $XML2_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char xmlSchemaSetValidStructuredErrors ();
11258 main ()
11260 return xmlSchemaSetValidStructuredErrors ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11267 else
11268 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11275 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11276 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11278 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11283 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11284 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11285 $as_echo_n "(cached) " >&6
11286 else
11287 ac_check_lib_save_LIBS=$LIBS
11288 LIBS="-lxml2 $XML2_LIBS $LIBS"
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char xmlFirstElementChild ();
11300 main ()
11302 return xmlFirstElementChild ();
11304 return 0;
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_xml2_xmlFirstElementChild=yes
11309 else
11310 ac_cv_lib_xml2_xmlFirstElementChild=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11317 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11318 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11320 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11324 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11326 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11328 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11332 else
11333 XML2_CFLAGS=""
11334 XML2_LIBS=""
11336 CPPFLAGS=$ac_save_CPPFLAGS
11337 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11338 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11341 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11342 case "x$with_xml" in
11343 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11344 xno) ;;
11345 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11346 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11347 esac
11351 if test "x$with_xslt" != "xno"
11352 then
11353 if ${XSLT_CFLAGS:+false} :; then :
11354 if ${PKG_CONFIG+:} false; then :
11355 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11358 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11359 if ${XSLT_LIBS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11364 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11365 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11366 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11367 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11368 ac_save_CPPFLAGS=$CPPFLAGS
11369 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11370 for ac_header in libxslt/pattern.h libxslt/transform.h
11371 do :
11372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11374 # include <libxslt/pattern.h>
11375 #endif
11377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11378 cat >>confdefs.h <<_ACEOF
11379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11380 _ACEOF
11384 done
11386 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11387 then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11389 $as_echo_n "checking for -lxslt... " >&6; }
11390 if ${ac_cv_lib_soname_xslt+:} false; then :
11391 $as_echo_n "(cached) " >&6
11392 else
11393 ac_check_soname_save_LIBS=$LIBS
11394 LIBS="-lxslt $XSLT_LIBS $LIBS"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char xsltCompilePattern ();
11406 main ()
11408 return xsltCompilePattern ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 case "$LIBEXT" in
11415 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11416 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'` ;;
11417 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11418 if ${ac_cv_lib_soname_xslt:+false} :; then :
11419 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11420 fi ;;
11421 esac
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_soname_save_LIBS
11427 if ${ac_cv_lib_soname_xslt:+false} :; then :
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11429 $as_echo "not found" >&6; }
11431 else
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11433 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11435 cat >>confdefs.h <<_ACEOF
11436 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11437 _ACEOF
11441 else
11442 XSLT_CFLAGS=""
11444 CPPFLAGS=$ac_save_CPPFLAGS
11445 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11446 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11449 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11450 case "x$with_xslt" in
11451 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11452 xno) ;;
11453 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11454 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11455 esac
11459 if test "x$with_dbus" != "xno"
11460 then
11461 if ${DBUS_CFLAGS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11467 if ${DBUS_LIBS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11474 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11476 ac_save_CPPFLAGS=$CPPFLAGS
11477 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11478 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11479 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11481 $as_echo_n "checking for -ldbus-1... " >&6; }
11482 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 ac_check_soname_save_LIBS=$LIBS
11486 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char dbus_connection_close ();
11498 main ()
11500 return dbus_connection_close ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 case "$LIBEXT" in
11507 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11508 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'` ;;
11509 *) 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'`
11510 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11511 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11512 fi ;;
11513 esac
11515 rm -f core conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517 LIBS=$ac_check_soname_save_LIBS
11519 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11521 $as_echo "not found" >&6; }
11522 DBUS_CFLAGS=""
11523 else
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11525 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11527 cat >>confdefs.h <<_ACEOF
11528 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11529 _ACEOF
11533 else
11534 DBUS_CFLAGS=""
11538 CPPFLAGS=$ac_save_CPPFLAGS
11539 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11540 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11543 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11544 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11545 case "x$with_dbus" in
11546 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11547 xno) ;;
11548 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11549 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11550 esac
11554 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11555 then
11556 if ${HAL_CFLAGS:+false} :; then :
11557 if ${PKG_CONFIG+:} false; then :
11558 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11562 if ${HAL_LIBS:+false} :; then :
11563 if ${PKG_CONFIG+:} false; then :
11564 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11568 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11569 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11570 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11571 ac_save_CPPFLAGS=$CPPFLAGS
11572 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11573 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11574 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11576 $as_echo_n "checking for -lhal... " >&6; }
11577 if ${ac_cv_lib_soname_hal+:} false; then :
11578 $as_echo_n "(cached) " >&6
11579 else
11580 ac_check_soname_save_LIBS=$LIBS
11581 LIBS="-lhal $HAL_LIBS $LIBS"
11582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11588 #ifdef __cplusplus
11589 extern "C"
11590 #endif
11591 char libhal_ctx_new ();
11593 main ()
11595 return libhal_ctx_new ();
11597 return 0;
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"; then :
11601 case "$LIBEXT" in
11602 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11603 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'` ;;
11604 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11605 if ${ac_cv_lib_soname_hal:+false} :; then :
11606 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11607 fi ;;
11608 esac
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_soname_save_LIBS
11614 if ${ac_cv_lib_soname_hal:+false} :; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11617 HAL_CFLAGS=""
11618 else
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11620 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11622 cat >>confdefs.h <<_ACEOF
11623 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11624 _ACEOF
11628 else
11629 HAL_CFLAGS=""
11633 CPPFLAGS=$ac_save_CPPFLAGS
11634 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11635 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11637 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11638 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11639 case "x$with_hal" in
11640 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11641 xno) ;;
11642 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11643 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11644 esac
11649 if test "x$with_gnutls" != "xno"
11650 then
11651 if ${GNUTLS_CFLAGS:+false} :; then :
11652 if ${PKG_CONFIG+:} false; then :
11653 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11657 if ${GNUTLS_LIBS:+false} :; then :
11658 if ${PKG_CONFIG+:} false; then :
11659 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11664 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11665 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11666 ac_save_CPPFLAGS=$CPPFLAGS
11667 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11668 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11669 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11672 #include <gnutls/gnutls.h>
11673 #include <gnutls/crypto.h>
11675 main ()
11677 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11679 return 0;
11681 _ACEOF
11682 if ac_fn_c_try_compile "$LINENO"; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11684 $as_echo_n "checking for -lgnutls... " >&6; }
11685 if ${ac_cv_lib_soname_gnutls+:} false; then :
11686 $as_echo_n "(cached) " >&6
11687 else
11688 ac_check_soname_save_LIBS=$LIBS
11689 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char gnutls_global_init ();
11701 main ()
11703 return gnutls_global_init ();
11705 return 0;
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 case "$LIBEXT" in
11710 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11711 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'` ;;
11712 *) 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'`
11713 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11714 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'`
11715 fi ;;
11716 esac
11718 rm -f core conftest.err conftest.$ac_objext \
11719 conftest$ac_exeext conftest.$ac_ext
11720 LIBS=$ac_check_soname_save_LIBS
11722 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11724 $as_echo "not found" >&6; }
11725 GNUTLS_CFLAGS=""
11726 else
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11728 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11730 cat >>confdefs.h <<_ACEOF
11731 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11732 _ACEOF
11736 ac_wine_check_funcs_save_LIBS="$LIBS"
11737 LIBS="$LIBS $GNUTLS_LIBS"
11738 for ac_func in gnutls_hash
11739 do :
11740 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11741 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11742 cat >>confdefs.h <<_ACEOF
11743 #define HAVE_GNUTLS_HASH 1
11744 _ACEOF
11746 else
11747 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11749 done
11751 LIBS="$ac_wine_check_funcs_save_LIBS"
11753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11754 else
11755 GNUTLS_CFLAGS=""
11759 CPPFLAGS=$ac_save_CPPFLAGS
11760 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11761 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11764 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11765 case "x$with_gnutls" in
11766 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11767 xno) ;;
11768 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11769 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11770 esac
11774 CURSES_LIBS=""
11775 if test "$ac_cv_header_ncurses_h" = "yes"
11776 then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11778 $as_echo_n "checking for -lncurses... " >&6; }
11779 if ${ac_cv_lib_soname_ncurses+:} false; then :
11780 $as_echo_n "(cached) " >&6
11781 else
11782 ac_check_soname_save_LIBS=$LIBS
11783 LIBS="-lncurses $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 #ifdef __cplusplus
11791 extern "C"
11792 #endif
11793 char waddch ();
11795 main ()
11797 return waddch ();
11799 return 0;
11801 _ACEOF
11802 if ac_fn_c_try_link "$LINENO"; then :
11803 case "$LIBEXT" in
11804 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11805 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'` ;;
11806 *) 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'`
11807 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11808 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11809 fi ;;
11810 esac
11812 rm -f core conftest.err conftest.$ac_objext \
11813 conftest$ac_exeext conftest.$ac_ext
11814 LIBS=$ac_check_soname_save_LIBS
11816 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11818 $as_echo "not found" >&6; }
11820 else
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11822 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11824 cat >>confdefs.h <<_ACEOF
11825 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11826 _ACEOF
11828 CURSES_LIBS="-lncurses"
11830 elif test "$ac_cv_header_curses_h" = "yes"
11831 then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11833 $as_echo_n "checking for -lcurses... " >&6; }
11834 if ${ac_cv_lib_soname_curses+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 ac_check_soname_save_LIBS=$LIBS
11838 LIBS="-lcurses $LIBS"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char waddch ();
11850 main ()
11852 return waddch ();
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858 case "$LIBEXT" in
11859 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 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'` ;;
11861 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11862 if ${ac_cv_lib_soname_curses:+false} :; then :
11863 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11864 fi ;;
11865 esac
11867 rm -f core conftest.err conftest.$ac_objext \
11868 conftest$ac_exeext conftest.$ac_ext
11869 LIBS=$ac_check_soname_save_LIBS
11871 if ${ac_cv_lib_soname_curses:+false} :; then :
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11873 $as_echo "not found" >&6; }
11875 else
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11877 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11879 cat >>confdefs.h <<_ACEOF
11880 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11881 _ACEOF
11883 CURSES_LIBS="-lcurses"
11886 ac_save_LIBS="$LIBS"
11887 LIBS="$LIBS $CURSES_LIBS"
11888 for ac_func in mousemask
11889 do :
11890 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11891 if test "x$ac_cv_func_mousemask" = xyes; then :
11892 cat >>confdefs.h <<_ACEOF
11893 #define HAVE_MOUSEMASK 1
11894 _ACEOF
11897 done
11899 LIBS="$ac_save_LIBS"
11900 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11901 case "x$with_curses" in
11902 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11903 xno) ;;
11904 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11905 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11906 esac
11910 if test "x$with_sane" != "xno"
11911 then
11912 if ${SANE_CFLAGS:+false} :; then :
11913 if ${PKG_CONFIG+:} false; then :
11914 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11917 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11918 if ${SANE_LIBS:+false} :; then :
11919 if ${PKG_CONFIG+:} false; then :
11920 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11923 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11925 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11926 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11927 ac_save_CPPFLAGS=$CPPFLAGS
11928 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11929 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11930 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11932 $as_echo_n "checking for -lsane... " >&6; }
11933 if ${ac_cv_lib_soname_sane+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_soname_save_LIBS=$LIBS
11937 LIBS="-lsane $SANE_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char sane_init ();
11949 main ()
11951 return sane_init ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 case "$LIBEXT" in
11958 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11959 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'` ;;
11960 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11961 if ${ac_cv_lib_soname_sane:+false} :; then :
11962 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11963 fi ;;
11964 esac
11966 rm -f core conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_soname_save_LIBS
11970 if ${ac_cv_lib_soname_sane:+false} :; then :
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11972 $as_echo "not found" >&6; }
11973 SANE_CFLAGS=""
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11976 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11978 cat >>confdefs.h <<_ACEOF
11979 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11980 _ACEOF
11984 else
11985 SANE_CFLAGS=""
11989 CPPFLAGS=$ac_save_CPPFLAGS
11990 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11991 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11994 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11995 case "x$with_sane" in
11996 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11997 xno) ;;
11998 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11999 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12000 esac
12004 if test "x$with_v4l" != "xno"
12005 then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12007 $as_echo_n "checking for -lv4l1... " >&6; }
12008 if ${ac_cv_lib_soname_v4l1+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 ac_check_soname_save_LIBS=$LIBS
12012 LIBS="-lv4l1 $LIBS"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12019 #ifdef __cplusplus
12020 extern "C"
12021 #endif
12022 char v4l1_open ();
12024 main ()
12026 return v4l1_open ();
12028 return 0;
12030 _ACEOF
12031 if ac_fn_c_try_link "$LINENO"; then :
12032 case "$LIBEXT" in
12033 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12034 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'` ;;
12035 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12036 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12037 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12038 fi ;;
12039 esac
12041 rm -f core conftest.err conftest.$ac_objext \
12042 conftest$ac_exeext conftest.$ac_ext
12043 LIBS=$ac_check_soname_save_LIBS
12045 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12047 $as_echo "not found" >&6; }
12049 else
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12051 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12053 cat >>confdefs.h <<_ACEOF
12054 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12055 _ACEOF
12060 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12061 case "x$with_v4l" in
12062 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12063 xno) ;;
12064 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12065 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12066 esac
12070 if test "x$with_gphoto" != "xno"
12071 then
12072 if ${GPHOTO2_CFLAGS:+false} :; then :
12073 if ${PKG_CONFIG+:} false; then :
12074 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12077 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12078 if ${GPHOTO2_LIBS:+false} :; then :
12079 if ${PKG_CONFIG+:} false; then :
12080 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12083 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12084 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12085 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12086 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12087 ac_save_CPPFLAGS=$CPPFLAGS
12088 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12089 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12090 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12092 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12093 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12094 $as_echo_n "(cached) " >&6
12095 else
12096 ac_check_lib_save_LIBS=$LIBS
12097 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12104 #ifdef __cplusplus
12105 extern "C"
12106 #endif
12107 char gp_camera_new ();
12109 main ()
12111 return gp_camera_new ();
12113 return 0;
12115 _ACEOF
12116 if ac_fn_c_try_link "$LINENO"; then :
12117 ac_cv_lib_gphoto2_gp_camera_new=yes
12118 else
12119 ac_cv_lib_gphoto2_gp_camera_new=no
12121 rm -f core conftest.err conftest.$ac_objext \
12122 conftest$ac_exeext conftest.$ac_ext
12123 LIBS=$ac_check_lib_save_LIBS
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12126 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12127 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12129 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12131 else
12132 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12135 else
12136 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12140 CPPFLAGS=$ac_save_CPPFLAGS
12141 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12142 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12144 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12145 if ${PKG_CONFIG+:} false; then :
12146 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12149 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12150 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12151 if ${PKG_CONFIG+:} false; then :
12152 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12155 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12156 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12157 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12158 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12159 ac_save_CPPFLAGS=$CPPFLAGS
12160 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12161 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12162 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12164 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12165 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_lib_save_LIBS=$LIBS
12169 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char gp_port_info_list_new ();
12181 main ()
12183 return gp_port_info_list_new ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12190 else
12191 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12198 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12199 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12201 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12203 else
12204 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12207 else
12208 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12212 CPPFLAGS=$ac_save_CPPFLAGS
12213 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12214 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12217 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12218 case "x$with_gphoto" in
12219 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12220 xno) ;;
12221 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12222 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12223 esac
12226 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12227 case "x$with_gphoto" in
12228 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12229 xno) ;;
12230 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12231 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12232 esac
12237 if test "$ac_cv_header_resolv_h" = "yes"
12238 then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12240 $as_echo_n "checking for resolver library... " >&6; }
12241 if ${ac_cv_have_resolv+:} false; then :
12242 $as_echo_n "(cached) " >&6
12243 else
12244 ac_save_LIBS="$LIBS"
12245 for lib in '' -lresolv
12247 LIBS="$lib $ac_save_LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250 #ifdef HAVE_NETINET_IN_H
12251 #include <netinet/in.h>
12252 #endif
12253 #include <resolv.h>
12255 main ()
12257 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 ac_cv_have_resolv=${lib:-"none required"}
12264 else
12265 ac_cv_have_resolv="not found"
12267 rm -f core conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 test "x$ac_cv_have_resolv" = "xnot found" || break
12270 done
12271 LIBS="$ac_save_LIBS"
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12274 $as_echo "$ac_cv_have_resolv" >&6; }
12276 case "$ac_cv_have_resolv" in
12277 "not found") ;;
12278 "none required")
12280 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12283 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12285 RESOLV_LIBS=$ac_cv_have_resolv
12287 esac
12290 if test "x$with_cms" != "xno"
12291 then
12292 if ${LCMS2_CFLAGS:+false} :; then :
12293 if ${PKG_CONFIG+:} false; then :
12294 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12298 if ${LCMS2_LIBS:+false} :; then :
12299 if ${PKG_CONFIG+:} false; then :
12300 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12304 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12305 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12306 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12307 ac_save_CPPFLAGS=$CPPFLAGS
12308 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12309 for ac_header in lcms2.h
12310 do :
12311 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12312 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12313 cat >>confdefs.h <<_ACEOF
12314 #define HAVE_LCMS2_H 1
12315 _ACEOF
12319 done
12321 if test "$ac_cv_header_lcms2_h" = "yes"
12322 then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12324 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12325 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 ac_check_lib_save_LIBS=$LIBS
12329 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12336 #ifdef __cplusplus
12337 extern "C"
12338 #endif
12339 char cmsOpenProfileFromFile ();
12341 main ()
12343 return cmsOpenProfileFromFile ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12350 else
12351 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_lib_save_LIBS
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12358 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12359 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12361 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12363 else
12364 LCMS2_LIBS=""
12367 else
12368 LCMS2_CFLAGS=""
12369 LCMS2_LIBS=""
12371 CPPFLAGS=$ac_save_CPPFLAGS
12372 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12373 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12376 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12377 case "x$with_cms" in
12378 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12379 xno) ;;
12380 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12381 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12382 esac
12386 if test "x$with_freetype" != "xno"
12387 then
12388 if ${FREETYPE_CFLAGS:+false} :; then :
12389 if ${PKG_CONFIG+:} false; then :
12390 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12393 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12394 if ${FREETYPE_LIBS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12399 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12400 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12401 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12402 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12403 ac_save_CPPFLAGS=$CPPFLAGS
12404 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12405 for ac_header in ft2build.h
12406 do :
12407 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12408 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12409 cat >>confdefs.h <<_ACEOF
12410 #define HAVE_FT2BUILD_H 1
12411 _ACEOF
12415 done
12417 if test "$ac_cv_header_ft2build_h" = "yes"
12418 then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12420 $as_echo_n "checking for -lfreetype... " >&6; }
12421 if ${ac_cv_lib_soname_freetype+:} false; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 ac_check_soname_save_LIBS=$LIBS
12425 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char FT_Init_FreeType ();
12437 main ()
12439 return FT_Init_FreeType ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 case "$LIBEXT" in
12446 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12447 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'` ;;
12448 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12449 if ${ac_cv_lib_soname_freetype:+false} :; then :
12450 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12451 fi ;;
12452 esac
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_soname_save_LIBS
12458 if ${ac_cv_lib_soname_freetype:+false} :; then :
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12460 $as_echo "not found" >&6; }
12461 FREETYPE_LIBS=""
12462 else
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12464 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12466 cat >>confdefs.h <<_ACEOF
12467 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12468 _ACEOF
12471 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12473 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12474 #include FT_MODULE_H
12476 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12478 cat >>confdefs.h <<_ACEOF
12479 #define HAVE_FT_TRUETYPEENGINETYPE 1
12480 _ACEOF
12486 else
12487 FREETYPE_CFLAGS=""
12488 FREETYPE_LIBS=""
12490 CPPFLAGS=$ac_save_CPPFLAGS
12491 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12492 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12495 if test "x$ac_cv_lib_soname_freetype" = x; then :
12496 case "x$with_freetype" in
12497 xno) ;;
12498 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12499 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12500 esac
12501 enable_fonts=${enable_fonts:-no}
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12505 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12506 if ${ac_cv_c_ppdev+:} false; then :
12507 $as_echo_n "(cached) " >&6
12508 else
12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12511 #ifdef HAVE_SYS_IOCTL_H
12512 # include <sys/ioctl.h>
12513 #endif
12514 #include <linux/ppdev.h>
12516 main ()
12518 ioctl (1,PPCLAIM,0)
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_compile "$LINENO"; then :
12524 ac_cv_c_ppdev="yes"
12525 else
12526 ac_cv_c_ppdev="no"
12528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12531 $as_echo "$ac_cv_c_ppdev" >&6; }
12532 if test "$ac_cv_c_ppdev" = "yes"
12533 then
12535 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12539 ac_wine_check_funcs_save_LIBS="$LIBS"
12540 LIBS="$LIBS $PTHREAD_LIBS"
12541 for ac_func in \
12542 pthread_attr_get_np \
12543 pthread_getattr_np \
12544 pthread_getthreadid_np \
12545 pthread_get_stackaddr_np \
12546 pthread_get_stacksize_np
12547 do :
12548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12550 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12551 cat >>confdefs.h <<_ACEOF
12552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12553 _ACEOF
12556 done
12558 LIBS="$ac_wine_check_funcs_save_LIBS"
12560 if test "$ac_cv_header_zlib_h" = "yes"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12563 $as_echo_n "checking for inflate in -lz... " >&6; }
12564 if ${ac_cv_lib_z_inflate+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lz $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char inflate ();
12580 main ()
12582 return inflate ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 ac_cv_lib_z_inflate=yes
12589 else
12590 ac_cv_lib_z_inflate=no
12592 rm -f core conftest.err conftest.$ac_objext \
12593 conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12597 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12598 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12600 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12602 Z_LIBS="-lz"
12607 if test "x$Z_LIBS" = "x"; then :
12608 case "x$with_zlib" in
12609 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12610 xno) ;;
12611 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12612 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12613 esac
12617 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12618 then
12619 if test "$ac_cv_header_gettext_po_h" = "yes"
12620 then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12622 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12623 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_lib_save_LIBS=$LIBS
12627 LIBS="-lgettextpo $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char po_message_msgctxt ();
12639 main ()
12641 return po_message_msgctxt ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12648 else
12649 ac_cv_lib_gettextpo_po_message_msgctxt=no
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12656 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12657 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12659 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12661 GETTEXTPO_LIBS="-lgettextpo"
12666 if test "x$GETTEXTPO_LIBS" = "x"; then :
12667 case "x$with_gettextpo" in
12668 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12669 xno) ;;
12670 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12671 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12672 esac
12675 if test "$srcdir" != .; then :
12676 case "x$with_gettextpo" in
12677 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12678 xno) ;;
12679 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12680 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12681 esac
12686 if test "x$with_pulse" != "xno";
12687 then
12688 if ${PULSE_CFLAGS:+false} :; then :
12689 if ${PKG_CONFIG+:} false; then :
12690 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12694 if ${PULSE_LIBS:+false} :; then :
12695 if ${PKG_CONFIG+:} false; then :
12696 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12701 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12702 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12703 ac_save_CPPFLAGS=$CPPFLAGS
12704 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12705 for ac_header in pulse/pulseaudio.h
12706 do :
12707 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12708 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12709 cat >>confdefs.h <<_ACEOF
12710 #define HAVE_PULSE_PULSEAUDIO_H 1
12711 _ACEOF
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12713 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12714 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12715 $as_echo_n "(cached) " >&6
12716 else
12717 ac_check_lib_save_LIBS=$LIBS
12718 LIBS="-lpulse $PULSE_LIBS $LIBS"
12719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12725 #ifdef __cplusplus
12726 extern "C"
12727 #endif
12728 char pa_stream_is_corked ();
12730 main ()
12732 return pa_stream_is_corked ();
12734 return 0;
12736 _ACEOF
12737 if ac_fn_c_try_link "$LINENO"; then :
12738 ac_cv_lib_pulse_pa_stream_is_corked=yes
12739 else
12740 ac_cv_lib_pulse_pa_stream_is_corked=no
12742 rm -f core conftest.err conftest.$ac_objext \
12743 conftest$ac_exeext conftest.$ac_ext
12744 LIBS=$ac_check_lib_save_LIBS
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12747 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12748 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12750 else
12751 PULSE_LIBS=""
12754 else
12755 PULSE_LIBS=""
12758 done
12760 CPPFLAGS=$ac_save_CPPFLAGS
12761 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12762 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12765 if test -z "$PULSE_LIBS"; then :
12766 case "x$with_pulse" in
12767 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12768 xno) ;;
12769 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12770 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12771 esac
12772 enable_winepulse_drv=${enable_winepulse_drv:-no}
12775 if test "x$with_gstreamer" != "xno"
12776 then
12777 if ${GSTREAMER_CFLAGS:+false} :; then :
12778 if ${PKG_CONFIG+:} false; then :
12779 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12783 if ${GSTREAMER_LIBS:+false} :; then :
12784 if ${PKG_CONFIG+:} false; then :
12785 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12790 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12791 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12792 ac_save_CPPFLAGS=$CPPFLAGS
12793 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12794 ac_gst_incl=""
12795 for i in $GSTREAMER_CFLAGS
12797 case "$i" in
12798 -I*) ac_gst_incl="$ac_gst_incl $i";;
12799 esac
12800 done
12801 GSTREAMER_CFLAGS=$ac_gst_incl
12802 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12803 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12804 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12806 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12809 #include <gst/gst.h>
12811 main ()
12813 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12815 return 0;
12817 _ACEOF
12818 if ac_fn_c_try_compile "$LINENO"; then :
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12820 $as_echo "yes" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12822 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12823 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12824 $as_echo_n "(cached) " >&6
12825 else
12826 ac_check_lib_save_LIBS=$LIBS
12827 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char gst_pad_new ();
12839 main ()
12841 return gst_pad_new ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"; then :
12847 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12848 else
12849 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12851 rm -f core conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 LIBS=$ac_check_lib_save_LIBS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12856 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12857 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12861 else
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12863 $as_echo "no" >&6; }
12864 ac_glib2_broken=yes
12865 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 CPPFLAGS=$ac_save_CPPFLAGS
12872 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12873 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12876 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 :
12877 case "x$with_gstreamer" in
12878 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12879 xno) ;;
12880 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12881 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12882 esac
12885 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12887 ALSA_LIBS=""
12889 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12890 then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12892 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12893 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12894 $as_echo_n "(cached) " >&6
12895 else
12896 ac_check_lib_save_LIBS=$LIBS
12897 LIBS="-lasound $LIBS"
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12901 /* Override any GCC internal prototype to avoid an error.
12902 Use char because int might match the return type of a GCC
12903 builtin and then its argument prototype would still apply. */
12904 #ifdef __cplusplus
12905 extern "C"
12906 #endif
12907 char snd_pcm_hw_params_get_access_mask ();
12909 main ()
12911 return snd_pcm_hw_params_get_access_mask ();
12913 return 0;
12915 _ACEOF
12916 if ac_fn_c_try_link "$LINENO"; then :
12917 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12918 else
12919 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12921 rm -f core conftest.err conftest.$ac_objext \
12922 conftest$ac_exeext conftest.$ac_ext
12923 LIBS=$ac_check_lib_save_LIBS
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12926 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12927 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12930 #ifdef HAVE_ALSA_ASOUNDLIB_H
12931 #include <alsa/asoundlib.h>
12932 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12933 #include <sys/asoundlib.h>
12934 #endif
12936 main ()
12938 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12940 return 0;
12942 _ACEOF
12943 if ac_fn_c_try_compile "$LINENO"; then :
12944 ALSA_LIBS="-lasound"
12946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12952 if test "x$with_oss" != xno
12953 then
12954 ac_save_CPPFLAGS="$CPPFLAGS"
12955 if test -f /etc/oss.conf
12956 then
12957 . /etc/oss.conf
12959 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12960 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12961 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12963 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12965 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12967 cat >>confdefs.h <<_ACEOF
12968 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12969 _ACEOF
12971 OSS4_CFLAGS="$ac_oss_incl"
12978 CPPFLAGS="$ac_save_CPPFLAGS"
12980 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12981 case "x$with_oss" in
12982 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12983 xno) ;;
12984 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12985 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12986 esac
12987 enable_wineoss_drv=${enable_wineoss_drv:-no}
12990 if test "x$with_udev" != "xno"
12991 then
12992 if ${UDEV_CFLAGS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12998 if ${UDEV_LIBS:+false} :; then :
12999 if ${PKG_CONFIG+:} false; then :
13000 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13004 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13005 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13006 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13007 ac_save_CPPFLAGS=$CPPFLAGS
13008 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13009 for ac_header in libudev.h
13010 do :
13011 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13012 if test "x$ac_cv_header_libudev_h" = xyes; then :
13013 cat >>confdefs.h <<_ACEOF
13014 #define HAVE_LIBUDEV_H 1
13015 _ACEOF
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13017 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13018 if ${ac_cv_lib_udev_udev_new+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-ludev $UDEV_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char udev_new ();
13034 main ()
13036 return udev_new ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_udev_udev_new=yes
13043 else
13044 ac_cv_lib_udev_udev_new=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13051 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13052 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13054 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13056 else
13057 UDEV_LIBS=""
13060 else
13061 UDEV_LIBS=""
13064 done
13066 CPPFLAGS=$ac_save_CPPFLAGS
13067 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13068 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13071 if test "x$UDEV_LIBS" = "x"; then :
13072 case "x$with_udev" in
13073 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13074 xno) ;;
13075 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13076 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13077 esac
13081 if test "x$with_capi" != "xno"
13082 then
13083 if ${CAPI20_CFLAGS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13089 if ${CAPI20_LIBS:+false} :; then :
13090 if ${PKG_CONFIG+:} false; then :
13091 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13096 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13097 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13098 ac_save_CPPFLAGS=$CPPFLAGS
13099 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13100 for ac_header in capi20.h linux/capi.h
13101 do :
13102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13103 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13106 cat >>confdefs.h <<_ACEOF
13107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13108 _ACEOF
13112 done
13114 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13115 then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13117 $as_echo_n "checking for -lcapi20... " >&6; }
13118 if ${ac_cv_lib_soname_capi20+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_soname_save_LIBS=$LIBS
13122 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char capi20_register ();
13134 main ()
13136 return capi20_register ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 case "$LIBEXT" in
13143 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13144 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'` ;;
13145 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13146 if ${ac_cv_lib_soname_capi20:+false} :; then :
13147 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13148 fi ;;
13149 esac
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_soname_save_LIBS
13155 if ${ac_cv_lib_soname_capi20:+false} :; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13157 $as_echo "not found" >&6; }
13159 else
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13161 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13163 cat >>confdefs.h <<_ACEOF
13164 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13165 _ACEOF
13170 CPPFLAGS=$ac_save_CPPFLAGS
13171 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13172 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13175 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13176 case "x$with_capi" in
13177 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13178 xno) ;;
13179 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13180 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13181 esac
13185 CUPS_CFLAGS=""
13187 if test "x$with_cups" != "xno"
13188 then
13189 ac_save_CPPFLAGS="$CPPFLAGS"
13190 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13191 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13192 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13193 for ac_header in cups/cups.h
13194 do :
13195 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13196 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13197 cat >>confdefs.h <<_ACEOF
13198 #define HAVE_CUPS_CUPS_H 1
13199 _ACEOF
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13201 $as_echo_n "checking for -lcups... " >&6; }
13202 if ${ac_cv_lib_soname_cups+:} false; then :
13203 $as_echo_n "(cached) " >&6
13204 else
13205 ac_check_soname_save_LIBS=$LIBS
13206 LIBS="-lcups $ac_cups_libs $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char cupsGetDefault ();
13218 main ()
13220 return cupsGetDefault ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 case "$LIBEXT" in
13227 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13228 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'` ;;
13229 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13230 if ${ac_cv_lib_soname_cups:+false} :; then :
13231 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13232 fi ;;
13233 esac
13235 rm -f core conftest.err conftest.$ac_objext \
13236 conftest$ac_exeext conftest.$ac_ext
13237 LIBS=$ac_check_soname_save_LIBS
13239 if ${ac_cv_lib_soname_cups:+false} :; then :
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13241 $as_echo "not found" >&6; }
13243 else
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13245 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13247 cat >>confdefs.h <<_ACEOF
13248 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13249 _ACEOF
13251 CUPS_CFLAGS="$ac_cups_cflags"
13253 for ac_header in cups/ppd.h
13254 do :
13255 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13256 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13257 cat >>confdefs.h <<_ACEOF
13258 #define HAVE_CUPS_PPD_H 1
13259 _ACEOF
13263 done
13267 done
13269 CPPFLAGS="$ac_save_CPPFLAGS"
13271 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13272 case "x$with_cups" in
13273 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13274 xno) ;;
13275 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13276 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13277 esac
13281 if test "x$with_fontconfig" != "xno"
13282 then
13283 if ${FONTCONFIG_CFLAGS:+false} :; then :
13284 if ${PKG_CONFIG+:} false; then :
13285 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13288 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13289 if ${FONTCONFIG_LIBS:+false} :; then :
13290 if ${PKG_CONFIG+:} false; then :
13291 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13294 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13296 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13297 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13298 ac_save_CPPFLAGS=$CPPFLAGS
13299 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13300 for ac_header in fontconfig/fontconfig.h
13301 do :
13302 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13303 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13304 cat >>confdefs.h <<_ACEOF
13305 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13306 _ACEOF
13310 done
13312 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13315 $as_echo_n "checking for -lfontconfig... " >&6; }
13316 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_soname_save_LIBS=$LIBS
13320 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char FcInit ();
13332 main ()
13334 return FcInit ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 case "$LIBEXT" in
13341 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13342 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'` ;;
13343 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13344 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13345 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13346 fi ;;
13347 esac
13349 rm -f core conftest.err conftest.$ac_objext \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_soname_save_LIBS
13353 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13355 $as_echo "not found" >&6; }
13356 FONTCONFIG_CFLAGS=""
13357 else
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13359 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13361 cat >>confdefs.h <<_ACEOF
13362 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13363 _ACEOF
13367 else
13368 FONTCONFIG_CFLAGS=""
13370 CPPFLAGS=$ac_save_CPPFLAGS
13371 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13372 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13375 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13376 case "x$with_fontconfig" in
13377 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13378 xno) ;;
13379 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13380 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13381 esac
13385 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13386 then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13388 $as_echo_n "checking for -lgsm... " >&6; }
13389 if ${ac_cv_lib_soname_gsm+:} false; then :
13390 $as_echo_n "(cached) " >&6
13391 else
13392 ac_check_soname_save_LIBS=$LIBS
13393 LIBS="-lgsm $LIBS"
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13400 #ifdef __cplusplus
13401 extern "C"
13402 #endif
13403 char gsm_create ();
13405 main ()
13407 return gsm_create ();
13409 return 0;
13411 _ACEOF
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 case "$LIBEXT" in
13414 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13415 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'` ;;
13416 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13417 if ${ac_cv_lib_soname_gsm:+false} :; then :
13418 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13419 fi ;;
13420 esac
13422 rm -f core conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_soname_save_LIBS
13426 if ${ac_cv_lib_soname_gsm:+false} :; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13428 $as_echo "not found" >&6; }
13430 else
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13432 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13434 cat >>confdefs.h <<_ACEOF
13435 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13436 _ACEOF
13441 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13442 case "x$with_gsm" in
13443 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13444 xno) ;;
13445 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13446 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13447 esac
13451 if test "x$with_jpeg" != "xno"
13452 then
13453 if ${JPEG_CFLAGS:+false} :; then :
13454 if ${PKG_CONFIG+:} false; then :
13455 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13459 if ${JPEG_LIBS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13466 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13467 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13468 ac_save_CPPFLAGS=$CPPFLAGS
13469 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13470 for ac_header in jpeglib.h
13471 do :
13472 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13473 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13474 cat >>confdefs.h <<_ACEOF
13475 #define HAVE_JPEGLIB_H 1
13476 _ACEOF
13480 done
13482 if test "$ac_cv_header_jpeglib_h" = "yes"
13483 then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13485 $as_echo_n "checking for -ljpeg... " >&6; }
13486 if ${ac_cv_lib_soname_jpeg+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 ac_check_soname_save_LIBS=$LIBS
13490 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13497 #ifdef __cplusplus
13498 extern "C"
13499 #endif
13500 char jpeg_start_decompress ();
13502 main ()
13504 return jpeg_start_decompress ();
13506 return 0;
13508 _ACEOF
13509 if ac_fn_c_try_link "$LINENO"; then :
13510 case "$LIBEXT" in
13511 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13512 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'` ;;
13513 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13514 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13515 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13516 fi ;;
13517 esac
13519 rm -f core conftest.err conftest.$ac_objext \
13520 conftest$ac_exeext conftest.$ac_ext
13521 LIBS=$ac_check_soname_save_LIBS
13523 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13525 $as_echo "not found" >&6; }
13526 JPEG_CFLAGS=""
13527 else
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13529 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13531 cat >>confdefs.h <<_ACEOF
13532 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13533 _ACEOF
13537 else
13538 JPEG_CFLAGS=""
13540 CPPFLAGS=$ac_save_CPPFLAGS
13541 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13542 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13545 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13546 case "x$with_jpeg" in
13547 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13548 xno) ;;
13549 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13550 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13551 esac
13555 if test "x$with_png" != "xno"
13556 then
13557 if ${PNG_CFLAGS:+false} :; then :
13558 if ${PKG_CONFIG+:} false; then :
13559 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13562 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13563 if ${PNG_LIBS:+false} :; then :
13564 if ${PKG_CONFIG+:} false; then :
13565 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13568 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13570 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13571 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13572 ac_save_CPPFLAGS=$CPPFLAGS
13573 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13574 for ac_header in png.h
13575 do :
13576 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13577 if test "x$ac_cv_header_png_h" = xyes; then :
13578 cat >>confdefs.h <<_ACEOF
13579 #define HAVE_PNG_H 1
13580 _ACEOF
13584 done
13586 if test "$ac_cv_header_png_h" = "yes"
13587 then
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13589 $as_echo_n "checking for -lpng... " >&6; }
13590 if ${ac_cv_lib_soname_png+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 ac_check_soname_save_LIBS=$LIBS
13594 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13598 /* Override any GCC internal prototype to avoid an error.
13599 Use char because int might match the return type of a GCC
13600 builtin and then its argument prototype would still apply. */
13601 #ifdef __cplusplus
13602 extern "C"
13603 #endif
13604 char png_create_read_struct ();
13606 main ()
13608 return png_create_read_struct ();
13610 return 0;
13612 _ACEOF
13613 if ac_fn_c_try_link "$LINENO"; then :
13614 case "$LIBEXT" in
13615 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13616 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'` ;;
13617 *) 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'`
13618 if ${ac_cv_lib_soname_png:+false} :; then :
13619 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13620 fi ;;
13621 esac
13623 rm -f core conftest.err conftest.$ac_objext \
13624 conftest$ac_exeext conftest.$ac_ext
13625 LIBS=$ac_check_soname_save_LIBS
13627 if ${ac_cv_lib_soname_png:+false} :; then :
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13629 $as_echo "not found" >&6; }
13630 PNG_CFLAGS=""
13631 else
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13633 $as_echo "$ac_cv_lib_soname_png" >&6; }
13635 cat >>confdefs.h <<_ACEOF
13636 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13637 _ACEOF
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13641 #include <png.h>
13643 main ()
13645 typeof(png_set_expand_gray_1_2_4_to_8) *p
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_compile "$LINENO"; then :
13652 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13657 else
13658 PNG_CFLAGS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13661 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13662 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13665 if test "x$ac_cv_lib_soname_png" = "x"; then :
13666 case "x$with_png" in
13667 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13668 xno) ;;
13669 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13670 This is an error since --with-png was requested." "$LINENO" 5 ;;
13671 esac
13675 if test "x$with_tiff" != "xno"
13676 then
13677 if ${TIFF_CFLAGS:+false} :; then :
13678 if ${PKG_CONFIG+:} false; then :
13679 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13683 if ${TIFF_LIBS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13690 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13691 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13692 ac_save_CPPFLAGS=$CPPFLAGS
13693 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13694 for ac_header in tiffio.h
13695 do :
13696 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13697 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13698 cat >>confdefs.h <<_ACEOF
13699 #define HAVE_TIFFIO_H 1
13700 _ACEOF
13704 done
13706 if test "$ac_cv_header_tiffio_h" = "yes"
13707 then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13709 $as_echo_n "checking for -ltiff... " >&6; }
13710 if ${ac_cv_lib_soname_tiff+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-ltiff $TIFF_LIBS $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char TIFFClientOpen ();
13726 main ()
13728 return TIFFClientOpen ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 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'` ;;
13737 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13738 if ${ac_cv_lib_soname_tiff:+false} :; then :
13739 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_soname_save_LIBS
13747 if ${ac_cv_lib_soname_tiff:+false} :; then :
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13749 $as_echo "not found" >&6; }
13751 else
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13753 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13755 cat >>confdefs.h <<_ACEOF
13756 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13757 _ACEOF
13762 CPPFLAGS=$ac_save_CPPFLAGS
13763 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13764 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13767 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13768 case "x$with_tiff" in
13769 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13770 xno) ;;
13771 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13772 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13773 esac
13777 if test "x$with_mpg123" != "xno"
13778 then
13779 if ${MPG123_CFLAGS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13785 if ${MPG123_LIBS:+false} :; then :
13786 if ${PKG_CONFIG+:} false; then :
13787 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13791 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13792 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13793 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13794 ac_save_CPPFLAGS=$CPPFLAGS
13795 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13796 for ac_header in mpg123.h
13797 do :
13798 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13799 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13800 cat >>confdefs.h <<_ACEOF
13801 #define HAVE_MPG123_H 1
13802 _ACEOF
13806 done
13808 if test "$ac_cv_header_mpg123_h" = "yes"
13809 then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13811 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13812 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815 ac_check_lib_save_LIBS=$LIBS
13816 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13823 #ifdef __cplusplus
13824 extern "C"
13825 #endif
13826 char mpg123_feed ();
13828 main ()
13830 return mpg123_feed ();
13832 return 0;
13834 _ACEOF
13835 if ac_fn_c_try_link "$LINENO"; then :
13836 ac_cv_lib_mpg123_mpg123_feed=yes
13837 else
13838 ac_cv_lib_mpg123_mpg123_feed=no
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_lib_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13845 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13846 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13848 else
13849 MPG123_LIBS=""
13852 else
13853 MPG123_CFLAGS=""
13854 MPG123_LIBS=""
13856 CPPFLAGS=$ac_save_CPPFLAGS
13857 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13858 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13861 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13862 case "x$with_mpg123" in
13863 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13864 xno) ;;
13865 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13866 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13867 esac
13868 enable_winemp3_acm=${enable_winemp3_acm:-no}
13871 if test "$ac_cv_header_AL_al_h" = "yes"
13872 then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13874 $as_echo_n "checking for -lopenal... " >&6; }
13875 if ${ac_cv_lib_soname_openal+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_check_soname_save_LIBS=$LIBS
13879 LIBS="-lopenal $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 #ifdef __cplusplus
13887 extern "C"
13888 #endif
13889 char alGetSource3i ();
13891 main ()
13893 return alGetSource3i ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 case "$LIBEXT" in
13900 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13901 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'` ;;
13902 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13903 if ${ac_cv_lib_soname_openal:+false} :; then :
13904 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13905 fi ;;
13906 esac
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 LIBS=$ac_check_soname_save_LIBS
13912 if ${ac_cv_lib_soname_openal:+false} :; then :
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13914 $as_echo "not found" >&6; }
13916 else
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13918 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13920 cat >>confdefs.h <<_ACEOF
13921 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13922 _ACEOF
13924 OPENAL_LIBS="-lopenal"
13926 ac_cv_lib_openal=yes
13928 cat >>confdefs.h <<_ACEOF
13929 #define HAVE_OPENAL 1
13930 _ACEOF
13934 if test "x$ac_cv_lib_openal" != xyes; then :
13935 case "x$with_openal" in
13936 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13937 xno) ;;
13938 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13939 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13940 esac
13941 enable_openal32=${enable_openal32:-no}
13944 if test "x$ac_cv_lib_openal" = xyes
13945 then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13947 $as_echo_n "checking for openal-soft... " >&6; }
13948 if ${ac_cv_have_openalsoft+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13953 #include <AL/al.h>
13954 #include <AL/alc.h>
13955 #include <AL/alext.h>
13956 LPALCRENDERSAMPLESSOFT x;
13958 main ()
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_compile "$LINENO"; then :
13966 ac_cv_have_openalsoft=yes
13967 else
13968 ac_cv_have_openalsoft=no
13970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13973 $as_echo "$ac_cv_have_openalsoft" >&6; }
13975 if test "x$ac_cv_have_openalsoft" != xyes
13976 then
13977 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13978 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13979 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13980 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13981 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13982 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13983 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13984 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13985 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13986 enable_xapofx1_1=${enable_xapofx1_1:-no}
13987 enable_xapofx1_2=${enable_xapofx1_2:-no}
13988 enable_xapofx1_3=${enable_xapofx1_3:-no}
13989 enable_xapofx1_4=${enable_xapofx1_4:-no}
13990 enable_xapofx1_5=${enable_xapofx1_5:-no}
13991 enable_xaudio2_0=${enable_xaudio2_0:-no}
13992 enable_xaudio2_1=${enable_xaudio2_1:-no}
13993 enable_xaudio2_2=${enable_xaudio2_2:-no}
13994 enable_xaudio2_3=${enable_xaudio2_3:-no}
13995 enable_xaudio2_4=${enable_xaudio2_4:-no}
13996 enable_xaudio2_5=${enable_xaudio2_5:-no}
13997 enable_xaudio2_6=${enable_xaudio2_6:-no}
13998 enable_xaudio2_7=${enable_xaudio2_7:-no}
13999 enable_xaudio2_8=${enable_xaudio2_8:-no}
14000 enable_xaudio2_9=${enable_xaudio2_9:-no}
14003 if test "$ac_cv_header_kstat_h" = "yes"
14004 then
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14006 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14007 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_check_lib_save_LIBS=$LIBS
14011 LIBS="-lkstat $LIBS"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14015 /* Override any GCC internal prototype to avoid an error.
14016 Use char because int might match the return type of a GCC
14017 builtin and then its argument prototype would still apply. */
14018 #ifdef __cplusplus
14019 extern "C"
14020 #endif
14021 char kstat_open ();
14023 main ()
14025 return kstat_open ();
14027 return 0;
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 ac_cv_lib_kstat_kstat_open=yes
14032 else
14033 ac_cv_lib_kstat_kstat_open=no
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 LIBS=$ac_check_lib_save_LIBS
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14040 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14041 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14043 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14045 KSTAT_LIBS="-lkstat"
14051 if test "$ac_cv_header_libprocstat_h" = "yes"
14052 then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14054 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14055 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lprocstat $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 #ifdef __cplusplus
14067 extern "C"
14068 #endif
14069 char procstat_open_sysctl ();
14071 main ()
14073 return procstat_open_sysctl ();
14075 return 0;
14077 _ACEOF
14078 if ac_fn_c_try_link "$LINENO"; then :
14079 ac_cv_lib_procstat_procstat_open_sysctl=yes
14080 else
14081 ac_cv_lib_procstat_procstat_open_sysctl=no
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 LIBS=$ac_check_lib_save_LIBS
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14088 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14089 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14091 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14093 PROCSTAT_LIBS="-lprocstat"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14100 $as_echo_n "checking for -lodbc... " >&6; }
14101 if ${ac_cv_lib_soname_odbc+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_check_soname_save_LIBS=$LIBS
14105 LIBS="-lodbc $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 #ifdef __cplusplus
14113 extern "C"
14114 #endif
14115 char SQLConnect ();
14117 main ()
14119 return SQLConnect ();
14121 return 0;
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 case "$LIBEXT" in
14126 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14127 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'` ;;
14128 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14129 if ${ac_cv_lib_soname_odbc:+false} :; then :
14130 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14131 fi ;;
14132 esac
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 LIBS=$ac_check_soname_save_LIBS
14138 if ${ac_cv_lib_soname_odbc:+false} :; then :
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14140 $as_echo "not found" >&6; }
14141 cat >>confdefs.h <<_ACEOF
14142 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14143 _ACEOF
14145 else
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14147 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14149 cat >>confdefs.h <<_ACEOF
14150 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14151 _ACEOF
14156 if test "x$with_netapi" != "xno"
14157 then
14158 if ${NETAPI_CFLAGS:+false} :; then :
14159 if ${PKG_CONFIG+:} false; then :
14160 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14164 if ${NETAPI_LIBS:+false} :; then :
14165 if ${PKG_CONFIG+:} false; then :
14166 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14171 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14172 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14173 ac_save_CPPFLAGS=$CPPFLAGS
14174 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14176 $as_echo_n "checking for -lnetapi... " >&6; }
14177 if ${ac_cv_lib_soname_netapi+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_check_soname_save_LIBS=$LIBS
14181 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 #ifdef __cplusplus
14189 extern "C"
14190 #endif
14191 char libnetapi_init ();
14193 main ()
14195 return libnetapi_init ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 case "$LIBEXT" in
14202 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14203 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'` ;;
14204 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14205 if ${ac_cv_lib_soname_netapi:+false} :; then :
14206 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14207 fi ;;
14208 esac
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_soname_save_LIBS
14214 if ${ac_cv_lib_soname_netapi:+false} :; then :
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14216 $as_echo "not found" >&6; }
14217 cat >>confdefs.h <<_ACEOF
14218 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14219 _ACEOF
14221 else
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14223 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14225 cat >>confdefs.h <<_ACEOF
14226 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14227 _ACEOF
14231 CPPFLAGS=$ac_save_CPPFLAGS
14232 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14233 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14237 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14238 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14239 then
14240 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14244 EXTRACFLAGS=""
14246 if test "x${GCC}" = "xyes"
14247 then
14248 EXTRACFLAGS="-Wall -pipe"
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14251 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14252 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 if test "$cross_compiling" = yes; then :
14256 ac_cv_c_gcc_strength_bug="no"
14257 else
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int L[4] = {0,1,2,3};
14262 main ()
14264 static int Array[3];
14265 unsigned int B = 3;
14266 int i;
14267 for(i=0; i<B; i++) Array[i] = i - 3;
14268 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14269 L[i] = 4;
14270 return (Array[1] != -2 || L[2] != 3)
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_run "$LINENO"; then :
14276 ac_cv_c_gcc_strength_bug="no"
14277 else
14278 ac_cv_c_gcc_strength_bug="yes"
14280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14281 conftest.$ac_objext conftest.beam conftest.$ac_ext
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14286 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14287 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14288 then
14289 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14293 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14294 if ${ac_cv_cflags__fno_builtin+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 ac_wine_try_cflags_saved=$CFLAGS
14298 CFLAGS="$CFLAGS -fno-builtin"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 int main(int argc, char **argv) { return 0; }
14302 _ACEOF
14303 if ac_fn_c_try_link "$LINENO"; then :
14304 ac_cv_cflags__fno_builtin=yes
14305 else
14306 ac_cv_cflags__fno_builtin=no
14308 rm -f core conftest.err conftest.$ac_objext \
14309 conftest$ac_exeext conftest.$ac_ext
14310 CFLAGS=$ac_wine_try_cflags_saved
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14313 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14314 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14315 BUILTINFLAG="-fno-builtin"
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14319 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14320 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14321 $as_echo_n "(cached) " >&6
14322 else
14323 ac_wine_try_cflags_saved=$CFLAGS
14324 CFLAGS="$CFLAGS -fno-strict-aliasing"
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 int main(int argc, char **argv) { return 0; }
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_cflags__fno_strict_aliasing=yes
14331 else
14332 ac_cv_cflags__fno_strict_aliasing=no
14334 rm -f core conftest.err conftest.$ac_objext \
14335 conftest$ac_exeext conftest.$ac_ext
14336 CFLAGS=$ac_wine_try_cflags_saved
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14339 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14340 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14341 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14344 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14345 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_wine_try_cflags_saved=$CFLAGS
14349 CFLAGS="$CFLAGS -fexcess-precision=standard"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14352 int main(int argc, char **argv) { return 0; }
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"; then :
14355 ac_cv_cflags__fexcess_precision_standard=yes
14356 else
14357 ac_cv_cflags__fexcess_precision_standard=no
14359 rm -f core conftest.err conftest.$ac_objext \
14360 conftest$ac_exeext conftest.$ac_ext
14361 CFLAGS=$ac_wine_try_cflags_saved
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14364 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14365 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14366 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14369 saved_CFLAGS=$CFLAGS
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14371 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14372 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 ac_wine_try_cflags_saved=$CFLAGS
14376 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14378 /* end confdefs.h. */
14379 int main(int argc, char **argv) { return 0; }
14380 _ACEOF
14381 if ac_fn_c_try_link "$LINENO"; then :
14382 ac_cv_cflags__Werror_unknown_warning_option=yes
14383 else
14384 ac_cv_cflags__Werror_unknown_warning_option=no
14386 rm -f core conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14388 CFLAGS=$ac_wine_try_cflags_saved
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14391 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14392 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14393 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14396 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14397 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14398 $as_echo_n "(cached) " >&6
14399 else
14400 ac_wine_try_cflags_saved=$CFLAGS
14401 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14404 int main(int argc, char **argv) { return 0; }
14405 _ACEOF
14406 if ac_fn_c_try_link "$LINENO"; then :
14407 ac_cv_cflags__Wdeclaration_after_statement=yes
14408 else
14409 ac_cv_cflags__Wdeclaration_after_statement=no
14411 rm -f core conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 CFLAGS=$ac_wine_try_cflags_saved
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14416 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14417 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14418 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14421 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14422 if ${ac_cv_cflags__Wempty_body+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 ac_wine_try_cflags_saved=$CFLAGS
14426 CFLAGS="$CFLAGS -Wempty-body"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14429 int main(int argc, char **argv) { return 0; }
14430 _ACEOF
14431 if ac_fn_c_try_link "$LINENO"; then :
14432 ac_cv_cflags__Wempty_body=yes
14433 else
14434 ac_cv_cflags__Wempty_body=no
14436 rm -f core conftest.err conftest.$ac_objext \
14437 conftest$ac_exeext conftest.$ac_ext
14438 CFLAGS=$ac_wine_try_cflags_saved
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14441 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14442 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14443 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14446 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14447 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14448 $as_echo_n "(cached) " >&6
14449 else
14450 ac_wine_try_cflags_saved=$CFLAGS
14451 CFLAGS="$CFLAGS -Wignored-qualifiers"
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14454 int main(int argc, char **argv) { return 0; }
14455 _ACEOF
14456 if ac_fn_c_try_link "$LINENO"; then :
14457 ac_cv_cflags__Wignored_qualifiers=yes
14458 else
14459 ac_cv_cflags__Wignored_qualifiers=no
14461 rm -f core conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 CFLAGS=$ac_wine_try_cflags_saved
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14466 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14467 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14468 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14471 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14472 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_wine_try_cflags_saved=$CFLAGS
14476 CFLAGS="$CFLAGS -Wshift-overflow=2"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14479 int main(int argc, char **argv) { return 0; }
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 ac_cv_cflags__Wshift_overflow_2=yes
14483 else
14484 ac_cv_cflags__Wshift_overflow_2=no
14486 rm -f core conftest.err conftest.$ac_objext \
14487 conftest$ac_exeext conftest.$ac_ext
14488 CFLAGS=$ac_wine_try_cflags_saved
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14491 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14492 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14493 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14496 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14497 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14498 $as_echo_n "(cached) " >&6
14499 else
14500 ac_wine_try_cflags_saved=$CFLAGS
14501 CFLAGS="$CFLAGS -Wstrict-prototypes"
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14504 int main(int argc, char **argv) { return 0; }
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 ac_cv_cflags__Wstrict_prototypes=yes
14508 else
14509 ac_cv_cflags__Wstrict_prototypes=no
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14513 CFLAGS=$ac_wine_try_cflags_saved
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14516 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14517 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14518 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14521 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14522 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 ac_wine_try_cflags_saved=$CFLAGS
14526 CFLAGS="$CFLAGS -Wtype-limits"
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 int main(int argc, char **argv) { return 0; }
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_cflags__Wtype_limits=yes
14533 else
14534 ac_cv_cflags__Wtype_limits=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 CFLAGS=$ac_wine_try_cflags_saved
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14541 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14542 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14543 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14546 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14547 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14548 $as_echo_n "(cached) " >&6
14549 else
14550 ac_wine_try_cflags_saved=$CFLAGS
14551 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 int main(int argc, char **argv) { return 0; }
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"; then :
14557 ac_cv_cflags__Wunused_but_set_parameter=yes
14558 else
14559 ac_cv_cflags__Wunused_but_set_parameter=no
14561 rm -f core conftest.err conftest.$ac_objext \
14562 conftest$ac_exeext conftest.$ac_ext
14563 CFLAGS=$ac_wine_try_cflags_saved
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14566 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14567 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14568 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14571 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14572 if ${ac_cv_cflags__Wvla+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 ac_wine_try_cflags_saved=$CFLAGS
14576 CFLAGS="$CFLAGS -Wvla"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14579 int main(int argc, char **argv) { return 0; }
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_cflags__Wvla=yes
14583 else
14584 ac_cv_cflags__Wvla=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 CFLAGS=$ac_wine_try_cflags_saved
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14591 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14592 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14593 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14596 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14597 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 ac_wine_try_cflags_saved=$CFLAGS
14601 CFLAGS="$CFLAGS -Wwrite-strings"
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14604 int main(int argc, char **argv) { return 0; }
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 ac_cv_cflags__Wwrite_strings=yes
14608 else
14609 ac_cv_cflags__Wwrite_strings=no
14611 rm -f core conftest.err conftest.$ac_objext \
14612 conftest$ac_exeext conftest.$ac_ext
14613 CFLAGS=$ac_wine_try_cflags_saved
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14616 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14617 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14618 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14622 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14623 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14624 $as_echo_n "(cached) " >&6
14625 else
14626 ac_wine_try_cflags_saved=$CFLAGS
14627 CFLAGS="$CFLAGS -Wpointer-arith"
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 int main(int argc, char **argv) { return 0; }
14631 _ACEOF
14632 if ac_fn_c_try_link "$LINENO"; then :
14633 ac_cv_cflags__Wpointer_arith=yes
14634 else
14635 ac_cv_cflags__Wpointer_arith=no
14637 rm -f core conftest.err conftest.$ac_objext \
14638 conftest$ac_exeext conftest.$ac_ext
14639 CFLAGS=$ac_wine_try_cflags_saved
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14642 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14643 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14644 saved_string_h_CFLAGS=$CFLAGS
14645 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14647 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14648 if ${ac_cv_c_string_h_warnings+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 #include <string.h>
14655 main ()
14659 return 0;
14661 _ACEOF
14662 if ac_fn_c_try_compile "$LINENO"; then :
14663 ac_cv_c_string_h_warnings=no
14664 else
14665 ac_cv_c_string_h_warnings=yes
14667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14670 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14671 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14672 CFLAGS=$saved_string_h_CFLAGS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14676 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14677 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14678 $as_echo_n "(cached) " >&6
14679 else
14680 ac_wine_try_cflags_saved=$CFLAGS
14681 CFLAGS="$CFLAGS -Wlogical-op"
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14684 int main(int argc, char **argv) { return 0; }
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_cflags__Wlogical_op=yes
14688 else
14689 ac_cv_cflags__Wlogical_op=no
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14693 CFLAGS=$ac_wine_try_cflags_saved
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14696 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14697 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14698 saved_string_h_CFLAGS=$CFLAGS
14699 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14701 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14702 if ${ac_cv_c_logicalop_noisy+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 #include <string.h>
14708 char*f(const char *h,char n) {return strchr(h,n);}
14710 main ()
14714 return 0;
14716 _ACEOF
14717 if ac_fn_c_try_compile "$LINENO"; then :
14718 ac_cv_c_logicalop_noisy=no
14719 else
14720 ac_cv_c_logicalop_noisy=yes
14722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14725 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14726 CFLAGS=$saved_string_h_CFLAGS
14727 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14730 CFLAGS=$saved_CFLAGS
14732 for ac_flag in $CFLAGS; do
14733 case $ac_flag in
14734 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14735 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14736 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14737 $as_echo_n "(cached) " >&6
14738 else
14739 ac_wine_try_cflags_saved=$CFLAGS
14740 CFLAGS="$CFLAGS -gdwarf-2"
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 int main(int argc, char **argv) { return 0; }
14744 _ACEOF
14745 if ac_fn_c_try_link "$LINENO"; then :
14746 ac_cv_cflags__gdwarf_2=yes
14747 else
14748 ac_cv_cflags__gdwarf_2=no
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14752 CFLAGS=$ac_wine_try_cflags_saved
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14755 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14756 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14757 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14760 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14761 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14762 $as_echo_n "(cached) " >&6
14763 else
14764 ac_wine_try_cflags_saved=$CFLAGS
14765 CFLAGS="$CFLAGS -gstrict-dwarf"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14768 int main(int argc, char **argv) { return 0; }
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"; then :
14771 ac_cv_cflags__gstrict_dwarf=yes
14772 else
14773 ac_cv_cflags__gstrict_dwarf=no
14775 rm -f core conftest.err conftest.$ac_objext \
14776 conftest$ac_exeext conftest.$ac_ext
14777 CFLAGS=$ac_wine_try_cflags_saved
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14780 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14781 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14782 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14783 fi ;;
14784 esac
14785 done
14787 case $host_cpu in
14788 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14789 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14790 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_wine_try_cflags_saved=$CFLAGS
14794 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14797 int main(int argc, char **argv) { return 0; }
14798 _ACEOF
14799 if ac_fn_c_try_link "$LINENO"; then :
14800 ac_cv_cflags__fno_omit_frame_pointer=yes
14801 else
14802 ac_cv_cflags__fno_omit_frame_pointer=no
14804 rm -f core conftest.err conftest.$ac_objext \
14805 conftest$ac_exeext conftest.$ac_ext
14806 CFLAGS=$ac_wine_try_cflags_saved
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14809 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14810 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14811 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14812 fi ;;
14813 esac
14815 case $host in
14816 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14817 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14818 if ${ac_cv_cflags__Wno_format+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_wine_try_cflags_saved=$CFLAGS
14822 CFLAGS="$CFLAGS -Wno-format"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int main(int argc, char **argv) { return 0; }
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_cflags__Wno_format=yes
14829 else
14830 ac_cv_cflags__Wno_format=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 CFLAGS=$ac_wine_try_cflags_saved
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14837 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14838 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14839 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14840 fi ;;
14841 esac
14843 if test "x$enable_maintainer_mode" = "xyes"
14844 then
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14846 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14847 if ${ac_cv_cflags__Werror+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_wine_try_cflags_saved=$CFLAGS
14851 CFLAGS="$CFLAGS -Werror"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 int main(int argc, char **argv) { return 0; }
14855 _ACEOF
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_cflags__Werror=yes
14858 else
14859 ac_cv_cflags__Werror=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 CFLAGS=$ac_wine_try_cflags_saved
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14866 $as_echo "$ac_cv_cflags__Werror" >&6; }
14867 if test "x$ac_cv_cflags__Werror" = xyes; then :
14868 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14872 saved_CFLAGS="$CFLAGS"
14873 CFLAGS="$CFLAGS -Werror"
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14875 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14876 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14883 main ()
14887 return 0;
14889 _ACEOF
14890 if ac_fn_c_try_compile "$LINENO"; then :
14891 ac_cv_have_ms_hook_prologue="yes"
14892 else
14893 ac_cv_have_ms_hook_prologue="no"
14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14898 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14899 CFLAGS="$saved_CFLAGS"
14900 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14901 then
14903 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14905 else
14906 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14913 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14914 if ${ac_cv_c_fortify_enabled+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #include <string.h>
14921 main ()
14923 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14924 #error Fortify enabled
14925 #endif
14927 return 0;
14929 _ACEOF
14930 if ac_fn_c_try_compile "$LINENO"; then :
14931 ac_cv_c_fortify_enabled=no
14932 else
14933 ac_cv_c_fortify_enabled=yes
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14938 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14939 if test "$ac_cv_c_fortify_enabled" = yes
14940 then
14941 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14946 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14947 if ${ac_cv_c_extern_prefix+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 extern int ac_test;
14954 main ()
14956 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14958 return 0;
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"; then :
14962 ac_cv_c_extern_prefix="yes"
14963 else
14964 ac_cv_c_extern_prefix="no"
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14970 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14972 case $host_cpu in
14973 *i[3456789]86*)
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14975 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14976 if ${ac_cv_c_stdcall_suffix+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 #ifndef _MSC_VER
14982 #define __stdcall __attribute__((__stdcall__))
14983 #endif
14984 int __stdcall ac_test(int i) { return i; }
14986 main ()
14988 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 ac_cv_c_stdcall_suffix="yes"
14995 else
14996 ac_cv_c_stdcall_suffix="no"
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15002 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15003 *) ac_cv_c_stdcall_suffix="no" ;;
15004 esac
15007 if test "$ac_cv_c_extern_prefix" = "yes"
15008 then
15009 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15011 asm_name_prefix="_"
15012 else
15013 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15015 asm_name_prefix=""
15019 if test "$ac_cv_c_stdcall_suffix" = "yes"
15020 then
15021 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15023 else
15024 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15030 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15031 if ${ac_cv_asm_func_def+:} false; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15038 main ()
15040 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\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=".def"
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,@function\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 @function"
15061 else
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15066 main ()
15068 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15070 return 0;
15072 _ACEOF
15073 if ac_fn_c_try_link "$LINENO"; then :
15074 ac_cv_asm_func_def=".type 2"
15075 else
15076 ac_cv_asm_func_def="unknown"
15078 rm -f core conftest.err conftest.$ac_objext \
15079 conftest$ac_exeext conftest.$ac_ext
15081 rm -f core conftest.err conftest.$ac_objext \
15082 conftest$ac_exeext conftest.$ac_ext
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15088 $as_echo "$ac_cv_asm_func_def" >&6; }
15091 case "$ac_cv_asm_func_def" in
15092 ".def")
15093 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15095 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15096 ".type @function")
15097 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15099 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15100 ".type 2")
15101 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15103 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15105 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15107 asm_func_header="" ;;
15108 esac
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15111 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15112 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 asm(".text\n\t.long 0");
15119 main ()
15123 return 0;
15125 _ACEOF
15126 if ac_fn_c_try_compile "$LINENO"; then :
15127 ac_cv_c_asm_outside_funcs="yes"
15128 else
15129 ac_cv_c_asm_outside_funcs="no"
15131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15134 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15137 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15138 if ${ac_cv_c_dot_previous+:} false; then :
15139 $as_echo_n "(cached) " >&6
15140 else
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15145 main ()
15147 asm(".text\nac_test:\t.long 0\n\t.previous");
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_link "$LINENO"; then :
15153 ac_cv_c_dot_previous="yes"
15154 else
15155 ac_cv_c_dot_previous="no"
15157 rm -f core conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15161 $as_echo "$ac_cv_c_dot_previous" >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15164 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15165 if ${ac_cv_c_cfi_support+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15170 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15172 main ()
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_compile "$LINENO"; then :
15180 ac_cv_c_cfi_support="yes"
15181 else
15182 ac_cv_c_cfi_support="no"
15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15187 $as_echo "$ac_cv_c_cfi_support" >&6; }
15189 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15190 asm_func_trailer=""
15191 if test "$ac_cv_c_dot_previous" = "yes"
15192 then
15193 asm_func_trailer="\\n\\t.previous"
15195 if test "$ac_cv_c_cfi_support" = "yes"
15196 then
15197 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15198 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15200 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15202 UNWINDFLAGS=-fasynchronous-unwind-tables
15204 else
15205 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15207 if test "x$enable_win64" = "xyes"
15208 then
15209 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15213 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15216 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15217 then
15218 cat >>confdefs.h <<_ACEOF
15219 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15220 _ACEOF
15222 else
15223 cat >>confdefs.h <<_ACEOF
15224 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15225 _ACEOF
15229 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15232 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15236 case $build_os in
15237 cygwin*|mingw32*) TOOLSEXT=".exe"
15239 esac
15241 case $host_os in
15242 linux-android*) ;;
15243 linux*)
15244 case $host_cpu in
15245 *i[3456789]86*|x86_64*)
15246 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15247 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15249 esac
15251 esac
15254 ac_save_CFLAGS="$CFLAGS"
15255 CFLAGS="$CFLAGS $BUILTINFLAG"
15256 for ac_func in \
15257 __res_get_state \
15258 __res_getservers \
15259 _finite \
15260 _isnan \
15261 _pclose \
15262 _popen \
15263 _snprintf \
15264 _spawnvp \
15265 _strdup \
15266 _stricmp \
15267 _strnicmp \
15268 _strtoi64 \
15269 _strtoui64 \
15270 _vsnprintf \
15271 asctime_r \
15272 chsize \
15273 dlopen \
15274 epoll_create \
15275 ffs \
15276 finitef \
15277 fnmatch \
15278 fork \
15279 fpclass \
15280 fstatfs \
15281 fstatvfs \
15282 ftruncate \
15283 futimens \
15284 futimes \
15285 futimesat \
15286 getattrlist \
15287 getopt_long_only \
15288 getpwuid \
15289 gettimeofday \
15290 getuid \
15291 if_nameindex \
15292 isnanf \
15293 kqueue \
15294 lstat \
15295 memmove \
15296 mmap \
15297 pclose \
15298 pipe2 \
15299 poll \
15300 popen \
15301 port_create \
15302 prctl \
15303 pread \
15304 proc_pidinfo \
15305 pwrite \
15306 readdir \
15307 readlink \
15308 sched_yield \
15309 select \
15310 setproctitle \
15311 setprogname \
15312 setrlimit \
15313 settimeofday \
15314 sigaltstack \
15315 sigprocmask \
15316 snprintf \
15317 statfs \
15318 statvfs \
15319 strcasecmp \
15320 strdup \
15321 strerror \
15322 strncasecmp \
15323 strtold \
15324 strtoll \
15325 strtoull \
15326 symlink \
15327 sysinfo \
15328 tcdrain \
15329 thr_kill2 \
15330 timegm \
15331 usleep \
15332 vsnprintf
15334 do :
15335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15337 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15338 cat >>confdefs.h <<_ACEOF
15339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15340 _ACEOF
15343 done
15345 CFLAGS="$ac_save_CFLAGS"
15347 if test "$ac_cv_func_dlopen" = no
15348 then
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15351 if ${ac_cv_lib_dl_dlopen+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 ac_check_lib_save_LIBS=$LIBS
15355 LIBS="-ldl $LIBS"
15356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15357 /* end confdefs.h. */
15359 /* Override any GCC internal prototype to avoid an error.
15360 Use char because int might match the return type of a GCC
15361 builtin and then its argument prototype would still apply. */
15362 #ifdef __cplusplus
15363 extern "C"
15364 #endif
15365 char dlopen ();
15367 main ()
15369 return dlopen ();
15371 return 0;
15373 _ACEOF
15374 if ac_fn_c_try_link "$LINENO"; then :
15375 ac_cv_lib_dl_dlopen=yes
15376 else
15377 ac_cv_lib_dl_dlopen=no
15379 rm -f core conftest.err conftest.$ac_objext \
15380 conftest$ac_exeext conftest.$ac_ext
15381 LIBS=$ac_check_lib_save_LIBS
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15384 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15385 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15386 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15387 DL_LIBS="-ldl"
15392 ac_wine_check_funcs_save_LIBS="$LIBS"
15393 LIBS="$LIBS $DL_LIBS"
15394 for ac_func in dladdr
15395 do :
15396 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15397 if test "x$ac_cv_func_dladdr" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_DLADDR 1
15400 _ACEOF
15403 done
15405 LIBS="$ac_wine_check_funcs_save_LIBS"
15407 if test "$ac_cv_func_poll" = no
15408 then
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15410 $as_echo_n "checking for poll in -lpoll... " >&6; }
15411 if ${ac_cv_lib_poll_poll+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 ac_check_lib_save_LIBS=$LIBS
15415 LIBS="-lpoll $LIBS"
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15422 #ifdef __cplusplus
15423 extern "C"
15424 #endif
15425 char poll ();
15427 main ()
15429 return poll ();
15431 return 0;
15433 _ACEOF
15434 if ac_fn_c_try_link "$LINENO"; then :
15435 ac_cv_lib_poll_poll=yes
15436 else
15437 ac_cv_lib_poll_poll=no
15439 rm -f core conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15441 LIBS=$ac_check_lib_save_LIBS
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15444 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15445 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15446 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15447 POLL_LIBS="-lpoll"
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15454 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15455 if ${ac_cv_search_gethostbyname+:} false; then :
15456 $as_echo_n "(cached) " >&6
15457 else
15458 ac_func_search_save_LIBS=$LIBS
15459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 /* end confdefs.h. */
15462 /* Override any GCC internal prototype to avoid an error.
15463 Use char because int might match the return type of a GCC
15464 builtin and then its argument prototype would still apply. */
15465 #ifdef __cplusplus
15466 extern "C"
15467 #endif
15468 char gethostbyname ();
15470 main ()
15472 return gethostbyname ();
15474 return 0;
15476 _ACEOF
15477 for ac_lib in '' nsl; do
15478 if test -z "$ac_lib"; then
15479 ac_res="none required"
15480 else
15481 ac_res=-l$ac_lib
15482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15484 if ac_fn_c_try_link "$LINENO"; then :
15485 ac_cv_search_gethostbyname=$ac_res
15487 rm -f core conftest.err conftest.$ac_objext \
15488 conftest$ac_exeext
15489 if ${ac_cv_search_gethostbyname+:} false; then :
15490 break
15492 done
15493 if ${ac_cv_search_gethostbyname+:} false; then :
15495 else
15496 ac_cv_search_gethostbyname=no
15498 rm conftest.$ac_ext
15499 LIBS=$ac_func_search_save_LIBS
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15502 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15503 ac_res=$ac_cv_search_gethostbyname
15504 if test "$ac_res" != no; then :
15505 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15511 $as_echo_n "checking for library containing connect... " >&6; }
15512 if ${ac_cv_search_connect+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_func_search_save_LIBS=$LIBS
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15519 /* Override any GCC internal prototype to avoid an error.
15520 Use char because int might match the return type of a GCC
15521 builtin and then its argument prototype would still apply. */
15522 #ifdef __cplusplus
15523 extern "C"
15524 #endif
15525 char connect ();
15527 main ()
15529 return connect ();
15531 return 0;
15533 _ACEOF
15534 for ac_lib in '' socket; do
15535 if test -z "$ac_lib"; then
15536 ac_res="none required"
15537 else
15538 ac_res=-l$ac_lib
15539 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15541 if ac_fn_c_try_link "$LINENO"; then :
15542 ac_cv_search_connect=$ac_res
15544 rm -f core conftest.err conftest.$ac_objext \
15545 conftest$ac_exeext
15546 if ${ac_cv_search_connect+:} false; then :
15547 break
15549 done
15550 if ${ac_cv_search_connect+:} false; then :
15552 else
15553 ac_cv_search_connect=no
15555 rm conftest.$ac_ext
15556 LIBS=$ac_func_search_save_LIBS
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15559 $as_echo "$ac_cv_search_connect" >&6; }
15560 ac_res=$ac_cv_search_connect
15561 if test "$ac_res" != no; then :
15562 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15568 $as_echo_n "checking for library containing inet_aton... " >&6; }
15569 if ${ac_cv_search_inet_aton+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_func_search_save_LIBS=$LIBS
15573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574 /* end confdefs.h. */
15576 /* Override any GCC internal prototype to avoid an error.
15577 Use char because int might match the return type of a GCC
15578 builtin and then its argument prototype would still apply. */
15579 #ifdef __cplusplus
15580 extern "C"
15581 #endif
15582 char inet_aton ();
15584 main ()
15586 return inet_aton ();
15588 return 0;
15590 _ACEOF
15591 for ac_lib in '' resolv; do
15592 if test -z "$ac_lib"; then
15593 ac_res="none required"
15594 else
15595 ac_res=-l$ac_lib
15596 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 ac_cv_search_inet_aton=$ac_res
15601 rm -f core conftest.err conftest.$ac_objext \
15602 conftest$ac_exeext
15603 if ${ac_cv_search_inet_aton+:} false; then :
15604 break
15606 done
15607 if ${ac_cv_search_inet_aton+:} false; then :
15609 else
15610 ac_cv_search_inet_aton=no
15612 rm conftest.$ac_ext
15613 LIBS=$ac_func_search_save_LIBS
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15616 $as_echo "$ac_cv_search_inet_aton" >&6; }
15617 ac_res=$ac_cv_search_inet_aton
15618 if test "$ac_res" != no; then :
15619 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15624 for ac_func in \
15625 getaddrinfo \
15626 getnameinfo \
15627 getnetbyname \
15628 getprotobyname \
15629 getprotobynumber \
15630 getservbyport \
15631 inet_addr \
15632 inet_network \
15633 inet_ntop \
15634 inet_pton \
15635 sendmsg \
15636 socketpair \
15638 do :
15639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15644 _ACEOF
15647 done
15650 ac_save_LIBS=$LIBS
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15652 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15653 if ${ac_cv_search_clock_gettime+:} false; then :
15654 $as_echo_n "(cached) " >&6
15655 else
15656 ac_func_search_save_LIBS=$LIBS
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 #ifdef __cplusplus
15664 extern "C"
15665 #endif
15666 char clock_gettime ();
15668 main ()
15670 return clock_gettime ();
15672 return 0;
15674 _ACEOF
15675 for ac_lib in '' rt; do
15676 if test -z "$ac_lib"; then
15677 ac_res="none required"
15678 else
15679 ac_res=-l$ac_lib
15680 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15682 if ac_fn_c_try_link "$LINENO"; then :
15683 ac_cv_search_clock_gettime=$ac_res
15685 rm -f core conftest.err conftest.$ac_objext \
15686 conftest$ac_exeext
15687 if ${ac_cv_search_clock_gettime+:} false; then :
15688 break
15690 done
15691 if ${ac_cv_search_clock_gettime+:} false; then :
15693 else
15694 ac_cv_search_clock_gettime=no
15696 rm conftest.$ac_ext
15697 LIBS=$ac_func_search_save_LIBS
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15700 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15701 ac_res=$ac_cv_search_clock_gettime
15702 if test "$ac_res" != no; then :
15703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15705 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15707 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15711 LIBS=$ac_save_LIBS
15713 LDAP_LIBS=""
15715 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15716 then
15717 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15719 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15721 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15722 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15723 $as_echo_n "(cached) " >&6
15724 else
15725 ac_check_lib_save_LIBS=$LIBS
15726 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15730 /* Override any GCC internal prototype to avoid an error.
15731 Use char because int might match the return type of a GCC
15732 builtin and then its argument prototype would still apply. */
15733 #ifdef __cplusplus
15734 extern "C"
15735 #endif
15736 char ldap_initialize ();
15738 main ()
15740 return ldap_initialize ();
15742 return 0;
15744 _ACEOF
15745 if ac_fn_c_try_link "$LINENO"; then :
15746 ac_cv_lib_ldap_r_ldap_initialize=yes
15747 else
15748 ac_cv_lib_ldap_r_ldap_initialize=no
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_lib_save_LIBS
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15755 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15756 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15758 $as_echo_n "checking for ber_init in -llber... " >&6; }
15759 if ${ac_cv_lib_lber_ber_init+:} false; then :
15760 $as_echo_n "(cached) " >&6
15761 else
15762 ac_check_lib_save_LIBS=$LIBS
15763 LIBS="-llber $PTHREAD_LIBS $LIBS"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 #ifdef __cplusplus
15771 extern "C"
15772 #endif
15773 char ber_init ();
15775 main ()
15777 return ber_init ();
15779 return 0;
15781 _ACEOF
15782 if ac_fn_c_try_link "$LINENO"; then :
15783 ac_cv_lib_lber_ber_init=yes
15784 else
15785 ac_cv_lib_lber_ber_init=no
15787 rm -f core conftest.err conftest.$ac_objext \
15788 conftest$ac_exeext conftest.$ac_ext
15789 LIBS=$ac_check_lib_save_LIBS
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15792 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15793 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15795 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15797 LDAP_LIBS="-lldap_r -llber"
15804 ac_wine_check_funcs_save_LIBS="$LIBS"
15805 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15806 for ac_func in \
15807 ldap_count_references \
15808 ldap_first_reference \
15809 ldap_next_reference \
15810 ldap_parse_reference \
15811 ldap_parse_sort_control \
15812 ldap_parse_sortresponse_control \
15813 ldap_parse_vlv_control \
15814 ldap_parse_vlvresponse_control
15815 do :
15816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15821 _ACEOF
15824 done
15826 LIBS="$ac_wine_check_funcs_save_LIBS"
15828 if test "x$LDAP_LIBS" = "x"; then :
15829 case "x$with_ldap" in
15830 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15831 xno) ;;
15832 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15833 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15834 esac
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15839 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15840 if ${wine_cv_one_arg_mkdir+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15845 #include <sys/stat.h>
15847 main ()
15849 mkdir("foo");
15851 return 0;
15853 _ACEOF
15854 if ac_fn_c_try_compile "$LINENO"; then :
15855 wine_cv_one_arg_mkdir=yes
15856 else
15857 wine_cv_one_arg_mkdir=no
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15862 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15863 if test "$wine_cv_one_arg_mkdir" = "yes"
15864 then
15866 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15871 $as_echo_n "checking for sched_setaffinity... " >&6; }
15872 if ${wine_cv_have_sched_setaffinity+:} false; then :
15873 $as_echo_n "(cached) " >&6
15874 else
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #define _GNU_SOURCE
15878 #include <sched.h>
15880 main ()
15882 sched_setaffinity(0, 0, 0);
15884 return 0;
15886 _ACEOF
15887 if ac_fn_c_try_link "$LINENO"; then :
15888 wine_cv_have_sched_setaffinity=yes
15889 else
15890 wine_cv_have_sched_setaffinity=no
15892 rm -f core conftest.err conftest.$ac_objext \
15893 conftest$ac_exeext conftest.$ac_ext
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15896 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15897 if test "$wine_cv_have_sched_setaffinity" = "yes"
15898 then
15900 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15905 $as_echo_n "checking for fallocate... " >&6; }
15906 if ${wine_cv_have_fallocate+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #define _GNU_SOURCE
15912 #include <fcntl.h>
15914 main ()
15916 fallocate(-1, 0, 0, 0);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_c_try_link "$LINENO"; then :
15922 wine_cv_have_fallocate=yes
15923 else
15924 wine_cv_have_fallocate=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15930 $as_echo "$wine_cv_have_fallocate" >&6; }
15931 if test "$wine_cv_have_fallocate" = "yes"
15932 then
15934 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15940 $as_echo_n "checking for inline... " >&6; }
15941 if ${ac_cv_c_inline+:} false; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 ac_cv_c_inline=no
15945 for ac_kw in inline __inline__ __inline; do
15946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 /* end confdefs.h. */
15948 #ifndef __cplusplus
15949 typedef int foo_t;
15950 static $ac_kw foo_t static_foo () {return 0; }
15951 $ac_kw foo_t foo () {return 0; }
15952 #endif
15954 _ACEOF
15955 if ac_fn_c_try_compile "$LINENO"; then :
15956 ac_cv_c_inline=$ac_kw
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 test "$ac_cv_c_inline" != no && break
15960 done
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15964 $as_echo "$ac_cv_c_inline" >&6; }
15966 case $ac_cv_c_inline in
15967 inline | yes) ;;
15969 case $ac_cv_c_inline in
15970 no) ac_val=;;
15971 *) ac_val=$ac_cv_c_inline;;
15972 esac
15973 cat >>confdefs.h <<_ACEOF
15974 #ifndef __cplusplus
15975 #define inline $ac_val
15976 #endif
15977 _ACEOF
15979 esac
15981 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15982 if test "x$ac_cv_type_mode_t" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_MODE_T 1
15986 _ACEOF
15990 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15991 if test "x$ac_cv_type_off_t" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_OFF_T 1
15995 _ACEOF
15999 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16000 if test "x$ac_cv_type_pid_t" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_PID_T 1
16004 _ACEOF
16008 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16009 if test "x$ac_cv_type_size_t" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_SIZE_T 1
16013 _ACEOF
16017 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16018 if test "x$ac_cv_type_ssize_t" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_SSIZE_T 1
16022 _ACEOF
16026 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16027 if test "x$ac_cv_type_long_long" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_LONG_LONG 1
16031 _ACEOF
16035 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16036 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_FSBLKCNT_T 1
16040 _ACEOF
16044 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16045 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_FSFILCNT_T 1
16049 _ACEOF
16054 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16055 #include <signal.h>
16057 if test "x$ac_cv_type_sigset_t" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_SIGSET_T 1
16061 _ACEOF
16066 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16068 if test "x$ac_cv_type_request_sense" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_REQUEST_SENSE 1
16072 _ACEOF
16078 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16079 #ifdef HAVE_SYS_SOCKET_H
16080 #include <sys/socket.h>
16081 #endif
16082 #ifdef HAVE_SYS_SOCKETVAR_H
16083 #include <sys/socketvar.h>
16084 #endif
16085 #ifdef HAVE_NET_ROUTE_H
16086 #include <net/route.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IN_H
16089 #include <netinet/in.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IN_SYSTM_H
16092 #include <netinet/in_systm.h>
16093 #endif
16094 #ifdef HAVE_NETINET_IP_H
16095 #include <netinet/ip.h>
16096 #endif
16097 #ifdef HAVE_NETINET_IN_PCB_H
16098 #include <netinet/in_pcb.h>
16099 #endif
16101 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_XINPGEN 1
16105 _ACEOF
16111 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16112 #include <link.h>
16113 #endif
16114 #ifdef HAVE_SYS_LINK_H
16115 #include <sys/link.h>
16116 #endif
16118 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_R_DEBUG 1
16122 _ACEOF
16126 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16127 #include <link.h>
16128 #endif
16129 #ifdef HAVE_SYS_LINK_H
16130 #include <sys/link.h>
16131 #endif
16133 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_LINK_MAP 1
16137 _ACEOF
16143 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16144 #include <linux/input.h>
16145 #endif
16147 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16151 _ACEOF
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16158 $as_echo_n "checking for sigaddset... " >&6; }
16159 if ${wine_cv_have_sigaddset+:} false; then :
16160 $as_echo_n "(cached) " >&6
16161 else
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #include <signal.h>
16166 main ()
16168 sigset_t set; sigaddset(&set,SIGTERM);
16170 return 0;
16172 _ACEOF
16173 if ac_fn_c_try_link "$LINENO"; then :
16174 wine_cv_have_sigaddset=yes
16175 else
16176 wine_cv_have_sigaddset=no
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16182 $as_echo "$wine_cv_have_sigaddset" >&6; }
16183 if test "$wine_cv_have_sigaddset" = "yes"
16184 then
16186 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16192 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16193 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16198 #include <netdb.h>
16200 main ()
16203 char *name=0;
16204 struct hostent he;
16205 struct hostent *result;
16206 char *buf=0;
16207 int bufsize=0;
16208 int errnr;
16209 char *addr=0;
16210 int addrlen=0;
16211 int addrtype=0;
16212 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16213 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"; then :
16220 wine_cv_linux_gethostbyname_r_6=yes
16221 else
16222 wine_cv_linux_gethostbyname_r_6=no
16225 rm -f core conftest.err conftest.$ac_objext \
16226 conftest$ac_exeext conftest.$ac_ext
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16230 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16231 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16232 then
16234 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16238 if test "$ac_cv_header_linux_joystick_h" = "yes"
16239 then
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16241 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16242 if ${wine_cv_linux_joystick_22_api+:} false; then :
16243 $as_echo_n "(cached) " >&6
16244 else
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16248 #include <sys/ioctl.h>
16249 #include <sys/types.h>
16250 #include <linux/joystick.h>
16252 struct js_event blub;
16253 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16254 #error "no 2.2 header"
16255 #endif
16258 main ()
16260 /*empty*/
16262 return 0;
16264 _ACEOF
16265 if ac_fn_c_try_compile "$LINENO"; then :
16266 wine_cv_linux_joystick_22_api=yes
16267 else
16268 wine_cv_linux_joystick_22_api=no
16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16274 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16275 if test "$wine_cv_linux_joystick_22_api" = "yes"
16276 then
16278 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16284 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16285 #ifdef HAVE_SYS_PARAM_H
16286 # include <sys/param.h>
16287 #endif
16288 #ifdef HAVE_SYS_MOUNT_H
16289 # include <sys/mount.h>
16290 #endif
16291 #ifdef HAVE_SYS_VFS_H
16292 # include <sys/vfs.h>
16293 #endif
16294 #ifdef HAVE_SYS_STATFS_H
16295 # include <sys/statfs.h>
16296 #endif
16298 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_STATFS_F_BFREE 1
16302 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16307 #ifdef HAVE_SYS_PARAM_H
16308 # include <sys/param.h>
16309 #endif
16310 #ifdef HAVE_SYS_MOUNT_H
16311 # include <sys/mount.h>
16312 #endif
16313 #ifdef HAVE_SYS_VFS_H
16314 # include <sys/vfs.h>
16315 #endif
16316 #ifdef HAVE_SYS_STATFS_H
16317 # include <sys/statfs.h>
16318 #endif
16320 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16324 _ACEOF
16328 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16329 #ifdef HAVE_SYS_PARAM_H
16330 # include <sys/param.h>
16331 #endif
16332 #ifdef HAVE_SYS_MOUNT_H
16333 # include <sys/mount.h>
16334 #endif
16335 #ifdef HAVE_SYS_VFS_H
16336 # include <sys/vfs.h>
16337 #endif
16338 #ifdef HAVE_SYS_STATFS_H
16339 # include <sys/statfs.h>
16340 #endif
16342 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16346 _ACEOF
16350 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16351 #ifdef HAVE_SYS_PARAM_H
16352 # include <sys/param.h>
16353 #endif
16354 #ifdef HAVE_SYS_MOUNT_H
16355 # include <sys/mount.h>
16356 #endif
16357 #ifdef HAVE_SYS_VFS_H
16358 # include <sys/vfs.h>
16359 #endif
16360 #ifdef HAVE_SYS_STATFS_H
16361 # include <sys/statfs.h>
16362 #endif
16364 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_STATFS_F_FFREE 1
16368 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16373 #ifdef HAVE_SYS_PARAM_H
16374 # include <sys/param.h>
16375 #endif
16376 #ifdef HAVE_SYS_MOUNT_H
16377 # include <sys/mount.h>
16378 #endif
16379 #ifdef HAVE_SYS_VFS_H
16380 # include <sys/vfs.h>
16381 #endif
16382 #ifdef HAVE_SYS_STATFS_H
16383 # include <sys/statfs.h>
16384 #endif
16386 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16390 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16395 #ifdef HAVE_SYS_PARAM_H
16396 # include <sys/param.h>
16397 #endif
16398 #ifdef HAVE_SYS_MOUNT_H
16399 # include <sys/mount.h>
16400 #endif
16401 #ifdef HAVE_SYS_VFS_H
16402 # include <sys/vfs.h>
16403 #endif
16404 #ifdef HAVE_SYS_STATFS_H
16405 # include <sys/statfs.h>
16406 #endif
16408 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16412 _ACEOF
16418 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16419 #include <sys/statvfs.h>
16420 #endif
16422 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16426 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16433 #include <dirent.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16440 _ACEOF
16446 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16447 #ifdef HAVE_SYS_SOCKET_H
16448 # include <sys/socket.h>
16449 #endif
16450 #ifdef HAVE_SYS_UN_H
16451 # include <sys/un.h>
16452 #endif
16454 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16458 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16463 #ifdef HAVE_SYS_SOCKET_H
16464 # include <sys/socket.h>
16465 #endif
16466 #ifdef HAVE_SYS_UN_H
16467 # include <sys/un.h>
16468 #endif
16470 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16474 _ACEOF
16478 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16479 #ifdef HAVE_SYS_SOCKET_H
16480 # include <sys/socket.h>
16481 #endif
16482 #ifdef HAVE_SYS_UN_H
16483 # include <sys/un.h>
16484 #endif
16486 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16490 _ACEOF
16496 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16497 #ifdef HAVE_SCSI_SG_H
16498 #include <scsi/sg.h>
16499 #endif
16501 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_SCSIREQ_T_CMD 1
16505 _ACEOF
16509 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>
16510 #ifdef HAVE_SCSI_SG_H
16511 #include <scsi/sg.h>
16512 #endif
16514 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16518 _ACEOF
16524 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16526 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16528 cat >>confdefs.h <<_ACEOF
16529 #define HAVE_SIGINFO_T_SI_FD 1
16530 _ACEOF
16536 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16537 #ifdef HAVE_SYS_MTIO_H
16538 #include <sys/mtio.h>
16539 #endif
16541 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16545 _ACEOF
16549 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16550 #ifdef HAVE_SYS_MTIO_H
16551 #include <sys/mtio.h>
16552 #endif
16554 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16558 _ACEOF
16562 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16563 #ifdef HAVE_SYS_MTIO_H
16564 #include <sys/mtio.h>
16565 #endif
16567 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16571 _ACEOF
16577 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16578 #include <getopt.h>
16579 #endif
16581 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_STRUCT_OPTION_NAME 1
16585 _ACEOF
16591 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16592 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16596 _ACEOF
16600 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16601 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16603 cat >>confdefs.h <<_ACEOF
16604 #define HAVE_STRUCT_STAT_ST_MTIM 1
16605 _ACEOF
16609 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16610 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16619 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_STAT_ST_CTIM 1
16623 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16628 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16632 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16637 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_STRUCT_STAT_ST_ATIM 1
16641 _ACEOF
16645 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16646 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16650 _ACEOF
16654 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16655 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16659 _ACEOF
16663 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16664 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16668 _ACEOF
16672 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16673 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16675 cat >>confdefs.h <<_ACEOF
16676 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16677 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16682 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16686 _ACEOF
16690 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16691 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16695 _ACEOF
16701 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
16702 #include <sys/types.h>
16703 #endif
16704 #ifdef HAVE_NETINET_IN_H
16705 #include <netinet/in.h>
16706 #endif
16708 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16712 _ACEOF
16718 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16719 #include <sys/types.h>
16720 #endif
16721 #ifdef HAVE_NETINET_IN_H
16722 #include <netinet/in.h>
16723 #endif
16724 #ifdef HAVE_RESOLV_H
16725 #include <resolv.h>
16726 #endif
16728 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_STRUCT___RES_STATE 1
16732 _ACEOF
16738 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
16739 #include <resolv.h>
16740 #endif
16742 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16744 cat >>confdefs.h <<_ACEOF
16745 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16746 _ACEOF
16752 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16753 #include <sys/types.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IN_H
16756 # include <netinet/in.h>
16757 #endif
16758 #ifdef HAVE_ARPA_NAMESER_H
16759 # include <arpa/nameser.h>
16760 #endif
16762 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_NS_MSG__MSG_PTR 1
16766 _ACEOF
16772 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16773 #include <sys/types.h>
16774 #endif
16775 #ifdef HAVE_NETINET_IN_H
16776 #include <netinet/in.h>
16777 #endif
16778 #ifdef HAVE_NETINET_IP_H
16779 #include <netinet/ip.h>
16780 #endif
16781 #ifdef HAVE_NETINET_IP_ICMP_H
16782 #include <netinet/ip_icmp.h>
16783 #endif
16784 #ifdef HAVE_NETINET_ICMP_VAR_H
16785 #include <netinet/icmp_var.h>
16786 #endif
16788 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16790 cat >>confdefs.h <<_ACEOF
16791 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16792 _ACEOF
16798 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16799 #include <sys/types.h>
16800 #endif
16801 #ifdef HAVE_ALIAS_H
16802 #include <alias.h>
16803 #endif
16804 #ifdef HAVE_SYS_SOCKET_H
16805 #include <sys/socket.h>
16806 #endif
16807 #ifdef HAVE_SYS_SOCKETVAR_H
16808 #include <sys/socketvar.h>
16809 #endif
16810 #ifdef HAVE_SYS_TIMEOUT_H
16811 #include <sys/timeout.h>
16812 #endif
16813 #ifdef HAVE_NETINET_IN_H
16814 #include <netinet/in.h>
16815 #endif
16816 #ifdef HAVE_NETINET_IN_SYSTM_H
16817 #include <netinet/in_systm.h>
16818 #endif
16819 #ifdef HAVE_NETINET_IP_H
16820 #include <netinet/ip.h>
16821 #endif
16822 #ifdef HAVE_NETINET_IP_VAR_H
16823 #include <netinet/ip_var.h>
16824 #endif
16825 #ifdef HAVE_NETINET_IP_ICMP_H
16826 #include <netinet/ip_icmp.h>
16827 #endif
16828 #ifdef HAVE_NETINET_ICMP_VAR_H
16829 #include <netinet/icmp_var.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16836 _ACEOF
16842 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16843 #include <sys/types.h>
16844 #endif
16845 #ifdef HAVE_SYS_SOCKETVAR_H
16846 #include <sys/socketvar.h>
16847 #endif
16848 #ifdef HAVE_NETINET_IN_H
16849 #include <netinet/in.h>
16850 #endif
16851 #ifdef HAVE_NETINET_IP_VAR_H
16852 #include <netinet/ip_var.h>
16853 #endif
16855 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16857 cat >>confdefs.h <<_ACEOF
16858 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16859 _ACEOF
16865 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
16866 #include <netinet/ip_var.h>
16867 #endif
16869 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16873 _ACEOF
16879 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16880 #include <sys/types.h>
16881 #endif
16882 #ifdef HAVE_SYS_SOCKETVAR_H
16883 #include <sys/socketvar.h>
16884 #endif
16885 #ifdef HAVE_NETINET_IN_H
16886 #include <netinet/in.h>
16887 #endif
16888 #ifdef HAVE_NETINET_TCP_H
16889 #include <netinet/tcp.h>
16890 #endif
16891 #ifdef HAVE_NETINET_TCP_VAR_H
16892 #include <netinet/tcp_var.h>
16893 #endif
16895 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16899 _ACEOF
16905 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
16906 #include <netinet/tcp_var.h>
16907 #endif
16909 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16911 cat >>confdefs.h <<_ACEOF
16912 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16913 _ACEOF
16919 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16920 #include <sys/types.h>
16921 #endif
16922 #ifdef HAVE_NETINET_IN_H
16923 #include <netinet/in.h>
16924 #endif
16925 #ifdef HAVE_NETINET_IP_VAR_H
16926 #include <netinet/ip_var.h>
16927 #endif
16928 #ifdef HAVE_NETINET_UDP_H
16929 #include <netinet/udp.h>
16930 #endif
16931 #ifdef HAVE_NETINET_UDP_VAR_H
16932 #include <netinet/udp_var.h>
16933 #endif
16935 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16939 _ACEOF
16945 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16946 #include <sys/types.h>
16947 #endif
16948 #ifdef HAVE_NET_IF_H
16949 # include <net/if.h>
16950 #endif
16952 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16956 _ACEOF
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16963 $as_echo_n "checking for timezone variable... " >&6; }
16964 if ${ac_cv_have_timezone+:} false; then :
16965 $as_echo_n "(cached) " >&6
16966 else
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16969 #include <time.h>
16971 main ()
16973 timezone = 1
16975 return 0;
16977 _ACEOF
16978 if ac_fn_c_try_link "$LINENO"; then :
16979 ac_cv_have_timezone="yes"
16980 else
16981 ac_cv_have_timezone="no"
16983 rm -f core conftest.err conftest.$ac_objext \
16984 conftest$ac_exeext conftest.$ac_ext
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16987 $as_echo "$ac_cv_have_timezone" >&6; }
16988 if test "$ac_cv_have_timezone" = "yes"
16989 then
16991 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16995 $as_echo_n "checking for daylight variable... " >&6; }
16996 if ${ac_cv_have_daylight+:} false; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17001 #include <time.h>
17003 main ()
17005 daylight = 1
17007 return 0;
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_have_daylight="yes"
17012 else
17013 ac_cv_have_daylight="no"
17015 rm -f core conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17019 $as_echo "$ac_cv_have_daylight" >&6; }
17020 if test "$ac_cv_have_daylight" = "yes"
17021 then
17023 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17027 ac_save_LIBS="$LIBS"
17028 LIBS="$LIBS -lm"
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17030 $as_echo_n "checking for isfinite... " >&6; }
17031 if ${ac_cv_have_isfinite+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 #define _GNU_SOURCE
17037 #include <math.h>
17039 main ()
17041 float f = 0.0; return isfinite(f)
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"; then :
17047 ac_cv_have_isfinite="yes"
17048 else
17049 ac_cv_have_isfinite="no"
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17055 $as_echo "$ac_cv_have_isfinite" >&6; }
17056 if test "$ac_cv_have_isfinite" = "yes"
17057 then
17059 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17064 $as_echo_n "checking for isinf... " >&6; }
17065 if ${ac_cv_have_isinf+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <math.h>
17072 main ()
17074 float f = 0.0; return isinf(f)
17076 return 0;
17078 _ACEOF
17079 if ac_fn_c_try_link "$LINENO"; then :
17080 ac_cv_have_isinf="yes"
17081 else
17082 ac_cv_have_isinf="no"
17084 rm -f core conftest.err conftest.$ac_objext \
17085 conftest$ac_exeext conftest.$ac_ext
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17088 $as_echo "$ac_cv_have_isinf" >&6; }
17089 if test "$ac_cv_have_isinf" = "yes"
17090 then
17092 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17097 $as_echo_n "checking for isnan... " >&6; }
17098 if ${ac_cv_have_isnan+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 #include <math.h>
17105 main ()
17107 float f = 0.0; return isnan(f)
17109 return 0;
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_have_isnan="yes"
17114 else
17115 ac_cv_have_isnan="no"
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17121 $as_echo "$ac_cv_have_isnan" >&6; }
17122 if test "$ac_cv_have_isnan" = "yes"
17123 then
17125 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17129 for ac_func in \
17130 asinh \
17131 asinhf \
17132 cbrt \
17133 cbrtf \
17134 erf \
17135 erff \
17136 exp2 \
17137 exp2f \
17138 lgamma \
17139 lgammaf \
17140 llrint \
17141 llrintf \
17142 llround \
17143 llroundf \
17144 log2 \
17145 log2f \
17146 lrint \
17147 lrintf \
17148 lround \
17149 lroundf \
17150 nearbyint \
17151 nearbyintf \
17152 powl \
17153 remainder \
17154 remainderf \
17155 rint \
17156 rintf \
17157 round \
17158 roundf \
17159 trunc \
17160 truncf
17162 do :
17163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17168 _ACEOF
17171 done
17173 LIBS="$ac_save_LIBS"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17176 $as_echo_n "checking for __builtin_clz... " >&6; }
17177 if ${ac_cv_have___builtin_clz+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17184 main ()
17186 return __builtin_clz(1)
17188 return 0;
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_have___builtin_clz="yes"
17193 else
17194 ac_cv_have___builtin_clz="no"
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17200 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17201 if test "$ac_cv_have___builtin_clz" = "yes"
17202 then
17204 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17209 $as_echo_n "checking for __builtin_popcount... " >&6; }
17210 if ${ac_cv_have___builtin_popcount+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17217 main ()
17219 return __builtin_popcount(1)
17221 return 0;
17223 _ACEOF
17224 if ac_fn_c_try_link "$LINENO"; then :
17225 ac_cv_have___builtin_popcount="yes"
17226 else
17227 ac_cv_have___builtin_popcount="no"
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17233 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17234 if test "$ac_cv_have___builtin_popcount" = "yes"
17235 then
17237 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17242 case $host_cpu in
17243 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17244 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17245 if ${ac_cv_cpp_def___i386__+:} false; then :
17246 $as_echo_n "(cached) " >&6
17247 else
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17250 #ifndef __i386__
17252 #endif
17253 _ACEOF
17254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17255 $EGREP "yes" >/dev/null 2>&1; then :
17256 ac_cv_cpp_def___i386__=yes
17257 else
17258 ac_cv_cpp_def___i386__=no
17260 rm -f conftest*
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17264 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17265 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17266 CFLAGS="$CFLAGS -D__i386__"
17267 LINTFLAGS="$LINTFLAGS -D__i386__"
17268 fi ;;
17269 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17270 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17271 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 #ifndef __x86_64__
17278 #endif
17279 _ACEOF
17280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17281 $EGREP "yes" >/dev/null 2>&1; then :
17282 ac_cv_cpp_def___x86_64__=yes
17283 else
17284 ac_cv_cpp_def___x86_64__=no
17286 rm -f conftest*
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17290 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17291 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17292 CFLAGS="$CFLAGS -D__x86_64__"
17293 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17294 fi ;;
17295 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17296 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17297 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17302 #ifndef __sparc64__
17304 #endif
17305 _ACEOF
17306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17307 $EGREP "yes" >/dev/null 2>&1; then :
17308 ac_cv_cpp_def___sparc64__=yes
17309 else
17310 ac_cv_cpp_def___sparc64__=no
17312 rm -f conftest*
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17316 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17317 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17318 CFLAGS="$CFLAGS -D__sparc64__"
17319 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17320 fi ;;
17321 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17322 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17323 if ${ac_cv_cpp_def___sparc__+:} false; then :
17324 $as_echo_n "(cached) " >&6
17325 else
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #ifndef __sparc__
17330 #endif
17331 _ACEOF
17332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17333 $EGREP "yes" >/dev/null 2>&1; then :
17334 ac_cv_cpp_def___sparc__=yes
17335 else
17336 ac_cv_cpp_def___sparc__=no
17338 rm -f conftest*
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17342 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17343 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17344 CFLAGS="$CFLAGS -D__sparc__"
17345 LINTFLAGS="$LINTFLAGS -D__sparc__"
17346 fi ;;
17347 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17348 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17349 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #ifndef __powerpc64__
17356 #endif
17357 _ACEOF
17358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17359 $EGREP "yes" >/dev/null 2>&1; then :
17360 ac_cv_cpp_def___powerpc64__=yes
17361 else
17362 ac_cv_cpp_def___powerpc64__=no
17364 rm -f conftest*
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17368 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17369 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17370 CFLAGS="$CFLAGS -D__powerpc64__"
17371 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17372 fi ;;
17373 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17374 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17375 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __powerpc__
17382 #endif
17383 _ACEOF
17384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17385 $EGREP "yes" >/dev/null 2>&1; then :
17386 ac_cv_cpp_def___powerpc__=yes
17387 else
17388 ac_cv_cpp_def___powerpc__=no
17390 rm -f conftest*
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17394 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17395 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17396 CFLAGS="$CFLAGS -D__powerpc__"
17397 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17398 fi ;;
17399 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17400 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17401 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406 #ifndef __aarch64__
17408 #endif
17409 _ACEOF
17410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17411 $EGREP "yes" >/dev/null 2>&1; then :
17412 ac_cv_cpp_def___aarch64__=yes
17413 else
17414 ac_cv_cpp_def___aarch64__=no
17416 rm -f conftest*
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17420 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17421 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17422 CFLAGS="$CFLAGS -D__aarch64__"
17423 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17424 fi ;;
17425 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17426 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17427 if ${ac_cv_cpp_def___arm__+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #ifndef __arm__
17434 #endif
17435 _ACEOF
17436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17437 $EGREP "yes" >/dev/null 2>&1; then :
17438 ac_cv_cpp_def___arm__=yes
17439 else
17440 ac_cv_cpp_def___arm__=no
17442 rm -f conftest*
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17446 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17447 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17448 CFLAGS="$CFLAGS -D__arm__"
17449 LINTFLAGS="$LINTFLAGS -D__arm__"
17450 fi ;;
17451 esac
17453 case $host_vendor in
17454 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17455 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17456 if ${ac_cv_cpp_def___sun__+:} false; then :
17457 $as_echo_n "(cached) " >&6
17458 else
17459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17460 /* end confdefs.h. */
17461 #ifndef __sun__
17463 #endif
17464 _ACEOF
17465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17466 $EGREP "yes" >/dev/null 2>&1; then :
17467 ac_cv_cpp_def___sun__=yes
17468 else
17469 ac_cv_cpp_def___sun__=no
17471 rm -f conftest*
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17475 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17476 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17477 CFLAGS="$CFLAGS -D__sun__"
17478 LINTFLAGS="$LINTFLAGS -D__sun__"
17479 fi ;;
17480 esac
17486 ac_config_commands="$ac_config_commands include/stamp-h"
17488 $as_echo_n "creating Makefile rules..." >&6
17490 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17491 SOCKET_LIBS = $SOCKET_LIBS
17492 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17493 IOKIT_LIBS = $IOKIT_LIBS
17494 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17495 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17496 CORESERVICES_LIBS = $CORESERVICES_LIBS
17497 APPKIT_LIBS = $APPKIT_LIBS
17498 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17499 SECURITY_LIBS = $SECURITY_LIBS
17500 COREAUDIO_LIBS = $COREAUDIO_LIBS
17501 OPENAL_LIBS = $OPENAL_LIBS
17502 OPENCL_LIBS = $OPENCL_LIBS
17503 QUICKTIME_LIBS = $QUICKTIME_LIBS
17504 CARBON_LIBS = $CARBON_LIBS
17505 PTHREAD_LIBS = $PTHREAD_LIBS
17506 X_CFLAGS = $X_CFLAGS
17507 X_PRE_LIBS = $X_PRE_LIBS
17508 X_LIBS = $X_LIBS
17509 X_EXTRA_LIBS = $X_EXTRA_LIBS
17510 PCAP_LIBS = $PCAP_LIBS
17511 XML2_CFLAGS = $XML2_CFLAGS
17512 XML2_LIBS = $XML2_LIBS
17513 XSLT_CFLAGS = $XSLT_CFLAGS
17514 XSLT_LIBS = $XSLT_LIBS
17515 DBUS_CFLAGS = $DBUS_CFLAGS
17516 DBUS_LIBS = $DBUS_LIBS
17517 HAL_CFLAGS = $HAL_CFLAGS
17518 HAL_LIBS = $HAL_LIBS
17519 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17520 GNUTLS_LIBS = $GNUTLS_LIBS
17521 SANE_CFLAGS = $SANE_CFLAGS
17522 SANE_LIBS = $SANE_LIBS
17523 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17524 GPHOTO2_LIBS = $GPHOTO2_LIBS
17525 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17526 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17527 RESOLV_LIBS = $RESOLV_LIBS
17528 LCMS2_CFLAGS = $LCMS2_CFLAGS
17529 LCMS2_LIBS = $LCMS2_LIBS
17530 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17531 FREETYPE_LIBS = $FREETYPE_LIBS
17532 Z_LIBS = $Z_LIBS
17533 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17534 PULSE_CFLAGS = $PULSE_CFLAGS
17535 PULSE_LIBS = $PULSE_LIBS
17536 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17537 GSTREAMER_LIBS = $GSTREAMER_LIBS
17538 ALSA_LIBS = $ALSA_LIBS
17539 OSS4_CFLAGS = $OSS4_CFLAGS
17540 UDEV_CFLAGS = $UDEV_CFLAGS
17541 UDEV_LIBS = $UDEV_LIBS
17542 CAPI20_CFLAGS = $CAPI20_CFLAGS
17543 CAPI20_LIBS = $CAPI20_LIBS
17544 CUPS_CFLAGS = $CUPS_CFLAGS
17545 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17546 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17547 JPEG_CFLAGS = $JPEG_CFLAGS
17548 JPEG_LIBS = $JPEG_LIBS
17549 PNG_CFLAGS = $PNG_CFLAGS
17550 PNG_LIBS = $PNG_LIBS
17551 TIFF_CFLAGS = $TIFF_CFLAGS
17552 TIFF_LIBS = $TIFF_LIBS
17553 MPG123_CFLAGS = $MPG123_CFLAGS
17554 MPG123_LIBS = $MPG123_LIBS
17555 KSTAT_LIBS = $KSTAT_LIBS
17556 PROCSTAT_LIBS = $PROCSTAT_LIBS
17557 NETAPI_CFLAGS = $NETAPI_CFLAGS
17558 NETAPI_LIBS = $NETAPI_LIBS
17559 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17560 DL_LIBS = $DL_LIBS
17561 POLL_LIBS = $POLL_LIBS
17562 RT_LIBS = $RT_LIBS
17563 LDAP_LIBS = $LDAP_LIBS
17568 wine_fn_append_rule "
17569 # Rules automatically generated by configure
17571 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17573 .INIT: Makefile
17574 .MAKEFILEDEPS:
17575 all: Makefile
17576 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17577 @./config.status Make.tmp Makefile
17578 depend: \$(MAKEDEP) dummy
17579 \$(MAKEDEP)"
17581 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17582 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17584 if test "x$enable_fonts" != xno; then
17585 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17586 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17587 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17588 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17589 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17590 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17592 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17593 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17594 ac_config_links="$ac_config_links wine:tools/winewrapper"
17595 wine_fn_config_symlink wine
17596 if test "x$enable_win64" != xno; then
17597 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17598 wine_fn_config_symlink wine64
17601 wine_fn_config_dll acledit enable_acledit
17602 wine_fn_config_dll aclui enable_aclui implib
17603 wine_fn_config_dll activeds enable_activeds implib
17604 wine_fn_config_dll actxprxy enable_actxprxy clean
17605 wine_fn_config_lib adsiid
17606 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17607 wine_fn_config_test dlls/advapi32/tests advapi32_test
17608 wine_fn_config_dll advpack enable_advpack implib
17609 wine_fn_config_test dlls/advpack/tests advpack_test
17610 wine_fn_config_dll amstream enable_amstream clean
17611 wine_fn_config_test dlls/amstream/tests amstream_test
17612 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17613 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17621 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17624 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17630 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17633 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17637 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17638 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17639 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17640 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17645 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17646 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17648 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17650 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17652 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17653 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17655 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17657 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17659 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17660 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17661 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17663 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17667 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17668 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17671 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17672 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17675 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17676 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17677 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17679 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17680 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17686 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17689 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17694 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17696 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17698 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17700 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17701 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17703 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17714 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17715 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17722 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17723 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17724 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17725 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17726 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17727 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17728 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17729 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17730 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17731 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17732 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17733 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17734 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17735 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17736 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17737 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17738 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17739 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17740 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17741 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17742 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17743 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17744 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17745 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17746 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17747 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17748 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17749 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17750 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17751 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17752 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17753 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17754 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17755 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17756 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17757 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17758 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17759 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17760 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17761 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17762 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17763 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17764 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17765 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17766 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17767 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17768 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17769 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17770 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17771 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17772 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17773 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17774 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17775 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17776 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17777 wine_fn_config_dll apphelp enable_apphelp
17778 wine_fn_config_test dlls/apphelp/tests apphelp_test
17779 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17780 wine_fn_config_dll atl enable_atl clean,implib
17781 wine_fn_config_test dlls/atl/tests atl_test
17782 wine_fn_config_dll atl100 enable_atl100 clean,implib
17783 wine_fn_config_test dlls/atl100/tests atl100_test
17784 wine_fn_config_dll atl110 enable_atl110 clean
17785 wine_fn_config_dll atl80 enable_atl80 clean,implib
17786 wine_fn_config_test dlls/atl80/tests atl80_test
17787 wine_fn_config_dll atl90 enable_atl90 clean
17788 wine_fn_config_dll authz enable_authz
17789 wine_fn_config_dll avicap32 enable_avicap32 implib
17790 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17791 wine_fn_config_test dlls/avifil32/tests avifil32_test
17792 wine_fn_config_dll avifile.dll16 enable_win16
17793 wine_fn_config_dll avrt enable_avrt implib
17794 wine_fn_config_dll bcrypt enable_bcrypt implib
17795 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17796 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17797 wine_fn_config_dll browseui enable_browseui clean
17798 wine_fn_config_test dlls/browseui/tests browseui_test
17799 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17800 wine_fn_config_dll cabinet enable_cabinet implib
17801 wine_fn_config_test dlls/cabinet/tests cabinet_test
17802 wine_fn_config_dll capi2032 enable_capi2032 implib
17803 wine_fn_config_dll cards enable_cards implib
17804 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17805 wine_fn_config_dll clusapi enable_clusapi implib
17806 wine_fn_config_dll combase enable_combase
17807 wine_fn_config_test dlls/combase/tests combase_test
17808 wine_fn_config_dll comcat enable_comcat
17809 wine_fn_config_test dlls/comcat/tests comcat_test
17810 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17811 wine_fn_config_test dlls/comctl32/tests comctl32_test
17812 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17813 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17814 wine_fn_config_dll comm.drv16 enable_win16
17815 wine_fn_config_dll commdlg.dll16 enable_win16
17816 wine_fn_config_dll compobj.dll16 enable_win16
17817 wine_fn_config_dll compstui enable_compstui implib
17818 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17819 wine_fn_config_dll concrt140 enable_concrt140
17820 wine_fn_config_dll connect enable_connect
17821 wine_fn_config_dll credui enable_credui clean,implib
17822 wine_fn_config_test dlls/credui/tests credui_test
17823 wine_fn_config_dll crtdll enable_crtdll
17824 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17825 wine_fn_config_test dlls/crypt32/tests crypt32_test
17826 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17827 wine_fn_config_dll cryptdll enable_cryptdll implib
17828 wine_fn_config_dll cryptext enable_cryptext
17829 wine_fn_config_dll cryptnet enable_cryptnet implib
17830 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17831 wine_fn_config_dll cryptui enable_cryptui clean,implib
17832 wine_fn_config_test dlls/cryptui/tests cryptui_test
17833 wine_fn_config_dll ctapi32 enable_ctapi32
17834 wine_fn_config_dll ctl3d.dll16 enable_win16
17835 wine_fn_config_dll ctl3d32 enable_ctl3d32
17836 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17837 wine_fn_config_dll d2d1 enable_d2d1 implib
17838 wine_fn_config_test dlls/d2d1/tests d2d1_test
17839 wine_fn_config_dll d3d10 enable_d3d10 implib
17840 wine_fn_config_test dlls/d3d10/tests d3d10_test
17841 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17842 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17843 wine_fn_config_dll d3d10core enable_d3d10core implib
17844 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17845 wine_fn_config_dll d3d11 enable_d3d11 implib
17846 wine_fn_config_test dlls/d3d11/tests d3d11_test
17847 wine_fn_config_dll d3d8 enable_d3d8 implib
17848 wine_fn_config_test dlls/d3d8/tests d3d8_test
17849 wine_fn_config_dll d3d9 enable_d3d9 implib
17850 wine_fn_config_test dlls/d3d9/tests d3d9_test
17851 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17852 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17853 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17854 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17855 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17856 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17857 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17858 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17859 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17860 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17861 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17862 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17863 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17864 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17865 wine_fn_config_dll d3dim enable_d3dim
17866 wine_fn_config_dll d3drm enable_d3drm implib
17867 wine_fn_config_test dlls/d3drm/tests d3drm_test
17868 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17869 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17870 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17871 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17872 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17873 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17874 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17875 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17876 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17877 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17878 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17879 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17880 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17881 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17882 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17883 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17884 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17885 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17886 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17887 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17888 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17889 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17890 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17891 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17892 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17893 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17894 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17895 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17896 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17897 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17898 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17899 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17900 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17901 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17902 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17903 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17904 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17905 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17906 wine_fn_config_dll davclnt enable_davclnt
17907 wine_fn_config_dll dbgeng enable_dbgeng implib
17908 wine_fn_config_dll dbghelp enable_dbghelp implib
17909 wine_fn_config_dll dciman32 enable_dciman32 implib
17910 wine_fn_config_dll ddeml.dll16 enable_win16
17911 wine_fn_config_dll ddraw enable_ddraw clean,implib
17912 wine_fn_config_test dlls/ddraw/tests ddraw_test
17913 wine_fn_config_dll ddrawex enable_ddrawex clean
17914 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17915 wine_fn_config_dll devenum enable_devenum clean
17916 wine_fn_config_test dlls/devenum/tests devenum_test
17917 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17918 wine_fn_config_dll difxapi enable_difxapi
17919 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17920 wine_fn_config_test dlls/dinput/tests dinput_test
17921 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17922 wine_fn_config_test dlls/dinput8/tests dinput8_test
17923 wine_fn_config_dll dispdib.dll16 enable_win16
17924 wine_fn_config_dll dispex enable_dispex clean
17925 wine_fn_config_test dlls/dispex/tests dispex_test
17926 wine_fn_config_dll display.drv16 enable_win16
17927 wine_fn_config_dll dmband enable_dmband clean
17928 wine_fn_config_test dlls/dmband/tests dmband_test
17929 wine_fn_config_dll dmcompos enable_dmcompos clean
17930 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17931 wine_fn_config_dll dmime enable_dmime clean
17932 wine_fn_config_test dlls/dmime/tests dmime_test
17933 wine_fn_config_dll dmloader enable_dmloader clean
17934 wine_fn_config_test dlls/dmloader/tests dmloader_test
17935 wine_fn_config_dll dmscript enable_dmscript clean
17936 wine_fn_config_test dlls/dmscript/tests dmscript_test
17937 wine_fn_config_dll dmstyle enable_dmstyle clean
17938 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17939 wine_fn_config_dll dmsynth enable_dmsynth clean
17940 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17941 wine_fn_config_dll dmusic enable_dmusic clean
17942 wine_fn_config_test dlls/dmusic/tests dmusic_test
17943 wine_fn_config_dll dmusic32 enable_dmusic32
17944 wine_fn_config_dll dnsapi enable_dnsapi implib
17945 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17946 wine_fn_config_dll dplay enable_dplay
17947 wine_fn_config_dll dplayx enable_dplayx clean,implib
17948 wine_fn_config_test dlls/dplayx/tests dplayx_test
17949 wine_fn_config_dll dpnaddr enable_dpnaddr
17950 wine_fn_config_dll dpnet enable_dpnet clean,implib
17951 wine_fn_config_test dlls/dpnet/tests dpnet_test
17952 wine_fn_config_dll dpnhpast enable_dpnhpast
17953 wine_fn_config_dll dpnlobby enable_dpnlobby
17954 wine_fn_config_dll dpvoice enable_dpvoice clean
17955 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17956 wine_fn_config_dll dpwsockx enable_dpwsockx
17957 wine_fn_config_dll drmclien enable_drmclien
17958 wine_fn_config_dll dsound enable_dsound clean,implib
17959 wine_fn_config_test dlls/dsound/tests dsound_test
17960 wine_fn_config_dll dssenh enable_dssenh
17961 wine_fn_config_test dlls/dssenh/tests dssenh_test
17962 wine_fn_config_dll dswave enable_dswave clean
17963 wine_fn_config_test dlls/dswave/tests dswave_test
17964 wine_fn_config_dll dwmapi enable_dwmapi implib
17965 wine_fn_config_dll dwrite enable_dwrite implib
17966 wine_fn_config_test dlls/dwrite/tests dwrite_test
17967 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17968 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17969 wine_fn_config_lib dxerr8
17970 wine_fn_config_lib dxerr9
17971 wine_fn_config_dll dxgi enable_dxgi implib
17972 wine_fn_config_test dlls/dxgi/tests dxgi_test
17973 wine_fn_config_lib dxguid
17974 wine_fn_config_dll dxva2 enable_dxva2
17975 wine_fn_config_dll esent enable_esent
17976 wine_fn_config_dll evr enable_evr
17977 wine_fn_config_dll explorerframe enable_explorerframe clean
17978 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17979 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
17980 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
17981 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
17982 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17983 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
17984 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
17985 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17986 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
17987 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
17988 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
17989 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
17990 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
17991 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
17992 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
17993 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
17994 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
17995 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
17996 wine_fn_config_dll faultrep enable_faultrep implib
17997 wine_fn_config_test dlls/faultrep/tests faultrep_test
17998 wine_fn_config_dll fltlib enable_fltlib
17999 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18000 wine_fn_config_dll fntcache enable_fntcache
18001 wine_fn_config_dll fontsub enable_fontsub
18002 wine_fn_config_dll fusion enable_fusion
18003 wine_fn_config_test dlls/fusion/tests fusion_test
18004 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18005 wine_fn_config_dll gameux enable_gameux clean
18006 wine_fn_config_test dlls/gameux/tests gameux_test
18007 wine_fn_config_dll gdi.exe16 enable_win16
18008 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18009 wine_fn_config_test dlls/gdi32/tests gdi32_test
18010 wine_fn_config_dll gdiplus enable_gdiplus implib
18011 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18012 wine_fn_config_dll glu32 enable_glu32 implib
18013 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18014 wine_fn_config_dll gpkcsp enable_gpkcsp
18015 wine_fn_config_dll hal enable_hal
18016 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18017 wine_fn_config_dll hid enable_hid implib
18018 wine_fn_config_test dlls/hid/tests hid_test
18019 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18020 wine_fn_config_dll hlink enable_hlink clean,implib
18021 wine_fn_config_test dlls/hlink/tests hlink_test
18022 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18023 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18024 wine_fn_config_dll httpapi enable_httpapi
18025 wine_fn_config_dll iccvid enable_iccvid clean
18026 wine_fn_config_dll icmp enable_icmp
18027 wine_fn_config_dll ieframe enable_ieframe clean,implib
18028 wine_fn_config_test dlls/ieframe/tests ieframe_test
18029 wine_fn_config_dll ifsmgr.vxd enable_win16
18030 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18031 wine_fn_config_dll imagehlp enable_imagehlp implib
18032 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18033 wine_fn_config_dll imm.dll16 enable_win16
18034 wine_fn_config_dll imm32 enable_imm32 implib
18035 wine_fn_config_test dlls/imm32/tests imm32_test
18036 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18037 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18038 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18039 wine_fn_config_dll inetmib1 enable_inetmib1
18040 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18041 wine_fn_config_dll infosoft enable_infosoft clean
18042 wine_fn_config_test dlls/infosoft/tests infosoft_test
18043 wine_fn_config_dll initpki enable_initpki
18044 wine_fn_config_dll inkobj enable_inkobj
18045 wine_fn_config_dll inseng enable_inseng clean
18046 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18047 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18048 wine_fn_config_dll iprop enable_iprop
18049 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18050 wine_fn_config_dll itircl enable_itircl
18051 wine_fn_config_dll itss enable_itss clean
18052 wine_fn_config_test dlls/itss/tests itss_test
18053 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18054 wine_fn_config_dll jscript enable_jscript clean
18055 wine_fn_config_test dlls/jscript/tests jscript_test
18056 wine_fn_config_dll jsproxy enable_jsproxy implib
18057 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18058 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18059 wine_fn_config_test dlls/kernel32/tests kernel32_test
18060 wine_fn_config_dll kernelbase enable_kernelbase
18061 wine_fn_config_dll keyboard.drv16 enable_win16
18062 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18063 wine_fn_config_dll ksuser enable_ksuser
18064 wine_fn_config_dll ktmw32 enable_ktmw32
18065 wine_fn_config_dll loadperf enable_loadperf implib
18066 wine_fn_config_dll localspl enable_localspl clean
18067 wine_fn_config_test dlls/localspl/tests localspl_test
18068 wine_fn_config_dll localui enable_localui clean
18069 wine_fn_config_test dlls/localui/tests localui_test
18070 wine_fn_config_dll lz32 enable_lz32 implib
18071 wine_fn_config_test dlls/lz32/tests lz32_test
18072 wine_fn_config_dll lzexpand.dll16 enable_win16
18073 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18074 wine_fn_config_test dlls/mapi32/tests mapi32_test
18075 wine_fn_config_dll mapistub enable_mapistub
18076 wine_fn_config_dll mciavi32 enable_mciavi32
18077 wine_fn_config_dll mcicda enable_mcicda
18078 wine_fn_config_dll mciqtz32 enable_mciqtz32
18079 wine_fn_config_dll mciseq enable_mciseq
18080 wine_fn_config_dll mciwave enable_mciwave
18081 wine_fn_config_dll mf enable_mf
18082 wine_fn_config_dll mf3216 enable_mf3216
18083 wine_fn_config_dll mfplat enable_mfplat
18084 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18085 wine_fn_config_dll mgmtapi enable_mgmtapi
18086 wine_fn_config_dll midimap enable_midimap
18087 wine_fn_config_dll mlang enable_mlang clean,implib
18088 wine_fn_config_test dlls/mlang/tests mlang_test
18089 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18090 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18091 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18092 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18093 wine_fn_config_dll mmdevldr.vxd enable_win16
18094 wine_fn_config_dll mmsystem.dll16 enable_win16
18095 wine_fn_config_dll monodebg.vxd enable_win16
18096 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18097 wine_fn_config_dll mouse.drv16 enable_win16
18098 wine_fn_config_dll mpr enable_mpr clean,implib
18099 wine_fn_config_test dlls/mpr/tests mpr_test
18100 wine_fn_config_dll mprapi enable_mprapi implib
18101 wine_fn_config_dll msacm.dll16 enable_win16
18102 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18103 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18104 wine_fn_config_test dlls/msacm32/tests msacm32_test
18105 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18106 wine_fn_config_dll msasn1 enable_msasn1 implib
18107 wine_fn_config_dll mscat32 enable_mscat32
18108 wine_fn_config_dll mscms enable_mscms implib
18109 wine_fn_config_test dlls/mscms/tests mscms_test
18110 wine_fn_config_dll mscoree enable_mscoree clean
18111 wine_fn_config_test dlls/mscoree/tests mscoree_test
18112 wine_fn_config_dll msctf enable_msctf clean
18113 wine_fn_config_test dlls/msctf/tests msctf_test
18114 wine_fn_config_dll msctfp enable_msctfp clean
18115 wine_fn_config_dll msdaps enable_msdaps clean
18116 wine_fn_config_dll msdelta enable_msdelta
18117 wine_fn_config_dll msdmo enable_msdmo implib
18118 wine_fn_config_test dlls/msdmo/tests msdmo_test
18119 wine_fn_config_dll msdrm enable_msdrm
18120 wine_fn_config_dll msftedit enable_msftedit
18121 wine_fn_config_dll msg711.acm enable_msg711_acm
18122 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18123 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18124 wine_fn_config_dll mshtml enable_mshtml clean,implib
18125 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18126 wine_fn_config_dll msi enable_msi clean,implib
18127 wine_fn_config_test dlls/msi/tests msi_test
18128 wine_fn_config_dll msident enable_msident clean
18129 wine_fn_config_dll msimg32 enable_msimg32 implib
18130 wine_fn_config_dll msimsg enable_msimsg
18131 wine_fn_config_dll msimtf enable_msimtf clean
18132 wine_fn_config_dll msisip enable_msisip
18133 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18134 wine_fn_config_dll msls31 enable_msls31
18135 wine_fn_config_dll msnet32 enable_msnet32
18136 wine_fn_config_dll mspatcha enable_mspatcha implib
18137 wine_fn_config_dll msports enable_msports
18138 wine_fn_config_dll msrle32 enable_msrle32 clean
18139 wine_fn_config_test dlls/msrle32/tests msrle32_test
18140 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18141 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18142 wine_fn_config_dll mssign32 enable_mssign32
18143 wine_fn_config_dll mssip32 enable_mssip32
18144 wine_fn_config_dll mstask enable_mstask clean
18145 wine_fn_config_test dlls/mstask/tests mstask_test
18146 wine_fn_config_dll msvcirt enable_msvcirt
18147 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18148 wine_fn_config_dll msvcm80 enable_msvcm80
18149 wine_fn_config_dll msvcm90 enable_msvcm90
18150 wine_fn_config_dll msvcp100 enable_msvcp100
18151 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18152 wine_fn_config_dll msvcp110 enable_msvcp110
18153 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18154 wine_fn_config_dll msvcp120 enable_msvcp120
18155 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18156 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18157 wine_fn_config_dll msvcp140 enable_msvcp140
18158 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18159 wine_fn_config_dll msvcp60 enable_msvcp60
18160 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18161 wine_fn_config_dll msvcp70 enable_msvcp70
18162 wine_fn_config_dll msvcp71 enable_msvcp71
18163 wine_fn_config_dll msvcp80 enable_msvcp80
18164 wine_fn_config_dll msvcp90 enable_msvcp90
18165 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18166 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18167 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18168 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18169 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18170 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18171 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18172 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18173 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18174 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18175 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18176 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18177 wine_fn_config_dll msvcrt enable_msvcrt implib
18178 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18179 wine_fn_config_dll msvcrt20 enable_msvcrt20
18180 wine_fn_config_dll msvcrt40 enable_msvcrt40
18181 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18182 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18183 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18184 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18185 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18186 wine_fn_config_dll msvideo.dll16 enable_win16
18187 wine_fn_config_dll mswsock enable_mswsock implib
18188 wine_fn_config_dll msxml enable_msxml clean
18189 wine_fn_config_dll msxml2 enable_msxml2 clean
18190 wine_fn_config_dll msxml3 enable_msxml3 clean
18191 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18192 wine_fn_config_dll msxml4 enable_msxml4 clean
18193 wine_fn_config_dll msxml6 enable_msxml6 clean
18194 wine_fn_config_dll ncrypt enable_ncrypt
18195 wine_fn_config_dll nddeapi enable_nddeapi implib
18196 wine_fn_config_dll ndis.sys enable_ndis_sys
18197 wine_fn_config_dll netapi32 enable_netapi32 implib
18198 wine_fn_config_test dlls/netapi32/tests netapi32_test
18199 wine_fn_config_dll netcfgx enable_netcfgx clean
18200 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18201 wine_fn_config_dll netprofm enable_netprofm clean
18202 wine_fn_config_test dlls/netprofm/tests netprofm_test
18203 wine_fn_config_dll newdev enable_newdev implib
18204 wine_fn_config_dll normaliz enable_normaliz implib
18205 wine_fn_config_dll npmshtml enable_npmshtml
18206 wine_fn_config_dll npptools enable_npptools
18207 wine_fn_config_dll ntdll enable_ntdll implib
18208 wine_fn_config_test dlls/ntdll/tests ntdll_test
18209 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18210 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18211 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18212 wine_fn_config_dll ntprint enable_ntprint
18213 wine_fn_config_test dlls/ntprint/tests ntprint_test
18214 wine_fn_config_dll objsel enable_objsel clean
18215 wine_fn_config_dll odbc32 enable_odbc32 implib
18216 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18217 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18218 wine_fn_config_dll odbccu32 enable_odbccu32
18219 wine_fn_config_dll ole2.dll16 enable_win16
18220 wine_fn_config_dll ole2conv.dll16 enable_win16
18221 wine_fn_config_dll ole2disp.dll16 enable_win16
18222 wine_fn_config_dll ole2nls.dll16 enable_win16
18223 wine_fn_config_dll ole2prox.dll16 enable_win16
18224 wine_fn_config_dll ole2thk.dll16 enable_win16
18225 wine_fn_config_dll ole32 enable_ole32 clean,implib
18226 wine_fn_config_test dlls/ole32/tests ole32_test
18227 wine_fn_config_dll oleacc enable_oleacc clean,implib
18228 wine_fn_config_test dlls/oleacc/tests oleacc_test
18229 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18230 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18231 wine_fn_config_dll olecli.dll16 enable_win16
18232 wine_fn_config_dll olecli32 enable_olecli32 implib
18233 wine_fn_config_dll oledb32 enable_oledb32 clean
18234 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18235 wine_fn_config_dll oledlg enable_oledlg clean,implib
18236 wine_fn_config_test dlls/oledlg/tests oledlg_test
18237 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18238 wine_fn_config_dll olesvr.dll16 enable_win16
18239 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18240 wine_fn_config_dll olethk32 enable_olethk32
18241 wine_fn_config_dll openal32 enable_openal32
18242 wine_fn_config_dll opencl enable_opencl
18243 wine_fn_config_dll opengl32 enable_opengl32 implib
18244 wine_fn_config_test dlls/opengl32/tests opengl32_test
18245 wine_fn_config_dll packager enable_packager clean
18246 wine_fn_config_test dlls/packager/tests packager_test
18247 wine_fn_config_dll pdh enable_pdh implib
18248 wine_fn_config_test dlls/pdh/tests pdh_test
18249 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18250 wine_fn_config_dll pidgen enable_pidgen
18251 wine_fn_config_dll powrprof enable_powrprof implib
18252 wine_fn_config_dll printui enable_printui
18253 wine_fn_config_dll prntvpt enable_prntvpt
18254 wine_fn_config_dll propsys enable_propsys clean,implib
18255 wine_fn_config_test dlls/propsys/tests propsys_test
18256 wine_fn_config_dll psapi enable_psapi implib
18257 wine_fn_config_test dlls/psapi/tests psapi_test
18258 wine_fn_config_dll pstorec enable_pstorec clean
18259 wine_fn_config_test dlls/pstorec/tests pstorec_test
18260 wine_fn_config_dll qcap enable_qcap
18261 wine_fn_config_test dlls/qcap/tests qcap_test
18262 wine_fn_config_dll qedit enable_qedit clean
18263 wine_fn_config_test dlls/qedit/tests qedit_test
18264 wine_fn_config_dll qmgr enable_qmgr clean
18265 wine_fn_config_test dlls/qmgr/tests qmgr_test
18266 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18267 wine_fn_config_dll quartz enable_quartz clean,implib
18268 wine_fn_config_test dlls/quartz/tests quartz_test clean
18269 wine_fn_config_dll query enable_query
18270 wine_fn_config_dll rasapi16.dll16 enable_win16
18271 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18272 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18273 wine_fn_config_dll rasdlg enable_rasdlg implib
18274 wine_fn_config_dll regapi enable_regapi
18275 wine_fn_config_dll resutils enable_resutils implib
18276 wine_fn_config_dll riched20 enable_riched20 clean,implib
18277 wine_fn_config_test dlls/riched20/tests riched20_test
18278 wine_fn_config_dll riched32 enable_riched32
18279 wine_fn_config_test dlls/riched32/tests riched32_test
18280 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18281 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18282 wine_fn_config_dll rsabase enable_rsabase
18283 wine_fn_config_dll rsaenh enable_rsaenh implib
18284 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18285 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18286 wine_fn_config_dll rtutils enable_rtutils implib
18287 wine_fn_config_dll samlib enable_samlib
18288 wine_fn_config_dll sane.ds enable_sane_ds clean
18289 wine_fn_config_dll scarddlg enable_scarddlg
18290 wine_fn_config_dll sccbase enable_sccbase
18291 wine_fn_config_dll schannel enable_schannel
18292 wine_fn_config_test dlls/schannel/tests schannel_test
18293 wine_fn_config_dll schedsvc enable_schedsvc clean
18294 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18295 wine_fn_config_dll scrobj enable_scrobj clean
18296 wine_fn_config_dll scrrun enable_scrrun clean
18297 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18298 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18299 wine_fn_config_dll secur32 enable_secur32 implib
18300 wine_fn_config_test dlls/secur32/tests secur32_test
18301 wine_fn_config_dll security enable_security
18302 wine_fn_config_dll sensapi enable_sensapi implib
18303 wine_fn_config_dll serialui enable_serialui clean
18304 wine_fn_config_test dlls/serialui/tests serialui_test
18305 wine_fn_config_dll setupapi enable_setupapi clean,implib
18306 wine_fn_config_test dlls/setupapi/tests setupapi_test
18307 wine_fn_config_dll setupx.dll16 enable_win16
18308 wine_fn_config_dll sfc enable_sfc implib
18309 wine_fn_config_dll sfc_os enable_sfc_os implib
18310 wine_fn_config_dll shdoclc enable_shdoclc clean
18311 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18312 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18313 wine_fn_config_dll shell.dll16 enable_win16
18314 wine_fn_config_dll shell32 enable_shell32 clean,implib
18315 wine_fn_config_test dlls/shell32/tests shell32_test
18316 wine_fn_config_dll shfolder enable_shfolder implib
18317 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18318 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18319 wine_fn_config_dll slbcsp enable_slbcsp
18320 wine_fn_config_dll slc enable_slc implib
18321 wine_fn_config_test dlls/slc/tests slc_test
18322 wine_fn_config_dll snmpapi enable_snmpapi implib
18323 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18324 wine_fn_config_dll softpub enable_softpub
18325 wine_fn_config_dll sound.drv16 enable_win16
18326 wine_fn_config_dll spoolss enable_spoolss implib
18327 wine_fn_config_test dlls/spoolss/tests spoolss_test
18328 wine_fn_config_dll sspicli enable_sspicli
18329 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18330 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18331 wine_fn_config_dll sti enable_sti clean,implib
18332 wine_fn_config_test dlls/sti/tests sti_test
18333 wine_fn_config_dll storage.dll16 enable_win16
18334 wine_fn_config_dll stress.dll16 enable_win16
18335 wine_fn_config_lib strmbase
18336 wine_fn_config_lib strmiids
18337 wine_fn_config_dll svrapi enable_svrapi
18338 wine_fn_config_dll sxs enable_sxs implib
18339 wine_fn_config_test dlls/sxs/tests sxs_test
18340 wine_fn_config_dll system.drv16 enable_win16
18341 wine_fn_config_dll t2embed enable_t2embed implib
18342 wine_fn_config_test dlls/t2embed/tests t2embed_test
18343 wine_fn_config_dll tapi32 enable_tapi32 implib
18344 wine_fn_config_dll taskschd enable_taskschd clean
18345 wine_fn_config_test dlls/taskschd/tests taskschd_test
18346 wine_fn_config_dll tdi.sys enable_tdi_sys
18347 wine_fn_config_dll toolhelp.dll16 enable_win16
18348 wine_fn_config_dll traffic enable_traffic
18349 wine_fn_config_dll twain.dll16 enable_win16
18350 wine_fn_config_dll twain_32 enable_twain_32
18351 wine_fn_config_test dlls/twain_32/tests twain_32_test
18352 wine_fn_config_dll typelib.dll16 enable_win16
18353 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18354 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18355 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18356 wine_fn_config_dll unicows enable_unicows implib
18357 wine_fn_config_dll updspapi enable_updspapi
18358 wine_fn_config_dll url enable_url implib
18359 wine_fn_config_dll urlmon enable_urlmon clean,implib
18360 wine_fn_config_test dlls/urlmon/tests urlmon_test
18361 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18362 wine_fn_config_dll user.exe16 enable_win16
18363 wine_fn_config_dll user32 enable_user32 clean,implib
18364 wine_fn_config_test dlls/user32/tests user32_test
18365 wine_fn_config_dll userenv enable_userenv implib
18366 wine_fn_config_test dlls/userenv/tests userenv_test
18367 wine_fn_config_dll usp10 enable_usp10 implib
18368 wine_fn_config_test dlls/usp10/tests usp10_test
18369 wine_fn_config_lib uuid
18370 wine_fn_config_dll uxtheme enable_uxtheme implib
18371 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18372 wine_fn_config_dll vbscript enable_vbscript clean
18373 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18374 wine_fn_config_dll vcomp enable_vcomp
18375 wine_fn_config_test dlls/vcomp/tests vcomp_test
18376 wine_fn_config_dll vcomp100 enable_vcomp100
18377 wine_fn_config_dll vcomp110 enable_vcomp110
18378 wine_fn_config_dll vcomp120 enable_vcomp120
18379 wine_fn_config_dll vcomp140 enable_vcomp140
18380 wine_fn_config_dll vcomp90 enable_vcomp90
18381 wine_fn_config_dll vcruntime140 enable_vcruntime140
18382 wine_fn_config_dll vdhcp.vxd enable_win16
18383 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18384 wine_fn_config_dll ver.dll16 enable_win16
18385 wine_fn_config_dll version enable_version implib
18386 wine_fn_config_test dlls/version/tests version_test
18387 wine_fn_config_dll virtdisk enable_virtdisk
18388 wine_fn_config_dll vmm.vxd enable_win16
18389 wine_fn_config_dll vnbt.vxd enable_win16
18390 wine_fn_config_dll vnetbios.vxd enable_win16
18391 wine_fn_config_dll vssapi enable_vssapi
18392 wine_fn_config_dll vtdapi.vxd enable_win16
18393 wine_fn_config_dll vwin32.vxd enable_win16
18394 wine_fn_config_dll w32skrnl enable_win16
18395 wine_fn_config_dll w32sys.dll16 enable_win16
18396 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18397 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18398 wine_fn_config_dll wbemprox enable_wbemprox clean
18399 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18400 wine_fn_config_dll webservices enable_webservices implib
18401 wine_fn_config_test dlls/webservices/tests webservices_test
18402 wine_fn_config_dll wer enable_wer implib
18403 wine_fn_config_test dlls/wer/tests wer_test
18404 wine_fn_config_dll wevtapi enable_wevtapi
18405 wine_fn_config_dll wiaservc enable_wiaservc clean
18406 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18407 wine_fn_config_dll wimgapi enable_wimgapi
18408 wine_fn_config_dll win32s16.dll16 enable_win16
18409 wine_fn_config_dll win87em.dll16 enable_win16
18410 wine_fn_config_dll winaspi.dll16 enable_win16
18411 wine_fn_config_dll windebug.dll16 enable_win16
18412 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18413 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18414 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18415 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18416 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18417 wine_fn_config_dll winebus.sys enable_winebus_sys
18418 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18419 wine_fn_config_lib winecrt0
18420 wine_fn_config_dll wined3d enable_wined3d implib
18421 wine_fn_config_dll winegstreamer enable_winegstreamer
18422 wine_fn_config_dll winehid.sys enable_winehid_sys
18423 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18424 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18425 wine_fn_config_dll winemapi enable_winemapi
18426 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18427 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18428 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18429 wine_fn_config_dll wineps16.drv16 enable_win16
18430 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18431 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18432 wine_fn_config_dll winex11.drv enable_winex11_drv
18433 wine_fn_config_dll wing.dll16 enable_win16
18434 wine_fn_config_dll wing32 enable_wing32
18435 wine_fn_config_dll winhttp enable_winhttp clean,implib
18436 wine_fn_config_test dlls/winhttp/tests winhttp_test
18437 wine_fn_config_dll wininet enable_wininet clean,implib
18438 wine_fn_config_test dlls/wininet/tests wininet_test
18439 wine_fn_config_dll winmm enable_winmm clean,implib
18440 wine_fn_config_test dlls/winmm/tests winmm_test
18441 wine_fn_config_dll winnls.dll16 enable_win16
18442 wine_fn_config_dll winnls32 enable_winnls32 implib
18443 wine_fn_config_dll winscard enable_winscard implib
18444 wine_fn_config_dll winsock.dll16 enable_win16
18445 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18446 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18447 wine_fn_config_dll winsta enable_winsta
18448 wine_fn_config_dll wintab.dll16 enable_win16
18449 wine_fn_config_dll wintab32 enable_wintab32 implib
18450 wine_fn_config_test dlls/wintab32/tests wintab32_test
18451 wine_fn_config_dll wintrust enable_wintrust implib
18452 wine_fn_config_test dlls/wintrust/tests wintrust_test
18453 wine_fn_config_dll winusb enable_winusb
18454 wine_fn_config_dll wlanapi enable_wlanapi implib
18455 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18456 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18457 wine_fn_config_test dlls/wldap32/tests wldap32_test
18458 wine_fn_config_dll wmasf enable_wmasf
18459 wine_fn_config_dll wmi enable_wmi
18460 wine_fn_config_dll wmiutils enable_wmiutils clean
18461 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18462 wine_fn_config_dll wmp enable_wmp clean
18463 wine_fn_config_test dlls/wmp/tests wmp_test
18464 wine_fn_config_dll wmvcore enable_wmvcore
18465 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18466 wine_fn_config_dll wow32 enable_win16 implib
18467 wine_fn_config_dll wpc enable_wpc clean
18468 wine_fn_config_test dlls/wpc/tests wpc_test
18469 wine_fn_config_dll wpcap enable_wpcap
18470 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18471 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18472 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18473 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18474 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18475 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18476 wine_fn_config_dll wsock32 enable_wsock32 implib
18477 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18478 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18479 wine_fn_config_dll wuapi enable_wuapi clean
18480 wine_fn_config_dll wuaueng enable_wuaueng
18481 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18482 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18483 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18484 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18485 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18486 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18487 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18488 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18489 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18490 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18491 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18492 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18493 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18494 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18495 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18496 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18497 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18498 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18499 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18500 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18501 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18502 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18503 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18504 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18505 wine_fn_config_dll xinput1_1 enable_xinput1_1
18506 wine_fn_config_dll xinput1_2 enable_xinput1_2
18507 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18508 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18509 wine_fn_config_dll xinput1_4 enable_xinput1_4
18510 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18511 wine_fn_config_dll xmllite enable_xmllite implib
18512 wine_fn_config_test dlls/xmllite/tests xmllite_test
18513 wine_fn_config_dll xolehlp enable_xolehlp
18514 wine_fn_config_dll xpsprint enable_xpsprint
18515 wine_fn_config_dll xpssvcs enable_xpssvcs
18516 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18517 wine_fn_config_makefile include enable_include clean,install-dev
18518 wine_fn_config_makefile libs/port enable_libs_port
18519 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18520 wine_fn_config_makefile libs/wpp enable_libs_wpp
18521 wine_fn_config_makefile loader enable_loader clean,install-lib
18522 wine_fn_config_makefile po enable_po clean
18523 wine_fn_config_program arp enable_arp install
18524 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18525 wine_fn_config_program attrib enable_attrib clean,install
18526 wine_fn_config_program cabarc enable_cabarc install
18527 wine_fn_config_program cacls enable_cacls install
18528 wine_fn_config_program clock enable_clock clean,install
18529 wine_fn_config_program cmd enable_cmd clean,install
18530 wine_fn_config_test programs/cmd/tests cmd.exe_test
18531 wine_fn_config_program conhost enable_conhost install
18532 wine_fn_config_program control enable_control install
18533 wine_fn_config_program cscript enable_cscript clean,install
18534 wine_fn_config_program dpnsvr enable_dpnsvr install
18535 wine_fn_config_program dxdiag enable_dxdiag clean,install
18536 wine_fn_config_program eject enable_eject install
18537 wine_fn_config_program expand enable_expand install
18538 wine_fn_config_program explorer enable_explorer clean,install
18539 wine_fn_config_program extrac32 enable_extrac32 install
18540 wine_fn_config_program findstr enable_findstr install
18541 wine_fn_config_program fsutil enable_fsutil install
18542 wine_fn_config_program hh enable_hh install
18543 wine_fn_config_program hostname enable_hostname clean,install
18544 wine_fn_config_program icacls enable_icacls install
18545 wine_fn_config_program icinfo enable_icinfo install
18546 wine_fn_config_program iexplore enable_iexplore install
18547 wine_fn_config_program ipconfig enable_ipconfig clean,install
18548 wine_fn_config_program lodctr enable_lodctr install
18549 wine_fn_config_program mofcomp enable_mofcomp install
18550 wine_fn_config_program mshta enable_mshta install
18551 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18552 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18553 wine_fn_config_program net enable_net clean,install
18554 wine_fn_config_program netsh enable_netsh install
18555 wine_fn_config_program netstat enable_netstat clean,install
18556 wine_fn_config_program ngen enable_ngen install
18557 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18558 wine_fn_config_program oleview enable_oleview clean,install
18559 wine_fn_config_program ping enable_ping install
18560 wine_fn_config_program plugplay enable_plugplay install
18561 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18562 wine_fn_config_program progman enable_progman clean,install
18563 wine_fn_config_program reg enable_reg clean,install
18564 wine_fn_config_test programs/reg/tests reg.exe_test
18565 wine_fn_config_program regasm enable_regasm install
18566 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18567 wine_fn_config_test programs/regedit/tests regedit.exe_test
18568 wine_fn_config_program regsvcs enable_regsvcs install
18569 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18570 wine_fn_config_program rpcss enable_rpcss clean,install
18571 wine_fn_config_program rundll.exe16 enable_win16 install
18572 wine_fn_config_program rundll32 enable_rundll32 install
18573 wine_fn_config_program sc enable_sc install
18574 wine_fn_config_program schtasks enable_schtasks install
18575 wine_fn_config_program sdbinst enable_sdbinst install
18576 wine_fn_config_program secedit enable_secedit install
18577 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18578 wine_fn_config_program services enable_services clean,install
18579 wine_fn_config_test programs/services/tests services.exe_test
18580 wine_fn_config_program shutdown enable_shutdown install
18581 wine_fn_config_program spoolsv enable_spoolsv install
18582 wine_fn_config_program start enable_start clean,install
18583 wine_fn_config_program subst enable_subst install
18584 wine_fn_config_program svchost enable_svchost install
18585 wine_fn_config_program systeminfo enable_systeminfo install
18586 wine_fn_config_program taskkill enable_taskkill clean,install
18587 wine_fn_config_program tasklist enable_tasklist install
18588 wine_fn_config_program taskmgr enable_taskmgr clean,install
18589 wine_fn_config_program termsv enable_termsv install
18590 wine_fn_config_program uninstaller enable_uninstaller clean,install
18591 wine_fn_config_program unlodctr enable_unlodctr install
18592 wine_fn_config_program view enable_view clean,install
18593 wine_fn_config_program wevtutil enable_wevtutil install
18594 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18595 wine_fn_config_program winebrowser enable_winebrowser install
18596 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18597 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18598 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18599 wine_fn_config_program winedevice enable_winedevice install
18600 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18601 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18602 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18603 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18604 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18605 wine_fn_config_program winetest enable_winetest clean
18606 wine_fn_config_program winevdm enable_win16 install
18607 wine_fn_config_program winhelp.exe16 enable_win16 install
18608 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18609 wine_fn_config_program winoldap.mod16 enable_win16 install
18610 wine_fn_config_program winver enable_winver install
18611 wine_fn_config_program wmic enable_wmic clean,install
18612 wine_fn_config_program wmplayer enable_wmplayer install
18613 wine_fn_config_program wordpad enable_wordpad clean,install
18614 wine_fn_config_program write enable_write clean,install
18615 wine_fn_config_program wscript enable_wscript clean,install
18616 wine_fn_config_test programs/wscript/tests wscript.exe_test
18617 wine_fn_config_program wusa enable_wusa install
18618 wine_fn_config_program xcopy enable_xcopy clean,install
18619 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18620 wine_fn_config_makefile server enable_server clean,install-lib
18621 wine_fn_config_tool tools clean
18622 wine_fn_config_tool tools/sfnt2fon clean
18623 wine_fn_config_tool tools/widl clean,install-dev
18624 wine_fn_config_tool tools/winebuild clean,install-dev
18625 wine_fn_config_tool tools/winedump clean,install-dev
18626 wine_fn_config_tool tools/winegcc clean,install-dev
18627 wine_fn_config_tool tools/winemaker clean,install-dev
18628 wine_fn_config_tool tools/wmc clean,install-dev
18629 wine_fn_config_tool tools/wrc clean,install-dev
18632 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18633 wine_fn_append_file CONFIGURE_TARGETS "tags"
18634 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18635 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18636 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18637 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18638 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18639 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18641 if test "x$enable_tools" != xno
18642 then
18643 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18644 ac_config_commands="$ac_config_commands tools/makedep"
18648 ac_config_commands="$ac_config_commands Makefile"
18651 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18655 if test "x$enable_maintainer_mode" = xyes
18656 then
18657 wine_fn_append_rule "configure: configure.ac aclocal.m4
18658 autoconf --warnings=all
18659 include/config.h.in: include/stamp-h.in
18660 include/stamp-h.in: configure.ac aclocal.m4
18661 autoheader --warnings=all
18662 @echo timestamp > \$@"
18665 if test "x$enable_tools" != xno
18666 then
18667 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18668 @./config.status tools/makedep
18669 Makefile: tools/makedep$ac_exeext"
18670 else
18671 wine_fn_append_rule "\$(MAKEDEP):
18672 @echo \"You need to run make in $TOOLSDIR first\" && false"
18675 if test -n "$with_wine64"
18676 then
18677 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18678 fonts server:
18679 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18680 $with_wine64/loader/wine:
18681 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18682 $with_wine64/loader/wine-preloader:
18683 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18684 clean::
18685 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18686 else
18687 WINELOADER_INSTALL="wine.inf"
18689 wine_fn_append_rule "install install-lib::
18690 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18691 uninstall::
18692 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18693 case $host_os in
18694 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18695 *) wine_fn_append_rule "install install-lib::
18696 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18697 uninstall::
18698 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18699 esac
18702 $as_echo " done" >&6
18703 cat >confcache <<\_ACEOF
18704 # This file is a shell script that caches the results of configure
18705 # tests run on this system so they can be shared between configure
18706 # scripts and configure runs, see configure's option --config-cache.
18707 # It is not useful on other systems. If it contains results you don't
18708 # want to keep, you may remove or edit it.
18710 # config.status only pays attention to the cache file if you give it
18711 # the --recheck option to rerun configure.
18713 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18715 # following values.
18717 _ACEOF
18719 # The following way of writing the cache mishandles newlines in values,
18720 # but we know of no workaround that is simple, portable, and efficient.
18721 # So, we kill variables containing newlines.
18722 # Ultrix sh set writes to stderr and can't be redirected directly,
18723 # and sets the high bit in the cache file unless we assign to the vars.
18725 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18726 eval ac_val=\$$ac_var
18727 case $ac_val in #(
18728 *${as_nl}*)
18729 case $ac_var in #(
18730 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18731 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18732 esac
18733 case $ac_var in #(
18734 _ | IFS | as_nl) ;; #(
18735 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18736 *) { eval $ac_var=; unset $ac_var;} ;;
18737 esac ;;
18738 esac
18739 done
18741 (set) 2>&1 |
18742 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18743 *${as_nl}ac_space=\ *)
18744 # `set' does not quote correctly, so add quotes: double-quote
18745 # substitution turns \\\\ into \\, and sed turns \\ into \.
18746 sed -n \
18747 "s/'/'\\\\''/g;
18748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18749 ;; #(
18751 # `set' quotes correctly as required by POSIX, so do not add quotes.
18752 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18754 esac |
18755 sort
18757 sed '
18758 /^ac_cv_env_/b end
18759 t clear
18760 :clear
18761 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18762 t end
18763 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18764 :end' >>confcache
18765 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18766 if test -w "$cache_file"; then
18767 if test "x$cache_file" != "x/dev/null"; then
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18769 $as_echo "$as_me: updating cache $cache_file" >&6;}
18770 if test ! -f "$cache_file" || test -h "$cache_file"; then
18771 cat confcache >"$cache_file"
18772 else
18773 case $cache_file in #(
18774 */* | ?:*)
18775 mv -f confcache "$cache_file"$$ &&
18776 mv -f "$cache_file"$$ "$cache_file" ;; #(
18778 mv -f confcache "$cache_file" ;;
18779 esac
18782 else
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18784 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18787 rm -f confcache
18789 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18790 # Let make expand exec_prefix.
18791 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18793 DEFS=-DHAVE_CONFIG_H
18795 ac_libobjs=
18796 ac_ltlibobjs=
18798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18799 # 1. Remove the extension, and $U if already installed.
18800 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18801 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18803 # will be set to the directory where LIBOBJS objects are built.
18804 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18805 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18806 done
18807 LIBOBJS=$ac_libobjs
18809 LTLIBOBJS=$ac_ltlibobjs
18813 : "${CONFIG_STATUS=./config.status}"
18814 ac_write_fail=0
18815 ac_clean_files_save=$ac_clean_files
18816 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18819 as_write_fail=0
18820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18821 #! $SHELL
18822 # Generated by $as_me.
18823 # Run this file to recreate the current configuration.
18824 # Compiler output produced by configure, useful for debugging
18825 # configure, is in config.log if it exists.
18827 debug=false
18828 ac_cs_recheck=false
18829 ac_cs_silent=false
18831 SHELL=\${CONFIG_SHELL-$SHELL}
18832 export SHELL
18833 _ASEOF
18834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18835 ## -------------------- ##
18836 ## M4sh Initialization. ##
18837 ## -------------------- ##
18839 # Be more Bourne compatible
18840 DUALCASE=1; export DUALCASE # for MKS sh
18841 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18842 emulate sh
18843 NULLCMD=:
18844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18845 # is contrary to our usage. Disable this feature.
18846 alias -g '${1+"$@"}'='"$@"'
18847 setopt NO_GLOB_SUBST
18848 else
18849 case `(set -o) 2>/dev/null` in #(
18850 *posix*) :
18851 set -o posix ;; #(
18852 *) :
18854 esac
18858 as_nl='
18860 export as_nl
18861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18862 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18865 # Prefer a ksh shell builtin over an external printf program on Solaris,
18866 # but without wasting forks for bash or zsh.
18867 if test -z "$BASH_VERSION$ZSH_VERSION" \
18868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18869 as_echo='print -r --'
18870 as_echo_n='print -rn --'
18871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18872 as_echo='printf %s\n'
18873 as_echo_n='printf %s'
18874 else
18875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18876 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18877 as_echo_n='/usr/ucb/echo -n'
18878 else
18879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18880 as_echo_n_body='eval
18881 arg=$1;
18882 case $arg in #(
18883 *"$as_nl"*)
18884 expr "X$arg" : "X\\(.*\\)$as_nl";
18885 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18886 esac;
18887 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18889 export as_echo_n_body
18890 as_echo_n='sh -c $as_echo_n_body as_echo'
18892 export as_echo_body
18893 as_echo='sh -c $as_echo_body as_echo'
18896 # The user is always right.
18897 if test "${PATH_SEPARATOR+set}" != set; then
18898 PATH_SEPARATOR=:
18899 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18900 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18901 PATH_SEPARATOR=';'
18906 # IFS
18907 # We need space, tab and new line, in precisely that order. Quoting is
18908 # there to prevent editors from complaining about space-tab.
18909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18910 # splitting by setting IFS to empty value.)
18911 IFS=" "" $as_nl"
18913 # Find who we are. Look in the path if we contain no directory separator.
18914 as_myself=
18915 case $0 in #((
18916 *[\\/]* ) as_myself=$0 ;;
18917 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18918 for as_dir in $PATH
18920 IFS=$as_save_IFS
18921 test -z "$as_dir" && as_dir=.
18922 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18923 done
18924 IFS=$as_save_IFS
18927 esac
18928 # We did not find ourselves, most probably we were run as `sh COMMAND'
18929 # in which case we are not to be found in the path.
18930 if test "x$as_myself" = x; then
18931 as_myself=$0
18933 if test ! -f "$as_myself"; then
18934 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18935 exit 1
18938 # Unset variables that we do not need and which cause bugs (e.g. in
18939 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18940 # suppresses any "Segmentation fault" message there. '((' could
18941 # trigger a bug in pdksh 5.2.14.
18942 for as_var in BASH_ENV ENV MAIL MAILPATH
18943 do eval test x\${$as_var+set} = xset \
18944 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18945 done
18946 PS1='$ '
18947 PS2='> '
18948 PS4='+ '
18950 # NLS nuisances.
18951 LC_ALL=C
18952 export LC_ALL
18953 LANGUAGE=C
18954 export LANGUAGE
18956 # CDPATH.
18957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18960 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18961 # ----------------------------------------
18962 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18963 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18964 # script with STATUS, using 1 if that was 0.
18965 as_fn_error ()
18967 as_status=$1; test $as_status -eq 0 && as_status=1
18968 if test "$4"; then
18969 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18970 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18972 $as_echo "$as_me: error: $2" >&2
18973 as_fn_exit $as_status
18974 } # as_fn_error
18977 # as_fn_set_status STATUS
18978 # -----------------------
18979 # Set $? to STATUS, without forking.
18980 as_fn_set_status ()
18982 return $1
18983 } # as_fn_set_status
18985 # as_fn_exit STATUS
18986 # -----------------
18987 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18988 as_fn_exit ()
18990 set +e
18991 as_fn_set_status $1
18992 exit $1
18993 } # as_fn_exit
18995 # as_fn_unset VAR
18996 # ---------------
18997 # Portably unset VAR.
18998 as_fn_unset ()
19000 { eval $1=; unset $1;}
19002 as_unset=as_fn_unset
19003 # as_fn_append VAR VALUE
19004 # ----------------------
19005 # Append the text in VALUE to the end of the definition contained in VAR. Take
19006 # advantage of any shell optimizations that allow amortized linear growth over
19007 # repeated appends, instead of the typical quadratic growth present in naive
19008 # implementations.
19009 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19010 eval 'as_fn_append ()
19012 eval $1+=\$2
19014 else
19015 as_fn_append ()
19017 eval $1=\$$1\$2
19019 fi # as_fn_append
19021 # as_fn_arith ARG...
19022 # ------------------
19023 # Perform arithmetic evaluation on the ARGs, and store the result in the
19024 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19025 # must be portable across $(()) and expr.
19026 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19027 eval 'as_fn_arith ()
19029 as_val=$(( $* ))
19031 else
19032 as_fn_arith ()
19034 as_val=`expr "$@" || test $? -eq 1`
19036 fi # as_fn_arith
19039 if expr a : '\(a\)' >/dev/null 2>&1 &&
19040 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19041 as_expr=expr
19042 else
19043 as_expr=false
19046 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19047 as_basename=basename
19048 else
19049 as_basename=false
19052 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19053 as_dirname=dirname
19054 else
19055 as_dirname=false
19058 as_me=`$as_basename -- "$0" ||
19059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19060 X"$0" : 'X\(//\)$' \| \
19061 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19062 $as_echo X/"$0" |
19063 sed '/^.*\/\([^/][^/]*\)\/*$/{
19064 s//\1/
19067 /^X\/\(\/\/\)$/{
19068 s//\1/
19071 /^X\/\(\/\).*/{
19072 s//\1/
19075 s/.*/./; q'`
19077 # Avoid depending upon Character Ranges.
19078 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19079 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19080 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19081 as_cr_digits='0123456789'
19082 as_cr_alnum=$as_cr_Letters$as_cr_digits
19084 ECHO_C= ECHO_N= ECHO_T=
19085 case `echo -n x` in #(((((
19086 -n*)
19087 case `echo 'xy\c'` in
19088 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19089 xy) ECHO_C='\c';;
19090 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19091 ECHO_T=' ';;
19092 esac;;
19094 ECHO_N='-n';;
19095 esac
19097 rm -f conf$$ conf$$.exe conf$$.file
19098 if test -d conf$$.dir; then
19099 rm -f conf$$.dir/conf$$.file
19100 else
19101 rm -f conf$$.dir
19102 mkdir conf$$.dir 2>/dev/null
19104 if (echo >conf$$.file) 2>/dev/null; then
19105 if ln -s conf$$.file conf$$ 2>/dev/null; then
19106 as_ln_s='ln -s'
19107 # ... but there are two gotchas:
19108 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19109 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19110 # In both cases, we have to default to `cp -pR'.
19111 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19112 as_ln_s='cp -pR'
19113 elif ln conf$$.file conf$$ 2>/dev/null; then
19114 as_ln_s=ln
19115 else
19116 as_ln_s='cp -pR'
19118 else
19119 as_ln_s='cp -pR'
19121 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19122 rmdir conf$$.dir 2>/dev/null
19125 # as_fn_mkdir_p
19126 # -------------
19127 # Create "$as_dir" as a directory, including parents if necessary.
19128 as_fn_mkdir_p ()
19131 case $as_dir in #(
19132 -*) as_dir=./$as_dir;;
19133 esac
19134 test -d "$as_dir" || eval $as_mkdir_p || {
19135 as_dirs=
19136 while :; do
19137 case $as_dir in #(
19138 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19139 *) as_qdir=$as_dir;;
19140 esac
19141 as_dirs="'$as_qdir' $as_dirs"
19142 as_dir=`$as_dirname -- "$as_dir" ||
19143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19144 X"$as_dir" : 'X\(//\)[^/]' \| \
19145 X"$as_dir" : 'X\(//\)$' \| \
19146 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19147 $as_echo X"$as_dir" |
19148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19149 s//\1/
19152 /^X\(\/\/\)[^/].*/{
19153 s//\1/
19156 /^X\(\/\/\)$/{
19157 s//\1/
19160 /^X\(\/\).*/{
19161 s//\1/
19164 s/.*/./; q'`
19165 test -d "$as_dir" && break
19166 done
19167 test -z "$as_dirs" || eval "mkdir $as_dirs"
19168 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19171 } # as_fn_mkdir_p
19172 if mkdir -p . 2>/dev/null; then
19173 as_mkdir_p='mkdir -p "$as_dir"'
19174 else
19175 test -d ./-p && rmdir ./-p
19176 as_mkdir_p=false
19180 # as_fn_executable_p FILE
19181 # -----------------------
19182 # Test if FILE is an executable regular file.
19183 as_fn_executable_p ()
19185 test -f "$1" && test -x "$1"
19186 } # as_fn_executable_p
19187 as_test_x='test -x'
19188 as_executable_p=as_fn_executable_p
19190 # Sed expression to map a string onto a valid CPP name.
19191 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19193 # Sed expression to map a string onto a valid variable name.
19194 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19197 exec 6>&1
19198 ## ----------------------------------- ##
19199 ## Main body of $CONFIG_STATUS script. ##
19200 ## ----------------------------------- ##
19201 _ASEOF
19202 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19205 # Save the log message, to keep $0 and so on meaningful, and to
19206 # report actual input values of CONFIG_FILES etc. instead of their
19207 # values after options handling.
19208 ac_log="
19209 This file was extended by Wine $as_me 2.4, which was
19210 generated by GNU Autoconf 2.69. Invocation command line was
19212 CONFIG_FILES = $CONFIG_FILES
19213 CONFIG_HEADERS = $CONFIG_HEADERS
19214 CONFIG_LINKS = $CONFIG_LINKS
19215 CONFIG_COMMANDS = $CONFIG_COMMANDS
19216 $ $0 $@
19218 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19221 _ACEOF
19223 case $ac_config_files in *"
19224 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19225 esac
19227 case $ac_config_headers in *"
19228 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19229 esac
19232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233 # Files that config.status was made for.
19234 config_files="$ac_config_files"
19235 config_headers="$ac_config_headers"
19236 config_links="$ac_config_links"
19237 config_commands="$ac_config_commands"
19239 _ACEOF
19241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19242 ac_cs_usage="\
19243 \`$as_me' instantiates files and other configuration actions
19244 from templates according to the current configuration. Unless the files
19245 and actions are specified as TAGs, all are instantiated by default.
19247 Usage: $0 [OPTION]... [TAG]...
19249 -h, --help print this help, then exit
19250 -V, --version print version number and configuration settings, then exit
19251 --config print configuration, then exit
19252 -q, --quiet, --silent
19253 do not print progress messages
19254 -d, --debug don't remove temporary files
19255 --recheck update $as_me by reconfiguring in the same conditions
19256 --file=FILE[:TEMPLATE]
19257 instantiate the configuration file FILE
19258 --header=FILE[:TEMPLATE]
19259 instantiate the configuration header FILE
19261 Configuration files:
19262 $config_files
19264 Configuration headers:
19265 $config_headers
19267 Configuration links:
19268 $config_links
19270 Configuration commands:
19271 $config_commands
19273 Report bugs to <wine-devel@winehq.org>.
19274 Wine home page: <http://www.winehq.org>."
19276 _ACEOF
19277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19278 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19279 ac_cs_version="\\
19280 Wine config.status 2.4
19281 configured by $0, generated by GNU Autoconf 2.69,
19282 with options \\"\$ac_cs_config\\"
19284 Copyright (C) 2012 Free Software Foundation, Inc.
19285 This config.status script is free software; the Free Software Foundation
19286 gives unlimited permission to copy, distribute and modify it."
19288 ac_pwd='$ac_pwd'
19289 srcdir='$srcdir'
19290 test -n "\$AWK" || AWK=awk
19291 _ACEOF
19293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19294 # The default lists apply if the user does not specify any file.
19295 ac_need_defaults=:
19296 while test $# != 0
19298 case $1 in
19299 --*=?*)
19300 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19301 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19302 ac_shift=:
19304 --*=)
19305 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19306 ac_optarg=
19307 ac_shift=:
19310 ac_option=$1
19311 ac_optarg=$2
19312 ac_shift=shift
19314 esac
19316 case $ac_option in
19317 # Handling of the options.
19318 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19319 ac_cs_recheck=: ;;
19320 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19321 $as_echo "$ac_cs_version"; exit ;;
19322 --config | --confi | --conf | --con | --co | --c )
19323 $as_echo "$ac_cs_config"; exit ;;
19324 --debug | --debu | --deb | --de | --d | -d )
19325 debug=: ;;
19326 --file | --fil | --fi | --f )
19327 $ac_shift
19328 case $ac_optarg in
19329 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19330 '') as_fn_error $? "missing file argument" ;;
19331 esac
19332 as_fn_append CONFIG_FILES " '$ac_optarg'"
19333 ac_need_defaults=false;;
19334 --header | --heade | --head | --hea )
19335 $ac_shift
19336 case $ac_optarg in
19337 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19338 esac
19339 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19340 ac_need_defaults=false;;
19341 --he | --h)
19342 # Conflict between --help and --header
19343 as_fn_error $? "ambiguous option: \`$1'
19344 Try \`$0 --help' for more information.";;
19345 --help | --hel | -h )
19346 $as_echo "$ac_cs_usage"; exit ;;
19347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19348 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19349 ac_cs_silent=: ;;
19351 # This is an error.
19352 -*) as_fn_error $? "unrecognized option: \`$1'
19353 Try \`$0 --help' for more information." ;;
19355 *) as_fn_append ac_config_targets " $1"
19356 ac_need_defaults=false ;;
19358 esac
19359 shift
19360 done
19362 ac_configure_extra_args=
19364 if $ac_cs_silent; then
19365 exec 6>/dev/null
19366 ac_configure_extra_args="$ac_configure_extra_args --silent"
19369 _ACEOF
19370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19371 if \$ac_cs_recheck; then
19372 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19373 shift
19374 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19375 CONFIG_SHELL='$SHELL'
19376 export CONFIG_SHELL
19377 exec "\$@"
19380 _ACEOF
19381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19382 exec 5>>config.log
19384 echo
19385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19386 ## Running $as_me. ##
19387 _ASBOX
19388 $as_echo "$ac_log"
19389 } >&5
19391 _ACEOF
19392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19394 # INIT-COMMANDS
19396 wine_fn_output_makedep ()
19398 as_dir=tools; as_fn_mkdir_p
19399 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19401 wine_fn_output_makefile ()
19403 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19404 `cat $wine_rules_file`
19405 _WINE_EOF
19406 as_fn_error $? "could not create Makefile" "$LINENO" 5
19409 _ACEOF
19411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19413 # Handling of arguments.
19414 for ac_config_target in $ac_config_targets
19416 case $ac_config_target in
19417 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19418 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19419 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19420 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19421 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19422 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19423 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19424 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19425 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19426 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19427 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19428 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19429 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19431 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19432 esac
19433 done
19436 # If the user did not use the arguments to specify the items to instantiate,
19437 # then the envvar interface is used. Set only those that are not.
19438 # We use the long form for the default assignment because of an extremely
19439 # bizarre bug on SunOS 4.1.3.
19440 if $ac_need_defaults; then
19441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19443 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19444 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19447 # Have a temporary directory for convenience. Make it in the build tree
19448 # simply because there is no reason against having it here, and in addition,
19449 # creating and moving files from /tmp can sometimes cause problems.
19450 # Hook for its removal unless debugging.
19451 # Note that there is a small window in which the directory will not be cleaned:
19452 # after its creation but before its name has been assigned to `$tmp'.
19453 $debug ||
19455 tmp= ac_tmp=
19456 trap 'exit_status=$?
19457 : "${ac_tmp:=$tmp}"
19458 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19460 trap 'as_fn_exit 1' 1 2 13 15
19462 # Create a (secure) tmp directory for tmp files.
19465 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19466 test -d "$tmp"
19467 } ||
19469 tmp=./conf$$-$RANDOM
19470 (umask 077 && mkdir "$tmp")
19471 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19472 ac_tmp=$tmp
19474 # Set up the scripts for CONFIG_FILES section.
19475 # No need to generate them if there are no CONFIG_FILES.
19476 # This happens for instance with `./config.status config.h'.
19477 if test -n "$CONFIG_FILES"; then
19480 ac_cr=`echo X | tr X '\015'`
19481 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19482 # But we know of no other shell where ac_cr would be empty at this
19483 # point, so we can use a bashism as a fallback.
19484 if test "x$ac_cr" = x; then
19485 eval ac_cr=\$\'\\r\'
19487 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19488 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19489 ac_cs_awk_cr='\\r'
19490 else
19491 ac_cs_awk_cr=$ac_cr
19494 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19495 _ACEOF
19499 echo "cat >conf$$subs.awk <<_ACEOF" &&
19500 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19501 echo "_ACEOF"
19502 } >conf$$subs.sh ||
19503 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19504 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19505 ac_delim='%!_!# '
19506 for ac_last_try in false false false false false :; do
19507 . ./conf$$subs.sh ||
19508 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19510 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19511 if test $ac_delim_n = $ac_delim_num; then
19512 break
19513 elif $ac_last_try; then
19514 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19515 else
19516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19518 done
19519 rm -f conf$$subs.sh
19521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19522 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19523 _ACEOF
19524 sed -n '
19526 s/^/S["/; s/!.*/"]=/
19529 s/^[^!]*!//
19530 :repl
19531 t repl
19532 s/'"$ac_delim"'$//
19533 t delim
19536 s/\(.\{148\}\)..*/\1/
19537 t more1
19538 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19541 b repl
19542 :more1
19543 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19546 s/.\{148\}//
19547 t nl
19548 :delim
19550 s/\(.\{148\}\)..*/\1/
19551 t more2
19552 s/["\\]/\\&/g; s/^/"/; s/$/"/
19555 :more2
19556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19559 s/.\{148\}//
19560 t delim
19561 ' <conf$$subs.awk | sed '
19562 /^[^""]/{
19564 s/\n//
19566 ' >>$CONFIG_STATUS || ac_write_fail=1
19567 rm -f conf$$subs.awk
19568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19569 _ACAWK
19570 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19571 for (key in S) S_is_set[key] = 1
19572 FS = "\a"
19576 line = $ 0
19577 nfields = split(line, field, "@")
19578 substed = 0
19579 len = length(field[1])
19580 for (i = 2; i < nfields; i++) {
19581 key = field[i]
19582 keylen = length(key)
19583 if (S_is_set[key]) {
19584 value = S[key]
19585 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19586 len += length(value) + length(field[++i])
19587 substed = 1
19588 } else
19589 len += 1 + keylen
19592 print line
19595 _ACAWK
19596 _ACEOF
19597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19598 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19599 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19600 else
19602 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19603 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19604 _ACEOF
19606 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19607 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19608 # trailing colons and then remove the whole line if VPATH becomes empty
19609 # (actually we leave an empty line to preserve line numbers).
19610 if test "x$srcdir" = x.; then
19611 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19613 s///
19614 s/^/:/
19615 s/[ ]*$/:/
19616 s/:\$(srcdir):/:/g
19617 s/:\${srcdir}:/:/g
19618 s/:@srcdir@:/:/g
19619 s/^:*//
19620 s/:*$//
19622 s/\(=[ ]*\).*/\1/
19624 s/\n//
19625 s/^[^=]*=[ ]*$//
19629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19630 fi # test -n "$CONFIG_FILES"
19632 # Set up the scripts for CONFIG_HEADERS section.
19633 # No need to generate them if there are no CONFIG_HEADERS.
19634 # This happens for instance with `./config.status Makefile'.
19635 if test -n "$CONFIG_HEADERS"; then
19636 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19637 BEGIN {
19638 _ACEOF
19640 # Transform confdefs.h into an awk script `defines.awk', embedded as
19641 # here-document in config.status, that substitutes the proper values into
19642 # config.h.in to produce config.h.
19644 # Create a delimiter string that does not exist in confdefs.h, to ease
19645 # handling of long lines.
19646 ac_delim='%!_!# '
19647 for ac_last_try in false false :; do
19648 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19649 if test -z "$ac_tt"; then
19650 break
19651 elif $ac_last_try; then
19652 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19653 else
19654 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19656 done
19658 # For the awk script, D is an array of macro values keyed by name,
19659 # likewise P contains macro parameters if any. Preserve backslash
19660 # newline sequences.
19662 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19663 sed -n '
19664 s/.\{148\}/&'"$ac_delim"'/g
19665 t rset
19666 :rset
19667 s/^[ ]*#[ ]*define[ ][ ]*/ /
19668 t def
19670 :def
19671 s/\\$//
19672 t bsnl
19673 s/["\\]/\\&/g
19674 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19675 D["\1"]=" \3"/p
19676 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19678 :bsnl
19679 s/["\\]/\\&/g
19680 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19681 D["\1"]=" \3\\\\\\n"\\/p
19682 t cont
19683 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19684 t cont
19686 :cont
19688 s/.\{148\}/&'"$ac_delim"'/g
19689 t clear
19690 :clear
19691 s/\\$//
19692 t bsnlc
19693 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19695 :bsnlc
19696 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19697 b cont
19698 ' <confdefs.h | sed '
19699 s/'"$ac_delim"'/"\\\
19700 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19703 for (key in D) D_is_set[key] = 1
19704 FS = "\a"
19706 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19707 line = \$ 0
19708 split(line, arg, " ")
19709 if (arg[1] == "#") {
19710 defundef = arg[2]
19711 mac1 = arg[3]
19712 } else {
19713 defundef = substr(arg[1], 2)
19714 mac1 = arg[2]
19716 split(mac1, mac2, "(") #)
19717 macro = mac2[1]
19718 prefix = substr(line, 1, index(line, defundef) - 1)
19719 if (D_is_set[macro]) {
19720 # Preserve the white space surrounding the "#".
19721 print prefix "define", macro P[macro] D[macro]
19722 next
19723 } else {
19724 # Replace #undef with comments. This is necessary, for example,
19725 # in the case of _POSIX_SOURCE, which is predefined and required
19726 # on some systems where configure will not decide to define it.
19727 if (defundef == "undef") {
19728 print "/*", prefix defundef, macro, "*/"
19729 next
19733 { print }
19734 _ACAWK
19735 _ACEOF
19736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19737 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19738 fi # test -n "$CONFIG_HEADERS"
19741 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19742 shift
19743 for ac_tag
19745 case $ac_tag in
19746 :[FHLC]) ac_mode=$ac_tag; continue;;
19747 esac
19748 case $ac_mode$ac_tag in
19749 :[FHL]*:*);;
19750 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19751 :[FH]-) ac_tag=-:-;;
19752 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19753 esac
19754 ac_save_IFS=$IFS
19755 IFS=:
19756 set x $ac_tag
19757 IFS=$ac_save_IFS
19758 shift
19759 ac_file=$1
19760 shift
19762 case $ac_mode in
19763 :L) ac_source=$1;;
19764 :[FH])
19765 ac_file_inputs=
19766 for ac_f
19768 case $ac_f in
19769 -) ac_f="$ac_tmp/stdin";;
19770 *) # Look for the file first in the build tree, then in the source tree
19771 # (if the path is not absolute). The absolute path cannot be DOS-style,
19772 # because $ac_f cannot contain `:'.
19773 test -f "$ac_f" ||
19774 case $ac_f in
19775 [\\/$]*) false;;
19776 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19777 esac ||
19778 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19779 esac
19780 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19781 as_fn_append ac_file_inputs " '$ac_f'"
19782 done
19784 # Let's still pretend it is `configure' which instantiates (i.e., don't
19785 # use $as_me), people would be surprised to read:
19786 # /* config.h. Generated by config.status. */
19787 configure_input='Generated from '`
19788 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19789 `' by configure.'
19790 if test x"$ac_file" != x-; then
19791 configure_input="$ac_file. $configure_input"
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19793 $as_echo "$as_me: creating $ac_file" >&6;}
19795 # Neutralize special characters interpreted by sed in replacement strings.
19796 case $configure_input in #(
19797 *\&* | *\|* | *\\* )
19798 ac_sed_conf_input=`$as_echo "$configure_input" |
19799 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19800 *) ac_sed_conf_input=$configure_input;;
19801 esac
19803 case $ac_tag in
19804 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19806 esac
19808 esac
19810 ac_dir=`$as_dirname -- "$ac_file" ||
19811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19812 X"$ac_file" : 'X\(//\)[^/]' \| \
19813 X"$ac_file" : 'X\(//\)$' \| \
19814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19815 $as_echo X"$ac_file" |
19816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19817 s//\1/
19820 /^X\(\/\/\)[^/].*/{
19821 s//\1/
19824 /^X\(\/\/\)$/{
19825 s//\1/
19828 /^X\(\/\).*/{
19829 s//\1/
19832 s/.*/./; q'`
19833 as_dir="$ac_dir"; as_fn_mkdir_p
19834 ac_builddir=.
19836 case "$ac_dir" in
19837 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19839 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19840 # A ".." for each directory in $ac_dir_suffix.
19841 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19842 case $ac_top_builddir_sub in
19843 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19844 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19845 esac ;;
19846 esac
19847 ac_abs_top_builddir=$ac_pwd
19848 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19849 # for backward compatibility:
19850 ac_top_builddir=$ac_top_build_prefix
19852 case $srcdir in
19853 .) # We are building in place.
19854 ac_srcdir=.
19855 ac_top_srcdir=$ac_top_builddir_sub
19856 ac_abs_top_srcdir=$ac_pwd ;;
19857 [\\/]* | ?:[\\/]* ) # Absolute name.
19858 ac_srcdir=$srcdir$ac_dir_suffix;
19859 ac_top_srcdir=$srcdir
19860 ac_abs_top_srcdir=$srcdir ;;
19861 *) # Relative name.
19862 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19863 ac_top_srcdir=$ac_top_build_prefix$srcdir
19864 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19865 esac
19866 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19869 case $ac_mode in
19872 # CONFIG_FILE
19875 _ACEOF
19877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19878 # If the template does not know about datarootdir, expand it.
19879 # FIXME: This hack should be removed a few years after 2.60.
19880 ac_datarootdir_hack=; ac_datarootdir_seen=
19881 ac_sed_dataroot='
19882 /datarootdir/ {
19886 /@datadir@/p
19887 /@docdir@/p
19888 /@infodir@/p
19889 /@localedir@/p
19890 /@mandir@/p'
19891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19892 *datarootdir*) ac_datarootdir_seen=yes;;
19893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19896 _ACEOF
19897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19898 ac_datarootdir_hack='
19899 s&@datadir@&$datadir&g
19900 s&@docdir@&$docdir&g
19901 s&@infodir@&$infodir&g
19902 s&@localedir@&$localedir&g
19903 s&@mandir@&$mandir&g
19904 s&\\\${datarootdir}&$datarootdir&g' ;;
19905 esac
19906 _ACEOF
19908 # Neutralize VPATH when `$srcdir' = `.'.
19909 # Shell code in configure.ac might set extrasub.
19910 # FIXME: do we really want to maintain this feature?
19911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19912 ac_sed_extra="$ac_vpsub
19913 $extrasub
19914 _ACEOF
19915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19918 s|@configure_input@|$ac_sed_conf_input|;t t
19919 s&@top_builddir@&$ac_top_builddir_sub&;t t
19920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19921 s&@srcdir@&$ac_srcdir&;t t
19922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19923 s&@top_srcdir@&$ac_top_srcdir&;t t
19924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19925 s&@builddir@&$ac_builddir&;t t
19926 s&@abs_builddir@&$ac_abs_builddir&;t t
19927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19928 $ac_datarootdir_hack
19930 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19931 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19933 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19934 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19935 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19936 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19938 which seems to be undefined. Please make sure it is defined" >&5
19939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19940 which seems to be undefined. Please make sure it is defined" >&2;}
19942 rm -f "$ac_tmp/stdin"
19943 case $ac_file in
19944 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19945 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19946 esac \
19947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19951 # CONFIG_HEADER
19953 if test x"$ac_file" != x-; then
19955 $as_echo "/* $configure_input */" \
19956 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19957 } >"$ac_tmp/config.h" \
19958 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19959 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19961 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19962 else
19963 rm -f "$ac_file"
19964 mv "$ac_tmp/config.h" "$ac_file" \
19965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19967 else
19968 $as_echo "/* $configure_input */" \
19969 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19970 || as_fn_error $? "could not create -" "$LINENO" 5
19975 # CONFIG_LINK
19978 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19980 else
19981 # Prefer the file from the source tree if names are identical.
19982 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19983 ac_source=$srcdir/$ac_source
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19987 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19989 if test ! -r "$ac_source"; then
19990 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19992 rm -f "$ac_file"
19994 # Try a relative symlink, then a hard link, then a copy.
19995 case $ac_source in
19996 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19997 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19998 esac
19999 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20000 ln "$ac_source" "$ac_file" 2>/dev/null ||
20001 cp -p "$ac_source" "$ac_file" ||
20002 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20005 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20006 $as_echo "$as_me: executing $ac_file commands" >&6;}
20008 esac
20011 case $ac_file$ac_mode in
20012 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20013 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20014 "Makefile":C) wine_fn_output_makefile Makefile ;;
20016 esac
20017 done # for ac_tag
20020 as_fn_exit 0
20021 _ACEOF
20022 ac_clean_files=$ac_clean_files_save
20024 test $ac_write_fail = 0 ||
20025 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20028 # configure is writing to config.log, and then calls config.status.
20029 # config.status does its own redirection, appending to config.log.
20030 # Unfortunately, on DOS this fails, as config.log is still kept open
20031 # by configure, so config.status won't be able to write to it; its
20032 # output is simply discarded. So we exec the FD to /dev/null,
20033 # effectively closing config.log, so it can be properly (re)opened and
20034 # appended to by config.status. When coming back to configure, we
20035 # need to make the FD available again.
20036 if test "$no_create" != yes; then
20037 ac_cs_success=:
20038 ac_config_status_args=
20039 test "$silent" = yes &&
20040 ac_config_status_args="$ac_config_status_args --quiet"
20041 exec 5>/dev/null
20042 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20043 exec 5>>config.log
20044 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20045 # would make configure fail if this is the last instruction.
20046 $ac_cs_success || as_fn_exit 1
20048 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20050 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20054 if test "$no_create" = "yes"
20055 then
20056 exit 0
20059 ac_save_IFS="$IFS"
20060 if test "x$wine_notices" != x; then
20061 echo >&6
20062 IFS="|"
20063 for msg in $wine_notices; do
20064 IFS="$ac_save_IFS"
20065 if ${msg:+false} :; then :
20067 else
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20069 $as_echo "$as_me: $msg" >&6;}
20071 done
20073 IFS="|"
20074 for msg in $wine_warnings; do
20075 IFS="$ac_save_IFS"
20076 if ${msg:+false} :; then :
20078 else
20079 echo >&2
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20081 $as_echo "$as_me: WARNING: $msg" >&2;}
20083 done
20084 IFS="$ac_save_IFS"
20086 $as_echo "
20087 $as_me: Finished. Do '${ac_make}' to compile Wine.
20088 " >&6